tag:help.appveyor.com,2012-11-13:/discussions/suggestions/353-install-miktex-latexAppVeyor: Discussion 2018-10-19T08:16:42Ztag:help.appveyor.com,2012-11-13:Comment/342791452014-08-26T14:01:03Z2014-08-26T14:01:03ZInstall MikTeX (LaTeX)<div><p>Yeah, installation script would be nice, thank you!</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/342791452016-05-13T21:26:17Z2016-05-13T21:26:19ZInstall MikTeX (LaTeX)<div><p>If you want a really easy solution: just download the portable
script, extract it somewhere and put the subdir miktex/bin into
PATH.</p>
<pre>
<code>wget http://mirrors.ctan.org/systems/win32/miktex/setup/miktex-portable-2.9.5857.exe
7za x miktex-portable-2.9.5857.exe -oC:\miktex >NUL
set "PATH=%PATH%;c:\miktex\miktex\bin"</code>
</pre></div>Jan Schulztag:help.appveyor.com,2012-11-13:Comment/342791452016-10-30T18:15:54Z2016-10-30T18:15:54ZInstall MikTeX (LaTeX)<div><p>Latest version no use in pypandoc:</p>
<pre>
<code>cache:
- c:\miktex -> appveyor.yml
[...]
install:
[...]
# Install miktex to get pdflatex, if we don't get it from the cache
- if not exist c:\miktex\texmfs\install\miktex\bin\pdflatex.exe appveyor DownloadFile http://mirrors.ctan.org/systems/win32/miktex/setup/miktex-portable.exe
- if not exist c:\miktex\texmfs\install\miktex\bin\pdflatex.exe 7z x miktex-portable.exe -oC:\miktex >NUL
- set "PATH=%PATH%;c:\miktex\texmfs\install\miktex\bin"
# autoinstall latex packages (0=no, 1=autoinstall, 2=ask)
# this adds this to the registry!
- initexmf --set-config-value "[MPM]AutoInstall=1"</code>
</pre></div>Jan Schulz