Featured Book

LaTeX Beginners Guide

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 3 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

Can't export anything

exportingLyXAdd tags Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.

Can't export anything

Postby zahit on Sun Apr 21st, 2013

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
zahit
 
Posts: 4
Joined: Sun Apr 21st, 2013

Re: Can't export anything

Postby scottkosty on Mon Apr 22nd, 2013

Can you try Tools > Reconfigure, then restart LyX? Otherwise, I don't know since I'm on Ubuntu.
scottkosty
 
Posts: 262
Joined: Sat Sep 1st, 2012

Re: Can't export anything

Postby zahit on Mon Apr 22nd, 2013

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.
zahit
 
Posts: 4
Joined: Sun Apr 21st, 2013

Re: Can't export anything

Postby scottkosty on Mon Apr 22nd, 2013

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
scottkosty
 
Posts: 262
Joined: Sat Sep 1st, 2012

Re: Can't export anything

Postby zahit on Mon Apr 22nd, 2013

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?
zahit
 
Posts: 4
Joined: Sun Apr 21st, 2013

Re: Can't export anything

Postby scottkosty on Mon Apr 22nd, 2013

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).
scottkosty
 
Posts: 262
Joined: Sat Sep 1st, 2012

Re: Can't export anything

Postby zahit on Mon Apr 22nd, 2013

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.
Code: Select all  •  Open in writeLaTeX
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)
zahit
 
Posts: 4
Joined: Sun Apr 21st, 2013

Re: Can't export anything

Postby hm_cavalcanti on Tue May 14th, 2013

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.
hm_cavalcanti
 
Posts: 6
Joined: Fri Feb 10th, 2012


Topic Tags

exportingLyX

Return to LyX

Who is online

Users browsing this forum: No registered users and 3 guests