Re: Minimal Beamer LaTeX file that imports cleanly into LyX
Excellent. Thank you. el On 2018-08-03 11:48 , Jürgen Spitzmüller wrote: > Am Freitag, den 03.08.2018, 11:41 +0200 schrieb Dr Eberhard Lisse: >> it shows the enclosed, ie ERT \makebeamertitle on the titlepage, >> resulting in the title page to be shown twice in the PDF. > > This is fixed in forthcoming LyX 2.3.1. Also, the import of overlay > arguments has been implemented. > > So I suggest you try again with 2.3.1, which should be available > soon. > > Jürgen [...]
Solved: coding question
Am 05.08.2018 um 19:16 schrieb Kornel Benko: Am Sonntag, 5. August 2018 17:28:56 CEST schrieb Wolfgang Engelmann : Am 05.08.2018 um 16:58 schrieb Kornel Benko: Am Sonntag, 5. August 2018 16:25:51 CEST schrieb Wolfgang Engelmann : How would one code this {^{32}{P}}-storage from JabRef per push into a lyx file gives me this error: \mathrm {^{32}{P}}-{E}inlagerung in die {V}erbindungen der You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. {^{32}{P}} is correctly shown, but {E}inlagerung and the rest is in italics and overflows the page margin (I use two column setting). How can I avoid this? Wolfgang Like the attached? Kornel Thanks, Kornel, however, it's not the lyx, but the Jabref where I should correct it. Using your $\ce{^{32}P}$ in the reference worked, but mathrm would be better; how to do that? by the way, what does \ce mean? Wolfgang It is meant for chemistry formulas. See doc/Math.lyx 20 Chemical Symbols and Equations The characters there are _not_ italic. Kornel I inserted this in my Jabref reference and added in my Lyx document \usepackage{mhchem} and now the pdf-output is correct Thanks a lot, Kornel Wolfgang
Exporting one branch from command line
Is it possible to activate a LyX branch from the command line while exporting to a PDF file? The documentation [1] says that the following command should work, but it does not in my tests. lyx -x "command-sequence branch-activate b1" -E pdf2 outfile.pdf infile.lyx A PDF is exported but the branch "b1" is not activated. I asked in this TeX.StackExchange question [2, minimal LyX file attached] if there are other ways to export a specific branch and the only answer I got works only partially. The user scottkosty suggested lyx -x "command-sequence branch-activate b1; buffer-export pdf2 outfile.pdf; undo; lyx-quit" infile.lyx This solution kind of works, but the `lyx-quit` command at the end reports an error because it is executed before the export has finished. My questions to you: * How come the command in the documentation does not work? * Is it possible to tell the `lyx-quit` command to wait until the file has been exported? Or is there a `sleep` command in LyX? * Is there a better way to export a particular branch to a PDF file from the command line with no human interaction? Regards, [1] https://wiki.lyx.org/FAQ/ImportExport#cl [1] https://tex.stackexchange.com/questions/82/exporting-one-branch-from-command-line/444506#444506 -- Gioele Barabucci
AppleScript LyX
Hi, I know next to no AppleScript and wonder if someone has a quick script which will allow me to open a LyX document (absolute path), view the file as pdf5 (PDF from LuaLaTeX) and keep the file in LyX's front window open (for further editing and manual viewing) Can something like this be done with the LyX Server pipe (ie after open(ing) the file)? greetings, el
Trying to get lyx to find a .cls file
Hello, Can some one tell me where to put a .cls file so that lyx (2.3) can find it? I’m using Tex-live on a Mac (OS10.13.4). I have the Copernicus style files (.cls, in particular). But lyx can’t seem to find it. I’ve put them in the folder with the document and have also tried to put them in a couple of places in the texmf installation. I’ve used used ‘texhash’ in the terminal and ‘reconfigure’ in lyx. But lyx still complains and uses a fairly useless default. I’ve also, in lyx, gone into Document Settings and tried to point to the file, but lyx doesn’t seem to recognize the file as something it can read, so I haven’t been able to select it. Thanks very much! Melvyn Goldstein
Re: Trying to get lyx to find a .cls file
On 08/06/2018 04:58 PM, Melvyn Goldstein wrote: Hello, Can some one tell me where to put a .cls file so that lyx (2.3) can find it? I’m using Tex-live on a Mac (OS10.13.4). I have the Copernicus style files (.cls, in particular). But lyx can’t seem to find it. I’ve put them in the folder with the document and have also tried to put them in a couple of places in the texmf installation. I’ve used used ‘texhash’ in the terminal and ‘reconfigure’ in lyx. But lyx still complains and uses a fairly useless default. I’ve also, in lyx, gone into Document Settings and tried to point to the file, but lyx doesn’t seem to recognize the file as something it can read, so I haven’t been able to select it. Thanks very much! Melvyn Goldstein In order to use a class file, LyX needs to have a layout file for the class. The layout file is unique to LyX, telling it how to translate class constructs into the GUI. I just looked in the directory of layout files that come with LyX and did not see any names that screamed "Copernicus" to me. Do you have a layout file (.layout extension) for it? Paul