Re: Adjusting LyX to do things by default
On 2011-11-17, Kenedy Torcatt wrote: [-- Type: text/plain, Encoding: quoted-printable --] Hello guys. First of all I want to thankyou all for the great help on this list! In this case I need to know how to set some things by default within LyX to have everything prepared before write. So: 1- How to center sections, subsections and table of content tittles by default? nothing more the rest I need it on left side (no prob with that) 2- How to establish size normalsize for subsections and table of contents tittles by default instead of that bigger size that Lyx uses? P.S: I'm attaching my LyX file called thesis_kenedy, so you can take a look and edit it. For these tasks, you need to write a custom layout. See the HelpCustomization guide. Start with a document class that almost fits your needs and remember that you need to tell both, the LyX GUI and LaTeX about the desired changes. Then, changing the standard.lyx template to use your layout will make this the default for every new document. (Make a copy in you LYXHOME (e.g. ~/.lyx) and modify this.) Günter
Re: available templates and their names
On 2011-11-16, Richard Heck wrote: On 11/16/2011 02:59 AM, Janek Warchoł wrote: 2011/11/15 Richard Heckrgh...@comcast.net On 11/15/2011 07:37 AM, Janek Warchoł wrote: i opened some LyX templates (File - New from Template). To my great disappointment, i don't have any idea what the names of most of them mean (what is ijmpc, for example?). Am i missing something big? Is there any simple article template? Would it be good to suggest changing templates' names to something more intuitive? The templates correspond, mostly, to certain document classes. So elsarticle.lyx is a template for documents based upon the elsarticle.cls class, which is used by some Elsevier journals. ok... However, does it make sense to include so many templates that are missing some external files? Majority of templates that i had tried to open said The selected document class requires external files that are not available. The external files required are LaTeX document classes, packages, etc. There are bazillions of these, for various different purposes. It's not expected that you would have them all installed, though you can easily enough install the ones you need. IMV, it would help a lot if LyX could filter the templates that do not work with the current installation. We do this for document classes, so the vast part of the required logic is already available. Many of the template names as well as the templates themselve do only make sense together with special document classes for special needs. Günter
Re: available templates and their names
On Thu, Nov 17, 2011 at 9:22 AM, Guenter Milde mi...@users.berlios.dewrote: On 2011-11-16, Richard Heck wrote: On 11/16/2011 02:59 AM, Janek Warchoł wrote: 2011/11/15 Richard Heckrgh...@comcast.net On 11/15/2011 07:37 AM, Janek Warchoł wrote: i opened some LyX templates (File - New from Template). To my great disappointment, i don't have any idea what the names of most of them mean (what is ijmpc, for example?). Am i missing something big? Is there any simple article template? Would it be good to suggest changing templates' names to something more intuitive? The templates correspond, mostly, to certain document classes. So elsarticle.lyx is a template for documents based upon the elsarticle.cls class, which is used by some Elsevier journals. ok... However, does it make sense to include so many templates that are missing some external files? Majority of templates that i had tried to open said The selected document class requires external files that are not available. The external files required are LaTeX document classes, packages, etc. There are bazillions of these, for various different purposes. It's not expected that you would have them all installed, though you can easily enough install the ones you need. IMV, it would help a lot if LyX could filter the templates that do not work with the current installation. We do this for document classes, so the vast part of the required logic is already available. I think that would be a good idea and make it less irritating for users. Many of the template names as well as the templates themselve do only make sense together with special document classes for special needs. While we are at templates: It would be really nice, if in the list of available templates when choosing new - from template, both template diretories (user and system) would be displayed, as it irritated me for quite some time that the user templates do not show up. AS I guess this could be difficult ( one file selection dialog from two sources), an button in the dialog to switch to the user templates (and back to system tamplates) would make things clearer. Cheers, Rainer Günter -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug
Re: Extsizes layout
No developers here to whom I can submit this? - Julio Rojas jcredbe...@gmail.com On Wed, Nov 16, 2011 at 11:48 AM, Julio Rojas jcredbe...@gmail.com wrote: Dear all, I have made an small change to the Article layout in order to use the Extsizes class. To whom should I send this layout to be included in future Lyx releases? For those who don't know what the Extsizes class provides, it is a derivate of the Article class defined with a broader set of font sizes. Regards. - Julio Rojas jcredbe...@gmail.com
Underbar bug
Dear all, I have found what appears to be a bug in Lyx 2.0.1 for Windows. When \underbar is issued in a math environment, anything put inside is implicitly rendered as \textrm, both on screen and on PDF. Is this the correct behavior? Regards. - Julio Rojas jcredbe...@gmail.com
Re: available templates and their names
On 11/17/2011 03:22 AM, Guenter Milde wrote: On 2011-11-16, Richard Heck wrote: On 11/16/2011 02:59 AM, Janek Warchoł wrote: However, does it make sense to include so many templates that are missing some external files? Majority of templates that i had tried to open said The selected document class requires external files that are not available. The external files required are LaTeX document classes, packages, etc. There are bazillions of these, for various different purposes. It's not expected that you would have them all installed, though you can easily enough install the ones you need. IMV, it would help a lot if LyX could filter the templates that do not work with the current installation. We do this for document classes, so the vast part of the required logic is already available. First, I don't think this is possible, at least not without major surgery. The templates are simply opened from a file dialog. But the more important point is that the templates DO work with the current installation. You can't compile them, but you can use them in LyX, experiment with them, etc. (The full dialog does actually explain this.) That is why Unavailable document classes are still, um, available. As Helge sometimes points out, this is important. You can install LyX without LaTeX if you like (say, on a netbook with a 4GB SSD), and it will work just fine for editing. Richard
Re: Underbar bug
On 11/17/2011 04:02 AM, Julio Rojas wrote: Dear all, I have found what appears to be a bug in Lyx 2.0.1 for Windows. When \underbar is issued in a math environment, anything put inside is implicitly rendered as \textrm, both on screen and on PDF. Is this the correct behavior? Works this way in pure LaTeX. (Just tested) Richard
Re: Underbar bug
Weird, but it seems that it is the intended functionality. Regards. - Julio Rojas jcredbe...@gmail.com On Thu, Nov 17, 2011 at 2:24 PM, Richard Heck rgh...@comcast.net wrote: On 11/17/2011 04:02 AM, Julio Rojas wrote: Dear all, I have found what appears to be a bug in Lyx 2.0.1 for Windows. When \underbar is issued in a math environment, anything put inside is implicitly rendered as \textrm, both on screen and on PDF. Is this the correct behavior? Works this way in pure LaTeX. (Just tested) Richard
Re: Adjusting LyX to do things by default
On Nov 16, 2011, at 11:01 PM, Kenedy Torcatt wrote: 1- How to center sections, subsections and table of content tittles by default? nothing more the rest I need it on left side (no prob with that) 2- How to establish size normalsize for subsections and table of contents tittles by default instead of that bigger size that Lyx uses? Try the titlesec package. I used it on my thesis to do similar things. You won't see the formatting on the LyX screen but the pdf output will be as desired.
Re: Adjusting LyX to do things by default
Kenedy, Allow me to make a humble suggestion. Ask yourself, Do I REALLY NEED change these defaults? I've spent over a year wrestling with LyX and LaTeX to customize their defaults to my liking. I have learned a lot about how to do things. While you CAN achieve the results you want, you're going to open up a real can of worms for yourself. You'll spend hours of frustration trying to get where you want to be. After months of wrestling, I realized that the LyX/LaTeX formatting defaults are really quite excellent. I've decided to relax a little and allow myself to be blessed by the layouts the experts have already designed. Life is so much easier now. Just a suggestion. Virgil -Original Message- From: Kenedy Torcatt Sent: Wednesday, November 16, 2011 11:01 PM To: lyx-users@lists.lyx.org Subject: Adjusting LyX to do things by default Hello guys. First of all I want to thankyou all for the great help on this list! In this case I need to know how to set some things by default within LyX to have everything prepared before write. So: 1- How to center sections, subsections and table of content tittles by default? nothing more the rest I need it on left side (no prob with that) 2- How to establish size normalsize for subsections and table of contents tittles by default instead of that bigger size that Lyx uses? P.S: I'm attaching my LyX file called thesis_kenedy, so you can take a look and edit it. Thankyou in advance Kenedy -- Kenedy Torcatt Personal Fitness Trainer / Geologist Engineer / Guitarist / Webmaster Contact: Gmailfacebook: ktorcatt Yahoo Twitter: kenfitness Hotmail
Re: available templates and their names
On 2011-11-17, Rainer M Krug wrote: While we are at templates: It would be really nice, if in the list of available templates when choosing new - from template, both template diretories (user and system) would be displayed, as it irritated me for quite some time that the user templates do not show up. AS I guess this could be difficult ( one file selection dialog from two sources), an button in the dialog to switch to the user templates (and back to system tamplates) would make things clearer. While this could/should be implemented as part of a custom template-selecting dialogue, I use the following workaround: - set the template path to the user templates (~/.lyx/templates) - add a link to the system templates in this dir. Günter
LyX as editor -- Was: available templates and their names
On Thursday, November 17, 2011 08:22:49 AM Richard Heck wrote: As Helge sometimes points out, this is important. You can install LyX without LaTeX if you like (say, on a netbook with a 4GB SSD), and it will work just fine for editing. Richard And in my opinion LyX is one of the most productive long-document editors the world has ever seen. Little things like rejecting double- spaces and double-newlines make me much faster as I worry less about mistakes. Its low-crashability and low-corruptability make for fast, confident working conditions. Its steadfast adherance to styles-based authoring makes it easy to build documents the right way. LyX's beige default background is easy on the eyes and yet easily contrasty enough for bad vision -- I should know, my vision's horrible. And, in spite of all the publicity, LyX is WYSIWYG enough that a single glance tells you which pieces of text are special styles. Contrast that with old WordPerfect 5.1, where the whole doc was courier, and if you wanted to see any evidence of styles you'd need to do the WordPerfect equivalent of LyX's View-PDF. Oh, one more thing. I'm now using LyX to author Kindle books -- no PDF involved anywhere. It goes like this: LyX-eLyXer-metadata tweaks-Kindlegen-Upload But LyX is such a great editor, and so styles adherant, that it was the obvious choice. I tried editing eBooks in Sigil for a little while, but that was a migration to Pity City. LyX is a GREAT editor. SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Cannot get epstopdf to work in Lyx 2.0.1
Dear Lyx Users, I need to include lots of .eps graphics files in my Lyx document. These .eps files are produced by GNUplot using the epslatex terminal driver which produces a .tex files and a .eps file for each graph. In Lyx 2.0.0, including my graphs was as simple as putting \input{graph.tex} in ERT. Behind the scenes, this would invoke an instance of epstopdf to convert each .eps file to a .pdf file. This worked fine in Lyx 2.0.0. This no longer works in Lyx 2.0.1. The problem is that epstopdf is being run in a temp directory (e.g. /tmp/lyx_tmpdir.T13883/lyx_tmpbuf2) but epstopdf is not given a way to locate the .eps file. The Lyx log file reports that epstopdf is being called like this: runsystem(epstopdf --outfile=graph-eps-converted-to.pdf graph.eps) As you can see, epstopdf has no way of finding where graph.eps lives. I have tried setting \graphicspath{{/path/to/eps/file/}} in my document preamble but this did nothing. I tried providing my graphics directory in Lyx's Working directory, Temporary directory, PATH and TEXINPUTS prefix Paths fields but this did not help. The only fix I have found so far is to open each .tex file (e.g. graph.tex) in a text editor and manually edit the \put(0,0){\includegraphics[width=\unitlength]{graph.eps}} line to include the absolute path of the .eps file. This is not a satisfactory solution for many reasons. I'd really love it if someone could suggest a solution! Many thanks, Jack
Re: margins problem in classicthesis additional chapters
On 11/17/2011 02:53 AM, Gian Maria Niccolò Benucci wrote: I added a new chapters the Chapter05.lyx trough the template.lyx file present in the classicthesis package but, after I compiled the ClassicThesis.lyx in the generated pdf the text is centered and no more justified like it is in the latter Chapters... You'll have to dig this one by yourself, I can't see how anyone here could help you without the files you modified. First, make a backup copy of all your files. Then, copy Chapter03.lyx to Chapter05.lyx. What's the output like now? What does your Chapter05.lyx look like when you compile it separately? Try playing a bit, shouldn't be hard to find out where the problem is. As a last resort, upload all of your .lyx files (even better, a minimal example) somewhere so that we can take a look at them.
Re: hot to regulate table dimensions
On 11/16/2011 07:41 PM, Gian Maria Niccolò Benucci wrote: Hi all, A simple question from a rookie user... How to modify table dimension in ClassicThesis? The table escape from the pdf margin, how to fix that? Did you put too much text in it? What dimensions did you set in your table properties? This has nothing to do with ClassicThesis, it's just that you're doing something wrong.
Re: help with running title in the right up of the pdf page
On 11/16/2011 11:28 PM, Gian Maria Niccolò Benucci wrote: I need to shorten it and change some text, but how can I? Thanks a lot for helping... You can insert Short title option in any of your chapter headings. Right mouse click, Insert short title.
installing lyx with hebrew
hello, I would like to install lyx with hebrew support on my mac .but I am unsuccessful in doing so ?can you please give me correct links or instructions thank you very much liron.
Re: installing lyx with hebrew
On Thu, Nov 17, 2011 at 8:23 PM, Liron Yosef liron.yo...@mail.huji.ac.il wrote: hello, I would like to install lyx with hebrew support on my mac After installing, have you tried Tools Prefs Language UI Hebrew? Liviu .but I am unsuccessful in doing so ?can you please give me correct links or instructions thank you very much liron. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: available templates and their names
On 2011-11-17, Richard Heck wrote: On 11/17/2011 03:22 AM, Guenter Milde wrote: On 2011-11-16, Richard Heck wrote: On 11/16/2011 02:59 AM, Janek Warchoł wrote: However, does it make sense to include so many templates that are missing some external files? Majority of templates that i had tried to open said The selected document class requires external files that are not available. IMV, it would help a lot if LyX could filter the templates that do not work with the current installation. We do this for document classes, so the vast part of the required logic is already available. First, I don't think this is possible, at least not without major surgery. The templates are simply opened from a file dialog. I know. This would mean either (re)configuring sorts the templates into an available and a something-missing directory, or a custom dialog with filter option replaces the current file-selector. But the more important point is that the templates DO work with the current installation. You can't compile them, but you can use them in LyX, experiment with them, etc. (The full dialog does actually explain this.) In my test, there was no way to distinguish between working and non-working templates but a warning pop-up *after* I selected a template. A rather discouraging experience for a new user and not helpful if I want to find a template that works among a majority of non-working ones. That is why Unavailable document classes are still, um, available. As Helge sometimes points out, this is important. You can install LyX without LaTeX if you like (say, on a netbook with a 4GB SSD), and it will work just fine for editing. I don't want to make the restricted-working templates unavailable, but I would like a listing of the templates that work (and a button or a sub-directory with the other ones). Günter
Re: Adjusting LyX to do things by default
On Nov 17, 2011, at 6:08 PM, Kenedy Torcatt wrote: Thankyou for your response, but I'm newbie at this, could let me know how please? how to customize that code? Here is what I have in my preamble (Document Settings Latex Preamble) to set all the section font sizes to 12pt \usepackage{titlesec} \titleformat{\section}[hang]{\normalfont\normalsize\bfseries} {\thesection}{12pt}{} \titleformat{\subsection}[hang]{\normalfont\normalsize\bfseries} {\thesubsection}{12pt}{} \titleformat{\subsubsection}[hang]{\normalfont\normalsize\bfseries} {\thesubsubsection}{12pt}{} titlesec has many other features, see the online docs at http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/
How to add subsections* to toc
I noticed that when I insert a subsection (numbered) in lyx, this is added to toc, but if I select subsection* this is not appearing into the table of content? how to chanege this by default? any preamble code to do this?
Re: Cannot get epstopdf to work in Lyx 2.0.1
On 11/17/2011 01:57 PM, Daniel Kelly (aka Jack) wrote: Dear Lyx Users, I need to include lots of .eps graphics files in my Lyx document. These .eps files are produced by GNUplot using the epslatex terminal driver which produces a .tex files and a .eps file for each graph. In Lyx 2.0.0, including my graphs was as simple as putting \input{graph.tex} in ERT. Behind the scenes, this would invoke an instance of epstopdf to convert each .eps file to a .pdf file. This worked fine in Lyx 2.0.0. This no longer works in Lyx 2.0.1. The problem is that epstopdf is being run in a temp directory (e.g. /tmp/lyx_tmpdir.T13883/lyx_tmpbuf2) but epstopdf is not given a way to locate the .eps file. The Lyx log file reports that epstopdf is being called like this: runsystem(epstopdf --outfile=graph-eps-converted-to.pdf graph.eps) As you can see, epstopdf has no way of finding where graph.eps lives. This is probably a consequence of the changes related to \input@path, I suspect. Check the release notes for 2.0.1. Richard
Re: Adjusting LyX to do things by default
On 11/17/2011 06:38 PM, Kenedy Torcatt wrote: Hello guys. In this case I need to know how to set some things by default within LyX to have everything prepared before write. how to add content to the table of contets with size: footnotesize by default? There are lots of packages available to help you customize the TOC. I think maybe titletoc is the one to try first, though it depends a bit on your document class. It allows you to customize how the TOC appears, by type of entry, etc. Very flexible. Richard
Re: Extsizes layout
Your best bet may be to file an enhancement bug ticket and attach the file.
Re: How to add subsections* to toc
On 11/17/2011 08:28 PM, Kenedy Torcatt wrote: I noticed that when I insert a subsection (numbered) in lyx, this is added to toc, but if I select subsection* this is not appearing into the table of content? how to chanege this by default? any preamble code to do this? This is not terribly easy, due to how the \section* command works. It's easier just to define a new command, e.g., \secstartoc, add it to your layout, and use it instead of \section*. That's how I've done it, anyway. Richard
mhchem and html
Hello, I've found the mhchem module from CTAN to be very useful for writing chemical equations. It works beautifully for pdf output. However, when I export to HTML, it looks like the mhchem codes don't get interpreted at all. I get things like: \ceNa + and \ceNO3 − right in the text, instead of formatted chemistry. The rest of the document comes out looking very nice; mathematical equations look great. I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same problem, whether I'm using the LyxHTML exporter or the HTML exporter. What am I doing wrong? Is it a Lyx problem, an mhchem problem or an HTML-conversion problem? Can it be fixed? Thank you in advance for your help! --eric
Re: How to add subsections* to toc
On Fri, Nov 18, 2011 at 2:28 AM, Kenedy Torcatt yde...@gmail.com wrote: I noticed that when I insert a subsection (numbered) in lyx, this is added to toc, but if I select subsection* this is not appearing into the table of content? http://wiki.lyx.org/FAQ/TOC#addcontentsline Liviu how to chanege this by default? any preamble code to do this? -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
horizontal alignment of graphics and ERT table
I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson pauljoh...@gmail.com wrote: I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. I feel that this is related to this discussion [1], which suggests several solutions. [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167267.html This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Regards Liviu -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: mhchem and html
On 2011-11-18, eric katz wrote: I've found the mhchem module from CTAN to be very useful for writing chemical equations. It works beautifully for pdf output. However, when I export to HTML, it looks like the mhchem codes don't get interpreted at all. I get things like: \ceNa + and \ceNO3 − right in the text, instead of formatted chemistry. The rest of the document comes out looking very nice; mathematical equations look great. I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same problem, whether I'm using the LyxHTML exporter or the HTML exporter. What am I doing wrong? It is just that the mhchem package is not supported (yet) by the LyX-HTML converters. Can it be fixed? File a bug report for the LyxHTML converter. Assuming that you use eLyXer as external converter, you might: * try a different converter (e.g.tex4ht) * report the problem to the elyxer author. Günter
Re: Adjusting LyX to do things by default
On 2011-11-17, Kenedy Torcatt wrote: [-- Type: text/plain, Encoding: quoted-printable --] Hello guys. First of all I want to thankyou all for the great help on this list! In this case I need to know how to set some things by default within LyX to have everything prepared before write. So: 1- How to center sections, subsections and table of content tittles by default? nothing more the rest I need it on left side (no prob with that) 2- How to establish size normalsize for subsections and table of contents tittles by default instead of that bigger size that Lyx uses? P.S: I'm attaching my LyX file called thesis_kenedy, so you can take a look and edit it. For these tasks, you need to write a custom layout. See the HelpCustomization guide. Start with a document class that almost fits your needs and remember that you need to tell both, the LyX GUI and LaTeX about the desired changes. Then, changing the standard.lyx template to use your layout will make this the default for every new document. (Make a copy in you LYXHOME (e.g. ~/.lyx) and modify this.) Günter
Re: available templates and their names
On 2011-11-16, Richard Heck wrote: On 11/16/2011 02:59 AM, Janek Warchoł wrote: 2011/11/15 Richard Heckrgh...@comcast.net On 11/15/2011 07:37 AM, Janek Warchoł wrote: i opened some LyX templates (File - New from Template). To my great disappointment, i don't have any idea what the names of most of them mean (what is ijmpc, for example?). Am i missing something big? Is there any simple article template? Would it be good to suggest changing templates' names to something more intuitive? The templates correspond, mostly, to certain document classes. So elsarticle.lyx is a template for documents based upon the elsarticle.cls class, which is used by some Elsevier journals. ok... However, does it make sense to include so many templates that are missing some external files? Majority of templates that i had tried to open said The selected document class requires external files that are not available. The external files required are LaTeX document classes, packages, etc. There are bazillions of these, for various different purposes. It's not expected that you would have them all installed, though you can easily enough install the ones you need. IMV, it would help a lot if LyX could filter the templates that do not work with the current installation. We do this for document classes, so the vast part of the required logic is already available. Many of the template names as well as the templates themselve do only make sense together with special document classes for special needs. Günter
Re: available templates and their names
On Thu, Nov 17, 2011 at 9:22 AM, Guenter Milde mi...@users.berlios.dewrote: On 2011-11-16, Richard Heck wrote: On 11/16/2011 02:59 AM, Janek Warchoł wrote: 2011/11/15 Richard Heckrgh...@comcast.net On 11/15/2011 07:37 AM, Janek Warchoł wrote: i opened some LyX templates (File - New from Template). To my great disappointment, i don't have any idea what the names of most of them mean (what is ijmpc, for example?). Am i missing something big? Is there any simple article template? Would it be good to suggest changing templates' names to something more intuitive? The templates correspond, mostly, to certain document classes. So elsarticle.lyx is a template for documents based upon the elsarticle.cls class, which is used by some Elsevier journals. ok... However, does it make sense to include so many templates that are missing some external files? Majority of templates that i had tried to open said The selected document class requires external files that are not available. The external files required are LaTeX document classes, packages, etc. There are bazillions of these, for various different purposes. It's not expected that you would have them all installed, though you can easily enough install the ones you need. IMV, it would help a lot if LyX could filter the templates that do not work with the current installation. We do this for document classes, so the vast part of the required logic is already available. I think that would be a good idea and make it less irritating for users. Many of the template names as well as the templates themselve do only make sense together with special document classes for special needs. While we are at templates: It would be really nice, if in the list of available templates when choosing new - from template, both template diretories (user and system) would be displayed, as it irritated me for quite some time that the user templates do not show up. AS I guess this could be difficult ( one file selection dialog from two sources), an button in the dialog to switch to the user templates (and back to system tamplates) would make things clearer. Cheers, Rainer Günter -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug
Re: Extsizes layout
No developers here to whom I can submit this? - Julio Rojas jcredbe...@gmail.com On Wed, Nov 16, 2011 at 11:48 AM, Julio Rojas jcredbe...@gmail.com wrote: Dear all, I have made an small change to the Article layout in order to use the Extsizes class. To whom should I send this layout to be included in future Lyx releases? For those who don't know what the Extsizes class provides, it is a derivate of the Article class defined with a broader set of font sizes. Regards. - Julio Rojas jcredbe...@gmail.com
Underbar bug
Dear all, I have found what appears to be a bug in Lyx 2.0.1 for Windows. When \underbar is issued in a math environment, anything put inside is implicitly rendered as \textrm, both on screen and on PDF. Is this the correct behavior? Regards. - Julio Rojas jcredbe...@gmail.com
Re: available templates and their names
On 11/17/2011 03:22 AM, Guenter Milde wrote: On 2011-11-16, Richard Heck wrote: On 11/16/2011 02:59 AM, Janek Warchoł wrote: However, does it make sense to include so many templates that are missing some external files? Majority of templates that i had tried to open said The selected document class requires external files that are not available. The external files required are LaTeX document classes, packages, etc. There are bazillions of these, for various different purposes. It's not expected that you would have them all installed, though you can easily enough install the ones you need. IMV, it would help a lot if LyX could filter the templates that do not work with the current installation. We do this for document classes, so the vast part of the required logic is already available. First, I don't think this is possible, at least not without major surgery. The templates are simply opened from a file dialog. But the more important point is that the templates DO work with the current installation. You can't compile them, but you can use them in LyX, experiment with them, etc. (The full dialog does actually explain this.) That is why Unavailable document classes are still, um, available. As Helge sometimes points out, this is important. You can install LyX without LaTeX if you like (say, on a netbook with a 4GB SSD), and it will work just fine for editing. Richard
Re: Underbar bug
On 11/17/2011 04:02 AM, Julio Rojas wrote: Dear all, I have found what appears to be a bug in Lyx 2.0.1 for Windows. When \underbar is issued in a math environment, anything put inside is implicitly rendered as \textrm, both on screen and on PDF. Is this the correct behavior? Works this way in pure LaTeX. (Just tested) Richard
Re: Underbar bug
Weird, but it seems that it is the intended functionality. Regards. - Julio Rojas jcredbe...@gmail.com On Thu, Nov 17, 2011 at 2:24 PM, Richard Heck rgh...@comcast.net wrote: On 11/17/2011 04:02 AM, Julio Rojas wrote: Dear all, I have found what appears to be a bug in Lyx 2.0.1 for Windows. When \underbar is issued in a math environment, anything put inside is implicitly rendered as \textrm, both on screen and on PDF. Is this the correct behavior? Works this way in pure LaTeX. (Just tested) Richard
Re: Adjusting LyX to do things by default
On Nov 16, 2011, at 11:01 PM, Kenedy Torcatt wrote: 1- How to center sections, subsections and table of content tittles by default? nothing more the rest I need it on left side (no prob with that) 2- How to establish size normalsize for subsections and table of contents tittles by default instead of that bigger size that Lyx uses? Try the titlesec package. I used it on my thesis to do similar things. You won't see the formatting on the LyX screen but the pdf output will be as desired.
Re: Adjusting LyX to do things by default
Kenedy, Allow me to make a humble suggestion. Ask yourself, Do I REALLY NEED change these defaults? I've spent over a year wrestling with LyX and LaTeX to customize their defaults to my liking. I have learned a lot about how to do things. While you CAN achieve the results you want, you're going to open up a real can of worms for yourself. You'll spend hours of frustration trying to get where you want to be. After months of wrestling, I realized that the LyX/LaTeX formatting defaults are really quite excellent. I've decided to relax a little and allow myself to be blessed by the layouts the experts have already designed. Life is so much easier now. Just a suggestion. Virgil -Original Message- From: Kenedy Torcatt Sent: Wednesday, November 16, 2011 11:01 PM To: lyx-users@lists.lyx.org Subject: Adjusting LyX to do things by default Hello guys. First of all I want to thankyou all for the great help on this list! In this case I need to know how to set some things by default within LyX to have everything prepared before write. So: 1- How to center sections, subsections and table of content tittles by default? nothing more the rest I need it on left side (no prob with that) 2- How to establish size normalsize for subsections and table of contents tittles by default instead of that bigger size that Lyx uses? P.S: I'm attaching my LyX file called thesis_kenedy, so you can take a look and edit it. Thankyou in advance Kenedy -- Kenedy Torcatt Personal Fitness Trainer / Geologist Engineer / Guitarist / Webmaster Contact: Gmailfacebook: ktorcatt Yahoo Twitter: kenfitness Hotmail
Re: available templates and their names
On 2011-11-17, Rainer M Krug wrote: While we are at templates: It would be really nice, if in the list of available templates when choosing new - from template, both template diretories (user and system) would be displayed, as it irritated me for quite some time that the user templates do not show up. AS I guess this could be difficult ( one file selection dialog from two sources), an button in the dialog to switch to the user templates (and back to system tamplates) would make things clearer. While this could/should be implemented as part of a custom template-selecting dialogue, I use the following workaround: - set the template path to the user templates (~/.lyx/templates) - add a link to the system templates in this dir. Günter
LyX as editor -- Was: available templates and their names
On Thursday, November 17, 2011 08:22:49 AM Richard Heck wrote: As Helge sometimes points out, this is important. You can install LyX without LaTeX if you like (say, on a netbook with a 4GB SSD), and it will work just fine for editing. Richard And in my opinion LyX is one of the most productive long-document editors the world has ever seen. Little things like rejecting double- spaces and double-newlines make me much faster as I worry less about mistakes. Its low-crashability and low-corruptability make for fast, confident working conditions. Its steadfast adherance to styles-based authoring makes it easy to build documents the right way. LyX's beige default background is easy on the eyes and yet easily contrasty enough for bad vision -- I should know, my vision's horrible. And, in spite of all the publicity, LyX is WYSIWYG enough that a single glance tells you which pieces of text are special styles. Contrast that with old WordPerfect 5.1, where the whole doc was courier, and if you wanted to see any evidence of styles you'd need to do the WordPerfect equivalent of LyX's View-PDF. Oh, one more thing. I'm now using LyX to author Kindle books -- no PDF involved anywhere. It goes like this: LyX-eLyXer-metadata tweaks-Kindlegen-Upload But LyX is such a great editor, and so styles adherant, that it was the obvious choice. I tried editing eBooks in Sigil for a little while, but that was a migration to Pity City. LyX is a GREAT editor. SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Cannot get epstopdf to work in Lyx 2.0.1
Dear Lyx Users, I need to include lots of .eps graphics files in my Lyx document. These .eps files are produced by GNUplot using the epslatex terminal driver which produces a .tex files and a .eps file for each graph. In Lyx 2.0.0, including my graphs was as simple as putting \input{graph.tex} in ERT. Behind the scenes, this would invoke an instance of epstopdf to convert each .eps file to a .pdf file. This worked fine in Lyx 2.0.0. This no longer works in Lyx 2.0.1. The problem is that epstopdf is being run in a temp directory (e.g. /tmp/lyx_tmpdir.T13883/lyx_tmpbuf2) but epstopdf is not given a way to locate the .eps file. The Lyx log file reports that epstopdf is being called like this: runsystem(epstopdf --outfile=graph-eps-converted-to.pdf graph.eps) As you can see, epstopdf has no way of finding where graph.eps lives. I have tried setting \graphicspath{{/path/to/eps/file/}} in my document preamble but this did nothing. I tried providing my graphics directory in Lyx's Working directory, Temporary directory, PATH and TEXINPUTS prefix Paths fields but this did not help. The only fix I have found so far is to open each .tex file (e.g. graph.tex) in a text editor and manually edit the \put(0,0){\includegraphics[width=\unitlength]{graph.eps}} line to include the absolute path of the .eps file. This is not a satisfactory solution for many reasons. I'd really love it if someone could suggest a solution! Many thanks, Jack
Re: margins problem in classicthesis additional chapters
On 11/17/2011 02:53 AM, Gian Maria Niccolò Benucci wrote: I added a new chapters the Chapter05.lyx trough the template.lyx file present in the classicthesis package but, after I compiled the ClassicThesis.lyx in the generated pdf the text is centered and no more justified like it is in the latter Chapters... You'll have to dig this one by yourself, I can't see how anyone here could help you without the files you modified. First, make a backup copy of all your files. Then, copy Chapter03.lyx to Chapter05.lyx. What's the output like now? What does your Chapter05.lyx look like when you compile it separately? Try playing a bit, shouldn't be hard to find out where the problem is. As a last resort, upload all of your .lyx files (even better, a minimal example) somewhere so that we can take a look at them.
Re: hot to regulate table dimensions
On 11/16/2011 07:41 PM, Gian Maria Niccolò Benucci wrote: Hi all, A simple question from a rookie user... How to modify table dimension in ClassicThesis? The table escape from the pdf margin, how to fix that? Did you put too much text in it? What dimensions did you set in your table properties? This has nothing to do with ClassicThesis, it's just that you're doing something wrong.
Re: help with running title in the right up of the pdf page
On 11/16/2011 11:28 PM, Gian Maria Niccolò Benucci wrote: I need to shorten it and change some text, but how can I? Thanks a lot for helping... You can insert Short title option in any of your chapter headings. Right mouse click, Insert short title.
installing lyx with hebrew
hello, I would like to install lyx with hebrew support on my mac .but I am unsuccessful in doing so ?can you please give me correct links or instructions thank you very much liron.
Re: installing lyx with hebrew
On Thu, Nov 17, 2011 at 8:23 PM, Liron Yosef liron.yo...@mail.huji.ac.il wrote: hello, I would like to install lyx with hebrew support on my mac After installing, have you tried Tools Prefs Language UI Hebrew? Liviu .but I am unsuccessful in doing so ?can you please give me correct links or instructions thank you very much liron. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: available templates and their names
On 2011-11-17, Richard Heck wrote: On 11/17/2011 03:22 AM, Guenter Milde wrote: On 2011-11-16, Richard Heck wrote: On 11/16/2011 02:59 AM, Janek Warchoł wrote: However, does it make sense to include so many templates that are missing some external files? Majority of templates that i had tried to open said The selected document class requires external files that are not available. IMV, it would help a lot if LyX could filter the templates that do not work with the current installation. We do this for document classes, so the vast part of the required logic is already available. First, I don't think this is possible, at least not without major surgery. The templates are simply opened from a file dialog. I know. This would mean either (re)configuring sorts the templates into an available and a something-missing directory, or a custom dialog with filter option replaces the current file-selector. But the more important point is that the templates DO work with the current installation. You can't compile them, but you can use them in LyX, experiment with them, etc. (The full dialog does actually explain this.) In my test, there was no way to distinguish between working and non-working templates but a warning pop-up *after* I selected a template. A rather discouraging experience for a new user and not helpful if I want to find a template that works among a majority of non-working ones. That is why Unavailable document classes are still, um, available. As Helge sometimes points out, this is important. You can install LyX without LaTeX if you like (say, on a netbook with a 4GB SSD), and it will work just fine for editing. I don't want to make the restricted-working templates unavailable, but I would like a listing of the templates that work (and a button or a sub-directory with the other ones). Günter
Re: Adjusting LyX to do things by default
On Nov 17, 2011, at 6:08 PM, Kenedy Torcatt wrote: Thankyou for your response, but I'm newbie at this, could let me know how please? how to customize that code? Here is what I have in my preamble (Document Settings Latex Preamble) to set all the section font sizes to 12pt \usepackage{titlesec} \titleformat{\section}[hang]{\normalfont\normalsize\bfseries} {\thesection}{12pt}{} \titleformat{\subsection}[hang]{\normalfont\normalsize\bfseries} {\thesubsection}{12pt}{} \titleformat{\subsubsection}[hang]{\normalfont\normalsize\bfseries} {\thesubsubsection}{12pt}{} titlesec has many other features, see the online docs at http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/
How to add subsections* to toc
I noticed that when I insert a subsection (numbered) in lyx, this is added to toc, but if I select subsection* this is not appearing into the table of content? how to chanege this by default? any preamble code to do this?
Re: Cannot get epstopdf to work in Lyx 2.0.1
On 11/17/2011 01:57 PM, Daniel Kelly (aka Jack) wrote: Dear Lyx Users, I need to include lots of .eps graphics files in my Lyx document. These .eps files are produced by GNUplot using the epslatex terminal driver which produces a .tex files and a .eps file for each graph. In Lyx 2.0.0, including my graphs was as simple as putting \input{graph.tex} in ERT. Behind the scenes, this would invoke an instance of epstopdf to convert each .eps file to a .pdf file. This worked fine in Lyx 2.0.0. This no longer works in Lyx 2.0.1. The problem is that epstopdf is being run in a temp directory (e.g. /tmp/lyx_tmpdir.T13883/lyx_tmpbuf2) but epstopdf is not given a way to locate the .eps file. The Lyx log file reports that epstopdf is being called like this: runsystem(epstopdf --outfile=graph-eps-converted-to.pdf graph.eps) As you can see, epstopdf has no way of finding where graph.eps lives. This is probably a consequence of the changes related to \input@path, I suspect. Check the release notes for 2.0.1. Richard
Re: Adjusting LyX to do things by default
On 11/17/2011 06:38 PM, Kenedy Torcatt wrote: Hello guys. In this case I need to know how to set some things by default within LyX to have everything prepared before write. how to add content to the table of contets with size: footnotesize by default? There are lots of packages available to help you customize the TOC. I think maybe titletoc is the one to try first, though it depends a bit on your document class. It allows you to customize how the TOC appears, by type of entry, etc. Very flexible. Richard
Re: Extsizes layout
Your best bet may be to file an enhancement bug ticket and attach the file.
Re: How to add subsections* to toc
On 11/17/2011 08:28 PM, Kenedy Torcatt wrote: I noticed that when I insert a subsection (numbered) in lyx, this is added to toc, but if I select subsection* this is not appearing into the table of content? how to chanege this by default? any preamble code to do this? This is not terribly easy, due to how the \section* command works. It's easier just to define a new command, e.g., \secstartoc, add it to your layout, and use it instead of \section*. That's how I've done it, anyway. Richard
mhchem and html
Hello, I've found the mhchem module from CTAN to be very useful for writing chemical equations. It works beautifully for pdf output. However, when I export to HTML, it looks like the mhchem codes don't get interpreted at all. I get things like: \ceNa + and \ceNO3 − right in the text, instead of formatted chemistry. The rest of the document comes out looking very nice; mathematical equations look great. I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same problem, whether I'm using the LyxHTML exporter or the HTML exporter. What am I doing wrong? Is it a Lyx problem, an mhchem problem or an HTML-conversion problem? Can it be fixed? Thank you in advance for your help! --eric
Re: How to add subsections* to toc
On Fri, Nov 18, 2011 at 2:28 AM, Kenedy Torcatt yde...@gmail.com wrote: I noticed that when I insert a subsection (numbered) in lyx, this is added to toc, but if I select subsection* this is not appearing into the table of content? http://wiki.lyx.org/FAQ/TOC#addcontentsline Liviu how to chanege this by default? any preamble code to do this? -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
horizontal alignment of graphics and ERT table
I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson pauljoh...@gmail.com wrote: I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. I feel that this is related to this discussion [1], which suggests several solutions. [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167267.html This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Regards Liviu -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: mhchem and html
On 2011-11-18, eric katz wrote: I've found the mhchem module from CTAN to be very useful for writing chemical equations. It works beautifully for pdf output. However, when I export to HTML, it looks like the mhchem codes don't get interpreted at all. I get things like: \ceNa + and \ceNO3 − right in the text, instead of formatted chemistry. The rest of the document comes out looking very nice; mathematical equations look great. I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same problem, whether I'm using the LyxHTML exporter or the HTML exporter. What am I doing wrong? It is just that the mhchem package is not supported (yet) by the LyX-HTML converters. Can it be fixed? File a bug report for the LyxHTML converter. Assuming that you use eLyXer as external converter, you might: * try a different converter (e.g.tex4ht) * report the problem to the elyxer author. Günter
Re: Adjusting LyX to do things by default
On 2011-11-17, Kenedy Torcatt wrote: > [-- Type: text/plain, Encoding: quoted-printable --] > Hello guys. First of all I want to thankyou all for the great help on > this list! > In this case I need to know how to set some things by default within > LyX to have everything prepared before write. > So: > 1- How to center sections, subsections and table of content tittles by > default? nothing more the rest I need it on left side (no prob with > that) > 2- How to establish size "normalsize" for subsections and table of > contents tittles by default instead of that bigger size that Lyx uses? > P.S: I'm attaching my LyX file called thesis_kenedy, so you can take a > look and edit it. For these tasks, you need to write a custom "layout". See the Help>Customization guide. Start with a document class that almost fits your needs and remember that you need to tell both, the LyX GUI and LaTeX about the desired changes. Then, changing the standard.lyx template to use your layout will make this the default for every new document. (Make a copy in you LYXHOME (e.g. ~/.lyx) and modify this.) Günter
Re: available templates and their names
On 2011-11-16, Richard Heck wrote: > On 11/16/2011 02:59 AM, Janek Warchoł wrote: >> 2011/11/15 Richard Heck>>> On 11/15/2011 07:37 AM, Janek Warchoł wrote: i opened some LyX templates (File -> New from Template). To my great disappointment, i don't have any idea what the names of most of them mean (what is ijmpc, for example?). Am i missing something big? Is there any simple article template? Would it be good to suggest changing templates' names to something more intuitive? >>> The templates correspond, mostly, to certain document classes. So >>> elsarticle.lyx is a template for documents based upon the elsarticle.cls >>> class, which is used by some Elsevier journals. >> ok... However, does it make sense to include so many templates that >> are missing some external files? Majority of templates that i had >> tried to open said "The selected document class requires external >> files that are not available". > The external files required are LaTeX document classes, packages, etc. > There are bazillions of these, for various different purposes. It's not > expected that you would have them all installed, though you can easily > enough install the ones you need. IMV, it would help a lot if LyX could filter the templates that do not work with the current installation. We do this for document classes, so the vast part of the required logic is already available. Many of the template names as well as the templates themselve do only make sense together with special document classes for special needs. Günter
Re: available templates and their names
On Thu, Nov 17, 2011 at 9:22 AM, Guenter Mildewrote: > On 2011-11-16, Richard Heck wrote: > > On 11/16/2011 02:59 AM, Janek Warchoł wrote: > >> 2011/11/15 Richard Heck > >>> On 11/15/2011 07:37 AM, Janek Warchoł wrote: > i opened some LyX templates (File -> New from > Template). To my great disappointment, i don't have any idea what the > names of most of them mean (what is ijmpc, for example?). > Am i missing something big? Is there any simple article template? > Would it be good to suggest changing templates' names to something > more intuitive? > > >>> The templates correspond, mostly, to certain document classes. So > >>> elsarticle.lyx is a template for documents based upon the > elsarticle.cls > >>> class, which is used by some Elsevier journals. > >> ok... However, does it make sense to include so many templates that > >> are missing some external files? Majority of templates that i had > >> tried to open said "The selected document class requires external > >> files that are not available". > > > The external files required are LaTeX document classes, packages, etc. > > There are bazillions of these, for various different purposes. It's not > > expected that you would have them all installed, though you can easily > > enough install the ones you need. > > IMV, it would help a lot if LyX could filter the templates that do not > work with the current installation. We do this for document classes, so > the vast part of the required logic is already available. > I think that would be a good idea and make it less irritating for users. > > Many of the template names as well as the templates themselve do only make > sense together with special document classes for special needs. > While we are at templates: It would be really nice, if in the list of available templates when choosing new - from template, both template diretories (user and system) would be displayed, as it irritated me for quite some time that the user templates do not show up. AS I guess this could be difficult ( one file selection dialog from two sources), an button in the dialog to switch to the user templates (and back to system tamplates) would make things clearer. Cheers, Rainer > Günter > > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug
Re: Extsizes layout
No developers here to whom I can submit this? - Julio Rojas jcredbe...@gmail.com On Wed, Nov 16, 2011 at 11:48 AM, Julio Rojaswrote: > Dear all, I have made an small change to the "Article" layout in order > to use the "Extsizes" class. To whom should I send this layout to be > included in future Lyx releases? For those who don't know what the > "Extsizes" class provides, it is a derivate of the "Article" class > defined with a broader set of font sizes. > > Regards. > - > Julio Rojas > jcredbe...@gmail.com >
Underbar bug
Dear all, I have found what appears to be a bug in Lyx 2.0.1 for Windows. When "\underbar" is issued in a math environment, anything put inside is implicitly rendered as "\textrm", both on screen and on PDF. Is this the correct behavior? Regards. - Julio Rojas jcredbe...@gmail.com
Re: available templates and their names
On 11/17/2011 03:22 AM, Guenter Milde wrote: > On 2011-11-16, Richard Heck wrote: >> On 11/16/2011 02:59 AM, Janek Warchoł wrote: >>> However, does it make sense to include so many templates that are missing >>> some external files? Majority of templates that i had tried to open said >>> "The selected document class requires external files that are not >>> available". >> The external files required are LaTeX document classes, packages, etc. >> There are bazillions of these, for various different purposes. It's not >> expected that you would have them all installed, though you can easily >> enough install the ones you need. > IMV, it would help a lot if LyX could filter the templates that do not > work with the current installation. We do this for document classes, so > the vast part of the required logic is already available. > > First, I don't think this is possible, at least not without major surgery. The templates are simply opened from a file dialog. But the more important point is that the templates DO "work with the current installation". You can't compile them, but you can use them in LyX, experiment with them, etc. (The full dialog does actually explain this.) That is why "Unavailable" document classes are still, um, available. As Helge sometimes points out, this is important. You can install LyX without LaTeX if you like (say, on a netbook with a 4GB SSD), and it will work just fine for editing. Richard
Re: Underbar bug
On 11/17/2011 04:02 AM, Julio Rojas wrote: > Dear all, I have found what appears to be a bug in Lyx 2.0.1 for > Windows. When "\underbar" is issued in a math environment, anything > put inside is implicitly rendered as "\textrm", both on screen and on > PDF. Is this the correct behavior? > Works this way in pure LaTeX. (Just tested) Richard
Re: Underbar bug
Weird, but it seems that it is the intended functionality. Regards. - Julio Rojas jcredbe...@gmail.com On Thu, Nov 17, 2011 at 2:24 PM, Richard Heckwrote: > On 11/17/2011 04:02 AM, Julio Rojas wrote: >> Dear all, I have found what appears to be a bug in Lyx 2.0.1 for >> Windows. When "\underbar" is issued in a math environment, anything >> put inside is implicitly rendered as "\textrm", both on screen and on >> PDF. Is this the correct behavior? >> > Works this way in pure LaTeX. (Just tested) > > Richard > >
Re: Adjusting LyX to do things by default
On Nov 16, 2011, at 11:01 PM, Kenedy Torcatt wrote: 1- How to center sections, subsections and table of content tittles by default? nothing more the rest I need it on left side (no prob with that) 2- How to establish size "normalsize" for subsections and table of contents tittles by default instead of that bigger size that Lyx uses? Try the titlesec package. I used it on my thesis to do similar things. You won't see the formatting on the LyX screen but the pdf output will be as desired.
Re: Adjusting LyX to do things by default
Kenedy, Allow me to make a humble suggestion. Ask yourself, "Do I REALLY NEED change these defaults?" I've spent over a year wrestling with LyX and LaTeX to customize their defaults to my liking. I have learned a lot about how to do things. While you CAN achieve the results you want, you're going to open up a real can of worms for yourself. You'll spend hours of frustration trying to get where you want to be. After months of wrestling, I realized that the LyX/LaTeX formatting defaults are really quite excellent. I've decided to relax a little and allow myself to be blessed by the layouts the experts have already designed. Life is so much easier now. Just a suggestion. Virgil -Original Message- From: Kenedy Torcatt Sent: Wednesday, November 16, 2011 11:01 PM To: lyx-users@lists.lyx.org Subject: Adjusting LyX to do things by default Hello guys. First of all I want to thankyou all for the great help on this list! In this case I need to know how to set some things by default within LyX to have everything prepared before write. So: 1- How to center sections, subsections and table of content tittles by default? nothing more the rest I need it on left side (no prob with that) 2- How to establish size "normalsize" for subsections and table of contents tittles by default instead of that bigger size that Lyx uses? P.S: I'm attaching my LyX file called thesis_kenedy, so you can take a look and edit it. Thankyou in advance Kenedy -- Kenedy Torcatt Personal Fitness Trainer / Geologist Engineer / Guitarist / Webmaster Contact: Gmailfacebook: ktorcatt Yahoo Twitter: kenfitness Hotmail
Re: available templates and their names
On 2011-11-17, Rainer M Krug wrote: > While we are at templates: It would be really nice, if in the list of > available templates when choosing new - from template, both template > diretories (user and system) would be displayed, as it irritated me for > quite some time that the user templates do not show up. AS I guess this > could be difficult ( one file selection dialog from two sources), an button > in the dialog to switch to the user templates (and back to system > tamplates) would make things clearer. While this could/should be implemented as part of a custom template-selecting dialogue, I use the following workaround: - set the template path to the user templates (~/.lyx/templates) - add a link to the system templates in this dir. Günter
LyX as editor -- Was: available templates and their names
On Thursday, November 17, 2011 08:22:49 AM Richard Heck wrote: > As Helge sometimes points out, this is > important. You can install LyX without LaTeX if you like (say, on > a netbook with a 4GB SSD), and it will work just fine for editing. > > Richard And in my opinion LyX is one of the most productive long-document editors the world has ever seen. Little things like rejecting double- spaces and double-newlines make me much faster as I worry less about mistakes. Its low-crashability and low-corruptability make for fast, confident working conditions. Its steadfast adherance to styles-based authoring makes it easy to build documents the right way. LyX's beige default background is easy on the eyes and yet easily contrasty enough for bad vision -- I should know, my vision's horrible. And, in spite of all the publicity, LyX is WYSIWYG enough that a single glance tells you which pieces of text are special styles. Contrast that with old WordPerfect 5.1, where the whole doc was courier, and if you wanted to see any evidence of styles you'd need to do the WordPerfect equivalent of LyX's View->PDF. Oh, one more thing. I'm now using LyX to author Kindle books -- no PDF involved anywhere. It goes like this: LyX->eLyXer->metadata tweaks->Kindlegen->Upload But LyX is such a great editor, and so styles adherant, that it was the obvious choice. I tried editing eBooks in Sigil for a little while, but that was a migration to Pity City. LyX is a GREAT editor. SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Cannot get epstopdf to work in Lyx 2.0.1
Dear Lyx Users, I need to include lots of .eps graphics files in my Lyx document. These .eps files are produced by GNUplot using the epslatex terminal driver which produces a .tex files and a .eps file for each graph. In Lyx 2.0.0, including my graphs was as simple as putting \input{graph.tex} in ERT. Behind the scenes, this would invoke an instance of epstopdf to convert each .eps file to a .pdf file. This worked fine in Lyx 2.0.0. This no longer works in Lyx 2.0.1. The problem is that epstopdf is being run in a temp directory (e.g. "/tmp/lyx_tmpdir.T13883/lyx_tmpbuf2") but epstopdf is not given a way to locate the .eps file. The Lyx log file reports that epstopdf is being called like this: runsystem(epstopdf --outfile=graph-eps-converted-to.pdf graph.eps) As you can see, epstopdf has no way of finding where "graph.eps" lives. I have tried setting "\graphicspath{{/path/to/eps/file/}}" in my document preamble but this did nothing. I tried providing my graphics directory in Lyx's "Working directory", "Temporary directory", "PATH" and "TEXINPUTS prefix" Paths fields but this did not help. The only "fix" I have found so far is to open each .tex file (e.g. graph.tex) in a text editor and manually edit the "\put(0,0){\includegraphics[width=\unitlength]{graph.eps}}" line to include the absolute path of the .eps file. This is not a satisfactory solution for many reasons. I'd really love it if someone could suggest a solution! Many thanks, Jack
Re: margins problem in classicthesis additional chapters
On 11/17/2011 02:53 AM, Gian Maria Niccolò Benucci wrote: I added a new chapters the Chapter05.lyx trough the template.lyx file present in the classicthesis package but, after I compiled the ClassicThesis.lyx in the generated pdf the text is centered and no more justified like it is in the latter Chapters... You'll have to dig this one by yourself, I can't see how anyone here could help you without the files you modified. First, make a backup copy of all your files. Then, copy Chapter03.lyx to Chapter05.lyx. What's the output like now? What does your Chapter05.lyx look like when you compile it separately? Try playing a bit, shouldn't be hard to find out where the problem is. As a last resort, upload all of your .lyx files (even better, a minimal example) somewhere so that we can take a look at them.
Re: hot to regulate table dimensions
On 11/16/2011 07:41 PM, Gian Maria Niccolò Benucci wrote: Hi all, A simple question from a rookie user... How to modify table dimension in ClassicThesis? The table escape from the pdf margin, how to fix that? Did you put too much text in it? What dimensions did you set in your table properties? This has nothing to do with ClassicThesis, it's just that you're doing something wrong.
Re: help with running title in the right up of the pdf page
On 11/16/2011 11:28 PM, Gian Maria Niccolò Benucci wrote: I need to shorten it and change some text, but how can I? Thanks a lot for helping... You can insert Short title option in any of your chapter headings. Right mouse click, "Insert short title".
installing lyx with hebrew
hello, I would like to install lyx with hebrew support on my mac .but I am unsuccessful in doing so ?can you please give me correct links or instructions thank you very much liron.
Re: installing lyx with hebrew
On Thu, Nov 17, 2011 at 8:23 PM, Liron Yosefwrote: > hello, > I would like to install lyx with hebrew support on my mac > After installing, have you tried Tools > Prefs > Language > UI > Hebrew? Liviu > .but I am unsuccessful in doing so > ?can you please give me correct links or instructions > thank you very much > liron. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: available templates and their names
On 2011-11-17, Richard Heck wrote: > On 11/17/2011 03:22 AM, Guenter Milde wrote: >> On 2011-11-16, Richard Heck wrote: >>> On 11/16/2011 02:59 AM, Janek Warchoł wrote: However, does it make sense to include so many templates that are missing some external files? Majority of templates that i had tried to open said "The selected document class requires external files that are not available". >> IMV, it would help a lot if LyX could filter the templates that do not >> work with the current installation. We do this for document classes, >> so the vast part of the required logic is already available. > First, I don't think this is possible, at least not without major > surgery. The templates are simply opened from a file dialog. I know. This would mean either (re)configuring sorts the templates into an "available" and a "something-missing" directory, or a custom dialog with filter option replaces the current file-selector. > But the more important point is that the templates DO "work with the > current installation". You can't compile them, but you can use them in > LyX, experiment with them, etc. (The full dialog does actually explain > this.) In my test, there was no way to distinguish between working and non-working templates but a warning pop-up *after* I selected a template. A rather discouraging experience for a new user and not helpful if I want to find a template that works among a majority of non-working ones. > That is why "Unavailable" document classes are still, um, > available. As Helge sometimes points out, this is important. You can > install LyX without LaTeX if you like (say, on a netbook with a 4GB > SSD), and it will work just fine for editing. I don't want to make the "restricted-working" templates unavailable, but I would like a listing of the templates that work (and a button or a sub-directory with the other ones). Günter
Re: Adjusting LyX to do things by default
On Nov 17, 2011, at 6:08 PM, Kenedy Torcatt wrote: Thankyou for your response, but I'm newbie at this, could let me know how please? how to customize that code? Here is what I have in my preamble (Document > Settings > Latex Preamble) to set all the section font sizes to 12pt \usepackage{titlesec} \titleformat{\section}[hang]{\normalfont\normalsize\bfseries} {\thesection}{12pt}{} \titleformat{\subsection}[hang]{\normalfont\normalsize\bfseries} {\thesubsection}{12pt}{} \titleformat{\subsubsection}[hang]{\normalfont\normalsize\bfseries} {\thesubsubsection}{12pt}{} titlesec has many other features, see the online docs at http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/
How to add subsections* to toc
I noticed that when I insert a subsection (numbered) in lyx, this is added to toc, but if I select subsection* this is not appearing into the table of content? how to chanege this by default? any preamble code to do this?
Re: Cannot get epstopdf to work in Lyx 2.0.1
On 11/17/2011 01:57 PM, Daniel Kelly (aka Jack) wrote: > Dear Lyx Users, > > I need to include lots of .eps graphics files in my Lyx document. > These .eps files are produced by GNUplot using the epslatex terminal > driver which produces a .tex files and a .eps file for each graph. > > In Lyx 2.0.0, including my graphs was as simple as putting > > \input{graph.tex} > > in ERT. Behind the scenes, this would invoke an instance of epstopdf > to convert each .eps file to a .pdf file. This worked fine in Lyx > 2.0.0. > > This no longer works in Lyx 2.0.1. The problem is that epstopdf is > being run in a temp directory (e.g. > "/tmp/lyx_tmpdir.T13883/lyx_tmpbuf2") but epstopdf is not given a way > to locate the .eps file. The Lyx log file reports that epstopdf is > being called like this: > > runsystem(epstopdf --outfile=graph-eps-converted-to.pdf graph.eps) > > As you can see, epstopdf has no way of finding where "graph.eps" lives. > This is probably a consequence of the changes related to \input@path, I suspect. Check the release notes for 2.0.1. Richard
Re: Adjusting LyX to do things by default
On 11/17/2011 06:38 PM, Kenedy Torcatt wrote: > Hello guys. > > In this case I need to know how to set some things by default within > LyX to have everything prepared before write. > > how to add content to the table of contets with size: footnotesize > by default? > There are lots of packages available to help you customize the TOC. I think maybe titletoc is the one to try first, though it depends a bit on your document class. It allows you to customize how the TOC appears, by type of entry, etc. Very flexible. Richard
Re: Extsizes layout
Your best bet may be to file an enhancement bug ticket and attach the file.
Re: How to add subsections* to toc
On 11/17/2011 08:28 PM, Kenedy Torcatt wrote: > I noticed that when I insert a subsection (numbered) in lyx, this is > added to toc, but if I select subsection* this is not appearing into > the table of content? how to chanege this by default? any preamble > code to do this? > This is not terribly easy, due to how the \section* command works. It's easier just to define a new command, e.g., \secstartoc, add it to your layout, and use it instead of \section*. That's how I've done it, anyway. Richard
mhchem and html
Hello, I've found the mhchem module from CTAN to be very useful for writing chemical equations. It works beautifully for pdf output. However, when I export to HTML, it looks like the mhchem codes don't get interpreted at all. I get things like: "\ceNa +" and "\ceNO3 −" right in the text, instead of formatted chemistry. The rest of the document comes out looking very nice; mathematical equations look great. I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same problem, whether I'm using the "LyxHTML" exporter or the "HTML" exporter. What am I doing wrong? Is it a Lyx problem, an mhchem problem or an HTML-conversion problem? Can it be fixed? Thank you in advance for your help! --eric
Re: How to add subsections* to toc
On Fri, Nov 18, 2011 at 2:28 AM, Kenedy Torcattwrote: > I noticed that when I insert a subsection (numbered) in lyx, this is > added to toc, but if I select subsection* this is not appearing into > the table of content? > http://wiki.lyx.org/FAQ/TOC#addcontentsline Liviu > how to chanege this by default? any preamble > code to do this? > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
horizontal alignment of graphics and ERT table
I wrote a test in LyX and have trouble getting a graphic to sit "side by side" with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnsonwrote: > I wrote a test in LyX and have trouble getting a graphic to sit "side > by side" with a LaTeX table. After fiddling around with this for > quite a while, my bright idea was to nest them both in a 1x2 tabular, > but it always seems like the table (inside a minibox) wants to sink to > the bottom of the right side of the table, while the figure wants to > float to the top. > > Would you mind looking at the output? I've got one example like this > on page 1 and another on page 5. > > http://pj.freefaculty.org/latex/test2-part2.pdf > > I do want to have the graphic and the table side by side, but I'm open > to making this happen any way you recommend. > I feel that this is related to this discussion [1], which suggests several solutions. [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167267.html > This is an out-of-the-usual document. It is Sweave'd through R to > generate the graphic and the regression output, and I don't expect > most people will want to bother to try to compile it. Nevertheless, I > uploaded the LyX file, in case you want to look it over. > > http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz > I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Regards Liviu > -- > Paul E. Johnson > Professor, Political Science > 1541 Lilac Lane, Room 504 > University of Kansas > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: mhchem and html
On 2011-11-18, eric katz wrote: > I've found the mhchem module from CTAN to be very useful for writing > chemical equations. It works beautifully for pdf output. However, when > I export to HTML, it looks like the mhchem codes don't get interpreted > at all. I get things like: "\ceNa +" and "\ceNO3 −" right in the > text, instead of formatted chemistry. The rest of the document comes > out looking very nice; mathematical equations look great. > I'm using Lyx v. 2.0.0 on an Ubuntu (11.11) machine. I get the same > problem, whether I'm using the "LyxHTML" exporter or the "HTML" > exporter. > What am I doing wrong? It is just that the mhchem package is not supported (yet) by the LyX->HTML converters. > Can it be fixed? File a bug report for the LyxHTML converter. Assuming that you use eLyXer as external converter, you might: * try a different converter (e.g.tex4ht) * report the problem to the elyxer author. Günter