Re: No converter from "lyxpreview" format has been defined
On Tue, 23 Oct 2012 15:21:54 -0300 John Coppens wrote: > Just to be complete: I have also checked the existence of the xypic and > preview > packages... This starts to look like bugging... My apologies. More info: I (proudly) wrote my first LaTeX script, using the xy-pic library, and, after a few trials, it worked! I.e., I could generate the arrows provided by xy-pic, which seems to prove that everything is install correctly. I then imported this file in LyX, and there, it didn't get interpreted: - The \circle were translated, but the \ar was included literally. If I try to view the DVI (from inside LyX), I get an error: on input line 20. LaTeX Font Info:External font `cmex10' loaded for size (Font) <5> on input line 20. ! Argument of \next@ has an extra }. \par l.20 {\circ} \& {\circ} \& {\circ} \& {\circ} } - repeated many times over. Running LaTeX immediately (on my edited file) I have no errors and the DVI output is correct. This is that file: \documentclass{article} \usepackage[all]{xy} \begin{document} Small is beautiful.\\ \xymatrix{ {\circ} \ar[r] & {\circ} & {\circ} & {\circ} \\ {\circ} & {\circ} & {\circ} & {\circ} } \end{document}
Ubuntu PPA for daily trunk and branch builds of LyX
Dear all Rob and I have set up an Ubuntu PPA [1] providing daily builds of 2.1 master (trunk) and 2.0.x (branch) GIT code. The packaging is still considered experimental, so it would be great if those interested could test the new set up and report any problems that might arise. (From local testing and several user reports, the packages install and work as expected.) These builds are intended to help users and developers test the latest bug fixes and feature additions to the code. The 2.0.x could also potentially be used by users who have been hit by some bug in the latest release, but which has been fixed in the 2.0.x GIT branch. (Remember though that the 2.0.x branch may contain unreleased bugs and regressions.) Regards Liviu [1] https://launchpad.net/~lyx-devel/+archive/daily
Re: xfig and LyX
Wolfgang Engelmann wrote: > But I can't get it work. > I am using Lyx 2.1.0 > and I have transfig installed which contains fig2dev > > What I did: > In xfig (3.2.5b): > Text flags > special flag >special >set > Text-font > use Postscript Fonts > use Latex font > > jumps back to Fonts Menu > #not sure what to select here You need to do this before entering the text. Then it works for me. I don't know how to change these settings for existing text. It looks like they are some global settings that only influence newly created text. > in the fig graphic I have a text with $\alpha$ > > In Lyx under > - >tools>preferences>file handling > converter definitions FIG>EPS > ->converter fig2dev -L eps $$i $$o > extra flag is empty and save apply is greyed out > #not sure whether this is correct You should not define anything related to xfig yourself here. If this converter is defined in your preferences file, please delete it from there. If it is in the syntax.default file (which is created by reconfigure) then it is fine. > The fonts in Lyx I have selected are > Roman -Palatino > SanSerif Helvetia > Typewriter ComputerModern These should not matter. > I have reconfigured Lyx > > I insert the .fig file with > -> File > -> External material (Xfig's Template) > and see the graphic with $\alpha$ > > But the pdf file does not show the greek alpha, but still $\alpha$. > > I am not sure what I do wrong. Is it on the xfig side or the lyx side? Probably xfig. Georg
Re: No converter from "lyxpreview" format has been defined
Just to be complete: I have also checked the existence of the xypic and preview packages...
No converter from "lyxpreview" format has been defined
Hello all. I've been trying to get xypic working. I don't get any message from LyX, but on the terminal, I see No converter from "lyxpreview" format has been defined I googled around some, and found several mentions of the problem in LyX 1.3.6, but very little recent. In Converters, I have the line: python -tt $$s/scripts/lyxpreview-platex2bitmap.py This script seems to exist, even though it isn't called - the .pyc / .pyo files are not updated even though a newer version of the .py is available. -rw-r--r-- 1 root root 1372 2012-10-23 13:19 /usr/local/share/lyx/scripts/lyxpreview-platex2bitmap.py -rw-r--r-- 1 root root 968 2012-01-31 16:13 /usr/local/share/lyx/scripts/lyxpreview-platex2bitmap.pyc -rw-r--r-- 1 root root 968 2012-01-31 16:13 /usr/local/share/lyx/scripts/lyxpreview-platex2bitmap.pyo Of course, Instant_view is enabled, etc. Any suggestions? (LyX version was 2.0.2, installed 2.0.4 to compare, with same results. Python 2.7.3). John
xfig and LyX
I had posted this before but had no response so far. Could somebody who successfully uses greek symbols in xfig and includes the fig file in LyX give me a hint? Original text: I try to insert greek in a xfig file under Lyx using this (Oct2006 Helge Hafting/Rich Shepard): 1. insert '$\mu$' in your figure; 2. select 'Special flag' and 'Use LaTeX fonts' for '$\mu$'; 3. insert your Xfig picture in your LyX document with Insert -> File -> External material (Xfig's Template). There is no need to convert your xfig picture to an eps one, as LyX knows quite well how to operate the needed conversions by itself regarding xfig files -- But I can't get it work. I am using Lyx 2.1.0 and I have transfig installed which contains fig2dev What I did: In xfig (3.2.5b): Text flags > special flag >special >set Text-font > use Postscript Fonts > use Latex font > jumps back to Fonts Menu #not sure what to select here in the fig graphic I have a text with $\alpha$ In Lyx under - >tools>preferences>file handling converter definitions FIG>EPS ->converter fig2dev -L eps $$i $$o extra flag is empty and save apply is greyed out #not sure whether this is correct The fonts in Lyx I have selected are Roman -Palatino SanSerif Helvetia Typewriter ComputerModern I have reconfigured Lyx I insert the .fig file with -> File -> External material (Xfig's Template) and see the graphic with $\alpha$ But the pdf file does not show the greek alpha, but still $\alpha$. I am not sure what I do wrong. Is it on the xfig side or the lyx side? Could somebody who successfully uses greek symbols in xfig and includes the fig file in LyX give me a hint? Thanks a lot Wolfgang
xfig and LyX
I had posted this before but had no response so far. Could somebody who successfully uses greek symbols in xfig and includes the fig file in LyX give me a hint? Original text: I try to insert greek in a xfig file under Lyx using this (Oct2006 Helge Hafting/Rich Shepard): 1. insert '$\mu$' in your figure; 2. select 'Special flag' and 'Use LaTeX fonts' for '$\mu$'; 3. insert your Xfig picture in your LyX document with Insert -> File -> External material (Xfig's Template). There is no need to convert your xfig picture to an eps one, as LyX knows quite well how to operate the needed conversions by itself regarding xfig files -- But I can't get it work. I am using Lyx 2.1.0 and I have transfig installed which contains fig2dev What I did: In xfig (3.2.5b): Text flags > special flag >special >set Text-font > use Postscript Fonts > use Latex font > jumps back to Fonts Menu #not sure what to select here in the fig graphic I have a text with $\alpha$ In Lyx under - >tools>preferences>file handling converter definitions FIG>EPS ->converter fig2dev -L eps $$i $$o extra flag is empty and save apply is greyed out #not sure whether this is correct The fonts in Lyx I have selected are Roman -Palatino SanSerif Helvetia Typewriter ComputerModern I have reconfigured Lyx I insert the .fig file with -> File -> External material (Xfig's Template) and see the graphic with $\alpha$ But the pdf file does not show the greek alpha, but still $\alpha$. I am not sure what I do wrong. Is it on the xfig side or the lyx side? Could somebody who successfully uses greek symbols in xfig and includes the fig file in LyX give me a hint? Thanks a lot Wolfgang