LaTeX forum ⇒ LyXCan't export anything

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
zahit
Posts: 4
Joined: Sun Apr 21, 2013 10:55 pm

Can't export anything

Postby zahit » Sun Apr 21, 2013 11:02 pm

hi, I'm a new lyx user (or want to be one).
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

Link:
BBcode:
HTML:
Hide post links
Show post links

scottkosty
Site Moderator
Posts: 426
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Mon Apr 22, 2013 12:25 am

Can you try Tools > Reconfigure, then restart LyX? Otherwise, I don't know since I'm on Ubuntu.

Link:
BBcode:
HTML:
Hide post links
Show post links

zahit
Posts: 4
Joined: Sun Apr 21, 2013 10:55 pm

Postby zahit » Mon Apr 22, 2013 9:11 am

Nope. As I said - reconfigure fails every time. But thanks.
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.

Link:
BBcode:
HTML:
Hide post links
Show post links

scottkosty
Site Moderator
Posts: 426
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Mon Apr 22, 2013 9:20 am

zahit wrote:Nope. As I said - reconfigure fails every time.


You did indeed. Sorry for missing that.

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.


That was good to mention. LyX does have support for Hebrew (and Right-to-Left in general) but there are several bugs.

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

Link:
BBcode:
HTML:
Hide post links
Show post links

zahit
Posts: 4
Joined: Sun Apr 21, 2013 10:55 pm

Postby zahit » Mon Apr 22, 2013 12:10 pm

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?

Link:
BBcode:
HTML:
Hide post links
Show post links

scottkosty
Site Moderator
Posts: 426
Joined: Sat Sep 01, 2012 6:38 am

Postby scottkosty » Mon Apr 22, 2013 8:12 pm

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?


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).

I can't help you more than that because I'm completely lost on Windows (been 6 years since I used it).

Link:
BBcode:
HTML:
Hide post links
Show post links

zahit
Posts: 4
Joined: Sun Apr 21, 2013 10:55 pm

Postby zahit » Mon Apr 22, 2013 9:23 pm

Well thanks anyway. My account is the administrator one so no news there. And Python version doesn't mean much to me.

This is the debugging output for reconfigure - if someone can have a look.
  1. 22:17:32.742: python -tt "C:/Program Files (x86)/LyX 2.0/Resources/configure.py"
  2. 22:17:33.291: checking for DVI to DTL converter...
  3. 22:17:33.294: +checking for "dv2dt"... yes
  4. 22:17:33.295: checking for DTL to DVI converter...
  5. 22:17:33.297: +checking for "dt2dv"... yes
  6. 22:17:33.299: checking for a Latex2e program...
  7. 22:17:33.301: +checking for "latex"... yes
  8. 22:17:33.303: checking for a DVI postprocessing program...
  9. 22:17:33.305: +checking for "pplatex"... yes
  10. 22:17:33.306: checking for pLaTeX, the Japanese LaTeX...
  11. 22:17:33.307: +checking for "platex"... yes
  12. 22:17:33.309: Traceback (most recent call last):
  13. 22:17:33.310: File "C:/Program Files (x86)/LyX 2.0/Resources/configure.py", line 1448, in <module>
  14. 22:17:33.313: LATEX = checkLatex(dtl_tools)
  15. 22:17:33.315: File "C:/Program Files (x86)/LyX 2.0/Resources/configure.py", line 448, in checkLatex
  16. 22:17:33.317: if cmdOutput(PLATEX + ' chklatex.ltx').find('pLaTeX2e') != -1:
  17. 22:17:33.319: File "C:/Program Files (x86)/LyX 2.0/Resources/configure.py", line 72, in cmdOutput
  18. 22:17:33.320: stdout=subprocess.PIPE, universal_newlines=True)
  19. 22:17:33.322: File "C:\Program Files (x86)\LyX 2.0\Python\lib\subprocess.py", line 679, in __init__
  20. 22:17:33.325: errread, errwrite)
  21. 22:17:33.326: File "C:\Program Files (x86)\LyX 2.0\Python\lib\subprocess.py", line 896, in _execute_child
  22. 22:17:33.327: startupinfo)
  23. 22:17:33.329: UnicodeEncodeError: 'ascii' codec can't encode characters in position 25-27: ordinal not in range(128)
  24. 22:17:33.331: טוען מחדש הגדרות...
  25. Running: python -tt "C:/Program Files (x86)/LyX 2.0/Resources/configure.py"
  26. ..\..\..\src\support\Systemcall.cpp (273): Systemcall: 'python -tt "C:/Program Files (x86)/LyX 2.0/Resources/configure.py"' finished with exit code 1
  27. 22:18:17.997: (reconfigure)

Link:
BBcode:
HTML:
Hide post links
Show post links

hm_cavalcanti
Posts: 6
Joined: Fri Feb 10, 2012 3:12 pm

Postby hm_cavalcanti » Tue May 14, 2013 10:05 pm

I had this problem with LyX bundle (and running on windows 7).

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.

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 3 guests