Am 29.05.2014 um 22:29 schrieb Richard Heck <rgh...@lyx.org>:

> On 05/29/2014 01:15 PM, jezZiFeR wrote:
>> Stephan, thank you, I have added the output . My TeX engine is TeXLive2012. 
>> Is it too old?

No, I don't think so. I'm using the same.

> 
> Hi, Jezz,
> 
> Can you clear out the cache/ subdirectory of your user directory and try this 
> again? You can find the location of the user directory from About LyX, which 
> I think is on the Apple menu on OSX.

This should be the folder "~/Library/Application Support/LyX-2.0" -
to open it in Finder do this:
1. Go to your users Home Folder
2. Use "Gehe zu" and choose "Gehe zum Ordner…"
3. Type the word Library and choose "Öffnen"
4. Now your able to navigate to the other folders

I've tracked down the flow of control now and it possibly calls "gs" here too, 
like that:

I've prepared the run_command utility to print some message and started the 
converter in a terminal:
python -tt 
"/Users/stephan/git/lyx-build/LyX-2.0.7.1.app/Contents/Resources/scripts/lyxpreview2bitmap.py"
 png 
"/var/folders/1x/zm63s22x7s591xrlgm4rl9v40000gn/T/lyx_tmpdir.L33208/lyx_tmpbuf2/0lyxpreview.tex"
 216 000000 faf0e6 xelatex
run_command xelatex "0lyxpreview.tex" ... 
xelatex had problems compiling 0lyxpreview.tex
Using XeTeX
run_command dvips -i -o "0lyxpreview.ps" "0lyxpreview.dvi" ... 
This is dvips(k) 5.992 Copyright 2012 Radical Eye Software (www.radicaleye.com)
dvips: DVI file can't be opened: 0lyxpreview.dvi: No such file or directory
Failed: dvips 0lyxpreview.dvi ... looking for PDF
legacy_conversion_step2 dvips_failed ... 
run_command gs -dNOPAUSE -dBATCH -dSAFER -sDEVICE=png16m 
-sOutputFile="0lyxpreview%d.png" -dGraphicsAlphaBit=2 -dTextAlphaBits=2 
-r197.260274 "0lyxpreview.pdf" 

Then I made the gs call explicitely:

(cd 
/var/folders/1x/zm63s22x7s591xrlgm4rl9v40000gn/T/lyx_tmpdir.L33208/lyx_tmpbuf2;gs
 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=png16m -sOutputFile="0lyxpreview%d.png" 
-dGraphicsAlphaBit=2 -dTextAlphaBits=2 -r197.260274 "0lyxpreview.pdf" )
GPL Ghostscript 9.10 (2013-08-30)
Copyright (C) 2013 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1

I'm not sure how to interpret this. Either I have a different gs or I have X11 
somehow available.
(I know I'm having it in /opt/X11, but I've locked it for regular users before. 
I cannot open a
xterm on my system anymore, but the conversion succeeded.) 

Stephan

> 
>> 19:09:15.215: (dialog-show prefs: ⌘,)Error: New binding for 'Kontroll-T 1' 
>> is overriding old binding...
>> Error: New binding for 'Kontroll-T 2' is overriding old binding...
>> Error: New binding for 'Kontroll-T O' is overriding old binding...
>> Error: New binding for 'Kontroll-T T' is overriding old binding...
>> Error: New binding for 'Kontroll-T X' is overriding old binding...
>> 19:11:04.589: Öffne Dokument ~/Desktop/Minimal braucht X11.lyx...
>> 19:11:07.676: Dokument ~/Desktop/Minimal braucht X11.lyx ist geöffnet.
>> 19:11:07.678: (file-open /Users/ZZZ/Desktop/Minimal braucht 
>> X11.lyx)support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (832): filetools(getFormatFromContents)
>> File type not recognised before EOF!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (832): filetools(getFormatFromContents)
>> File type not recognised before EOF!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (832): filetools(getFormatFromContents)
>> File type not recognised before EOF!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (832): filetools(getFormatFromContents)
>> File type not recognised before EOF!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (832): filetools(getFormatFromContents)
>> File type not recognised before EOF!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (832): filetools(getFormatFromContents)
>> File type not recognised before EOF!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (832): filetools(getFormatFromContents)
>> File type not recognised before EOF!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (832): filetools(getFormatFromContents)
>> File type not recognised before EOF!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (832): filetools(getFormatFromContents)
>> File type not recognised before EOF!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> support/FileName.cpp (950): filetools(getFormatFromContents)
>> Couldn't find a known format!
>> graphics/PreviewLoader.cpp (473): adding snippet:
>> $ $
>> graphics/PreviewLoader.cpp (535): PreviewLoader::startLoading()
>> Buffer.cpp (1468): Validating buffer...
>> LyX needs the following commands when LaTeXing:
>> ***** Packages:\usepackage{setspace}
>> 
>> ***** Macros:
>> ***** Textclass stuff:\usepackage{enumitem}   % customizable list 
>> environments
>> \newlength{\lyxlabelwidth} % auxiliary length
>> 
>> ***** done.
>> Buffer.cpp (1474): Buffer validation done.
>> graphics/PreviewLoader.cpp (669): PreviewLoader::finishedInProgress(0): 
>> processing succeeded for python -tt 
>> "/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py" png 
>> "/var/folders/s5/yxhvjb7s4j1bx3x8xssb11ym0000gn/T/lyx_tmpdir.xJL580/lyx_tmpbuf2/0lyxpreview.tex"
>>  120 000000 faf0e6 xelatex
>> 
>> 
>> 
>> 
>> 
>> Am 29.05.2014 um 18:50 schrieb Stephan Witt <st.w...@gmx.net>:
>> 
>>> Am 29.05.2014 um 16:57 schrieb jezZiFeR <jezzi...@gmail.com>:
>>> 
>>>> Thank you, Stephan.
>>>> Could you maybe tell me the name of the settings in 3. in German?
>>>> 
>>>> 
>>>> Am 29.05.2014 um 15:09 schrieb Stephan Witt <st.w...@gmx.net>:
>>>> 
>>>>> Am 29.05.2014 um 12:41 schrieb jezZiFeR <jezzi...@gmail.com>:
>>>>> 
>>>>>> Stephan, could you please tell me how to do that correctly? Thank you!
>>>>>> Jess
>>>>> Yes.
>>>>> 
>>>>> 1. Start LyX without any document open.
>>>>> 2. View -> View Messages
>>>>> 3. Go to Settings and choose "Selected" Debug Messages
>>>> I do not find this in Germen (»Angewählt«) – where would I have to look?
>>>> Thank you!
>>> 2. Ansicht -> Meldungen anzeigen
>>> 3. Einstellungen, "Ausgewählte" Testmeldungen
>>> 4. LaTeX Erzeugung/Ausführung und Laden und Konvertierung einer Grafik
>>> 
>>> Stephan
>>> 
>>>>> 4. Enable LaTeX generation/execution and Graphics conversion and loading
>>>>> 5. Open your example
>>>>> 6. Copy the text from Output and paste it to mail
> 

Reply via email to