Re: Change math Language - critical
On fry 8 May 2012 Kenedy Torcatt wrote > Hey guys... I'm working with lyx in spanish, The mathematical operator > like sin are showing in english "sin". I need this math operators in > spanish, I mean "sen". > How can I do this with lyx? I'm using latest version 2.0.3. > Thankyou in advance. > P.S: I already set the language in spanish, everything else is fine (in spanish). The function 'sen' is predefined in the latex package babel-spanish, so you write in math mode the command \sen and you get sen, that's all E.g., in math mode insert \sen space a and the output is sen a This command are not available in the math panels There is info about the functions predefined in Spanish (sen, arcsen, tg,...) in the section 15.1 of the spanish version manual 'Math' (Ecuaciones) I.G.
Re: Child documents, integration and citation
On Fri, May 18, 2012 at 8:59 PM, Richard Heck wrote: > On 5/18/12 7:31 AM, Ray Rashif wrote: >> >> Hi guys >> >> I want to confirm that this is a bug. I've noticed some old threads on >> this [1] but I believe it's a little different. >> >> When the master document includes the bibliography, opening the child >> document and adding a citation works. So, while editing, the child >> document is aware of the bib database. When compiling for preview, >> however, that knowledge is lost and citations are replaced with >> "(author?)" and the like. Obviously, there is no reference list for >> that child document. >> >> Wouldn't it be possible to actually integrate the child document while >> rendering? Do not show the references, but do show citations that are >> valid (i.e. that exists in the bib included in the master doc). You >> can reproduce this with a template [2]. >> > There are various ways to handle this. The problem, such as it is, is due > to the fact that, if you compile the child document "standalone", then it's > treated as its own document, and not as a child. Option 1 is to compile > the master document instead, which you can do from the View menu, and > assign a shortcut to do. Option 2 is more complicated, and involves putting > a bibliography inset into the child, but protecting it with a LaTeX if-then > construct, so that it isn't actually included when you compile the master. > > So it's not really a bug, but a consequence of how LyX handles children. Third option: Always compile from the master document, but include only the child document you want to compile. That will bring in the frontmatter, probably (depending on how you structured your master/children), but t might do what you want. The command is in Document>>Settings Cheers, Stefano -- __ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Re: Child documents, integration and citation
On 5/18/12 7:31 AM, Ray Rashif wrote: Hi guys I want to confirm that this is a bug. I've noticed some old threads on this [1] but I believe it's a little different. When the master document includes the bibliography, opening the child document and adding a citation works. So, while editing, the child document is aware of the bib database. When compiling for preview, however, that knowledge is lost and citations are replaced with "(author?)" and the like. Obviously, there is no reference list for that child document. Wouldn't it be possible to actually integrate the child document while rendering? Do not show the references, but do show citations that are valid (i.e. that exists in the bib included in the master doc). You can reproduce this with a template [2]. There are various ways to handle this. The problem, such as it is, is due to the fact that, if you compile the child document "standalone", then it's treated as its own document, and not as a child. Option 1 is to compile the master document instead, which you can do from the View menu, and assign a shortcut to do. Option 2 is more complicated, and involves putting a bibliography inset into the child, but protecting it with a LaTeX if-then construct, so that it isn't actually included when you compile the master. So it's not really a bug, but a consequence of how LyX handles children. Richard
Re: Change math Language - critical
On 2012-05-18, Scott Kostyshak wrote: > From: Kenedy Torcatt [yde...@gmail.com] > Sent: Friday, May 18, 2012 3:30 AM >>Hey guys... I'm working with lyx in spanish, The mathematical operator >>like sin are showing in english "sin". I need this math operators in >>spanish, I mean "sen". >>How can I do this with lyx? I'm using latest version 2.0.3. > Put this in your preamble: > \DeclareMathOperator*{\espsin}{sen} > (also make sure that you are using the amsmath package) Then when you > want to input "sen" in your math inset just put \espsin. Note that you > can choose the name "espsin". E.g. I would use the name \sen for the macro: in the preamble \DeclareMathOperator*{\sen}{sen} and in LyX f(x) = \sen(x). If you do not like the red \sen in the math box, you can also define a dummy math macro (in an inactive branch or a comment). Günter
Re: Change math Language - critical
On 05/18/2012 03:30 AM, Kenedy Torcatt wrote: Hey guys... I'm working with lyx in spanish, The mathematical operator like sin are showing in english "sin". I need this math operators in spanish, I mean "sen". Hmm. TeX itself does not seem to recognize $\sen(x)$ -- at least mine doesn't. I've read some Spanish math papers, and have not seen that name for that function. You could define a macro giving an (upright) sen(x) which would function as well as $\sin(x)$. How many different names are involved? What do you call $\log(x)$ in Spanish? -- David L. Johnson If all economists were laid end to end, they would not reach a conclusion. -- George Bernard Shaw
Re: Music (not music theory) books in Lyx
On Thu, 17 May 2012 16:28:36 -0700 (PDT) ski_phreak wrote: > > So my big challenge is: How should I create non-printing Title, > Composer and Lyricist references for my indexing. > > Thanks in advance for sharing your knowledge. > > Mike The Ski_Phreak > > -- > View this message in context: > http://lyx.475766.n2.nabble.com/Music-not-music-theory-books-in-Lyx-tp7564697.html > Sent from the LyX - Users mailing list archive at Nabble.com. Mike, This should be quite easy to achieve. An index entry does not itself show on the page: it just has to be on the right page. LyX 2.0 handles multiple indices natively, so having the three different ones should be simple. See: http://wiki.lyx.org/Tips/Indexing Les
Child documents, integration and citation
Hi guys I want to confirm that this is a bug. I've noticed some old threads on this [1] but I believe it's a little different. When the master document includes the bibliography, opening the child document and adding a citation works. So, while editing, the child document is aware of the bib database. When compiling for preview, however, that knowledge is lost and citations are replaced with "(author?)" and the like. Obviously, there is no reference list for that child document. Wouldn't it be possible to actually integrate the child document while rendering? Do not show the references, but do show citations that are valid (i.e. that exists in the bib included in the master doc). You can reproduce this with a template [2]. [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77181.html [2] https://github.com/telegraphic/Oxford-LyX-Thesis-Template -- GPG/PGP ID: C0711BF1
RE: System dialog boxes appearance
Daniel CLEMENT [dcleme...@sfr.fr] Sent: Friday, May 18, 2012 5:15 AM >I have just migrated to Linux Mint Debian (XFCE) from Ubuntu (Gnome 2). >I have noticed that the File-Open dialog boxes no longer integrated >nicely with the system settings (as they used to do). The folder and >file icons in both panes don't match the system-wide setting (theme) any >more. >I was wondering if perhaps a tricky LyX setting could help, or adding >some judicious package? It's being worked on: http://www.lyx.org/trac/ticket/8149 Scott
System dialog boxes appearance
Hello, I am using LyX 2.0.3. I have just migrated to Linux Mint Debian (XFCE) from Ubuntu (Gnome 2). I have noticed that the File-Open dialog boxes no longer integrated nicely with the system settings (as they used to do). The folder and file icons in both panes don't match the system-wide setting (theme) any more. I was wondering if perhaps a tricky LyX setting could help, or adding some judicious package? You see how finicky I have to be so as to find something to criticize in LyX! -- Daniel CLEMENT
RE: Change math Language - critical
From: Kenedy Torcatt [yde...@gmail.com] Sent: Friday, May 18, 2012 3:30 AM >Hey guys... I'm working with lyx in spanish, The mathematical operator >like sin are showing in english "sin". I need this math operators in >spanish, I mean "sen". >How can I do this with lyx? I'm using latest version 2.0.3. Put this in your preamble: \DeclareMathOperator*{\espsin}{sen} (also make sure that you are using the amsmath package) Then when you want to input "sen" in your math inset just put \espsin. Note that you can choose the name "espsin". Scott
Re: HTML and RTF: Very basic import and export strategy
On 15 May 2012 20:18, Wilfried wrote: > Or it's not the latest version? Current version is 2.0.1, see > http://sourceforge.net/projects/rtf2latex2e/ It is, actually. > How shall rtf2latex2e know that YOU want it THIS way? > The heading conversion above is default setting, but it can be changed. > In the subfolder ./pref there is a file r2l-map in which it is specified > how headings are to be converted. It _shouldn't_, but I'd expect an option to switch. Well, yet another TODO :) I've just found gnuhtml2latex (because of the strange name my eyes failed on searches), and it does provide an option to switch between numbered and numbered sections. > What are the rtf2latex2e calling parameters? > Maybe you should call rtf2latex2e with the option -p1, not higher, see > documentation. Yes, I have tried -p1. > That is a big difference. rtf2latex2e is aimed at Word's rtf output. > Rtf from OOo and LibreOffice is broken. Thanks, didn't know rtf was that complicated. A quick look inside an rtf file gave me the impression that it'd be pretty standard across all implementations as far as layout is concerned (formatting is another story). I've come to the conclusion that (x)html is a much better format to deal with for this (though the website of rtf2latexe mentions otherwise). Even though gnuhtml2latex seems to do an OK job, the output is riddled with silly characters everywhere. This >> http://www.textfixer.com/html/convert-word-to-html.php << does an excellent job. Would anyone know of a good commandline alternative (for Linux)? A good solution would be a doc2html and a docx2html, along with a html cleaner. I don't see any libraries for this aside from lxml's html clean method for python (the quality of which I don't know). -- GPG/PGP ID: C0711BF1
Change math Language - critical
Hey guys... I'm working with lyx in spanish, The mathematical operator like sin are showing in english "sin". I need this math operators in spanish, I mean "sen". How can I do this with lyx? I'm using latest version 2.0.3. Thankyou in advance. P.S: I already set the language in spanish, everything else is fine (in spanish). -- Kenedy Torcatt