LyX ⇒ Portable LyX that runs with portable MikTeX?
-
- Posts: 13
- Joined: Sat Jul 03, 2010 3:08 am
Portable LyX that runs with portable MikTeX?
I have downloaded and tried the portable MikTeX on a USB stick and it works perfectly. However are there any portable LyX for Windows that does not require installation and designed to work with portable MikTeX?
Thanks!
Mark
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Portable LyX that runs with portable MikTeX?
EDIT: Did you check this out?
Re: Portable LyX that runs with portable MikTeX?
1) Download Miktex portable (http://miktex.org/portable/about) and unpack it to USB drive
2) copy entire lyx directory (from c:\program files\... ) to USB drive
3) edit the lyxrc.dist on USB drive (it's in LyX_directory_name/resources/) to reflect the position of miktex and other stuff. E.g., in my case I had to change the first line from
\path_prefix "C:\Program Files\LyX16\bin;C:\Program Files\LyX16\python;C:\Program Files\LyX16\imagemagick;C:\Program Files\LyX16\ghostscript;C:\Program Files\MiKTeX 2.8\miktex\bin"
to:
\path_prefix "..\bin;..\python;..\imagemagick;..\ghostscript;..\..\miktexportable\miktex\bin"
run USB_drive_letter:\LyX_directory_name\bin\lyx.exe
Re: Portable LyX that runs with portable MikTeX?
I followed your instructions trying LyX versions 1.6.8, 1.6.9, 2.0 RC 3 with MiKTeX portable 2.9 and ran miktex-portable.cmd prior to launching any LyX exes.
The thing is, it all works fine as long as there still is a local "regular" MiKTeX distribution installed on C:\Programm Files but LyX complains about missing TeX files as soon as I remove that local distributions and try to have LyX depend on the portable MiKTeX distribution.
Do you have any clue, why LyX is not recognizing the portable MikTeX distribution (it is constantly reconfiguring itself whenever I start it)? Are there maybe some local files that are created by local MiKTeX distributions which LyX expects and which have no equivalents in the portable distribution? Or am I missing something regarding MiKTeX portable (i.e. MiKTeX Options > Roots: do I need to specify the path to the portable distribution)?
Thanks for any hints whatsoever,
Janko
-
- Posts: 2
- Joined: Thu Jul 07, 2011 11:37 am
Portable LyX that runs with portable MikTeX?
I've recently published Portable Lyx 2.0 on http://portable-lyx.impossible-exil.info. You may want to give it a try.
Best regards,
BrokenClock