LyX ⇒ Can't export anything
Can't export anything
I have a windows 8 64bit in hebrew. I tried to install the new lyx - LyX-2.0.5.1-Bundle-5 with miktex, but I cant export anything. When I press ctrl+r it says command disabled, and if I try file->export->more formats&options I see an empty table. A friend of mine saw through a debugging mode that article.cls and theoram.sty are missing, but I dont get if that the problem and what to do. Also, reconfiguring failes every time. Please help!
thanks
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
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Re: Can't export anything
Re: Can't export anything
By the way, I said my windows is in hebrew because I know it can cause difficulties with some programs (writing is from right to left). I also tried hebrew and english versions of lyx.
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Can't export anything
You did indeed. Sorry for missing that.zahit wrote:Nope. As I said - reconfigure fails every time.
That was good to mention. LyX does have support for Hebrew (and Right-to-Left in general) but there are several bugs.zahit wrote: By the way, I said my windows is in hebrew because I know it can cause difficulties with some programs (writing is from right to left). I also tried hebrew and english versions of lyx.
If you think you found a bug, file at http://www.lyx.org/trac
You might also want to write to lyx-users@lists.lyx.org
One other thing I've seen people recommend is to uninstall everything completely (MiKTeX, LyX), and then install under administrator.
Best of luck,
Scott
Re: Can't export anything
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Can't export anything
You should try to figure out why reconfigure fails everytime. My guess is either because you have a Python version that LyX is using that does not work well with configure.py or LyX can't find your TeX install. I gave you a suggestion (uninstalling and then reinstalling as an administrator).zahit wrote:I don't understand what the problem is. This is the same for the english version. Do I have missing files, or its a path problem of some sort. Can you try and help me diagnose the problem?
I can't help you more than that because I'm completely lost on Windows (been 6 years since I used it).
Can't export anything
This is the debugging output for reconfigure - if someone can have a look.
Code: Select all
22:17:32.742: python -tt "C:/Program Files (x86)/LyX 2.0/Resources/configure.py"
22:17:33.291: checking for DVI to DTL converter...
22:17:33.294: +checking for "dv2dt"... yes
22:17:33.295: checking for DTL to DVI converter...
22:17:33.297: +checking for "dt2dv"... yes
22:17:33.299: checking for a Latex2e program...
22:17:33.301: +checking for "latex"... yes
22:17:33.303: checking for a DVI postprocessing program...
22:17:33.305: +checking for "pplatex"... yes
22:17:33.306: checking for pLaTeX, the Japanese LaTeX...
22:17:33.307: +checking for "platex"... yes
22:17:33.309: Traceback (most recent call last):
22:17:33.310: File "C:/Program Files (x86)/LyX 2.0/Resources/configure.py", line 1448, in <module>
22:17:33.313: LATEX = checkLatex(dtl_tools)
22:17:33.315: File "C:/Program Files (x86)/LyX 2.0/Resources/configure.py", line 448, in checkLatex
22:17:33.317: if cmdOutput(PLATEX + ' chklatex.ltx').find('pLaTeX2e') != -1:
22:17:33.319: File "C:/Program Files (x86)/LyX 2.0/Resources/configure.py", line 72, in cmdOutput
22:17:33.320: stdout=subprocess.PIPE, universal_newlines=True)
22:17:33.322: File "C:\Program Files (x86)\LyX 2.0\Python\lib\subprocess.py", line 679, in __init__
22:17:33.325: errread, errwrite)
22:17:33.326: File "C:\Program Files (x86)\LyX 2.0\Python\lib\subprocess.py", line 896, in _execute_child
22:17:33.327: startupinfo)
22:17:33.329: UnicodeEncodeError: 'ascii' codec can't encode characters in position 25-27: ordinal not in range(128)
22:17:33.331: טוען מחדש הגדרות...
Running: python -tt "C:/Program Files (x86)/LyX 2.0/Resources/configure.py"
..\..\..\src\support\Systemcall.cpp (273): Systemcall: 'python -tt "C:/Program Files (x86)/LyX 2.0/Resources/configure.py"' finished with exit code 1
22:18:17.997: (reconfigure)
-
- Posts: 6
- Joined: Fri Feb 10, 2012 3:12 pm
Re: Can't export anything
Honestly, I didn´t exactly solve the problem itself. I just installed LyX in a different way (the way I usually do it)
1) uninstall LyX and MikTeX (if you are using windows, for example)
2) Download protext package ( http://www.tug.org/protext/ )
2.1) Install MikTeX full and ghostscript (optionally, install jabref for managing bibtex files and ghostview to view ps files and texmaker if you want a good LaTeX editor).
3) Download and install LyX (not LyX bundle, just LyX)
This should work (it always worked for me).
But basically this is the same as downloading MiKtex full and everything else, but protext comes with everything in one file. It´s a big file, but if you don´t want to have problems with packages or having to update packages, it´s pretty full.