Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install MikTeX #10

Closed
krlmlr opened this issue Aug 8, 2014 · 7 comments
Closed

Install MikTeX #10

krlmlr opened this issue Aug 8, 2014 · 7 comments

Comments

@krlmlr
Copy link
Owner

krlmlr commented Aug 8, 2014

See http://docs.miktex.org/manual/setupwiz.html, especially the --unattended switch.

@krlmlr
Copy link
Owner Author

krlmlr commented Aug 14, 2014

Per krlmlr-archive/r-portable#2.

@krlmlr krlmlr closed this as completed Aug 14, 2014
@krlmlr
Copy link
Owner Author

krlmlr commented Aug 14, 2014

Probably need to set PATH, too.

@krlmlr krlmlr reopened this Aug 14, 2014
@krlmlr
Copy link
Owner Author

krlmlr commented Feb 15, 2016

Not dealing with vignettes and manuals for now.

@krlmlr krlmlr closed this as completed Feb 15, 2016
@pat-s
Copy link
Contributor

pat-s commented Sep 23, 2018

@krlmlr
A working solution adapted from https://help.appveyor.com/discussions/suggestions/353-install-miktex-latex#comment_41113616

 # 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 https://miktex.org/download/ctan/systems/win32/miktex/setup/windows-x86/miktex-portable-2.9.6753.exe
 - if not exist c:\miktex\texmfs\install\miktex\bin\pdflatex.exe 7z x miktex-portable-2.9.6753.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"

Build log: https://ci.appveyor.com/project/pat-s/mlr3-xml46/build/1.0.13#L14962

Add to README?

@krlmlr
Copy link
Owner Author

krlmlr commented Sep 24, 2018

This, or tinytex. The code should probably live in the PowerShell script and be triggered by an environment variable; this then should be part of the README.

@krlmlr krlmlr reopened this Sep 24, 2018
@krlmlr
Copy link
Owner Author

krlmlr commented Jul 4, 2019

Added docs in 6d4e10b.

@krlmlr krlmlr closed this as completed Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants