Re: LaTeX Preview - Can I see compilation errors?
Andrew has answered your question. Another possibility is to have a latex file for each tikz-picture which produces pdf file for the corresponding figure. These pdf files can be inserted as figures in LyX. This approach has two advantages: Firstly, you can use a good editor with syntax highlighting to edit your pictures. Secondly, the compilation of the latex document is much faster. You will automatically see the change in LyX, whenever any of these pdf files is updated. In those latex files I am using \usepackage[active,tightpage,psfixbb]{preview} \PreviewEnvironment{pgfpicture} \setlength\PreviewBorder{0pt} in order to just produce the figures without any surrounding white space. I don’t remember whether one actually needs the second and third line, but you certainly need the package tightpage. Regards Marcus > On 21 Feb 2025, at 23:39, Duarte Maia wrote: > > Hi everyone, > > I like to use the preview feature to put Tikz pictures on my documents and > see the effect of my changes in real time. This works fine when I don't mess > up: If I change a line and put my cursor elsewhere, the preview updates > accordingly, which is faster and more convenient than recompiling the whole > file. However, if I make a mistake (e.g. miss a semicolon), the preview > simply doesn't appear. Worse, I get no indication that LyX tried to compile > it and failed. I have to compile the entire file to figure out what went > wrong. > > So, my question is: Is there a way to distinguish between "this preview is > taking a bit to compile" vs. "this preview got a compilation error", and in > the latter case is there a way to see the error that came up? > > Thanks in advance, > -Duarte Maia > -- > lyx-users mailing list > lyx-users@lists.lyx.org > https://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-users
Re: Bibliography entries using only keys: v2.3.7 versus v2.4.3
On 2/22/25 3:02 AM, Jürgen Spitzmüller wrote: Am Freitag, dem 21.02.2025 um 14:26 -0500 schrieb Richard Kimberly Heck: The new behavior is an attempt to make it easier to use author-year citations with this kind of bibliography entry. I suspect that there is a bug here, always requiring the year, when we ought only to require it when author-year citations are being used. Jürgen? Right. RevTeX4 uses natbib (internally), but in numeric mode. In this case, the year is not really used. Still, it needs to be given _if_ real author-number citations are employed, but an empty year suffices, as in "Meyer et al.()Meyer, Schmidt, and Higgins" or "Meyer()". Otherwise the natbib parser get confused and the author is not detected. Fixed in master in a series of 3 commits: 04a9748e7ec d96cfb0662e 3160c04449e Obviously candidate for stable. OK! Riki -- lyx-users mailing list lyx-users@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-users
Re: Bibliography entries using only keys: v2.3.7 versus v2.4.3
On 2/22/25 3:53 AM, Xaver Gerster wrote: Thx guys. Hope this will be visible in Tumbleweed in not too distant a future. If you're on Linux, then it's very easy to compile LyX yourself, in which case you do not have to wait. Riki On 2/22/25 9:02 AM, Jürgen Spitzmüller wrote: Am Freitag, dem 21.02.2025 um 14:26 -0500 schrieb Richard Kimberly Heck: The new behavior is an attempt to make it easier to use author-year citations with this kind of bibliography entry. I suspect that there is a bug here, always requiring the year, when we ought only to require it when author-year citations are being used. Jürgen? Right. RevTeX4 uses natbib (internally), but in numeric mode. In this case, the year is not really used. Still, it needs to be given _if_ real author-number citations are employed, but an empty year suffices, as in "Meyer et al.()Meyer, Schmidt, and Higgins" or "Meyer()". Otherwise the natbib parser get confused and the author is not detected. Fixed in master in a series of 3 commits: 04a9748e7ec d96cfb0662e 3160c04449e Obviously candidate for stable. -- Richard Kimberly (Riki) Heck Professor of Philosophy and Professor of Linguistics Brown University Pronouns: they/them/their Website: http://rkheck.frege.org/ -- lyx-users mailing list lyx-users@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-users
Re: Print symbol \triangleq
On 2/22/25 12:57, Cesare Padovani wrote: Hi all, I have a problem with printing the special symbol \triangleq (which is a "=" with a little triangle over it). When printing, it is as if there were no symbol at all. Does anyone know how to solve this problem? For now I am using the symbol \equiv (which is a "=" with three dashes instead of two). Best regards, Cesare First question: do you have the amssymb LaTeX package (amssymb.sty) installed? Second question: assuming so, does your document preamble contain "\usepackage{amssymb}"? Paul-- lyx-users mailing list lyx-users@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-users
Re: Bibliography entries using only keys: v2.3.7 versus v2.4.3
Am Freitag, dem 21.02.2025 um 14:26 -0500 schrieb Richard Kimberly Heck: > The new behavior is an attempt to make it easier to use author-year > citations with this kind of bibliography entry. I suspect that there > is > a bug here, always requiring the year, when we ought only to require > it > when author-year citations are being used. > > Jürgen? Right. RevTeX4 uses natbib (internally), but in numeric mode. In this case, the year is not really used. Still, it needs to be given _if_ real author-number citations are employed, but an empty year suffices, as in "Meyer et al.()Meyer, Schmidt, and Higgins" or "Meyer()". Otherwise the natbib parser get confused and the author is not detected. Fixed in master in a series of 3 commits: 04a9748e7ec d96cfb0662e 3160c04449e Obviously candidate for stable. -- Jürgen -- lyx-users mailing list lyx-users@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-users
Re: Bibliography entries using only keys: v2.3.7 versus v2.4.3
Thx guys. Hope this will be visible in Tumbleweed in not too distant a future. On 2/22/25 9:02 AM, Jürgen Spitzmüller wrote: Am Freitag, dem 21.02.2025 um 14:26 -0500 schrieb Richard Kimberly Heck: The new behavior is an attempt to make it easier to use author-year citations with this kind of bibliography entry. I suspect that there is a bug here, always requiring the year, when we ought only to require it when author-year citations are being used. Jürgen? Right. RevTeX4 uses natbib (internally), but in numeric mode. In this case, the year is not really used. Still, it needs to be given _if_ real author-number citations are employed, but an empty year suffices, as in "Meyer et al.()Meyer, Schmidt, and Higgins" or "Meyer()". Otherwise the natbib parser get confused and the author is not detected. Fixed in master in a series of 3 commits: 04a9748e7ec d96cfb0662e 3160c04449e Obviously candidate for stable. -- lyx-users mailing list lyx-users@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-users
Print symbol \triangleq
Hi all, I have a problem with printing the special symbol \triangleq (which is a "=" with a little triangle over it). When printing, it is as if there were no symbol at all. Does anyone know how to solve this problem? For now I am using the symbol \equiv (which is a "=" with three dashes instead of two). Best regards, Cesare -- lyx-users mailing list lyx-users@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-users
Re: LaTeX Preview - Can I see compilation errors?
Sorry, I meant the compilation of LyX documents is much faster. This matters if you have many tikz-figures in your document. > On 22 Feb 2025, at 10:39, mkriele--- via lyx-users > wrote: > > Andrew has answered your question. Another possibility is to have a latex > file for each tikz-picture which produces pdf file for the corresponding > figure. These pdf files can be inserted as figures in LyX. This approach has > two advantages: Firstly, you can use a good editor with syntax highlighting > to edit your pictures. Secondly, the compilation of the latex document is > much faster. You will automatically see the change in LyX, whenever any of > these pdf files is updated. In those latex files I am using > > \usepackage[active,tightpage,psfixbb]{preview} > \PreviewEnvironment{pgfpicture} > \setlength\PreviewBorder{0pt} > > in order to just produce the figures without any surrounding white space. I > don’t remember whether one actually needs the second and third line, but you > certainly need the package tightpage. > > Regards > Marcus -- lyx-users mailing list lyx-users@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-users