Re: how to use others fonts
Marcelo Acuña wrote: I found in the TexLive distribution in my computer with linux several fonts. How I can to use it? If these are traditional TeX fonts (i.e. Type1 fonts with TeX metrics), you usually load them in the preamble by either loading a specific package, e.g. \usepackage{xagaramon} or by redefining the shapes, e.g. \renewcommand{\rmdefault}{pmnj} The correct procedure for a given font is usually described in the font's documentation. In LyX's font dialog, set the font to Default (although any other choice won't harm either). Jürgen
Re: Feature request: parent-child document clash resolution
James Sutherland wrote: Interesting. I have not had a problem with settings in parent/child documents. When I compile the parent document, its settings trump any changes in the children. When compiling the child document alone, its settings are respected... I am currently running 1.6. Yes, this is how it is supposed to work, actually. Jürgen
Re: Showing LyX Notes in output
Manveru wrote: Hi - is there a way to show LyX Notes in the output? I want to highlight certain things (and make some annotations) that show up in the output to a collaborator who does not use LyX (older generation Word person) and am looking for a good way to do this.. the Note option seems to be what I want but it doesn't show up in the output dvi/pdf. Greyed Out does but it's a bit too passive... any ideas? Thanks! It would be really nice to have possibility putting LyX notes into PDF notes... but we can only dream about it. Here's something along this line. The module provides a new PDF-comment inset that puts annotations into the PDF document. It relies on this (not yet officially released) package: http://latex.josef-kleber.de/download/pdfcomment.sty An alternative method is described in this thread: http://marc.info/?l=lyx-usersm=122702141306514w=2 Jürgen #\DeclareLyXModule{PDF comments} #DescriptionBegin #Inserts annotations to the PDF file. #DescriptionEnd # Author: Juergen Spitzmueller [EMAIL PROTECTED] Format 11 InsetLayout PDF-Annotation LyXType custom LabelString PDF LatexType command LatexName pdfcomment Decorationclassic LabelFont Color magenta SizeSmall EndFont MultiPar false OptionalArgs 1 Preamble \RequirePackage{pdfcomment} EndPreamble End InsetLayout PDF-Margin LyXType custom LabelString PDF LatexType command Decorationclassic LatexName pdfmargincomment LabelFont Color green SizeSmall EndFont MultiPar false OptionalArgs 1 Preamble \RequirePackage{pdfcomment} EndPreamble End
LyX install problem
LyX configure does not see LaTeX2e. Ideas? Installed (on Win2KSP4): LyX 1.6.0, MiKTeX 2.7 (everything), JabRef 2.4.2, ImageMagick 6.4.6, Ghostscript 8.6.3, and GSview 4.9. Here is configure.log: configure: TeX engine needs windows-style paths in latex files checking for DVI to DTL converter... +checking for dv2dt... yes checking for DTL to DVI converter... +checking for dt2dv... yes checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... yes checking for pLaTeX, the Japanese LaTeX... +checking for platex... yes Latex not usable (not LaTeX2e) checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no +checking for jfig3-itext.jar... no +checking for jfig3.jar... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... yes checking for a BibTeX editor... +checking for sensible-editor... no +checking for jabref... yes checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... no +checking for kdvi... no checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for swriter... no +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... yes checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for oolatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a RTF - HTML converter... +checking for unrtf... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... no checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... yes checking for an EMF - EPS converter... +checking for metafile2eps... yes checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 2.x (DocBook) or db2x scripts...
Re: Find and Replace math
Hi Tommaso, Thanks for your mail, and for the time you spent writing it! LyX is really a good tool for me, especially because I have horrible/unorganized writing. So, I actually work-out all the math directly with LyX. What I liked about your video was that I could find and replace math. Sometimes/many times, I change my mind and decide to call a parameter with a different name. But LyX 1.6 doesn't seem to be able (yet) to do it. I have no problems with actual text, just the math. Is it true, like others on the forum had said, that this feature will be incorporated into LyX 2 ver? I hope so. This is the main reason why I need to export, then find and replace. So, thanks for your mail, Regards, Erez On Fri, Dec 5, 2008 at 2:58 PM, Cucinotta Tommaso [EMAIL PROTECTED]wrote: On Wed, 3 Dec 2008 21:57:33 + Erez Yerushalmi [EMAIL PROTECTED] wrote: Hi JMarc, Thanks for your answer! Is it you in youtube??? :-) Actually, it's me, hope you could get at least a few words out of what I say :-) The easiest option at the moment to find and replace would be to export as latex into an editor, and find and replace y_{1t} into x_{1t}. Then import it again. If you really want it, you can write a script that exports to latex, invokes your favorite text editor, then imports back to lyx. But LyX is not designed for such purpose, as pointed out by core developers, therefore the process is likely to fail because lyx cannot manage to parse all of the latex stuff that you can ever write, the tex2lyx process is lossy and non-perfectly-reversable, and you can make a mistake (most common is unmatched parenthesis or $ in maths) and then all blows up. This is the same rationale for which I like LyX how it is now, it (theoretically / ideally) does not allow you to make LaTeX mistakes, because everything you enter into LyX is syntactically correct, except if you use (at your own risk) ERT blocks. If LyX is an editor for Latex, why don't we have a special button that enables us to switch from regular LyX view to a programing editor view? Use View-Source, I use it for didactic purposes, while writing pure LaTeX with Emacs, when I can't remember how you can do certain constructs. Then, I would find and replace like I will do now in a programming editor. ... and you would end up into the usual compilation errors that you are so accustomed to (see above) ... I don't think that editing a text file should imply being an expert of any syntax but it's just a view of the world ... Another side benefit would be that it actually helps us to understand what underlying latex commands were actually used in LyX, which would bring me back to the basics, closer to the LyX/Latex idea. View-Source again, here What do you say?? As of the current code status, it would not be too difficult to incorporate a replace option, where you could be able to enter the text to replace in yet another LyX-enabled WorkArea: the matching text is already selected, so it is just a matter of cutting it from the document (I'm sure there is some LFUN for that), plus pasting the replacement text like if we were pasting from the clipboard (I'm sure there should be some LFUN for doing almost this as well). As a quick hack, one could temporarily copy the replacement text into the clipboard, just to get fast to a proof of concept. Actually, some people would love to redesign the entire feature (including myself), but nobody has time, so maybe I'll work to the quick hack for the replace, one of these days, maybe while flying ... ... replacing with regexp-enabled for back-references may be more complex to realise ... My 2 cents, T. -- Erez Yerushalmi PhD Student Warwick University, UK http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
Re: Find and Replace math
I must admit that I haven't followed this thread much, so take this for what it's worth. When doing a find/replace on math entries, I simply open the original LyX document in a text editor and then do a search/replace as appropriate. Then re-open in LyX. This works much better than export to LaTeX and re-import to LyX since that often produces many ERT boxes... However, using this approach, one should back up your original LyX document in case you accidentally break it when editing externally. James On Dec 6, 2008, at 7:23 AM, Erez Yerushalmi wrote: Hi Tommaso, Thanks for your mail, and for the time you spent writing it! LyX is really a good tool for me, especially because I have horrible/unorganized writing. So, I actually work-out all the math directly with LyX. What I liked about your video was that I could find and replace math. Sometimes/many times, I change my mind and decide to call a parameter with a different name. But LyX 1.6 doesn't seem to be able (yet) to do it. I have no problems with actual text, just the math. Is it true, like others on the forum had said, that this feature will be incorporated into LyX 2 ver? I hope so. This is the main reason why I need to export, then find and replace. So, thanks for your mail, Regards, Erez On Fri, Dec 5, 2008 at 2:58 PM, Cucinotta Tommaso [EMAIL PROTECTED]wrote: On Wed, 3 Dec 2008 21:57:33 + Erez Yerushalmi [EMAIL PROTECTED] wrote: Hi JMarc, Thanks for your answer! Is it you in youtube??? :-) Actually, it's me, hope you could get at least a few words out of what I say :-) The easiest option at the moment to find and replace would be to export as latex into an editor, and find and replace y_{1t} into x_{1t}. Then import it again. If you really want it, you can write a script that exports to latex, invokes your favorite text editor, then imports back to lyx. But LyX is not designed for such purpose, as pointed out by core developers, therefore the process is likely to fail because lyx cannot manage to parse all of the latex stuff that you can ever write, the tex2lyx process is lossy and non-perfectly-reversable, and you can make a mistake (most common is unmatched parenthesis or $ in maths) and then all blows up. This is the same rationale for which I like LyX how it is now, it (theoretically / ideally) does not allow you to make LaTeX mistakes, because everything you enter into LyX is syntactically correct, except if you use (at your own risk) ERT blocks. If LyX is an editor for Latex, why don't we have a special button that enables us to switch from regular LyX view to a programing editor view? Use View-Source, I use it for didactic purposes, while writing pure LaTeX with Emacs, when I can't remember how you can do certain constructs. Then, I would find and replace like I will do now in a programming editor. ... and you would end up into the usual compilation errors that you are so accustomed to (see above) ... I don't think that editing a text file should imply being an expert of any syntax but it's just a view of the world ... Another side benefit would be that it actually helps us to understand what underlying latex commands were actually used in LyX, which would bring me back to the basics, closer to the LyX/Latex idea. View-Source again, here What do you say?? As of the current code status, it would not be too difficult to incorporate a replace option, where you could be able to enter the text to replace in yet another LyX-enabled WorkArea: the matching text is already selected, so it is just a matter of cutting it from the document (I'm sure there is some LFUN for that), plus pasting the replacement text like if we were pasting from the clipboard (I'm sure there should be some LFUN for doing almost this as well). As a quick hack, one could temporarily copy the replacement text into the clipboard, just to get fast to a proof of concept. Actually, some people would love to redesign the entire feature (including myself), but nobody has time, so maybe I'll work to the quick hack for the replace, one of these days, maybe while flying ... ... replacing with regexp-enabled for back-references may be more complex to realise ... My 2 cents, T. -- Erez Yerushalmi PhD Student Warwick University, UK http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
Re: Find and Replace math
Am 06.12.2008 um 15:23 schrieb Erez Yerushalmi: Hi Tommaso, Thanks for your mail, and for the time you spent writing it! LyX is really a good tool for me, especially because I have horrible/unorganized writing. So, I actually work-out all the math directly with LyX. What I liked about your video was that I could find and replace math. Sometimes/many times, I change my mind and decide to call a parameter with a different name. But LyX 1.6 doesn't seem to be able (yet) to do it. I have no problems with actual text, just the math. You know math macros? It's exactly for this kind of thing when you do not know the final notation yet. You can insert a math macro definition using the \foo := button the extra-toolbar, and insert an instance using \yourmacroname in the math editor. Stefan
How to use dblfloatfix or stfloats style in LyX?
Dear LyX users, I would like to use LyX to typeset a 2 column document. I have found a latex style to put a float figure in the document, i.e. dblfloatfix or stfloats. But, I didn't find any documentation regarding to those styles/macros. Could anyone here share to me the experience to use those macros? Thank you very much for your kind attention and help. Regards, Wayan --- Dr. I Wayan WARMADA Laboratory of Mineral Resources Department of Geological Engineering Faculty of Engineering, Gadjah Mada University Jl. Grafika 2 Yogyakarta 55281 - INDONESIA
Unable to generate nomenclatures
Hi, I am trying to include a nomenclature section but have had no success. I followed the instructions in the UG by defining nomenclature entries after keywords and inserting the Nomenclature list at the end of the document. I did something similar for the index list. The index list shows up whereas the nomenclature does not. The LyX UG also has a nomenclature list insert command at the end between bibliography 2 and Index but it shows no nomenclature, possibly because no entries have been defined. So it doesn't seem to contain examples. Can someone point out if I am doing something wrong? I am using LyX 1.6.0. I am attaching a very small test document where I performed the above tests. \usepackage{nomencl} does appear in my latex export of this file. I do have the package nomencl.sty installed on my system. nomeclature-expt.lyx Description: application/lyx
How to add more beamer themes?
Hi all I am using LyX 1.6 under Vista, and I wondering how can I add more beamer themes? I am really interested in the Trondheim theme. It's distribution came with diferent files, but I don't know where I have to put it to LyX recognize it. Can anybody help me to do that? -- CdeB
Re: LyX install problem
D Martens wrote: LyX configure does not see LaTeX2e. Ideas? Actually, I think it does see it: note the lines checking for a Latex2e program... +checking for latex... yes Is the problem that you have no text classes available? If so, someone else ran into this recently. We couldn't figure out what the problem was, but he uninstalled/reinstalled both LyX 1.6.0 and MiKTeX 2.7, and that did the trick. The bit about manpage.layout being borked still occurred, in his case, but it is harmless (unless you want to use LyX to write man pages, I suppose). /Paul
Re: How to add more beamer themes?
Christian Bustamante wrote: Hi all I am using LyX 1.6 under Vista, and I wondering how can I add more beamer themes? I am really interested in the Trondheim theme. It's distribution came with diferent files, but I don't know where I have to put it to LyX recognize it. Can anybody help me to do that? The first step is to locate your local texmf tree. This moved between MiKTeX 2.6 and 2.7. If you're not sure where it is, run the MiKTeX Settings application and switch to the Roots tab. In 2.7, look for a path that doesn't have a description (such as C:\Local TeX Files). In 2.6, it was usually under ...\Application Data, I think. Once you've found it, navigate to it in Windows Explorer and create the path local root\tex\latex\beamer. Install your new theme(s) in there. Then, in General tab of the MiKTeX Settings app, click Refresh FNDB. Once that's done, you should be able to use the themes from LyX. Note that if LyX already knows you have beamer installed (the beamer layout is available), you do not need to reconfigure LyX when you add themes. You just need MiKTeX to know where to find them. /Paul
Re: How to add more beamer themes?
That works great. Thanks a lot Paul. Bests -- CdeB
Sections and subsections with the same color in the TOC of Beamer
Dear All, How can one force subsections to be written, in the TOC of a Beamer presentation, in the same way sections are written colorwise? Thanks in advance, Paul
Feature request: Insert-TODO
Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert-Note-Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a TODO string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj
LyX v1.6.0 does not let me ignore latex errors/warnings and continue past them
hi all, When performing a DVI build, sometimes I get latex errors. On the command line, latex gives me the option of simply pressing Enter and attempting to continue and in many cases it gives me the desired result. In LyX v1.6.0 I get a message box with all the latex errors/warnings so it looks like LyX got the latex backend to continue past these errors but it does not update the DVI. So it seems like LyX is aborting the DVI update. Is there any way to instruct LyX to go ahead with the DVI build unless latex itself dies in the process? Manoj
Re: Showing LyX Notes in output
On 2008-12-05, baseliner wrote: Hi - is there a way to show LyX Notes in the output? No, this is why it is a *LyX* Note. I want to highlight certain things (and make some annotations) that show up in the output to a collaborator ... and am looking for a good way to do this. Set up a branch in DocumentSettingsBranches. You can set the background colour and toggle the printing/hiding in the output. Instead of Notes, use Branch insets (InsertBranch) which take any content (and style). (So, what is needed might only be an easy conversion of notes to branches and vice versa... Günter
change TOC header
Is it possible to modify the TOC title which appears in the pdf (for example, I would like to have table of contents instead of simply contents)? Thanks in advance for your answer!
Re: Sections and subsections with the same color in the TOC of Beamer
Paul Smith wrote: Dear All, How can one force subsections to be written, in the TOC of a Beamer presentation, in the same way sections are written colorwise? Look under DocumentSettingsNumbering and TOC. rh
Re: Feature request: Insert-TODO
I use margin notes for this purpose. The string (TODO in your case) is easily searchable to find the next item. Sent from my iPhone On Dec 6, 2008, at 1:56 PM, Manoj Rajagopalan [EMAIL PROTECTED] wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert-Note-Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a TODO string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj
Re: Sections and subsections with the same color in the TOC of Beamer
On Sat, Dec 6, 2008 at 9:38 PM, rgheck [EMAIL PROTECTED] wrote: How can one force subsections to be written, in the TOC of a Beamer presentation, in the same way sections are written colorwise? Look under DocumentSettingsNumbering and TOC. Thanks, but there nothing in DocumentSettingsNumbering and TOC to set the color of the subsections in the TOC. Paul
Re: Feature request: Insert-TODO
Margin notes appear in the final output though. Won't it be nice to have a clean output with annotations like TODO only in the LyX source? A. Scottedward Hodel wrote: I use margin notes for this purpose. The string (TODO in your case) is easily searchable to find the next item. Sent from my iPhone On Dec 6, 2008, at 1:56 PM, Manoj Rajagopalan [EMAIL PROTECTED] wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert-Note-Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a TODO string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj
Referencing common footnote?
hi all, The user guide points out how to insert a footnote but I can't figure out how to reference the same footnote from two different locations. Is there a better way than to create a label (in a new category) and insert a reference to it formatting it as a superscript? Thanks, Manoj Rajagopalan
Re: Feature request: Insert-TODO
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg68906.html Manoj Rajagopalan wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert-Note-Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a TODO string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj -- Nick Bell 4F2, 1 Royston Terrace Edinburgh EH3 5QU Home 0131 552 1682 Work 0131 537 2417 Mobile 0796 764 8984 [EMAIL PROTECTED]
Let Lyx support Xetex, especially for international users
I found a way to let Lyx support Xetex. Note: The method is for windows user Firstly: close Lyx if it runs. secondly: Find the file C:\Program Files\LyX16\Resources\lyxrc.dist and Add the two lines at the end of this file. \format pdf4 pdf PDF (xelatex) document,vector \converter pdflatex pdf4 xelatex $$i latex Then, reopen Lyx, you will see a menu item view-pdf(xetex). thirdly: Open the file C:\Program Files\LyX16\Resources\ui\stdtoolbars.inc Find the text string: Toolbar view/update View/Update, and add three lines below this string. Separator Item View PDF (xelatex) buffer-view pdf4 Item Update PDF (xelatex) buffer-update pdf4 Then, reopen Lyx, you will see there are extra buttons support for compiling using Xetex.
help: xfig and lyx1.5.4 on windows
Hi, I am using lyx1.5.4 on windows XP. I want to have a figure with greek symbols, so I tried including xfig file directly as external document. The problem is when I try and compile it gives:- An error occurred whilst running python -tt C:/program Files/LyX15/Resource/scrip on clicking the ok option message appears:- An empty file was generated then it says:- Latex Error File 1D_Work_Presentation_Fig_ch12.pstex_t not found. It is to be noted that I am including file ch12.fig while is in D:/Work/Presentation/Fig. Any help will be deeply appreciated. Regards Subir
weird \mathrm error
hi all I'm getting this strange \mathrm allowed only in math mode when my appendix chapters contain equation arrays. This is a latex error and also happens when I export to latex and run latex on the file. Would someone be familiar with cases when this comes up? I ran chktex on my latex file but I got only warnings, no errors. So I'm guessing a mismatched '$' is not the cause. Thanks, Manoj
Re: how to use others fonts
Marcelo Acuña wrote: I found in the TexLive distribution in my computer with linux several fonts. How I can to use it? If these are traditional TeX fonts (i.e. Type1 fonts with TeX metrics), you usually load them in the preamble by either loading a specific package, e.g. \usepackage{xagaramon} or by redefining the shapes, e.g. \renewcommand{\rmdefault}{pmnj} The correct procedure for a given font is usually described in the font's documentation. In LyX's font dialog, set the font to Default (although any other choice won't harm either). Jürgen
Re: Feature request: parent-child document clash resolution
James Sutherland wrote: Interesting. I have not had a problem with settings in parent/child documents. When I compile the parent document, its settings trump any changes in the children. When compiling the child document alone, its settings are respected... I am currently running 1.6. Yes, this is how it is supposed to work, actually. Jürgen
Re: Showing LyX Notes in output
Manveru wrote: Hi - is there a way to show LyX Notes in the output? I want to highlight certain things (and make some annotations) that show up in the output to a collaborator who does not use LyX (older generation Word person) and am looking for a good way to do this.. the Note option seems to be what I want but it doesn't show up in the output dvi/pdf. Greyed Out does but it's a bit too passive... any ideas? Thanks! It would be really nice to have possibility putting LyX notes into PDF notes... but we can only dream about it. Here's something along this line. The module provides a new PDF-comment inset that puts annotations into the PDF document. It relies on this (not yet officially released) package: http://latex.josef-kleber.de/download/pdfcomment.sty An alternative method is described in this thread: http://marc.info/?l=lyx-usersm=122702141306514w=2 Jürgen #\DeclareLyXModule{PDF comments} #DescriptionBegin #Inserts annotations to the PDF file. #DescriptionEnd # Author: Juergen Spitzmueller [EMAIL PROTECTED] Format 11 InsetLayout PDF-Annotation LyXType custom LabelString PDF LatexType command LatexName pdfcomment Decorationclassic LabelFont Color magenta SizeSmall EndFont MultiPar false OptionalArgs 1 Preamble \RequirePackage{pdfcomment} EndPreamble End InsetLayout PDF-Margin LyXType custom LabelString PDF LatexType command Decorationclassic LatexName pdfmargincomment LabelFont Color green SizeSmall EndFont MultiPar false OptionalArgs 1 Preamble \RequirePackage{pdfcomment} EndPreamble End
LyX install problem
LyX configure does not see LaTeX2e. Ideas? Installed (on Win2KSP4): LyX 1.6.0, MiKTeX 2.7 (everything), JabRef 2.4.2, ImageMagick 6.4.6, Ghostscript 8.6.3, and GSview 4.9. Here is configure.log: configure: TeX engine needs windows-style paths in latex files checking for DVI to DTL converter... +checking for dv2dt... yes checking for DTL to DVI converter... +checking for dt2dv... yes checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... yes checking for pLaTeX, the Japanese LaTeX... +checking for platex... yes Latex not usable (not LaTeX2e) checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no +checking for jfig3-itext.jar... no +checking for jfig3.jar... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... yes checking for a BibTeX editor... +checking for sensible-editor... no +checking for jabref... yes checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... no +checking for kdvi... no checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for swriter... no +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... yes checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for oolatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a RTF - HTML converter... +checking for unrtf... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... no checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... yes checking for an EMF - EPS converter... +checking for metafile2eps... yes checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 2.x (DocBook) or db2x scripts...
Re: Find and Replace math
Hi Tommaso, Thanks for your mail, and for the time you spent writing it! LyX is really a good tool for me, especially because I have horrible/unorganized writing. So, I actually work-out all the math directly with LyX. What I liked about your video was that I could find and replace math. Sometimes/many times, I change my mind and decide to call a parameter with a different name. But LyX 1.6 doesn't seem to be able (yet) to do it. I have no problems with actual text, just the math. Is it true, like others on the forum had said, that this feature will be incorporated into LyX 2 ver? I hope so. This is the main reason why I need to export, then find and replace. So, thanks for your mail, Regards, Erez On Fri, Dec 5, 2008 at 2:58 PM, Cucinotta Tommaso [EMAIL PROTECTED]wrote: On Wed, 3 Dec 2008 21:57:33 + Erez Yerushalmi [EMAIL PROTECTED] wrote: Hi JMarc, Thanks for your answer! Is it you in youtube??? :-) Actually, it's me, hope you could get at least a few words out of what I say :-) The easiest option at the moment to find and replace would be to export as latex into an editor, and find and replace y_{1t} into x_{1t}. Then import it again. If you really want it, you can write a script that exports to latex, invokes your favorite text editor, then imports back to lyx. But LyX is not designed for such purpose, as pointed out by core developers, therefore the process is likely to fail because lyx cannot manage to parse all of the latex stuff that you can ever write, the tex2lyx process is lossy and non-perfectly-reversable, and you can make a mistake (most common is unmatched parenthesis or $ in maths) and then all blows up. This is the same rationale for which I like LyX how it is now, it (theoretically / ideally) does not allow you to make LaTeX mistakes, because everything you enter into LyX is syntactically correct, except if you use (at your own risk) ERT blocks. If LyX is an editor for Latex, why don't we have a special button that enables us to switch from regular LyX view to a programing editor view? Use View-Source, I use it for didactic purposes, while writing pure LaTeX with Emacs, when I can't remember how you can do certain constructs. Then, I would find and replace like I will do now in a programming editor. ... and you would end up into the usual compilation errors that you are so accustomed to (see above) ... I don't think that editing a text file should imply being an expert of any syntax but it's just a view of the world ... Another side benefit would be that it actually helps us to understand what underlying latex commands were actually used in LyX, which would bring me back to the basics, closer to the LyX/Latex idea. View-Source again, here What do you say?? As of the current code status, it would not be too difficult to incorporate a replace option, where you could be able to enter the text to replace in yet another LyX-enabled WorkArea: the matching text is already selected, so it is just a matter of cutting it from the document (I'm sure there is some LFUN for that), plus pasting the replacement text like if we were pasting from the clipboard (I'm sure there should be some LFUN for doing almost this as well). As a quick hack, one could temporarily copy the replacement text into the clipboard, just to get fast to a proof of concept. Actually, some people would love to redesign the entire feature (including myself), but nobody has time, so maybe I'll work to the quick hack for the replace, one of these days, maybe while flying ... ... replacing with regexp-enabled for back-references may be more complex to realise ... My 2 cents, T. -- Erez Yerushalmi PhD Student Warwick University, UK http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
Re: Find and Replace math
I must admit that I haven't followed this thread much, so take this for what it's worth. When doing a find/replace on math entries, I simply open the original LyX document in a text editor and then do a search/replace as appropriate. Then re-open in LyX. This works much better than export to LaTeX and re-import to LyX since that often produces many ERT boxes... However, using this approach, one should back up your original LyX document in case you accidentally break it when editing externally. James On Dec 6, 2008, at 7:23 AM, Erez Yerushalmi wrote: Hi Tommaso, Thanks for your mail, and for the time you spent writing it! LyX is really a good tool for me, especially because I have horrible/unorganized writing. So, I actually work-out all the math directly with LyX. What I liked about your video was that I could find and replace math. Sometimes/many times, I change my mind and decide to call a parameter with a different name. But LyX 1.6 doesn't seem to be able (yet) to do it. I have no problems with actual text, just the math. Is it true, like others on the forum had said, that this feature will be incorporated into LyX 2 ver? I hope so. This is the main reason why I need to export, then find and replace. So, thanks for your mail, Regards, Erez On Fri, Dec 5, 2008 at 2:58 PM, Cucinotta Tommaso [EMAIL PROTECTED]wrote: On Wed, 3 Dec 2008 21:57:33 + Erez Yerushalmi [EMAIL PROTECTED] wrote: Hi JMarc, Thanks for your answer! Is it you in youtube??? :-) Actually, it's me, hope you could get at least a few words out of what I say :-) The easiest option at the moment to find and replace would be to export as latex into an editor, and find and replace y_{1t} into x_{1t}. Then import it again. If you really want it, you can write a script that exports to latex, invokes your favorite text editor, then imports back to lyx. But LyX is not designed for such purpose, as pointed out by core developers, therefore the process is likely to fail because lyx cannot manage to parse all of the latex stuff that you can ever write, the tex2lyx process is lossy and non-perfectly-reversable, and you can make a mistake (most common is unmatched parenthesis or $ in maths) and then all blows up. This is the same rationale for which I like LyX how it is now, it (theoretically / ideally) does not allow you to make LaTeX mistakes, because everything you enter into LyX is syntactically correct, except if you use (at your own risk) ERT blocks. If LyX is an editor for Latex, why don't we have a special button that enables us to switch from regular LyX view to a programing editor view? Use View-Source, I use it for didactic purposes, while writing pure LaTeX with Emacs, when I can't remember how you can do certain constructs. Then, I would find and replace like I will do now in a programming editor. ... and you would end up into the usual compilation errors that you are so accustomed to (see above) ... I don't think that editing a text file should imply being an expert of any syntax but it's just a view of the world ... Another side benefit would be that it actually helps us to understand what underlying latex commands were actually used in LyX, which would bring me back to the basics, closer to the LyX/Latex idea. View-Source again, here What do you say?? As of the current code status, it would not be too difficult to incorporate a replace option, where you could be able to enter the text to replace in yet another LyX-enabled WorkArea: the matching text is already selected, so it is just a matter of cutting it from the document (I'm sure there is some LFUN for that), plus pasting the replacement text like if we were pasting from the clipboard (I'm sure there should be some LFUN for doing almost this as well). As a quick hack, one could temporarily copy the replacement text into the clipboard, just to get fast to a proof of concept. Actually, some people would love to redesign the entire feature (including myself), but nobody has time, so maybe I'll work to the quick hack for the replace, one of these days, maybe while flying ... ... replacing with regexp-enabled for back-references may be more complex to realise ... My 2 cents, T. -- Erez Yerushalmi PhD Student Warwick University, UK http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
Re: Find and Replace math
Am 06.12.2008 um 15:23 schrieb Erez Yerushalmi: Hi Tommaso, Thanks for your mail, and for the time you spent writing it! LyX is really a good tool for me, especially because I have horrible/unorganized writing. So, I actually work-out all the math directly with LyX. What I liked about your video was that I could find and replace math. Sometimes/many times, I change my mind and decide to call a parameter with a different name. But LyX 1.6 doesn't seem to be able (yet) to do it. I have no problems with actual text, just the math. You know math macros? It's exactly for this kind of thing when you do not know the final notation yet. You can insert a math macro definition using the \foo := button the extra-toolbar, and insert an instance using \yourmacroname in the math editor. Stefan
How to use dblfloatfix or stfloats style in LyX?
Dear LyX users, I would like to use LyX to typeset a 2 column document. I have found a latex style to put a float figure in the document, i.e. dblfloatfix or stfloats. But, I didn't find any documentation regarding to those styles/macros. Could anyone here share to me the experience to use those macros? Thank you very much for your kind attention and help. Regards, Wayan --- Dr. I Wayan WARMADA Laboratory of Mineral Resources Department of Geological Engineering Faculty of Engineering, Gadjah Mada University Jl. Grafika 2 Yogyakarta 55281 - INDONESIA
Unable to generate nomenclatures
Hi, I am trying to include a nomenclature section but have had no success. I followed the instructions in the UG by defining nomenclature entries after keywords and inserting the Nomenclature list at the end of the document. I did something similar for the index list. The index list shows up whereas the nomenclature does not. The LyX UG also has a nomenclature list insert command at the end between bibliography 2 and Index but it shows no nomenclature, possibly because no entries have been defined. So it doesn't seem to contain examples. Can someone point out if I am doing something wrong? I am using LyX 1.6.0. I am attaching a very small test document where I performed the above tests. \usepackage{nomencl} does appear in my latex export of this file. I do have the package nomencl.sty installed on my system. nomeclature-expt.lyx Description: application/lyx
How to add more beamer themes?
Hi all I am using LyX 1.6 under Vista, and I wondering how can I add more beamer themes? I am really interested in the Trondheim theme. It's distribution came with diferent files, but I don't know where I have to put it to LyX recognize it. Can anybody help me to do that? -- CdeB
Re: LyX install problem
D Martens wrote: LyX configure does not see LaTeX2e. Ideas? Actually, I think it does see it: note the lines checking for a Latex2e program... +checking for latex... yes Is the problem that you have no text classes available? If so, someone else ran into this recently. We couldn't figure out what the problem was, but he uninstalled/reinstalled both LyX 1.6.0 and MiKTeX 2.7, and that did the trick. The bit about manpage.layout being borked still occurred, in his case, but it is harmless (unless you want to use LyX to write man pages, I suppose). /Paul
Re: How to add more beamer themes?
Christian Bustamante wrote: Hi all I am using LyX 1.6 under Vista, and I wondering how can I add more beamer themes? I am really interested in the Trondheim theme. It's distribution came with diferent files, but I don't know where I have to put it to LyX recognize it. Can anybody help me to do that? The first step is to locate your local texmf tree. This moved between MiKTeX 2.6 and 2.7. If you're not sure where it is, run the MiKTeX Settings application and switch to the Roots tab. In 2.7, look for a path that doesn't have a description (such as C:\Local TeX Files). In 2.6, it was usually under ...\Application Data, I think. Once you've found it, navigate to it in Windows Explorer and create the path local root\tex\latex\beamer. Install your new theme(s) in there. Then, in General tab of the MiKTeX Settings app, click Refresh FNDB. Once that's done, you should be able to use the themes from LyX. Note that if LyX already knows you have beamer installed (the beamer layout is available), you do not need to reconfigure LyX when you add themes. You just need MiKTeX to know where to find them. /Paul
Re: How to add more beamer themes?
That works great. Thanks a lot Paul. Bests -- CdeB
Sections and subsections with the same color in the TOC of Beamer
Dear All, How can one force subsections to be written, in the TOC of a Beamer presentation, in the same way sections are written colorwise? Thanks in advance, Paul
Feature request: Insert-TODO
Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert-Note-Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a TODO string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj
LyX v1.6.0 does not let me ignore latex errors/warnings and continue past them
hi all, When performing a DVI build, sometimes I get latex errors. On the command line, latex gives me the option of simply pressing Enter and attempting to continue and in many cases it gives me the desired result. In LyX v1.6.0 I get a message box with all the latex errors/warnings so it looks like LyX got the latex backend to continue past these errors but it does not update the DVI. So it seems like LyX is aborting the DVI update. Is there any way to instruct LyX to go ahead with the DVI build unless latex itself dies in the process? Manoj
Re: Showing LyX Notes in output
On 2008-12-05, baseliner wrote: Hi - is there a way to show LyX Notes in the output? No, this is why it is a *LyX* Note. I want to highlight certain things (and make some annotations) that show up in the output to a collaborator ... and am looking for a good way to do this. Set up a branch in DocumentSettingsBranches. You can set the background colour and toggle the printing/hiding in the output. Instead of Notes, use Branch insets (InsertBranch) which take any content (and style). (So, what is needed might only be an easy conversion of notes to branches and vice versa... Günter
change TOC header
Is it possible to modify the TOC title which appears in the pdf (for example, I would like to have table of contents instead of simply contents)? Thanks in advance for your answer!
Re: Sections and subsections with the same color in the TOC of Beamer
Paul Smith wrote: Dear All, How can one force subsections to be written, in the TOC of a Beamer presentation, in the same way sections are written colorwise? Look under DocumentSettingsNumbering and TOC. rh
Re: Feature request: Insert-TODO
I use margin notes for this purpose. The string (TODO in your case) is easily searchable to find the next item. Sent from my iPhone On Dec 6, 2008, at 1:56 PM, Manoj Rajagopalan [EMAIL PROTECTED] wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert-Note-Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a TODO string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj
Re: Sections and subsections with the same color in the TOC of Beamer
On Sat, Dec 6, 2008 at 9:38 PM, rgheck [EMAIL PROTECTED] wrote: How can one force subsections to be written, in the TOC of a Beamer presentation, in the same way sections are written colorwise? Look under DocumentSettingsNumbering and TOC. Thanks, but there nothing in DocumentSettingsNumbering and TOC to set the color of the subsections in the TOC. Paul
Re: Feature request: Insert-TODO
Margin notes appear in the final output though. Won't it be nice to have a clean output with annotations like TODO only in the LyX source? A. Scottedward Hodel wrote: I use margin notes for this purpose. The string (TODO in your case) is easily searchable to find the next item. Sent from my iPhone On Dec 6, 2008, at 1:56 PM, Manoj Rajagopalan [EMAIL PROTECTED] wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert-Note-Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a TODO string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj
Referencing common footnote?
hi all, The user guide points out how to insert a footnote but I can't figure out how to reference the same footnote from two different locations. Is there a better way than to create a label (in a new category) and insert a reference to it formatting it as a superscript? Thanks, Manoj Rajagopalan
Re: Feature request: Insert-TODO
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg68906.html Manoj Rajagopalan wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert-Note-Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a TODO string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj -- Nick Bell 4F2, 1 Royston Terrace Edinburgh EH3 5QU Home 0131 552 1682 Work 0131 537 2417 Mobile 0796 764 8984 [EMAIL PROTECTED]
Let Lyx support Xetex, especially for international users
I found a way to let Lyx support Xetex. Note: The method is for windows user Firstly: close Lyx if it runs. secondly: Find the file C:\Program Files\LyX16\Resources\lyxrc.dist and Add the two lines at the end of this file. \format pdf4 pdf PDF (xelatex) document,vector \converter pdflatex pdf4 xelatex $$i latex Then, reopen Lyx, you will see a menu item view-pdf(xetex). thirdly: Open the file C:\Program Files\LyX16\Resources\ui\stdtoolbars.inc Find the text string: Toolbar view/update View/Update, and add three lines below this string. Separator Item View PDF (xelatex) buffer-view pdf4 Item Update PDF (xelatex) buffer-update pdf4 Then, reopen Lyx, you will see there are extra buttons support for compiling using Xetex.
help: xfig and lyx1.5.4 on windows
Hi, I am using lyx1.5.4 on windows XP. I want to have a figure with greek symbols, so I tried including xfig file directly as external document. The problem is when I try and compile it gives:- An error occurred whilst running python -tt C:/program Files/LyX15/Resource/scrip on clicking the ok option message appears:- An empty file was generated then it says:- Latex Error File 1D_Work_Presentation_Fig_ch12.pstex_t not found. It is to be noted that I am including file ch12.fig while is in D:/Work/Presentation/Fig. Any help will be deeply appreciated. Regards Subir
weird \mathrm error
hi all I'm getting this strange \mathrm allowed only in math mode when my appendix chapters contain equation arrays. This is a latex error and also happens when I export to latex and run latex on the file. Would someone be familiar with cases when this comes up? I ran chktex on my latex file but I got only warnings, no errors. So I'm guessing a mismatched '$' is not the cause. Thanks, Manoj
Re: how to use others fonts
Marcelo Acuña wrote: > I found in the TexLive distribution in my computer with linux several > fonts. How I can to use it? If these are "traditional" TeX fonts (i.e. Type1 fonts with TeX metrics), you usually load them in the preamble by either loading a specific package, e.g. \usepackage{xagaramon} or by redefining the shapes, e.g. \renewcommand{\rmdefault}{pmnj} The correct procedure for a given font is usually described in the font's documentation. In LyX's font dialog, set the font to "Default" (although any other choice won't harm either). Jürgen
Re: Feature request: parent-child document clash resolution
James Sutherland wrote: > Interesting. I have not had a problem with settings in parent/child > documents. When I compile the parent document, its settings trump any > changes in the children. When compiling the child document alone, its > settings are respected... I am currently running 1.6. Yes, this is how it is supposed to work, actually. Jürgen
Re: Showing LyX Notes in output
Manveru wrote: > > Hi - is there a way to show LyX Notes in the output? I want to highlight > > certain things (and make some annotations) that show up in the output to > > a collaborator who does not use LyX (older generation Word person) and am > > looking for a good way to do this.. the Note option seems to be what I > > want but it doesn't show up in the output dvi/pdf. Greyed Out does but > > it's a bit too passive... any ideas? Thanks! > > It would be really nice to have possibility putting LyX notes into PDF > notes... but we can only dream about it. Here's something along this line. The module provides a new PDF-comment inset that puts annotations into the PDF document. It relies on this (not yet officially released) package: http://latex.josef-kleber.de/download/pdfcomment.sty An alternative method is described in this thread: http://marc.info/?l=lyx-users=122702141306514=2 Jürgen #\DeclareLyXModule{PDF comments} #DescriptionBegin #Inserts annotations to the PDF file. #DescriptionEnd # Author: Juergen Spitzmueller <[EMAIL PROTECTED]> Format 11 InsetLayout PDF-Annotation LyXType custom LabelString PDF LatexType command LatexName pdfcomment Decorationclassic LabelFont Color magenta SizeSmall EndFont MultiPar false OptionalArgs 1 Preamble \RequirePackage{pdfcomment} EndPreamble End InsetLayout PDF-Margin LyXType custom LabelString PDF LatexType command Decorationclassic LatexName pdfmargincomment LabelFont Color green SizeSmall EndFont MultiPar false OptionalArgs 1 Preamble \RequirePackage{pdfcomment} EndPreamble End
LyX install problem
LyX configure does not see LaTeX2e. Ideas? Installed (on Win2KSP4): LyX 1.6.0, MiKTeX 2.7 (everything), JabRef 2.4.2, ImageMagick 6.4.6, Ghostscript 8.6.3, and GSview 4.9. Here is configure.log: configure: TeX engine needs windows-style paths in latex files checking for DVI to DTL converter... +checking for "dv2dt"... yes checking for DTL to DVI converter... +checking for "dt2dv"... yes checking for a Latex2e program... +checking for "latex"... yes checking for a DVI postprocessing program... +checking for "pplatex"... yes checking for pLaTeX, the Japanese LaTeX... +checking for "platex"... yes Latex not usable (not LaTeX2e) checking for a Tgif viewer and editor... +checking for "tgif"... no checking for a FIG viewer and editor... +checking for "xfig"... no +checking for "jfig3-itext.jar"... no +checking for "jfig3.jar"... no checking for a Grace viewer and editor... +checking for "xmgrace"... no checking for a FEN viewer and editor... +checking for "xboard"... no checking for a raster image viewer... +checking for "xv"... no +checking for "kview"... no +checking for "gimp-remote"... no +checking for "gimp"... no checking for a raster image editor... +checking for "gimp-remote"... no +checking for "gimp"... no checking for a text editor... +checking for "sensible-editor"... no +checking for "xemacs"... no +checking for "gvim"... no +checking for "kedit"... no +checking for "kwrite"... no +checking for "kate"... no +checking for "nedit"... no +checking for "gedit"... no +checking for "notepad"... yes checking for a BibTeX editor... +checking for "sensible-editor"... no +checking for "jabref"... yes checking for a Postscript previewer... +checking for "kghostview"... no +checking for "evince"... no +checking for "gv"... no +checking for "ghostview"... no checking for a PDF previewer... +checking for "kpdf"... no +checking for "evince"... no +checking for "kghostview"... no +checking for "xpdf"... no +checking for "acrobat"... no +checking for "acroread"... no +checking for "gv"... no +checking for "ghostview"... no checking for a DVI previewer... +checking for "xdvi"... no +checking for "kdvi"... no checking for an HTML previewer... +checking for "firefox"... no +checking for "mozilla"... no +checking for "netscape"... no checking for Noteedit... +checking for "noteedit"... no checking for an OpenDocument viewer... +checking for "swriter"... no +checking for "oowriter"... no checking for the pdflatex program... +checking for "pdflatex"... yes checking for a LaTeX/Noweb -> LyX converter... +checking for "tex2lyx"... yes checking for a Noweb -> LaTeX converter... +checking for "noweave"... no checking for an HTML -> LaTeX converter... +checking for "html2latex"... no +checking for "gnuhtml2latex"... no +checking for "htmltolatex"... no +checking for "java"... yes checking for an MS Word -> LaTeX converter... +checking for "wvCleanLatex"... no checking for a LaTeX -> HTML converter... +checking for "htlatex"... yes checking for a LaTeX -> MS Word converter... +checking for "htlatex"... yes checking for an OpenOffice.org -> LaTeX converter... +checking for "w2l"... no checking for an OpenDocument -> LaTeX converter... +checking for "w2l"... no checking for a LaTeX -> Open Document converter... +checking for "oolatex"... yes checking for a LaTeX -> RTF converter... +checking for "latex2rtf"... no +checking for "latex2rt"... no checking for a RTF -> HTML converter... +checking for "unrtf"... no checking for a PS to PDF converter... +checking for "ps2pdf13"... yes checking for a PS to TXT converter... +checking for "pstotext"... no checking for a PS to TXT converter... +checking for "ps2ascii"... yes checking for a PS to EPS converter... +checking for "ps2eps"... no checking for a PDF to PS converter... +checking for "pdf2ps"... yes checking for a PDF to EPS converter... +checking for "pdftops"... no checking for a DVI to TXT converter... +checking for "catdvi"... no checking for a DVI to PS converter... +checking for "dvips"... yes checking for a DVI to PDF converter... +checking for "dvipdfmx"... yes checking for dvipng... +checking for "dvipng"... yes checking for a fax program... +checking for "kdeprintfax"... no +checking for "ksendfax"... no checking for a FIG -> EPS/PPM converter... +checking for "fig2dev"... no checking for a TIFF -> PS converter... +checking for "tiff2ps"... no checking for a TGIF -> EPS/PPM converter... +checking for "tgif"... no checking for a WMF -> EPS converter... +checking for "metafile2eps"... yes checking for an EMF -> EPS converter... +checking for "metafile2eps"... yes checking for an EPS -> PDF converter... +checking for "epstopdf"... yes checking for a Grace -> Image converter... +checking for "gracebat"... no checking for a Dot -> PDF converter... +checking for "dot"... no checking for a LilyPond ->
Re: Find and Replace math
Hi Tommaso, Thanks for your mail, and for the time you spent writing it! LyX is really a good tool for me, especially because I have horrible/unorganized writing. So, I actually work-out all the math directly with LyX. What I liked about your video was that I could "find and replace" math. Sometimes/many times, I change my mind and decide to call a parameter with a different name. But LyX 1.6 doesn't seem to be able (yet) to do it. I have no problems with actual text, just the math. Is it true, like others on the forum had said, that this feature will be incorporated into LyX 2 ver? I hope so. This is the main reason why I need to export, then find and replace. So, thanks for your mail, Regards, Erez On Fri, Dec 5, 2008 at 2:58 PM, Cucinotta Tommaso <[EMAIL PROTECTED]>wrote: > On Wed, 3 Dec 2008 21:57:33 + > "Erez Yerushalmi" <[EMAIL PROTECTED]> wrote: > >> Hi JMarc, >> >> Thanks for your answer! >> Is it you in youtube??? :-) >> > > Actually, it's me, hope you could get at least a few words out of what I > say :-) > > The easiest option at the moment to find and replace would be to export as >> latex into an editor, and find and replace y_{1t} into x_{1t}. Then >> import >> it again. >> > > If you really want it, you can write a script that > exports to latex, invokes your favorite text editor, > then imports back to lyx. But LyX is not designed > for such purpose, as pointed out by core developers, > therefore the process is likely to fail because lyx cannot manage to parse > all of the latex stuff that you can ever write, the tex2lyx process is lossy > and non-perfectly-reversable, and you can make a mistake (most common is > unmatched parenthesis or $ in maths) and then all blows up. > > This is the same rationale for which I like LyX how it is now, it > (theoretically / ideally) does not allow you to make LaTeX mistakes, because > everything you enter into LyX is "syntactically correct", except if you use > (at your own risk) ERT blocks. > > If LyX is an editor for Latex, why don't we have a special button that >> enables us to switch from "regular" LyX view to a "programing" editor >> view? >> > > Use View->Source, I use it for "didactic" purposes, while writing pure > LaTeX with Emacs, when I can't remember how you can do certain constructs. > > Then, I would find and replace like I will do now in a programming editor. >> > > ... and you would end up into the usual compilation errors that you are so > accustomed to (see above) ... I don't think that editing a text file should > imply being an expert of any syntax but it's just a view of the world ... > > Another side benefit would be that it actually helps us to understand what >> underlying latex commands were actually used in LyX, which would bring me >> back to the basics, closer to the LyX/Latex idea. >> > > View->Source again, here > > What do you say?? >> > > As of the current code status, it would not be too difficult to incorporate > a "replace" option, where you could be able to enter the text to replace in > yet another LyX-enabled WorkArea: the matching text is already selected, so > it is just a matter of cutting it from the document (I'm sure there is some > LFUN for that), plus pasting the replacement text like if we were pasting > from the clipboard (I'm sure there should be some LFUN for doing almost this > as well). As a quick hack, one could temporarily copy the replacement text > into the clipboard, just to get fast to a "proof of concept". > > Actually, some people would love to redesign the entire feature (including > myself), but nobody has time, so maybe I'll work to the quick hack for the > replace, one of these days, maybe while flying ... > ... replacing with regexp-enabled for back-references may be more complex > to realise ... > > My 2 cents, > > T. > -- Erez Yerushalmi PhD Student Warwick University, UK http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
Re: Find and Replace math
I must admit that I haven't followed this thread much, so take this for what it's worth. When doing a find/replace on math entries, I simply open the original LyX document in a text editor and then do a search/replace as appropriate. Then re-open in LyX. This works much better than export to LaTeX and re-import to LyX since that often produces many ERT boxes... However, using this approach, one should back up your original LyX document in case you accidentally break it when editing externally. James On Dec 6, 2008, at 7:23 AM, Erez Yerushalmi wrote: Hi Tommaso, Thanks for your mail, and for the time you spent writing it! LyX is really a good tool for me, especially because I have horrible/unorganized writing. So, I actually work-out all the math directly with LyX. What I liked about your video was that I could "find and replace" math. Sometimes/many times, I change my mind and decide to call a parameter with a different name. But LyX 1.6 doesn't seem to be able (yet) to do it. I have no problems with actual text, just the math. Is it true, like others on the forum had said, that this feature will be incorporated into LyX 2 ver? I hope so. This is the main reason why I need to export, then find and replace. So, thanks for your mail, Regards, Erez On Fri, Dec 5, 2008 at 2:58 PM, Cucinotta Tommaso <[EMAIL PROTECTED]>wrote: On Wed, 3 Dec 2008 21:57:33 + "Erez Yerushalmi" <[EMAIL PROTECTED]> wrote: Hi JMarc, Thanks for your answer! Is it you in youtube??? :-) Actually, it's me, hope you could get at least a few words out of what I say :-) The easiest option at the moment to find and replace would be to export as latex into an editor, and find and replace y_{1t} into x_{1t}. Then import it again. If you really want it, you can write a script that exports to latex, invokes your favorite text editor, then imports back to lyx. But LyX is not designed for such purpose, as pointed out by core developers, therefore the process is likely to fail because lyx cannot manage to parse all of the latex stuff that you can ever write, the tex2lyx process is lossy and non-perfectly-reversable, and you can make a mistake (most common is unmatched parenthesis or $ in maths) and then all blows up. This is the same rationale for which I like LyX how it is now, it (theoretically / ideally) does not allow you to make LaTeX mistakes, because everything you enter into LyX is "syntactically correct", except if you use (at your own risk) ERT blocks. If LyX is an editor for Latex, why don't we have a special button that enables us to switch from "regular" LyX view to a "programing" editor view? Use View->Source, I use it for "didactic" purposes, while writing pure LaTeX with Emacs, when I can't remember how you can do certain constructs. Then, I would find and replace like I will do now in a programming editor. ... and you would end up into the usual compilation errors that you are so accustomed to (see above) ... I don't think that editing a text file should imply being an expert of any syntax but it's just a view of the world ... Another side benefit would be that it actually helps us to understand what underlying latex commands were actually used in LyX, which would bring me back to the basics, closer to the LyX/Latex idea. View->Source again, here What do you say?? As of the current code status, it would not be too difficult to incorporate a "replace" option, where you could be able to enter the text to replace in yet another LyX-enabled WorkArea: the matching text is already selected, so it is just a matter of cutting it from the document (I'm sure there is some LFUN for that), plus pasting the replacement text like if we were pasting from the clipboard (I'm sure there should be some LFUN for doing almost this as well). As a quick hack, one could temporarily copy the replacement text into the clipboard, just to get fast to a "proof of concept". Actually, some people would love to redesign the entire feature (including myself), but nobody has time, so maybe I'll work to the quick hack for the replace, one of these days, maybe while flying ... ... replacing with regexp-enabled for back-references may be more complex to realise ... My 2 cents, T. -- Erez Yerushalmi PhD Student Warwick University, UK http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
Re: Find and Replace math
Am 06.12.2008 um 15:23 schrieb Erez Yerushalmi: Hi Tommaso, Thanks for your mail, and for the time you spent writing it! LyX is really a good tool for me, especially because I have horrible/unorganized writing. So, I actually work-out all the math directly with LyX. What I liked about your video was that I could "find and replace" math. Sometimes/many times, I change my mind and decide to call a parameter with a different name. But LyX 1.6 doesn't seem to be able (yet) to do it. I have no problems with actual text, just the math. You know math macros? It's exactly for this kind of thing when you do not know the final notation yet. You can insert a math macro definition using the "\foo :=" button the extra-toolbar, and insert an instance using \yourmacroname in the math editor. Stefan
How to use dblfloatfix or stfloats style in LyX?
Dear LyX users, I would like to use LyX to typeset a 2 column document. I have found a latex style to put a float figure in the document, i.e. dblfloatfix or stfloats. But, I didn't find any documentation regarding to those styles/macros. Could anyone here share to me the experience to use those macros? Thank you very much for your kind attention and help. Regards, Wayan --- Dr. I Wayan WARMADA Laboratory of Mineral Resources Department of Geological Engineering Faculty of Engineering, Gadjah Mada University Jl. Grafika 2 Yogyakarta 55281 - INDONESIA
Unable to generate nomenclatures
Hi, I am trying to include a nomenclature section but have had no success. I followed the instructions in the UG by defining nomenclature entries after keywords and inserting the Nomenclature list at the end of the document. I did something similar for the index list. The index list shows up whereas the nomenclature does not. The LyX UG also has a nomenclature list insert command at the end between bibliography 2 and Index but it shows no nomenclature, possibly because no entries have been defined. So it doesn't seem to contain examples. Can someone point out if I am doing something wrong? I am using LyX 1.6.0. I am attaching a very small test document where I performed the above tests. \usepackage{nomencl} does appear in my latex export of this file. I do have the package nomencl.sty installed on my system. nomeclature-expt.lyx Description: application/lyx
How to add more beamer themes?
Hi all I am using LyX 1.6 under Vista, and I wondering how can I add more beamer themes? I am really interested in the Trondheim theme. It's distribution came with diferent files, but I don't know where I have to put it to LyX recognize it. Can anybody help me to do that? -- CdeB
Re: LyX install problem
D Martens wrote: LyX configure does not see LaTeX2e. Ideas? Actually, I think it does see it: note the lines checking for a Latex2e program... +checking for "latex"... yes Is the problem that you have no text classes available? If so, someone else ran into this recently. We couldn't figure out what the problem was, but he uninstalled/reinstalled both LyX 1.6.0 and MiKTeX 2.7, and that did the trick. The bit about manpage.layout being borked still occurred, in his case, but it is harmless (unless you want to use LyX to write man pages, I suppose). /Paul
Re: How to add more beamer themes?
Christian Bustamante wrote: Hi all I am using LyX 1.6 under Vista, and I wondering how can I add more beamer themes? I am really interested in the Trondheim theme. It's distribution came with diferent files, but I don't know where I have to put it to LyX recognize it. Can anybody help me to do that? The first step is to locate your local texmf tree. This moved between MiKTeX 2.6 and 2.7. If you're not sure where it is, run the MiKTeX Settings application and switch to the Roots tab. In 2.7, look for a path that doesn't have a description (such as C:\Local TeX Files). In 2.6, it was usually under ...\Application Data, I think. Once you've found it, navigate to it in Windows Explorer and create the path \tex\latex\beamer. Install your new theme(s) in there. Then, in General tab of the MiKTeX Settings app, click Refresh FNDB. Once that's done, you should be able to use the themes from LyX. Note that if LyX already knows you have beamer installed (the beamer layout is available), you do not need to reconfigure LyX when you add themes. You just need MiKTeX to know where to find them. /Paul
Re: How to add more beamer themes?
That works great. Thanks a lot Paul. Bests -- CdeB
Sections and subsections with the same color in the TOC of Beamer
Dear All, How can one force subsections to be written, in the TOC of a Beamer presentation, in the same way sections are written colorwise? Thanks in advance, Paul
Feature request: Insert->TODO
Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert->Note->Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a "TODO" string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj
LyX v1.6.0 does not let me ignore latex errors/warnings and continue past them
hi all, When performing a DVI build, sometimes I get latex errors. On the command line, latex gives me the option of simply pressing and attempting to continue and in many cases it gives me the desired result. In LyX v1.6.0 I get a message box with all the latex errors/warnings so it looks like LyX got the latex backend to continue past these errors but it does not update the DVI. So it seems like LyX is aborting the DVI update. Is there any way to instruct LyX to go ahead with the DVI build unless latex itself dies in the process? Manoj
Re: Showing LyX Notes in output
On 2008-12-05, baseliner wrote: > Hi - is there a way to show LyX Notes in the output? No, this is why it is a *LyX* Note. > I want to highlight certain things (and make some annotations) that > show up in the output to a collaborator ... >and am looking for a good way to do this. Set up a branch in Document>Settings>Branches. You can set the background colour and toggle the printing/hiding in the output. Instead of Notes, use Branch insets (Insert>Branch) which take any content (and style). (So, what is needed might only be an easy conversion of notes to branches and vice versa... Günter
change TOC header
Is it possible to modify the TOC title which appears in the pdf (for example, I would like to have "table of contents" instead of simply "contents")? Thanks in advance for your answer!
Re: Sections and subsections with the same color in the TOC of Beamer
Paul Smith wrote: Dear All, How can one force subsections to be written, in the TOC of a Beamer presentation, in the same way sections are written colorwise? Look under Document>Settings>Numbering and TOC. rh
Re: Feature request: Insert->TODO
I use margin notes for this purpose. The string (TODO in your case) is easily searchable to find the next item. Sent from my iPhone On Dec 6, 2008, at 1:56 PM, Manoj Rajagopalan <[EMAIL PROTECTED]> wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert->Note->Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a "TODO" string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj
Re: Sections and subsections with the same color in the TOC of Beamer
On Sat, Dec 6, 2008 at 9:38 PM, rgheck <[EMAIL PROTECTED]> wrote: >> How can one force subsections to be written, in the TOC of a Beamer >> presentation, in the same way sections are written colorwise? > > Look under Document>Settings>Numbering and TOC. Thanks, but there nothing in Document>Settings>Numbering and TOC to set the color of the subsections in the TOC. Paul
Re: Feature request: Insert->TODO
Margin notes appear in the final output though. Won't it be nice to have a clean output with annotations like TODO only in the LyX source? A. Scottedward Hodel wrote: I use margin notes for this purpose. The string (TODO in your case) is easily searchable to find the next item. Sent from my iPhone On Dec 6, 2008, at 1:56 PM, Manoj Rajagopalan <[EMAIL PROTECTED]> wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert->Note->Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a "TODO" string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj
Referencing common footnote?
hi all, The user guide points out how to insert a footnote but I can't figure out how to reference the same footnote from two different locations. Is there a better way than to create a label (in a new category) and insert a reference to it formatting it as a superscript? Thanks, Manoj Rajagopalan
Re: Feature request: Insert->TODO
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg68906.html Manoj Rajagopalan wrote: Hi all, It would be nice to have an insert action where we insert a TODO item. Right now I am managing with Insert->Note->Lyx Note but there is no way to view just the TODO notes in the outline list-box. I am using LyX v1.6.0 One hack to get this working now would be start each TODO note with a "TODO" string and then to use the sort option on the outline listing. The suggested feature would however be a cleaner document management provision. Thanks, Manoj -- Nick Bell 4F2, 1 Royston Terrace Edinburgh EH3 5QU Home 0131 552 1682 Work 0131 537 2417 Mobile 0796 764 8984 [EMAIL PROTECTED]
Let Lyx support Xetex, especially for international users
I found a way to let Lyx support Xetex. Note: The method is for windows user Firstly: close Lyx if it runs. secondly: Find the file "C:\Program Files\LyX16\Resources\lyxrc.dist " and Add the two lines at the end of this file. \format "pdf4" "pdf" "PDF (xelatex)" "" "" "" "document,vector" \converter "pdflatex" "pdf4" "xelatex $$i" "latex" Then, reopen Lyx, you will see a menu item "view->pdf(xetex)". thirdly: Open the file "C:\Program Files\LyX16\Resources\ui\stdtoolbars.inc " Find the text string: Toolbar "view/update" "View/Update", and add three lines below this string. Separator Item "View PDF (xelatex)" "buffer-view pdf4" Item "Update PDF (xelatex)" "buffer-update pdf4" Then, reopen Lyx, you will see there are extra buttons support for compiling using Xetex.
help: xfig and lyx1.5.4 on windows
Hi, I am using lyx1.5.4 on windows XP. I want to have a figure with greek symbols, so I tried including xfig file directly as external document. The problem is when I try and compile it gives:- An error occurred whilst running python -tt C:/program Files/LyX15/Resource/scrip on clicking the ok option message appears:- An empty file was generated then it says:- Latex Error File 1D_Work_Presentation_Fig_ch12.pstex_t not found. It is to be noted that I am including file ch12.fig while is in D:/Work/Presentation/Fig. Any help will be deeply appreciated. Regards Subir
weird \mathrm error
hi all I'm getting this strange "\mathrm allowed only in math mode" when my appendix chapters contain equation arrays. This is a latex error and also happens when I export to latex and run latex on the file. Would someone be familiar with cases when this comes up? I ran chktex on my latex file but I got only warnings, no errors. So I'm guessing a mismatched '$' is not the cause. Thanks, Manoj