Am 14.10.2014 um 19:15 schrieb "Lauen, Douglas L" <dla...@unc.edu>:
> Stephan, Thank you for the suggestion. This is odd. I don’t recall having > this problem before my upgrade to Mavericks. And very odd that is crops up in > one file but not another. > > It looks like python fails to process something… Hi Dough, note the difference in the two calls: the 2nd one has an additional switch "--latex=xelatex". This may be caused by the XeTeX/LuaTeX setting in the document settings. Perhaps you can live without it? Stephan > > Here is the message log from a change to the figure in displays.lyx > ————————————————————————————————————————————— > > 13:12:02.636: (dialog-toggle progress)graphics/PreviewLoader.cpp (468): > adding snippet: > $\xymatrix{ & U\ar[dl]\ar[dr]\\ > X\ar[rr] & c & Y > } > $ > graphics/PreviewLoader.cpp (530): PreviewLoader::startLoading() > graphics/PreviewLoader.cpp (665): PreviewLoader::finishedInProgress(0): > processing succeeded for python -tt > "/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py" --png > "/var/folders/cx/8z8j7c710t9gcfvtljxkvjkc0000gn/T/lyx_tmpdir.KZwQoCf15278/lyx_tmpbuf3/lyxpreviewq15278.tex" > --dpi 108 --fg 000000 --bg faf0e6 --bibtex="bibtex" > Format.cpp (394): Recognised Fileformat: png > graphics/GraphicsCacheItem.cpp (379): > [CacheItem::Impl::convertToDisplayFormat] > Attempting to convert image file: > /var/folders/cx/8z8j7c710t9gcfvtljxkvjkc0000gn/T/lyx_tmpdir.KZwQoCf15278/lyx_tmpbuf3/lyxpreviewq152781.png > with displayed filename: > /var/folders/cx/8z8j7c710t9gcfvtljxkvjkc0000gn/T/lyx_tmpdir.KZwQoCf15278/lyx_tmpbuf3/lyxpreviewq152781.png > Format.cpp (394): Recognised Fileformat: png > graphics/GraphicsCacheItem.cpp (386): > The file contains png format data. > graphics/GraphicsCacheItem.cpp (391): No conversion needed (from == to)! > graphics/GraphicsCacheItem.cpp (294): Loading image. > graphics/GraphicsCacheItem.cpp (300): Image loading succeeded. > ————————————————————————————————————————————— > > > Here is the message log from a similar change to the figure in > doesnotdisplay.lyx > > ————————————————————————————————————————————— > > > 13:10:42.140: (dialog-toggle progress)graphics/PreviewLoader.cpp (468): > adding snippet: > $\xymatrix{ & U\ar[dl]\ar[dr]\\ > X\ar[rr] & c & Y > } > $ > graphics/PreviewLoader.cpp (530): PreviewLoader::startLoading() > graphics/PreviewLoader.cpp (665): PreviewLoader::finishedInProgress(1): > processing failed for python -tt > "/Applications/LyX.app/Contents/Resources/scripts/lyxpreview2bitmap.py" --png > "/var/folders/cx/8z8j7c710t9gcfvtljxkvjkc0000gn/T/lyx_tmpdir.KZwQoCf15278/lyx_tmpbuf2/lyxpreviewZ15278.tex" > --dpi 108 --fg 000000 --bg faf0e6 --latex=xelatex --bibtex="bibtex" > > > ----------------------------------------------------------- > Douglas Lee Lauen > Associate Professor of Public Policy > Adjunct Associate Professor of Sociology > > Department of Public Policy > University of North Carolina at Chapel Hill > Abernethy Hall, CB#3435 > Room 121A > Chapel Hill, NC 27599-3435 > > Phone (919) 843-5010 > Fax (919) 962-5824 > > > > > On Oct 14, 2014, at 11:22 AM, Stephan Witt <st.w...@gmx.net> wrote: > >> Am 14.10.2014 um 16:56 schrieb "Lauen, Douglas L" <dla...@unc.edu>: >> >>> Stephan, >>> My apologies. Here are two lyx files. >>> The one titled displays.lyx displays my diagram. The other one does not. >> >> Doug, >> >> that's better. But I have to say: both are working on my system - >> a Mac with LyX-2.1.2 on OS X 10.8.6. I've noticed I have to click >> somewhere sometimes to trigger the display of the preview snippet. >> >> The two examples are different only regarding the \use_non_tex_fonts >> and the \font_roman setting in the preferences. >> >> What you can do to check for errors converting is to open the message >> pane and enable the graphics conversion message. There you should see >> the problem if one exists. >> >> Stephan >> >>> On Oct 14, 2014, at 10:40 AM, Stephan Witt <st.w...@gmx.net> wrote: >>> >>>> Am 14.10.2014 um 16:23 schrieb "Lauen, Douglas L" <dla...@unc.edu>: >>>> >>>>> Dear Stephan, >>>>> >>>>> Sure. On my screen I see >>>>> X\ar[r] Y >>>>> Instead of >>>>> X -> Y >>>>> Normally, when I am editing my diagram I see my xypic code and when I >>>>> place the cursor outside the editing area, the diagram converts from code >>>>> to a picture. Now, I see my code, but I do not see the picture when I >>>>> place the cursor outside the editing area. >>>>> Does this help? >>>> >>>> Sorry, no it doesn't help. A minimal example is a complete LyX file. >>>> See here: http://wiki.lyx.org/FAQ/MinimalExample >>>> >>>> Stephan >>>> >>>>> Thanks! >>>>> Doug >>>>> >>>>> On Oct 14, 2014, at 10:12 AM, Stephan Witt <st.w...@gmx.net> wrote: >>>>> >>>>>> Am 14.10.2014 um 15:07 schrieb "Lauen, Douglas L" <dla...@unc.edu>: >>>>>> >>>>>>> Hello! My xypic diagrams are not previewing in LyX. I can see the >>>>>>> matrix with the code, but no nice WYSIWYG picture with nodes and >>>>>>> arrows. The file compiles fine and the diagrams look good in the pdf. I >>>>>>> have gone into preferences, look&feel, display, display graphics is >>>>>>> checked. TexLive is telling me that the preview Latex package is >>>>>>> installed. I reinstalled preview and xypic packages anyway and that did >>>>>>> not help. Other equations (e.g. \beta ) display fine. I would >>>>>>> appreciate any advice or short term workarounds. Thanks! Doug >>>>>>> >>>>>>> LyX 2.1.2 (sept 16, 2014) >>>>>>> Running on a Mac PowerBook >>>>>>> OSX 10.9.5 (Mavericks) >>>>>> >>>>>> Hello, >>>>>> >>>>>> are you able to provide a minimal example to demonstrate your problem, >>>>>> please? >>>>>> >>>>>> Stephan >>>>> >>>> >>> >>> <displays.lyx><doesnotdisplay.lyx> >> >