Re: Anyone using LuaTeX with LyX?
I have only used lua indirectly, when the standard pdflatex failed to compile a Lyx file, and I discovered by trial-and-error that using pdf through lua did work. I do not know why that was, but I suspect some dependence issue. EK On 05/26/2013 12:54 AM, Steve Litt wrote: Hi all, Anyone here using LuaTeX with LyX? What are some of the things you do with LuaTeX? Has anyone found a way to make commands and environments with Lua, rather than the unobvious LaTeX methods? What else are you guys doing with LuaTeX. SteveT -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Icahn school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Converting lyx to odt
I was not going into WORD but into LibreOffice Writer. I realize the difficulties in such conversions, but I do have colleague who will not use anything but MS-WORD, and I do collaborate with them on some manuscripts. It is much less of a problem for a short paper. EK On 05/01/2013 11:32 PM, David L. Johnson wrote: On 05/01/2013 10:59 PM, Jerry wrote: On May 1, 2013, at 5:21 AM, ehud.kaplan wrote: I had tried to convert from a Lyx document (a Ph.D. thesis, ~140 pages) to LibreOffice (File/Export/HTML). Much of it worked, but there were many problems: • Equation numbers moved from right to left • Figures were totally distorted (size scaled up), • Some equations and algorithms were mangled • Several sections appeared centered instead of being left justified as they were originally. Using File/Export/LYXHTML produced similar results, although the equation numbers were not mangled. In short, such conversions do a lot, but they also leave a lot for manual fixing. I suspect that if such a path were available, many more people would use Lyx. I agree, as do many others. A while back I spent a lot of time evaluating the various ways to convert LyX to .odt or .docx and found that none of them work well. (Apologies to those who are reading this who have actually worked on the problem and made substantial progress.) Some work with certain restricted sets of features but add an equation or something else and they break. One would hope with all the talk on the developers' list recently with the Google Summer of Code that this would be at the top of the list of things to do. I am somewhat confused about this. I see the need to convert a TeX document, or by extension a LyX file, to (or from) Word format to be an occasional thing, necessitated by some journal insisting on Word, or a collaborator who can't work with anything else. I don't see this as something worth the large amount of effort to make into a single button-push. For one thing, that would probably be unfeasible even in the short term, and since the latest Word formats are a moving target it would require significant maintenance even if it were possible. I coauthored a paper that my collaborator typed, in Word. Not only could I not translate that to something I could read --- Ooffice at the time could not read the equations he had done in Word, but the journal actually re-typeset the whole thing in LaTeX in order to print it. I would not expect to be able to effortlessly convert a 140-page thesis from Word *.docx to html. Can Word itself really do that in a way that does not mangle equations? -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: feature request: ribbon menus
PLEASE DO NOT CONSIDER RIBBON MENUS-- they are (one of the many) reason(s) I switched from MS-WORD to Lyx in the first place! They hide what you are looking for! Ehud Kaplan On 04/07/2013 04:05 PM, Clemens Eisserer wrote: > Personally, I hate ribbon menus from the bottom of my heart. This is also my personal oppinion. I have to use Office-2010 sometimes, and whenever I can I revert to LibreOffice mostly because of the awkward UI ms office has. Regards
Re: updating texlive package
What I have been doing instead of using tlmgr in (L)ubuntu is to get the package I need from CTAN, copy it to where Lubuntu likes to store packages, and run: sudo texhash If you then remember to reconfigure lyx, everything works. Yours, Ehud On 03/14/2013 02:00 PM, Scott Kostyshak wrote: On Thu, Mar 14, 2013 at 12:42 PM, EK wrote: Scott, Your advice works for Windows, but in linux tex-live seem to hide the package manager (to enforce unified package updating through the linux package manager, I guess). I tried to find tlmgr in the ubuntu repositories but failed. Hi Ehud, Good point. Because bcsikos mentioned tlmgr I assumed he had it installed. In Linux the above works also, but you have to install TeX Live manually instead of using the Ubuntu packages. I recently transitioned from using the Ubuntu PPA to installing TeX Live manually so if you would like some advice on this, let me know and I can write up something. Maybe we could write a Wiki article for this. It's a little tricky because if you don't use some workarounds, whenever you try to install an Ubuntu package that depends on LaTeX, Ubuntu will try to install TeX Live again because it doesn't know that you already installed it. Best, Scott -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: updating texlive package
Scott, Your advice works for Windows, but in linux tex-live seem to hide the package manager (to enforce unified package updating through the linux package manager, I guess). I tried to find tlmgr in the ubuntu repositories but failed. Yours, Ehud On 03/14/2013 11:26 AM, Scott Kostyshak wrote: On Thu, Mar 14, 2013 at 6:08 AM, Csikos Bela wrote: Hello: Not specific to lyx but related. I have currently texlive 2012 and I don't want to update it to newest texlive 2013 now. But I have a few outdated packages I would like to update. Can it be done with texlive manager (tlmgr)? To update a texlive package from a local zip file downloaded from a site like ctan. 2013 is not released yet. You can run 'tlmgr --gui' to give you a GUI for updating LaTeX packages with TeX Live. (note that you have to have the package perl-tk installed) That will also download the package itself so you don't have to do it manually. To update everything from the command line, do: tlmgr update --self --all You might have to use 'sudo'. Scott Thanks, bcsikos -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Palatino linotype in Lyx
URWPalladio does NOT work with XeTeX. EK On 03/07/2013 06:47 PM, Guenter Milde wrote: On 2013-03-07, EK wrote: However, when I click: View(other format)/pdf(Luatex), I get a "font-not-found" error. How about XeTeX? If, instead of choosing URWpalladio I select texgyrepagella, everything works just fine. So for some mysterious reason, Latex fails to find the urwpalladio, but does find the texgyrepagella. I think it is just Lua(La)TeX that fails. And this may be a known problem or something to do with your setup or ... -- I don't think LyX should be blamed (at least if it works with XeTeX) because differentiating between system fonts that work with XeTeX and not LuaTeX is overkill. Rather this should be fixed on the LuaTeX side. BTW-- I ran texhash just to make sure the database was updated. I don't think this helps with LuaTeX font problems. AFAIK, there is a separate LuaTeX font database but I did not dive into LuaTeX yet. Günter -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Palatino linotype in Lyx
"I see URWPalladio only listed when clicking the "non TeX fonts" button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. " Again, I agree that it SHOULD work, since it seems to be installed with ghostscript, and when I use font-manager, it finds and shows the urwpalladio font without any problem. However, when I click: View(other format)/pdf(Luatex), I get a "font-not-found" error. If, instead of choosing URWpalladio I select texgyrepagella, everything works just fine. So for some mysterious reason, Latex fails to find the urwpalladio, but does find the texgyrepagella. I think it just shows how little I know about the way Latex manages the fonts on the system. BTW-- I ran texhash just to make sure the database was updated. Ehud On 03/07/2013 06:27 AM, Guenter Milde wrote: On 2013-03-06, EK wrote: body p { margin-bottom: 0cm; margin-top: 0pt; } "OTOH, the font selection dialogue should not let you select a font that is not installed on your system."-- I agree wholeheartedly. In fact, LyX 2.0.5.1 under Windows XT does tell me (right in the list) that the font was not installed, but the same version of Lyx under Lubuntu 12.10 64 bits omits this useful note. Both systems run TexLive 2012. Since under (L)ubuntu the tlmgr (the package manager for TexLive) is not normally available, and since URWPalladio does not appear in the ubuntu repositories, I could not use it. Here, with LyX 2.0 under Debian/testing, I see URWPalladio only listed when clicking the "non TeX fonts" button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. I don't think that there is a separate entry for URWPalladio under the TeX fonts - the TeX version is available as "Palatino" using the "mathptmx" LaTeX package. Günter -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Palatino linotype in Lyx
Wolfgang, If you are in Windows, you can use the tlmgr (the Texlive package manager) to install support for Greek. If you are in Linux (as I am), you can use the Linux package manager (since I use (L)ubuntu, for me this is synaptic)-- search on texlive in synaptic and you'll see something like: texlive-lang-greek. Install it and everything will be nice. HTH-- Ehud On 03/07/2013 03:05 AM, Wolfgang Engelmann wrote: Am Mittwoch, 6. März 2013, 18:45:57 schrieb EK: Did you include Greek among the languages that LaTeX supports? EK Thanks, Ehud, for the feedback, but where is this done? In the preamble? and how? (\usepackage ...?) or in Document settings > Language? There I have selected for Encoding Language German which is the Language I use in this document and played around with language default, other, language package (greek, babel, utf8 ..) but got errors Or is it done just before the Greek symbols (which occur only at a few occassions in the document)? Wolfgang On 03/06/2013 02:05 AM, Wolfgang Engelmann wrote: Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: -snip--- An alternative is TeX Gyre Pagella, also a Palatino clone, which you can call by \usepackage{tgpagella} in the preamble. Hallo, using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\font='. which refers to \textgreek{a} etc (an upright alpha) I had changed in document settings>fonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? and what different font spec would be recommendable to handle it? Wolfgang -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Palatino linotype in Lyx
Did you include Greek among the languages that LaTeX supports? EK On 03/06/2013 02:05 AM, Wolfgang Engelmann wrote: Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: I suspect that the Palatino that appears in the font list is NOT the same as Palatino Linotype, especially in terms of spacing-- it takes less space than Georgia, which uses less space than Helvetica or Arial. When I try to use the URW Palladino that appears in the list, I get the error message: Font-not-found, even though I have TeX gyre and other packages installed that say they use URW Palladino. I had solved my immediate problem using Georgia, but I like the appearance of Palatino, and would love to use it in the future, if I could persuade Lyx to let me. There used to be support files for Linotype Palatino (which is a commercial font which you have to purchase from Linotype) by Walter Schmidt [1]. However, Walter Schmidt has declared the package obsolete, since recent TeX distributions include both URW Palladio (a real Palatino clone) and true small caps and old style figures for that (so-called fpl font). This is what you get when you select "Palatino" from the LyX font combo, provided your laTeX distribution is fairly new. An alternative is TeX Gyre Pagella, also a Palatino clone, which you can call by \usepackage{tgpagella} in the preamble. Hallo, using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\font='. which refers to \textgreek{a} etc (an upright alpha) I had changed in document settings>fonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? and what different font spec would be recommendable to handle it? Wolfgang -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Palatino linotype in Lyx
"OTOH, the font selection dialogue should not let you select a font that is not installed on your system."-- I agree wholeheartedly. In fact, LyX 2.0.5.1 under Windows XT does tell me (right in the list) that the font was not installed, but the same version of Lyx under Lubuntu 12.10 64 bits omits this useful note. Both systems run TexLive 2012. Since under (L)ubuntu the tlmgr (the package manager for TexLive) is not normally available, and since URWPalladio does not appear in the ubuntu repositories, I could not use it. EK On 03/06/2013 11:44 AM, Guenter Milde wrote: On 2013-03-05, ehud.kap...@gmail.com wrote: [-- Type: text/plain, Encoding: 8bit --] I suspect that the Palatino that appears in the font list is NOT the same as Palatino Linotype, especially in terms of spacing-- it takes less space than Georgia, which uses less space than Helvetica or Arial. AFAIK, the Palatino font option in the LyX font list (without "use non-TeX fonts") corresponds to \usepackage{mathptmx} from the PSNFSS LaTeX standard package. This should work in all non-corrupt LaTeX installations. It is an extended version of URW Palla* with real small-caps and some basic math support. When I try to use the URW Palladino that appears in the list, I get the error message: Font-not-found, even though I have TeX gyre and other packages installed that say they use URW Palladino. TeX gyre Paladio is based on URW Pal* but incorporates this in its own font file(s). I.e. installing this does not make URWs palladingsbums available under this name. OTOH, the font selection dialogue should not let you select a font that is not installed on your system. Could you please try with a simple document containing just ASCII? Maybe some non-ASCII letters are not supported without LyX knowing. Günter -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Palatino linotype in Lyx
The information I was able to find on the subject was murky, and left it unclear (at least for me) whether the two fonts are the same. However, I did compile my document with Palatino, and it was nearly as economical (in terms of space) as Times New Roman. I read somewhere that Palatino Linotype took up MORE space than Times New Roman, which is why I suspect that P. Linotype is not the same as Palatino, even though the letter shapes might be similar. NIH probably chose P. Linotype precisely because it allows you to put fewer words on the page than, say, Times New Roman, to protect the sanity of the poor reviewers. Ehud On 03/05/2013 12:15 PM, Bruce Pourciau wrote: On Mar 5, 2013, at 9:20 AM, ehud.kap...@gmail.com wrote: Since NIH now wants us to use Palatino Linotype (among several other, uglier fonts), I tried to find it in the Lyx font list, but could only find Palatino, which is apparently different from Palatino Linotype. Where can I find Palatino Linotype so I could add it to the Lyx font list? Thanks, -- Ehud Kaplan, Were you told that Palatino in the LyX font list is not Palatino Linotype? Inspected closely, the letter forms in LyX's Palatino look just like Palatino Linotype. The letter spacing could be different, but the letterforms themselves look right. Bruce -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Sidecap
I tried to use the sidecap module, to create a figure with its caption on the side, rather than below the figure. I got an error message about missing \end{sidecap}. I think this used to work in previous versions-- I am currently using Lyx 2.0.5.1 under Lubuntu 12.10 (64 bit). Any ideas? Thanks, -- Ehud Kaplan,
Re: Share LaTeX
I was looking yesterday at the newly-release Google "Chromebook Pixel", which has a gorgeous display and other nice features. However, since you cannot install much on it, having a Lyx-in-the-cloud capability could have converted it from a useless item to a desirable device (at least for me). Ehud Kaplan On 02/25/2013 08:57 AM, Rich Shepard wrote: On Sun, 24 Feb 2013, Scott Kostyshak wrote: Do you just mean compile .lyx files on the cloud? Or do you mean a complete LyX editor in a web browser? Is the idea that this would be useful if you don't want to install anything on your computer or if you want to be able to work from any computer (e.g. at the library)? But for this one could just ssh with X into a computer that has LyX, no? Scott, I and a collaborator (who is new to LaTeX) could both work on the same document. I did not propose the LyX version but asked if anyone has experience with this LaTeX-sharing tool for collabortive writing using LaTeX. The alternatives are sending the .tex or .lyx file back and forth or keeping it in a subversion (or git) repository and each checking out the latest version. The 'cloud' is just the latest idea to generate business by those who have spare room on file servers and untilled bandwidth available. Regardless of whether a lyx version is attempted I (and perhaps others) would like to learn of the experiences of those who have used the LaTeX version. Rich -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: >Color of changed output in pdf
Perfect! Thanks a lot, Jurgen! On 02/22/2013 11:30 AM, Jürgen Spitzmüller wrote: Can anyone help in changing the color of changed text in the pdf out? I would like to preserve the change bar in the margins, but change the blue color of the changed text to black. Preamble: \definecolor{lyxadded}{rgb}{0,0,0} Jürgen -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Output color while change tracking
When I choose to show changes in output, the changed text appears blue in the pdf output, and the changebar in the margin appears gray. I would like to be able to control the color of both the changed text and the changebar. How do I do that? Do I change the number (#3) in the \cbstart\color command? Right now I have in the preamble: \usepackage{textcomp} \usepackage{color} \date{} \setcounter{page}{1} \renewcommand{\thesection}{\Alph{section}} \renewcommand{\contentsname}{} %Suppress the word `Contents' before the Table of Contents \usepackage{enumitem} \setlist{leftmargin=0mm, itemindent=3mm, itemsep=0.75mm,nolistsep} \usepackage[pdftex,outerbars]{changebar} \renewcommand{\lyxadded}[3]{{\cbstart\color{lyxadded}{}#3\cbend}} \renewcommand{\lyxdeleted}[3]{{\cbstart\color{lyxdeleted}\sout{#3}\cbend}}
Re: Figure numbers & change tracking
OK-- further research uncovered the culprit for the first issue (the need to accept any change made before I could compile). In my preamble I had the following: \usepackage{enumitem} \setlist{leftmargin=0mm, itemindent=3mm, itemsep=0.75mm,nolistsep} \usepackage[pdftex,outerbars]{changebar} \renewcommand{\lyxadded}[3]{{\cbstart\color{lyxadded}{}#3\cbend}} \renewcommand{\lyxdeleted}[3]{{\cbstart\color{lyxdeleted}\sout{#3}\cbend}} Commenting these lines out solved the problem. I have not yet discovered the reason for the failure to correctly reference a wrap figure in a box. Ehud Kaplan On 02/07/2013 01:03 AM, Scott Kostyshak wrote: On Tue, Feb 5, 2013 at 8:46 AM, EK wrote: Here is a SmallWorkingExample, which illustrates both issues. Here the reference to the figure appears as Figure (no number). Ehud Kaplan Hi Ehud, Thank you for your example file. However, it is not a working example file for the following reasons: 1. It does not compile. 2. You did not include your bibtex file. If it's not necessary to reproduce the problem, then consider not making it a dependency by including references in your MWE .lyx file. 3. Even if you did include your bibtex file, the path to it is specific to your computer. 4. You did not include the file p-trode-w-dimensions. Further, because this file has no name, I have no idea what time of graphic it is. And thus I have no idea what converter is being called. 5. The path to the picture is not relative. An MWE (or a SWE) should be compilable out of the box. You probably didn't send the picture because you didn't want to increase the size of everyone's inboxes and I appreciate that. But it's very nice to have an MWE. I wish we had a way where you could upload your files somewhere and then link to them because not everyone has access to such a service themselves. Also, you could have used a 1kb picture, or no picture at all, to show the problem. Regarding your potential bug number 1, I think I see what you are talking about. Here is the PDF that is produced for me on the development version of LyX: https://www.dropbox.com/s/e5rpv153nue0lg0/MWE.pdf There is no number at all in the reference to the figure. It should be figure 1 and yet nothing shows up. Regarding point 2, I didn't try to reproduce this as I have no idea what converter is being called and I'm not sure if by "any change to the figure" you mean a change to the file itself, a change to the properties of the figure, a change to the caption, or maybe all of the above. Please specify just one action in the steps you give to reproduce the behavior you found. You can then note that any of several actions could also be used for that step. I hope I'm not coming across as upset. I'm not at all. I think that it takes time to learn how to write a good MWE. I also think that we are missing documentation on how to make an MWE specifically in the context of LyX. A search for "MWE" at wiki.lyx.org gives nothing. This is something I would like to work on documenting. Let me know if you have any suggestions for me. My guess is that these are LyX bugs. If you are able and willing to make MWE(s) (either one that shows both problems, or two separate ones), it would be great if you could open separate bug reports on www.lyx.org/trac. Please attach any relevant files to each bug report. Best, Scott -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Problems with Windows installation [solved]
You might try to install TexLive independently, and then install Lyx (using the non-bundle installer), directing it to the TexLive TeX engine. This is how I do it on my XP machine. Ehud Kaplan On 02/06/2013 10:49 AM, Les Denham wrote: Yesterday I had a friend call me for advice on a Windows XP installation of Lyx. He had been using LyX for several years without any problems, and had just updated to 2.0.5.1. Now he could work in LyX, but could not generate a PDF output. He is running Windows XP on a netbook. To investigate how LyX works on Windows so I could give him advice I borrowed the only computer in the house with Windows, my wife's netbook, which dual boots Windows 7 and Linux Mint. I downloaded the bundle, LyX-2.0.5.1-Bundle-4.exe, and installed it in Windows 7. I found I had exactly the same problems my friend was reporting. To investigate what was happening, I tried to export LaTeX(pdflatex), using the splash file (examples/splash.lyx) as a test case. It exported what looked like a perfectly good LaTeX file. I looked around for a way of testing this file, and found TeXworks, which comes with MikTeX. It generated a perfect PDF file with no errors. So I went back to LyX, opened the Messages box to watch where the error occurred, and tried to export a PDF(pdflatex) file. It worked without any errors. So I tried another file (the User's Guide, doc/UserGuide.lyx). This also worked without any errors, but I observed that before generating the PDF MikTeX downloaded some additional packages. So I suggested to my friend that he try exporting a LaTeX file, typesetting it using TeXworks, then trying again with LyX. Sure enough, after using TeXworks to generate one PDF file, LyX can create PDF files normally. I have to conclude that the MikTeX installer does not finalize the installation, but leaves something undone. This missing configuration is then completed the first time TeXworks is used. Perhaps someone more familiar with MikTeX could explain this. Les -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Figure numbers & change tracking
Here is a SmallWorkingExample, which illustrates both issues. Here the reference to the figure appears as Figure (no number). Ehud Kaplan On 02/05/2013 02:33 AM, Scott Kostyshak wrote: On Tue, Feb 5, 2013 at 2:26 AM, EK wrote: I have encountered two problems (using Lyx 2.0.5.1, (L)ubuntu 12.10 64 bit): I wanted a frame around a floating figure. So I inserted a wrap-float, and placed a box in it, into which I pasted my graphics. Now when I refer in the text to the figure by its label, the figure number appears as Figure D, not Figure 3 as it should. I need to track changes and show the results in the pdf output. When I make ANY change to the figure and compile, I get a (to me nonsensical) error message, and the compilation stops. If I ACCEPT the changes I made to the figure, the error message disappears. Is this a feature? Hi Ehud, I don't know, but I think that MWEs (Minimum Working Examples) would help for both 1 and 2. Best, Scott MWE.lyx Description: application/lyx
Figure numbers & change tracking
I have encountered two problems (using Lyx 2.0.5.1, (L)ubuntu 12.10 64 bit): I wanted a frame around a floating figure. So I inserted a wrap-float, and placed a box in it, into which I pasted my graphics. Now when I refer in the text to the figure by its label, the figure number appears as Figure D, not Figure 3 as it should. I need to track changes and show the results in the pdf output. When I make ANY change to the figure and compile, I get a (to me nonsensical) error message, and the compilation stops. If I ACCEPT the changes I made to the figure, the error message disappears. Is this a feature? Thanks, Ehud Kaplan --
Re: No pdflatex view in 2.0.5.1 under XP with Texlive
Here is what I tried, following Uwe's response: I removed all Lyx installations from the XP machine I downloaded the Windows bundle installer I installed Lyx and JabRef with that installer I tested it-- got the very same error (!pdfTeX error: pdflatex.exe (file c:/texlive/2012/texmf-var/fonts/map/pdftex/up) when I tried to view a pdf output by clicking on the ViewPdf icon (pdflatex) Tried other formats-- luapdf failed, but others (xetex, pdf via dvi or PS) all worked. So I am exactly where I was initially. I rarely use the XP machine these days, but when I need it, I usually need Lyx to function on it, which it did until this latest version. Any idea what is going on? Ehud On 01/15/2013 08:45 PM, Uwe Stöhr wrote: Am 09.01.2013 19:00, schrieb EK: I have installed Lyx 2.05.1 on a Windows XP machine (I still have one of those), with TexLive. Everything works fine, but when I click the VIEW icon (to get a pdf) I get an error about pdflatex and/or pdftex.exe. If I select View PDF (lua or Xetex) or DVI from the menu everything works just fine-- just the most useful pdflatex fails (naturally..;-). I have compared the file converters and paths to a previous (Lyx 2.04) installation that works perfectly, and I do not see a difference. Can anyone shed light on this mystery? There was a bug in the installer that the LaTeX distribution was not correctly or even not recognized on Windows 7 and 8 in the 64bit versions. If that is your OS, please reinstall LyX using the fixed installer: http://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.5.1/LyX-2051-Installer-2.exe/download (will be soon on ftp.lyx.org too) Can you please report back if the installer found the correct path to TeXLive? if not, what version of TeXLive are you using? Note that the installer can only support TeXLive 2012 and no older versions because of technical limitations in the old versions. If you have a older TeXLive, please try to update it before you reinstall LyX. If this is not possible, please reinstall LyX anyway and then go to the LyX preferences and adapt the paths so that the path list contains the folder of TeXLive where the latex.exe is located. If the problem persists anyway for you, can you please tell me your program versions (Windows, TeXLive) and provide a _minimal_ LyX file you are using. thanks and regards Uwe -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: No pdflatex view in 2.0.5.1 under XP with Texlive
I encountered the problem on Windows XP. I had no such problem on (l)ubuntu 12.10 machines (32 or 64 bits). I shall try the re-installation on XP and report back. Thanks-- Ehud On 01/15/2013 08:45 PM, Uwe Stöhr wrote: Am 09.01.2013 19:00, schrieb EK: I have installed Lyx 2.05.1 on a Windows XP machine (I still have one of those), with TexLive. Everything works fine, but when I click the VIEW icon (to get a pdf) I get an error about pdflatex and/or pdftex.exe. If I select View PDF (lua or Xetex) or DVI from the menu everything works just fine-- just the most useful pdflatex fails (naturally..;-). I have compared the file converters and paths to a previous (Lyx 2.04) installation that works perfectly, and I do not see a difference. Can anyone shed light on this mystery? There was a bug in the installer that the LaTeX distribution was not correctly or even not recognized on Windows 7 and 8 in the 64bit versions. If that is your OS, please reinstall LyX using the fixed installer: http://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/2.0.5.1/LyX-2051-Installer-2.exe/download (will be soon on ftp.lyx.org too) Can you please report back if the installer found the correct path to TeXLive? if not, what version of TeXLive are you using? Note that the installer can only support TeXLive 2012 and no older versions because of technical limitations in the old versions. If you have a older TeXLive, please try to update it before you reinstall LyX. If this is not possible, please reinstall LyX anyway and then go to the LyX preferences and adapt the paths so that the path list contains the folder of TeXLive where the latex.exe is located. If the problem persists anyway for you, can you please tell me your program versions (Windows, TeXLive) and provide a _minimal_ LyX file you are using. thanks and regards Uwe -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
No pdflatex view in 2.0.5.1 under XP with Texlive
I have installed Lyx 2.05.1 on a Windows XP machine (I still have one of those), with TexLive. Everything works fine, but when I click the VIEW icon (to get a pdf) I get an error about pdflatex and/or pdftex.exe. If I select View PDF (lua or Xetex) or DVI from the menu everything works just fine-- just the most useful pdflatex fails (naturally..;-). I have compared the file converters and paths to a previous (Lyx 2.04) installation that works perfectly, and I do not see a difference. Can anyone shed light on this mystery? Thanks, Ehud
Re: Beamer multitude problems with lyx
My experience with Beamer is that Lyx is helpful for things like tables or some other complex entities. For simple things Beamer/Latex is just as easy. A BIG problem with the current Beamer is its inability to easily (by mere mortals) configure templates, or even determine the location of an institutional logo. This is trivial to do with PowerPoint, and is a real pain with Beamer. EK On 6/2/2010 3:52 AM, Anthony Campbell wrote: On 01 Jun 2010, Steve Litt wrote: Thanks in advance Personally, when I do Beamer, I do it from LaTeX without benefit of LyX. I find that much simpler. Your mileage may vary. I wrote an article on doing Beamer straight from LaTeX here: http://www.troubleshooters.com/lpm/201005/201005.htm Interesting. I originally made my presentation (40-odd pages) in Latex-Beamer, but recently remade it using Lyx-Beamer. I found the Lyx version easier once I'd got used to it. The big advantage for me is that I can continuously monitor the appearance of my slides as I write them. Anthony
Re: Change tracking and the fate of deleted text
At Julien's advice, this is what I have put in the preamble. It works fine outside the captions. \usepackage{color} \renewcommand{\lyxdeleted}[3]{{\color{red}*}\marginpar{{\color{red}*#3} (removed by #1 on #2)}} \renewcommand{\lyxadded}[3]{{\color{blue}#3}} EK On 6/2/2010 6:47 AM, Jean-Marc LASGOUTTES wrote: "ehud.kap...@gmail.com" writes: Although I applauded the suggested additions to the preamble, which made Lyx place deleted text in the margin, I have now discovered that Lyx will fail to compile (pdflatex) /if the change is made to a figure caption/. Is there a quick fix to this fix? What is the definition that you use? You may need to use \protect, because the contents of a caption is a so called ``moving argument''. JMarc
Lyx 2.0
When is Lyx 2 coming out? EK
lyx 1.6.5 for linux 64
Where can I find lyx 1.6.5 for linux 64, preferably as a .deb package? Kubuntu only sports 1.6.4 Thanks, EK
Re: launching LyX 1.6.5
I was worried about that, and in despair logged on as administrator and tried again, but got the same behavior-- clicking on the Lyx icon I see a brief DOS (cmd) window which disappears, then another DOS window appears briefly, disappears, and then silence-- Lyx never appears. EK Manveru wrote: 2009/12/11 EK : It still did /*not */work. The response from running: lyx -dbg 3 was: Lyx is not recognized as an internal or external command.. etc. By the way, I agree that changing the paper size to letter rather than A4 and allowing needed packages to be installed without asking is not the cause for this failure, since I did it that way on the one machine where the alinstaller did work for 1.6.5 (A Windows 2000 system). The failures were on two XP sp3 machines. Does the alt-installer require administrative permission for something during installation what is not available to standard user under SP3?
Re: launching LyX 1.6.5
It still did /*not */work. The response from running: lyx -dbg 3 was: Lyx is not recognized as an internal or external command.. etc. By the way, I agree that changing the paper size to letter rather than A4 and allowing needed packages to be installed without asking is not the cause for this failure, since I did it that way on the one machine where the alinstaller did work for 1.6.5 (A Windows 2000 system). The failures were on two XP sp3 machines. EK Uwe Stöhr wrote: E.Kaplan schrieb: Now I have a serious problem: Since I was unable to run Lyx (after altinstaller installation), I uninstalled Lyx and Miktex 2.8, and let the altinstaller install everything all over again, including Miktex. I still cannot get Lyx to run, no matter how long I wait. The one thing I did differently from the default installation options is that I chose letter size paper, rather than A4, and changed the needed package downloading to YES (rather than Ask me first). Why this? The installer clearly state not to change anything. The installer automatically configures MiKTeX and the change to letter size can be done anytime later. However, this cannot be the bug (I think). Try this: - delete the folder named "C:\Documents and Settings\\Application Data\lyx16" - do this for all users on your system - finally restart LyX (this should recreate the just deleted folder) When it still doesn't work, what do you get when you open a console and start there LyX with the command lyx -dbg 3 regards Uwe
Re: launching Lyx 1.6.5
I shall try it when I get back home. However, I suspected that Lyx is doing something like that, and therefore I did wait for over an hour with a broad-band internet connection, but nothing happened-- at least nothing that I could see. EK Olivier Ripoll wrote: E. Kaplan wrote: I installed Lyx 1.6.5 on a Windows XP laptop, using the altinstaller (the only one I could find for Windows that had 1.6.5). Before I installed it, I uninstalled the previous version, 1.6.4. When I try to launch Lyx, a DOS window flashes once or twice, and disappears. Lyx never appears. It shouldn't be THAT tricky, should it? No, of course. I am using it on a Windows XP laptop from the 1.6.5 after uninstalling the 1.6.4. Try the following, in a command prompt/console (if you do not have a shorcut for it somewhere in the start menu, type "cmd" in the run box) 1- cd to the lyx bin folder, something like C:\Program Files\LyX 1.6.5 2- type "lyx.bat" and press return. See what happens. 3- type "lyx.exe" and press return. See what happens. At that point, you may see error messages telling what's going wrong. Are you using an antivirus? if yes, try to see if it reported something recently. I had cases of Kaspersky putting some important soft in quarantine as false positives (Matlab, and python in LyX 1.6.0/1.6.1 alt installer IIRC). You may also want to rename your preference directory, C:\Documents and Settings\userbname\Application Data\lyx16 to something else (e.g. "lyx16bak") and try again to run lyx. Best regards, Olivier Help, please! EK
Importing a latex file with bibliography into Lyx
When I import a Latex file that contains an explicit bibliography (\begin{thebibliography}.. \end{thebibliography}etc. from a .bbl file) I get an error message: Unrecognized parameter [Name where Name is the first \bibitem in the bibliography. What is puzzling is that I used to do this without any trouble, but now it fails with any file I try. Any ideas? EK