Re: LyX as editor -- Was: available templates and their names
On 11/18/2011 05:41 PM, Alan L Tyree wrote: > On 18/11/11 04:41:57, Steve Litt wrote: >> >> 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. > Steve & others, > I found these comments to be very interesting. LyX is a great editor, > and it seems that it is moving gradually away from its roots as a LaTeX > "front end". > > How much effort would it be to incorporate the "metadata tweaks" > directly into the LyX document? It would mean that LyX could become a > major method of writing eBooks. > I would expect that allowing direct entry of appropriate metadata within LyX, and then using LyX's own XHTML export routine, would be fairly simple to do. Rob Oakes has also been using LyX for epubs, so there is interest in moving LyX further in that direction. It's just a matter of enough people getting involved Richard
Re: LyX as editor -- Was: available templates and their names
On 18/11/11 04:41:57, Steve Litt wrote: > 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. Steve & others, I found these comments to be very interesting. LyX is a great editor, and it seems that it is moving gradually away from its roots as a LaTeX "front end". How much effort would it be to incorporate the "metadata tweaks" directly into the LyX document? It would mean that LyX could become a major method of writing eBooks. Cheers, Alan > > SteveT > > Steve Litt > Author: The Key to Everyday Excellence > http://www.troubleshooters.com/bookstore/key_excellence.htm > Twitter: http://www.twitter.com/stevelitt > > -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:172...@iptel.org
Re: Cannot get epstopdf to work in Lyx 2.0.1
On 11/18/2011 12:30 PM, Daniel Kelly (aka Jack) wrote: > Hi Richard, > > Many thanks for the quick reply. Sorry, I should have mentioned that > I already read the release notes for 2.0.1. Like you, I suspect the > problem with using epstopdf is related to the \input@path change in > 2.0.1. Unfortunately, I can't see a solution (or a hint to a > solution) within the release notes. I have tried setting TEXINPUT to > both "." and to the absolute path of my image file but neither of > these changes solved the issue. > > Please may I ask if you have any other suggestions? > > If not, should I report this as a bug? > Word is that this should be fixed for 2.0.2. Are you able to download from svn, compile, etc, and find out? If not, LyX 2.0.2 should be out within a few days. Richard
Re: bracktes of references in classicthesis style
Thank you very much Liviu! Your help, fixes my problem... now I have round brackets in references... Now I only need to solve the problem of capital letter in emph text style in the pdf titiles and running titles un tu the header of the pages... :S Cheers, Gian 2011/11/18 Liviu Andronic > 2011/11/18 Gian Maria Niccolò Benucci : > > > > Hi all, > > > > How to change the brackets type (round brackets) of the references > included > > by bib.file in the classicthesis package? > > This is how they are in the pdf: > > > > More recently, Boero [2010] argued that... > > > > How can I change this refrence in: > > > > More recently, Boero (2010) argued that > > > That's annoying, but easy to fix. See [1]. You can also input 'round' > in Document Class options. > Liviu > > [1] http://www.lyx.org/trac/ticket/6777 > > > > > > Thanks a lot for helping, > > > > > > > > Gian > > > > > > -- > 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 > -- Gian Maria Niccolò Benucci Ph.D. Candidate University of Perugia Department of Applied Biology Borgo XX Giugno, 74 I-06121 - Perugia, ITALY Tel: +39.0755856433 Fax: +39.0755856069 Email: gian.benu...@gmail.com *- Do not print this email unless you really need to. Save paper and protect the environment! -*
lyx/beamer double-space text bug?
I have a little problem with beamer but I'm not sure if it is a bug. I want to have an untitled frame with some large text in it, centered and double-spaced, but when compiling I get this error: (see minimal lyx file attached) ! Undefined control sequence. \doublespacing ...stretch {1.667}\ifcase \@ptsize \relax \setstretch {1.667}... l.55 \lyxframeend {}\lyxframe{Normal slide title} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Missing number, treated as zero. \relax l.55 \lyxframeend {}\lyxframe{Normal slide title} A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) Is it a bug? if so, is it LyX or beamer? If not, what is the problem? Thanks. -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada test.lyx Description: application/lyx
Re: Master Document
On 14/11/2011 11:30 PM, Louise Wilkinson wrote: Hi, I'm having trouble getting my BibTex references to work in my master file. I keep getting the error message 'Undefined control sequence'. Any help would be most appreciated. Thanks You may often identify and solve a problem like that by removing a lot of the content of your LyX file until you have reduced your LyX file to a minimum while still reproducing your problem. It's also usually useful to share on this list this minimal example file showing your problem. Other readers might have seen such problems before. Cheers, Julien
Re: bracktes of references in classicthesis style
On 18/11/2011 7:50 AM, Gian Maria Niccolò Benucci wrote: I just fitted some different styles for references adding my bib file into the first chapter of classicthesis. In most of the cases I got this situation: People interested (author?) [(year?)]only in the nice style .Provide (author?)(year?)students with. Otherwise, if I clic the (author?) the file jumped to correct author position in the bibliography at the end of the thesis. The (author?) (year?) in your pdf is a result of using a BibTeX style file (.bst file) which is incompatible with Natbib's author-year citation engine. Unfortunately, the current situation is that there is no indication in the LyX GUI on whether the choice of style you make is actually compatible with your document settings. Cheers, Julien
Problems with LyX Installation
Hello friends! I installed LyX (LyX-2.0.1-1) new - at my Windows 7 64 bit system. Before this, I installed MiKTEX (basic-miktex-2.9.4250-x64). Now, I can't create an output file (like pdf or other). I get always an error message. I think, there are problems with general properties - but I don't know what. Now anyone what the problem is, respectively what I can do that it works? Thanks and regards, André
Re: help with running title in the right up of the pdf page
On 11/18/2011 05:05 PM, Wolfgang Engelmann wrote: You must do something wrong; I have no problem to change a scientific name in the chapter heading to italic (control e on the keyboard) and export it correctly to eg a pdf file. Wolfgang, it's about how ClassicThesis style handles this in the running titles. GMNB, can you please try using option pdfspacing, might help.
Re: mhchem and html
On 11/18/2011 01:00 PM, Julien Rioux wrote: > On 18/11/2011 12:29 PM, Richard Heck wrote: >> In the meantime, you can force LyX to output images for these >> constructs, instead of MathML or whatever, by (I think) including a >> "\relax" somewhere in the formula. LyX won't know what to do with that, >> so it will fall back to outputting images. > > I seem to recall a setting somewhere to enforce the use of images, am > I wrong? > That's a global setting. Ultimately, I'd like to have such a setting formula by formula, but that's obviously a format change, so it's for 2.1.0. This little trick lets you get the same effect, since LyX always falls back to image output if it encounters something it doesn't understand. I guess it must think it does understand mhchem stuff Richard
Re: Inserting inset via menu keyboard shortcuts problem
On Fri, Nov 18, 2011 at 7:56 PM, Rainer M Krug wrote: > > > On Fri, Nov 18, 2011 at 1:13 PM, Manolo Martínez > wrote: >> >> On 11/18/11 at 01:08pm, Rainer M Krug wrote: >> > Hi >> > >> > when I insert an inset (e.g. an ERT) via the keyboard using the menu >> > navigation shortcuts, >> > >> > ALT-I x >> > >> > LyX stays in the "menu" navigation mode, i.e. pressing "i" does not >> > insert >> > an "i" in the ERT inset, but opens the menu again. >> > I have to click on the text to return to the "normal" text mode. >> > >> > Am I missing something here? >> > >> That does not happen here... Alt-I x works as you say it should. > > The problem comes when I press i afterwards - so the key sequence is: > > Alt-i x i > Try to use 'ctrl-i i' instead. I haven't seen such issues with 'ctrl+i' bindings. Liviu > It should insert i in the ert box, but it opens the menue again. > > Rainer > >> >> M > > > > -- > 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 > > -- 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: bracktes of references in classicthesis style
2011/11/18 Gian Maria Niccolò Benucci : > > Hi all, > > How to change the brackets type (round brackets) of the references included > by bib.file in the classicthesis package? > This is how they are in the pdf: > > More recently, Boero [2010] argued that... > > How can I change this refrence in: > > More recently, Boero (2010) argued that > That's annoying, but easy to fix. See [1]. You can also input 'round' in Document Class options. Liviu [1] http://www.lyx.org/trac/ticket/6777 > > Thanks a lot for helping, > > > > Gian > -- 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: Impressed
On Fri, Nov 18, 2011 at 6:39 PM, Steve Litt wrote: > 1) Better/easier keystrokes for working with character styles. In a > full day of authoring I can use character styles over 100 times. > You can easily customize these to your tastes. If I understand you correctly, check LFUN_TEXTSTYLE_APPLY and LFUN_TEXTSTYLE_UPDATE. > 2) Restore the recently removed easy menu choices for compile to PDF > via ps2pdf and compile to DVI. I could use both of these tens of times > a day. > You can always do this yourself by placing stdmenus.inc into your 'ui' folder in your profile, and customize it to your tastes. For inspiration, you can take a 1.6 stdmenus.inc and copy the desired lines into stdmenus.inc in your profile. > 3) Complete the outlining feature so you can add headlines. > Fingers crossed for Rob to find time for this. Regards Liviu > Keep in mind LyX is already faster for authoring than MSWord, and of > course faster than that garbage heap called OpenOffice. But the addition > of the three points I mention would make LyX's authoring speed INSANE. > > Thanks, > > SteveT > > Steve Litt > Author: The Key to Everyday Excellence > http://www.troubleshooters.com/bookstore/key_excellence.htm > Twitter: http://www.twitter.com/stevelitt > > -- 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
Environment List Dropdown without Toolbar (?)
I've been playing around with fullscreen mode in LyX 2.0.1 (on OS X 10.7.2), and one of my document windows has wound up in a funny state. All of the toolbars are turned off, but the dropdown environment list is still parked in the upper lefthand corner of the screen. I can't remember how I triggered this -- does anybody know if it's a feature or a bug? I'm hoping it's a feature, since this is *exactly* how I want fullscreen mode to work -- the menus don't seem to replicate its functionality in a useful way, but I don't want all of the other toolbar junk cluttering up the screen. Turning the "Standard" toolbar on, then off again killed the drop down list, so maybe it's just a bug? -Ross
Re: Inserting inset via menu keyboard shortcuts problem
On Fri, Nov 18, 2011 at 1:13 PM, Manolo Martínez wrote: > On 11/18/11 at 01:08pm, Rainer M Krug wrote: > > Hi > > > > when I insert an inset (e.g. an ERT) via the keyboard using the menu > > navigation shortcuts, > > > > ALT-I x > > > > LyX stays in the "menu" navigation mode, i.e. pressing "i" does not > insert > > an "i" in the ERT inset, but opens the menu again. > > I have to click on the text to return to the "normal" text mode. > > > > Am I missing something here? > > > That does not happen here... Alt-I x works as you say it should. > The problem comes when I press i afterwards - so the key sequence is: Alt-i x i It should insert i in the ert box, but it opens the menue again. Rainer > M > -- 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: help with running title in the right up of the pdf page
On 18 November 2011 17:05, Wolfgang Engelmann wrote: > Am Freitag, 18. November 2011, 14:23:30 schrieb Gian Maria Niccolò Benucci: > > On 18 November 2011 14:07, PhilipPirrip wrote: > > > On 11/18/2011 12:40 PM, Gian Maria Niccolò Benucci wrote: > > >> 3 MYCORRHIZATION OF /quercus /AND /corylus/ SEEDLINGS... > > >> > > >> How can I change /quercus/ in /Quercus/ as the capital letter is > > >> needed > > >> > > >> for genus and/or species name initials? > > > > > > I'm sorry, I don't understand the question. Where and what needs (not) > > > to be capitalized? > > > > Sorry, I was not clear enough... > > I mean, when you compile the pdf, in the right up part of the pages you > > can see the running title of the chapter. In my case I have some words > > (i.e., Species or General names) that must be in emph style. The > > problem is that LyX do not use the capital letters in those words of > > the title that are in the emph style (I would mean italic style). > > > > For example: if I have the words *Homo sapiens* in the title of a > > Chapter... LyX "writes" *homo sapiens*, that is scientifically > > incorrect... > > You must do something wrong; I have no problem to change a scientific name > in the chapter heading to italic (control e on the keyboard) and export it > correctly to eg a pdf file. > Could you explain in detail, what you are doing? > > Wolfgang In the header of thesis pages as well as in the contents I do have the emph style (I just used the Ctrl + e as you told me) in the title of the chapters, but I do not have capital letters. LyX recognize the emph style but do not use capital letters although they are in the initials of scientific names... If I can send you a pdf page of my thesis you maybe should understand better, can I? Thanks, Gian * *
Re: Impressed
+1 for vi keystrokes :) But seriously, I don't think it would be fair to expect that. LyX is mean to be focused on making things easy and straightforward for everyone. Vi keystroke would not achieve that. I guess that could be an option, but it shouldn't be LyX's focus. On Fri, Nov 18, 2011 at 12:58 PM, Manolo Martínez wrote: > On 11/18/11 at 12:39pm, Steve Litt wrote: > > Here are things I think would make LyX even faster for authoring: > > > > 1) Better/easier keystrokes for working with character styles. In a > > full day of authoring I can use character styles over 100 times. > > > > 2) Restore the recently removed easy menu choices for compile to PDF > > via ps2pdf and compile to DVI. I could use both of these tens of times > > a day. > > > > 3) Complete the outlining feature so you can add headlines. > > > I'd add 4) vi keystrokes. > > Manolo >
Re: mhchem and html
On 18/11/2011 12:29 PM, Richard Heck wrote: In the meantime, you can force LyX to output images for these constructs, instead of MathML or whatever, by (I think) including a "\relax" somewhere in the formula. LyX won't know what to do with that, so it will fall back to outputting images. I seem to recall a setting somewhere to enforce the use of images, am I wrong? -- Julien
Re: Impressed
On 11/18/11 at 12:39pm, Steve Litt wrote: > Here are things I think would make LyX even faster for authoring: > > 1) Better/easier keystrokes for working with character styles. In a > full day of authoring I can use character styles over 100 times. > > 2) Restore the recently removed easy menu choices for compile to PDF > via ps2pdf and compile to DVI. I could use both of these tens of times > a day. > > 3) Complete the outlining feature so you can add headlines. > I'd add 4) vi keystrokes. Manolo
Re: bracktes of references in classicthesis style
On 11/18/11 at 01:50pm, Gian Maria Niccolò Benucci wrote: > I just fitted some different styles for references adding my bib file into > the first chapter of classicthesis. In most of the cases I got this > situation: > > ...People interested (author?) [(year?)]only in the nice style > Provide (author?)(year?)students with. > > Otherwise, if I clic the (author?) the file jumped to correct author > position in the bibliography at the end of the thesis. > > may my bib file has something that don't work with classicthesis? > I'm not sure I understand. When I used the classidthesis template there was a child document dedicated to the bibliography. Why don't you try adding your bib file there. And, again, the way to change formatting is via the bibtex style; it has nothing to do with the bib file. But I may be missing something -- I'm also a junior lyX user myself! Manolo
Re: \usetikzlibrary{external} in Lyx
On 16/11/2011 12:09 PM, hyperp...@gmx.de wrote: Hello. First of all: Thanks to all developers. I enjoy using lyx nearly each day. But I also like to draw pictures and plots with pgf/tikz as input-tex file to lyx which works fine, too. My problem: when I have a lot of complex pictures and a lot of plots with thousands of data points, that makes compiling take extremely long time and sometimes don't work because pdflatex has not enough memory. There is a very nice solution in the actual tikz package where we just put to preamble: \usetikzlibrary{external} \tikzexternalize And compile with: pdflatex -shell-escape $$i This automatically starts a single compiler run for each tikzpicture and produces a pdf-file when there isn't already the corresponding pdf-file to the tikzpicture. In the document the tikzpicture is automatically replaced with \includegraphics{the existing pdf-file} in compilation. So if the plots or pictures need not to be updated this speeds up the compilation with about factor 100 for my case. Lyx-solution: As I read in http://www.lyx.org/announce/2_0_1.txt there is an interesting new option for read external files from ERT that could be used to get it working. But I wasn't lucky till now. Could you please help a bit. I suppose a solution would make Lyx more attractive for others user, too. Example file, compiled in Kile: with pdflatex -interaction=nonstopmode -shell-escape '%source' === \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} %\tikzexternalize[prefix=./myfolder/] \tikzexternalize \begin{document} A line, drawn with tikz: %\tikzsetnextfilename{myfigname} \begin{tikzpicture} \draw (0,0) -- (1,0); \end{tikzpicture} \end{document} === I tryed to use a ./ before the individual filename or folder command (myfolder must exist) to get it working in Lyx and also the Converter-Option: "pdflatex -shell-escape $$i" but that did not work. Hope you have an idea where to look for the solution. Therefore you may have a look at tex/latex/pgf/utilities/tikzexternal.sty tex/latex/pgf/utilities//pgfexternalwithdepth.tex and others.. don't know. Documentation of the package can be found in http://mirror.its.uidaho.edu/pub/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf (Version 2.10) chapter 32 page 343 Best regards. Tobias I got this to work in one of my LyX file. It did not rely on LyX 2.0.1 at all. I have this in my preamble: % tikz externalize \usetikzlibrary{external} \tikzexternalize% % the following is to obtain both a .pdf and .eps version % for use with pdflatex and latex, respectively \tikzset{external/system call={pdflatex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -jobname "\image" "\texsource" & convert "\image".pdf "\image".eps}} % tikzset and you must modify the pdflatex call as you did in LyX converter settings. -- Julien
Re: Impressed
On Friday, November 18, 2011 07:29:11 AM Torquil Macdonald Sørensen wrote: > LyX impresses again! > > Best regards > Torquil Macdonald Sørensen Me too. I think of all LyX's many features, the one that impresses me most is that it's built from the bottom up for authoring speed. No crashes. No accidental repeated whitespace. For the most part, everything you want to do is an easy keystroke or quick click. Compile is reasonably fast, especially if you compile only to DVI. Here are things I think would make LyX even faster for authoring: 1) Better/easier keystrokes for working with character styles. In a full day of authoring I can use character styles over 100 times. 2) Restore the recently removed easy menu choices for compile to PDF via ps2pdf and compile to DVI. I could use both of these tens of times a day. 3) Complete the outlining feature so you can add headlines. Keep in mind LyX is already faster for authoring than MSWord, and of course faster than that garbage heap called OpenOffice. But the addition of the three points I mention would make LyX's authoring speed INSANE. Thanks, SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: SVG converions: --export-area-page instead of --export-area-drawing
On 16/11/2011 12:08 PM, Thomas Hümmer wrote: Hello Lyx-People, I've been using lyx for some years but I always hava a small problem. I'd like the inkscape export to use the flag --export-area-page instead of --export-area-drawing since the latter creates some errors with my SVG files and - I think - is a bit counter-intuitive. In older versions I could change this flag simply in the import/export filter. But this is not showing up anymore (I think since some release candidate of version 2.0) . Where can I change this now? I'm using Lyx 2.0.1 on Windows XP. Thanks a lot. Thomas Look for a SVG->EPS converter in the preferences panel, under File Format > Converters. Cheers, Julien
Re: Extsizes layout
On 18/11/2011 12:29 PM, Julio Rojas wrote: Only changing "Article" to "Extsizes" :D But that adds a new kind of "Article" to the list. I know is nothing that important, but at least it will be automatic for users (they will not be in need of doing what I just did). Regards. - Julio Rojas jcredbe...@gmail.com 2011/11/18 José Matos: On 11/18/2011 01:52 AM, Paul A. Rubin wrote: Your best bet may be to file an enhancement bug ticket and attach the file. I agree with Paul. :-) Another option is to post the changes to the devel list. Regardless Julio did not said what are the changes or what is the rationale for such changes so it is difficult to get interested to such changes. :-) Just my 2 ¢ (euro cents) for this thread. :-) -- José Matos Have you noticed the "article (more font sizes)" in the list of classes available in LyX? It loads extarticle.cls Cheers, Julien
Re: Cannot get epstopdf to work in Lyx 2.0.1
Hi Richard, Many thanks for the quick reply. Sorry, I should have mentioned that I already read the release notes for 2.0.1. Like you, I suspect the problem with using epstopdf is related to the \input@path change in 2.0.1. Unfortunately, I can't see a solution (or a hint to a solution) within the release notes. I have tried setting TEXINPUT to both "." and to the absolute path of my image file but neither of these changes solved the issue. Please may I ask if you have any other suggestions? If not, should I report this as a bug? Many thanks, Jack
Re: Extsizes layout
Only changing "Article" to "Extsizes" :D But that adds a new kind of "Article" to the list. I know is nothing that important, but at least it will be automatic for users (they will not be in need of doing what I just did). Regards. - Julio Rojas jcredbe...@gmail.com 2011/11/18 José Matos : > On 11/18/2011 01:52 AM, Paul A. Rubin wrote: >> Your best bet may be to file an enhancement bug ticket and attach the file. > > I agree with Paul. :-) > > Another option is to post the changes to the devel list. > > Regardless Julio did not said what are the changes or what is the > rationale for such changes so it is difficult to get interested to such > changes. :-) > > Just my 2 ¢ (euro cents) for this thread. :-) > > -- > José Matos > >
Re: mhchem and html
On 11/18/2011 02:55 AM, Guenter Milde wrote: 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. Can it be fixed? File a bug report for the LyxHTML converter. It should be fairly easy to fix this. Please try to say, as best you can in the bug report, exactly what the output should be like. Posting an example file that contains all the main constructs would be especially helpful. In the meantime, you can force LyX to output images for these constructs, instead of MathML or whatever, by (I think) including a "\relax" somewhere in the formula. LyX won't know what to do with that, so it will fall back to outputting images. Richard
Re: Lualatex and Lyx.
On Nov 18, 2011, at 9:23 AM, Helge Hafting wrote: > I found it easier to have two latex distributions. I have lyx and texlive > from debian, as well as a direct install of texlive-2011. There is nothing to > manage - the direct install of texlive takes precedence because it is earlier > in my PATH. True, but you still have to set up the path. Which, if you're comfortable with Unix, isn't very difficult. However, I've got a number of friends and colleagues using LyX, and not all of them are comfortable with the esoteric art of editing BASH profiles or modifying system environment variables. Does the TeX live installer modify the path for you? If so, I'll recant everything I said about it being a pain. (I haven't updated my LaTeX install in a while. I mostly just update packages that I want. And even there, I've gone to using my own custom packages for nearly everything, mostly based on memoir.) > Debian's texlive waste some disk space, that's all. The advantage is that > other dependencies is satisifed automatically, such as spellchecker and qt. > > If I removed the packaged lyx, then debian might someday throw out other > stuff I need. I generally solve this problem by using: sudo apt-get install build-dep lyx This downloads all of the other dependencies without downloading LaTeX. Then i don't have to worry about these getting uninstalled, and I can use LyX built from source. (Which matters because I've been testing the outline additions, and it makes updating other people's install of LyX-Outline rather than having to package it, which I haven't had time to work out.) Cheers, Rob
Re: Extsizes layout
On 11/18/2011 01:52 AM, Paul A. Rubin wrote: > Your best bet may be to file an enhancement bug ticket and attach the file. I agree with Paul. :-) Another option is to post the changes to the devel list. Regardless Julio did not said what are the changes or what is the rationale for such changes so it is difficult to get interested to such changes. :-) Just my 2 ¢ (euro cents) for this thread. :-) -- José Matos
Re: Lualatex and Lyx.
On 15. nov. 2011 19:00, Rob Oakes wrote: [...] To that, I would add an additional piece of advice: compile LyX from source or install a non-packaged binary. In Ubuntu, if you try and install LyX from the package manager, it will download all of the associated LaTeX packages as well. This can be a tremendous pain because you'll have two versions of everything installed and you need to manually manage the packages. Having two LaTeX distributions can be done (see http://blog.oak-tree.us/index.php/2010/07/15/latex-custom for a description of how), but it's a pain. It's much better to have a single LaTeX distribution installed alongside LyX. I found it easier to have two latex distributions. I have lyx and texlive from debian, as well as a direct install of texlive-2011. There is nothing to manage - the direct install of texlive takes precedence because it is earlier in my PATH. Debian's texlive waste some disk space, that's all. The advantage is that other dependencies is satisifed automatically, such as spellchecker and qt. If I removed the packaged lyx, then debian might someday throw out other stuff I need. Helge Hafting
Re: help with running title in the right up of the pdf page
2011/11/18 Gian Maria Niccolò Benucci : > > > On 18 November 2011 14:07, PhilipPirrip wrote: >> >> On 11/18/2011 12:40 PM, Gian Maria Niccolò Benucci wrote: >>> >>> 3 MYCORRHIZATION OF /quercus /AND /corylus/ SEEDLINGS... >>> >>> How can I change /quercus/ in /Quercus/ as the capital letter is needed >>> for genus and/or species name initials? >> >> >> I'm sorry, I don't understand the question. Where and what needs (not) to >> be capitalized? >> > > > Sorry, I was not clear enough... > I mean, when you compile the pdf, in the right up part of the pages you can > see the running title of the chapter. In my case I have some words (i.e., > Species or General names) that must be in emph style. The problem is that > LyX do not use the capital letters in those words of the title that are in > the emph style (I would mean italic style). > You should be able to control this via the 'fancyhdr' package. Look into its documentation. Liviu > For example: if I have the words Homo sapiens in the title of a Chapter... > LyX "writes" homo sapiens, that is scientifically incorrect... > > Thanks and I hope now I was more clear, > > Gian > > -- 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: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 4:23 PM, Paul Johnson wrote: >>> 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. >> > > Dammit. My copy/paste skills are getting worse and worse. Here's the > correct link to the suspicious file: > > http://pj.freefaculty.org/latex/test2-part2.tar.gz > You failed to mention that you Sweave*l* it. ;) And I haven't gone past the point of complaining about Sweavel on the tracker (#7887). One of the solutions mentioned in the thread is to add '\\' in front of the '\includegraphics' call. Maybe this helps. Regards Liviu
Re: help with running title in the right up of the pdf page
Am Freitag, 18. November 2011, 14:23:30 schrieb Gian Maria Niccolò Benucci: > On 18 November 2011 14:07, PhilipPirrip wrote: > > On 11/18/2011 12:40 PM, Gian Maria Niccolò Benucci wrote: > >> 3 MYCORRHIZATION OF /quercus /AND /corylus/ SEEDLINGS... > >> > >> How can I change /quercus/ in /Quercus/ as the capital letter is > >> needed > >> > >> for genus and/or species name initials? > > > > I'm sorry, I don't understand the question. Where and what needs (not) > > to be capitalized? > > Sorry, I was not clear enough... > I mean, when you compile the pdf, in the right up part of the pages you > can see the running title of the chapter. In my case I have some words > (i.e., Species or General names) that must be in emph style. The > problem is that LyX do not use the capital letters in those words of > the title that are in the emph style (I would mean italic style). > > For example: if I have the words *Homo sapiens* in the title of a > Chapter... LyX "writes" *homo sapiens*, that is scientifically > incorrect... You must do something wrong; I have no problem to change a scientific name in the chapter heading to italic (control e on the keyboard) and export it correctly to eg a pdf file. Could you explain in detail, what you are doing? Wolfgang
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 9:23 AM, Paul Johnson wrote: > On Fri, Nov 18, 2011 at 1:23 AM, Liviu Andronic > wrote: >> On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson wrote: >>> I wrote a test in LyX and have trouble getting a graphic to sit "side >>> by side" with a LaTeX table. >>> >>> http://pj.freefaculty.org/latex/test2-part2.pdf >>> Liviu's pointer led me off into a search through a lot of pages about horizontal alignment of latex graphics. The simplest workaround I've found so far is to wrap the troublesome graphic, table or minipage in \raisebox{10mm}{ graphic or table } That lifts up the troublesome thing 10mm. If you want to lower the thing, put a negative number. Here are the "new" versions, where I've tested this both with simple side-by-side minipages (not in table cells) and minipages or tables inside cells. Either way, you can manually force things into line http://pj.freefaculty.org/latex/test2-part2-new.pdf http://pj.freefaculty.org/latex/test2-part2-new.lyx This is not entirely satisfactory, we wish it were automatic. -- 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 1:23 AM, Liviu Andronic wrote: > On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson 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 > Thanks very much for the pointer. I agree that is aimed at the problem I see. > >> 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. > Dammit. My copy/paste skills are getting worse and worse. Here's the correct link to the suspicious file: http://pj.freefaculty.org/latex/test2-part2.tar.gz > 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 > -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: help with running title in the right up of the pdf page
On 18 November 2011 14:07, PhilipPirrip wrote: > On 11/18/2011 12:40 PM, Gian Maria Niccolò Benucci wrote: > >> 3 MYCORRHIZATION OF /quercus /AND /corylus/ SEEDLINGS... >> >> How can I change /quercus/ in /Quercus/ as the capital letter is needed >> >> for genus and/or species name initials? >> > > > I'm sorry, I don't understand the question. Where and what needs (not) to > be capitalized? > > Sorry, I was not clear enough... I mean, when you compile the pdf, in the right up part of the pages you can see the running title of the chapter. In my case I have some words (i.e., Species or General names) that must be in emph style. The problem is that LyX do not use the capital letters in those words of the title that are in the emph style (I would mean italic style). For example: if I have the words *Homo sapiens* in the title of a Chapter... LyX "writes" *homo sapiens*, that is scientifically incorrect... Thanks and I hope now I was more clear, Gian
Re: help with running title in the right up of the pdf page
On 11/18/2011 12:40 PM, Gian Maria Niccolò Benucci wrote: 3 MYCORRHIZATION OF /quercus /AND /corylus/ SEEDLINGS... How can I change /quercus/ in /Quercus/ as the capital letter is needed for genus and/or species name initials? I'm sorry, I don't understand the question. Where and what needs (not) to be capitalized?
Re: bracktes of references in classicthesis style
2011/11/18 Manolo Martínez > On 11/18/11 at 01:12pm, Gian Maria Niccolò Benucci wrote: > > I would try the kluwer style as you wrote, > > any others style that "sound" scientific to suggest me? How to add new > > ones? (I am using jabref for the bib) > > If you are writing a doctoral dissertation, you may want to look how other > well-regarded dissertation from your department formatted references -- if > there are no official guidelines, that is -- and then try some .bst untl > you > find one that looks like those. Or ask the LaTeX geek in your deparment; > there > is probably one :) > > As to how to change the citation style, it's done in LyX, not JabRef. Take > a > look at the User's Guide, section 6.5 > > Manolo > Hi again Manolo, Unfortunately I am the only and (probably the first according my knowledge) "insane" PhD student that used LyX or other latex supports for writing his thesis... ...I indeed do not win a medal for that, but since I would be proud of the results, I tried for LyX... I just fitted some different styles for references adding my bib file into the first chapter of classicthesis. In most of the cases I got this situation: ...People interested (author?) [(year?)]only in the nice style Provide (author?)(year?)students with. Otherwise, if I clic the (author?) the file jumped to correct author position in the bibliography at the end of the thesis. may my bib file has something that don't work with classicthesis? Really thanks for supporting me, G.
Re: installing lyx with hebrew
On Fri, Nov 18, 2011 at 12:19 PM, Liron Yosef wrote: > i put the default language as hebrew but i can't write right to left. > i see that there is a "language package" and it is on "automatic". should it > be different? or is there a "hebrew package" i can download? > See http://wiki.lyx.org/Windows/Hebrew and search for 'hebrew' on the wiki. Liviu > thank you > liron > > בתאריך 17 בנובמבר 2011 21:47, מאת Liviu Andronic : >> >> On Thu, Nov 17, 2011 at 8:23 PM, Liron Yosef >> 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 > -- 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
Impressed
Hi! I was just going to post a question to this list requesting a function to find all my LyX notes that I have written throughout a large document. But a hunch made me check out the different categories in the drop-down menu in the Outline dialogue before I submitted. And what do you know, somebody had already thought of it! It can show me a list of all my notes! And it even shows the content of the note in the Outline dialogue... LyX impresses again! Best regards Torquil Macdonald Sørensen
Re: bracktes of references in classicthesis style
On 11/18/11 at 01:12pm, Gian Maria Niccolò Benucci wrote: > I would try the kluwer style as you wrote, > any others style that "sound" scientific to suggest me? How to add new > ones? (I am using jabref for the bib) If you are writing a doctoral dissertation, you may want to look how other well-regarded dissertation from your department formatted references -- if there are no official guidelines, that is -- and then try some .bst untl you find one that looks like those. Or ask the LaTeX geek in your deparment; there is probably one :) As to how to change the citation style, it's done in LyX, not JabRef. Take a look at the User's Guide, section 6.5 Manolo
Re: bracktes of references in classicthesis style
2011/11/18 Manolo Martínez > On 11/18/11 at 12:56pm, Gian Maria Niccolò Benucci wrote: > > > > How to change the brackets type (round brackets) of the references > included > > by bib.file in the classicthesis package? > > This is how they are in the pdf: > > > > More recently, Boero [2010] argued that... > > > > How can I change this refrence in: > > > > More recently, Boero (2010) argued that > > > > What is the style (the .bst) file you are using? That's what takes care of > this > and other formatiing. I normally use the kluwer style, which does this > kind of > author-year citations the way I need. > > Manolo > I am using the biochem style, but indeed I do not completely like it, also because I would like the doi and/or the url would compare in the reference list... I would try the kluwer style as you wrote, any others style that "sound" scientific to suggest me? How to add new ones? (I am using jabref for the bib) Many thanks, G.
Re: Inserting inset via menu keyboard shortcuts problem
On 11/18/11 at 01:08pm, Rainer M Krug wrote: > Hi > > when I insert an inset (e.g. an ERT) via the keyboard using the menu > navigation shortcuts, > > ALT-I x > > LyX stays in the "menu" navigation mode, i.e. pressing "i" does not insert > an "i" in the ERT inset, but opens the menu again. > I have to click on the text to return to the "normal" text mode. > > Am I missing something here? > That does not happen here... Alt-I x works as you say it should. M
Inserting inset via menu keyboard shortcuts problem
Hi when I insert an inset (e.g. an ERT) via the keyboard using the menu navigation shortcuts, ALT-I x LyX stays in the "menu" navigation mode, i.e. pressing "i" does not insert an "i" in the ERT inset, but opens the menu again. I have to click on the text to return to the "normal" text mode. Am I missing something here? (Don't tell me about insetring the ERT via CTRL-L - that works, but ERT is only an example. I am using the menu shortcuts to insert TODO notes) Would it be possible to return to "normal" text mode after a menu command has been been executed? Thanks, Rainer -- 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: bracktes of references in classicthesis style
On 11/18/11 at 12:56pm, Gian Maria Niccolò Benucci wrote: > > How to change the brackets type (round brackets) of the references included > by bib.file in the classicthesis package? > This is how they are in the pdf: > > More recently, Boero [2010] argued that... > > How can I change this refrence in: > > More recently, Boero (2010) argued that > What is the style (the .bst) file you are using? That's what takes care of this and other formatiing. I normally use the kluwer style, which does this kind of author-year citations the way I need. Manolo
bracktes of references in classicthesis style
Hi all, How to change the brackets type (round brackets) of the references included by bib.file in the classicthesis package? This is how they are in the pdf: More recently, Boero [2010] argued that... How can I change this refrence in: More recently, Boero (2010) argued that Thanks a lot for helping, Gian
Re: margins problem in classicthesis additional chapters
On 17 November 2011 20:10, PhilipPirrip wrote: > 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. > > > The problem seems that disappeared. I only delete the Child documents in the main lyx file and I included them again and now the margins are justified. I do not know how it solves, but seems it's ok now! Thanks for helping, G. * *
Re: hot to regulate table dimensions
On 17 November 2011 20:14, PhilipPirrip wrote: > 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. > > > Yes, probably is my fault! Anyway I will try to mange regulate the dimensions and see what will happen... Tanks a lot, G.
Re: Problem (?) with adjacent theorems, lemmas, etc
On Nov 18, 2011, at 11:46 AM, Torquil Macdonald Sørensen wrote: > On 18/11/11 11:33, Christopher Menzel wrote: >> LyX folk, >> >> I am attempting to list two simple lemmas, one after the other, without >> proofs or any other intervening text. LyX appears not to allow this. If I >> attempt to insert the second lemma immediately after the first, no matter >> what I've tried the text of the second lemma is simply pulled into the first >> lemma. The only (somewhat kludgy) workaround I've found is to insert an ERT >> comment line between the two lemmas. This seems sorta like a bug to me, but >> perhaps it is a feature whose justification is lost on me. The phenomenon in >> question is not unique to lemmas; the same thing happens with theorems, >> corollaries, definitions, etc. >> >> Thanks for any info. >> >> Chris Menzel > > I asked the same question some time ago, and was happy to learn that there is > a "Separator" option on the top left drop-down menu that will do what you > want. So there is! Sorry for the extra bandwidth, I did not find that earlier discussion when I searched. Chris Menzel
Re: help with running title in the right up of the pdf page
On 17 November 2011 20:12, PhilipPirrip wrote: > 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". > > > Thank you! But may I ask you another thing about how LyX compiles the contents... The titles of the Chapter appear in this form (see the example below): 3 MYCORRHIZATION OF *quercus *AND *corylus* SEEDLINGS... How can I change *quercus* in *Quercus* as the capital letter is needed for genus and/or species name initials? Thanks a lot in advance, Gian
Re: Problem (?) with adjacent theorems, lemmas, etc
On 18/11/11 11:33, Christopher Menzel wrote: LyX folk, I am attempting to list two simple lemmas, one after the other, without proofs or any other intervening text. LyX appears not to allow this. If I attempt to insert the second lemma immediately after the first, no matter what I've tried the text of the second lemma is simply pulled into the first lemma. The only (somewhat kludgy) workaround I've found is to insert an ERT comment line between the two lemmas. This seems sorta like a bug to me, but perhaps it is a feature whose justification is lost on me. The phenomenon in question is not unique to lemmas; the same thing happens with theorems, corollaries, definitions, etc. Thanks for any info. Chris Menzel I asked the same question some time ago, and was happy to learn that there is a "Separator" option on the top left drop-down menu that will do what you want. Best regards Torquil
Problem (?) with adjacent theorems, lemmas, etc
LyX folk, I am attempting to list two simple lemmas, one after the other, without proofs or any other intervening text. LyX appears not to allow this. If I attempt to insert the second lemma immediately after the first, no matter what I've tried the text of the second lemma is simply pulled into the first lemma. The only (somewhat kludgy) workaround I've found is to insert an ERT comment line between the two lemmas. This seems sorta like a bug to me, but perhaps it is a feature whose justification is lost on me. The phenomenon in question is not unique to lemmas; the same thing happens with theorems, corollaries, definitions, etc. Thanks for any info. Chris Menzel
slightly OT: alternative pdf viewer with reverse lookup to Okular?
Hi I am working on a paper, and after insrting a graph generated from R (pdf), the pdf does not display in okular anymore, but it does in evince. Now evince does not support reverse lookup, which I woyuld like to have. So is there an alternative to okular for reverse lookup under Linux (Ubuntu Oneiric)? Cheers, Rainer -- 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: How to add subsections* to toc
On 2011-11-18, Richard Heck wrote: > 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. If you consistently want unnumbered section headings that appear in the toc, you can change the "secnumdepth" and "tocdepth" counters in the preamble, e.g.: \setcounter{secnumdepth}{0} \setcounter{tocdepth}{5} and use the "unstarred" commands. (LyX will show numbers (unless you write a to fix this) but the LaTeX output will be fine.) Günter