Re: Small poll about svn
On Thu October 8 2009 17:50:26 Pavel Sanda wrote: hi, i have small question for people using lyx + subversion. i'm thinking about using some svn syntax from version =1.5 for new lyx commands. how big is the crowd of people still using svn 1.4 or in other words could you drop me version number of subversion you use to have some ratio? 1.6.4 vasek
Re: Small poll about svn
On Thu October 8 2009 17:50:26 Pavel Sanda wrote: hi, i have small question for people using lyx + subversion. i'm thinking about using some svn syntax from version =1.5 for new lyx commands. how big is the crowd of people still using svn 1.4 or in other words could you drop me version number of subversion you use to have some ratio? 1.6.4 vasek
Re: Small poll about svn
On Thu October 8 2009 17:50:26 Pavel Sanda wrote: > hi, > > i have small question for people using lyx + subversion. i'm thinking about > using some svn syntax from version >=1.5 for new lyx commands. how big is > the crowd of people still using svn 1.4 or in other words could you drop > me version number of subversion you use to have some ratio? 1.6.4 vasek
Re: Xfig and LyX
Hi Wolfgang, I also prefer having the fontsize in figures equal to that of the surrounding text. If the special flag was set you encountered a bug, either in xfig, fig2dev or in LyX. Otherwise just set the flag, and the text should be typeset by LaTeX. How does xfig find out the size and font I used in the document, or does it make latex take it over? To do that, you really need the special flag switched on for strings in xfig. If you did not do it in your xfig files, you can change it quite efficiently using update functionality in xfig gui, or by a script on raw xfig file format. All strings are terminated by \001 so it is easy to detect them and the special flag is just one of the numbers in front of the text. Do not remember which one, you can easily find it out by diffing two files, one with and one without the special flag. As a second step, redefine latex macro SetFigFont in the preamble: either \gdef\SetFigFont#1#2#3#4#5{\relax} or \gdef\SetFigFontNFSS#1#2#3#4#5{\relax} depending on the xfig version. Check one of your .pdftex_t file which version is used in it. Then, all texts will be typeset by the active font in latex. Hope this helps, Vasek
Re: Xfig and LyX
Hi Wolfgang, I also prefer having the fontsize in figures equal to that of the surrounding text. If the special flag was set you encountered a bug, either in xfig, fig2dev or in LyX. Otherwise just set the flag, and the text should be typeset by LaTeX. How does xfig find out the size and font I used in the document, or does it make latex take it over? To do that, you really need the special flag switched on for strings in xfig. If you did not do it in your xfig files, you can change it quite efficiently using update functionality in xfig gui, or by a script on raw xfig file format. All strings are terminated by \001 so it is easy to detect them and the special flag is just one of the numbers in front of the text. Do not remember which one, you can easily find it out by diffing two files, one with and one without the special flag. As a second step, redefine latex macro SetFigFont in the preamble: either \gdef\SetFigFont#1#2#3#4#5{\relax} or \gdef\SetFigFontNFSS#1#2#3#4#5{\relax} depending on the xfig version. Check one of your .pdftex_t file which version is used in it. Then, all texts will be typeset by the active font in latex. Hope this helps, Vasek
Re: Xfig and LyX
Hi Wolfgang, I also prefer having the fontsize in figures equal to that of the surrounding text. > > If the special flag was set you encountered a bug, either in xfig, > > fig2dev or in LyX. Otherwise just set the flag, and the text should be > > typeset by LaTeX. > > How does xfig find out the size and font I used in the document, or does it > make latex take it over? To do that, you really need the "special" flag switched on for strings in xfig. If you did not do it in your xfig files, you can change it quite efficiently using "update" functionality in xfig gui, or by a script on raw xfig file format. All strings are terminated by \001 so it is easy to detect them and the special flag is just one of the numbers in front of the text. Do not remember which one, you can easily find it out by diffing two files, one with and one without the special flag. As a second step, redefine latex macro SetFigFont in the preamble: either \gdef\SetFigFont#1#2#3#4#5{\relax} or \gdef\SetFigFontNFSS#1#2#3#4#5{\relax} depending on the xfig version. Check one of your .pdftex_t file which version is used in it. Then, all texts will be typeset by the active font in latex. Hope this helps, Vasek
Re: Thesis first pages
On Tuesday 27 May 2008, Lukáš Oliva wrote: Hi all, I want to write thesis in lyx but my faculty uses quite complicated first section with images, legal note etc. I wanted to fill it in openoffice and export it to pdf and insert to LyX. I was able to do it as image, nevertheless I have two problems: 1) The pages with included forms have numbers on bottom 2) The pages inserted are automatically resized, so it does not look like the original pages. Could anyone help to solve these two problems? Hi, I do not think that including a pdf is the best approach. I would recommend to try to implement this using LyX means. A combination of \vspace (Menu Insert Formating Vertical space), \hfill (Menu Insert Formating Horizontal fill), \minipage (Menu Insert Box), is quite powerful once you get the logic of it. If you are not sure how to start, send a minimized copy of your pdf and I will send you an example .lyx file. vasek
Re: Thesis first pages
On Tuesday 27 May 2008, Lukáš Oliva wrote: Hi all, I want to write thesis in lyx but my faculty uses quite complicated first section with images, legal note etc. I wanted to fill it in openoffice and export it to pdf and insert to LyX. I was able to do it as image, nevertheless I have two problems: 1) The pages with included forms have numbers on bottom 2) The pages inserted are automatically resized, so it does not look like the original pages. Could anyone help to solve these two problems? Hi, I do not think that including a pdf is the best approach. I would recommend to try to implement this using LyX means. A combination of \vspace (Menu Insert Formating Vertical space), \hfill (Menu Insert Formating Horizontal fill), \minipage (Menu Insert Box), is quite powerful once you get the logic of it. If you are not sure how to start, send a minimized copy of your pdf and I will send you an example .lyx file. vasek
Re: Thesis first pages
On Tuesday 27 May 2008, Lukáš Oliva wrote: > Hi all, > I want to write thesis in lyx but my faculty uses quite complicated > first section with images, legal note etc. I wanted to fill it in > openoffice and export it to pdf and insert to LyX. I was able to do it > as image, nevertheless I have two problems: > > 1) The pages with included forms have numbers on bottom > 2) The pages inserted are automatically resized, so it does not look > like the original pages. > > Could anyone help to solve these two problems? Hi, I do not think that including a pdf is the best approach. I would recommend to try to implement this using LyX means. A combination of \vspace (Menu >Insert >Formating >Vertical space), \hfill (Menu >Insert >Formating >Horizontal fill), \minipage (Menu >Insert >Box), is quite powerful once you get the logic of it. If you are not sure how to start, send a minimized copy of your pdf and I will send you an example .lyx file. vasek
Re: moving to linux...
*** On ubuntu it should be as easy as typing $ apt-get install lyx on the command line, or selecting lyx in synaptic and pressing apply button. (assuming that you are connected to the internet) I'll give it a try, but LyX is not on the Synaptic manager, as far as I can see (on Ubuntu 7.04)... is it of your (= the LyX developers) concern? This depends on your repositories. LyX is in the universe repository. Do you have this one enabled? When I view my old documents (i.e. the pdf files generated by LyX on Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this is related to the installed fonts. *** can you be a little bit more specific? What exactly is bad? 1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5 2) you use some special fonts that are not embedded in the final pdf. (cut) Pdf's, by definition, should not depend on any LyX files. Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a minimal example of your pdf. I thought that pdf, being a portable document format, didn't need any special setting on the machine you use. Anyway you can view a sample pdf generated on my machine (BTW with pdflatex) at: http://ares001.altervista.org/job/downloads/dispense.pdf This document looks fine in kpdf and acceptably in acrobat. Only the included bitmap figures are harder to read but that should be expected. Vasek
Re: moving to linux...
*** On ubuntu it should be as easy as typing $ apt-get install lyx on the command line, or selecting lyx in synaptic and pressing apply button. (assuming that you are connected to the internet) I'll give it a try, but LyX is not on the Synaptic manager, as far as I can see (on Ubuntu 7.04)... is it of your (= the LyX developers) concern? This depends on your repositories. LyX is in the universe repository. Do you have this one enabled? When I view my old documents (i.e. the pdf files generated by LyX on Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this is related to the installed fonts. *** can you be a little bit more specific? What exactly is bad? 1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5 2) you use some special fonts that are not embedded in the final pdf. (cut) Pdf's, by definition, should not depend on any LyX files. Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a minimal example of your pdf. I thought that pdf, being a portable document format, didn't need any special setting on the machine you use. Anyway you can view a sample pdf generated on my machine (BTW with pdflatex) at: http://ares001.altervista.org/job/downloads/dispense.pdf This document looks fine in kpdf and acceptably in acrobat. Only the included bitmap figures are harder to read but that should be expected. Vasek
Re: moving to linux...
> *** On ubuntu it should be as easy as typing > $ apt-get install lyx > on the command line, or selecting lyx in synaptic and pressing apply > button. (assuming that you are connected to the internet) > > I'll give it a try, but LyX is not on the Synaptic manager, as far as > I can see (on Ubuntu 7.04)... is it of your (= the LyX developers) > concern? This depends on your repositories. LyX is in the "universe" repository. Do you have this one enabled? > > > When I view my old documents (i.e. the pdf files generated by LyX on > > Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this > > is related to the installed fonts. > > *** can you be a little bit more specific? What exactly is bad? > 1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5 > 2) you use some special fonts that are not embedded in the final pdf. > (cut) > Pdf's, by definition, should not depend on any LyX files. > Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a > minimal example of your pdf. > > > I thought that pdf, being a "portable document format", didn't need > any special setting on the machine you use. Anyway you can view a > sample pdf generated on my machine (BTW with pdflatex) at: > > http://ares001.altervista.org/job/downloads/dispense.pdf > This document looks fine in kpdf and acceptably in acrobat. Only the included bitmap figures are harder to read but that should be expected. Vasek
Re: pdflatex postscript handling
Hi, When pdflatex converts *.eps files to pdf I get errors that these figures can't be converted and are not shown in the final pdf. When .ps files get converted, their boundingboxes are ignored so figures are not displayed properly. This is a sign of corrupted eps files. Missing bounding boxes can be restored by program called ps2eps, http://www.tm.uka.de/~bless/ps2eps After correcting your eps, you can try to push them through epstopdf again. Hope this helps, Vasek
Re: moving to linux...
Hi, I have been using LyX on windows XP since a while now and i am trying to move to Linux. I have not tried to install LyX on Linux yet (I am sorry but i already know that it won't be easy, I already tried once with no success) but my question is different now. On ubuntu it should be as easy as typing $ apt-get install lyx on the command line, or selecting lyx in synaptic and pressing apply button. (assuming that you are connected to the internet) When I view my old documents (i.e. the pdf files generated by LyX on Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this is related to the installed fonts. can you be a little bit more specific? What exactly is bad? 1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5 2) you use some special fonts that are not embedded in the final pdf. maybe once I install LyX I will get it working as expected? please let me know if you have any suggestion... Pdf's, by definition, should not depend on any LyX files. Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a minimal example of your pdf. Vasek
Re: pdflatex postscript handling
Hi, When pdflatex converts *.eps files to pdf I get errors that these figures can't be converted and are not shown in the final pdf. When .ps files get converted, their boundingboxes are ignored so figures are not displayed properly. This is a sign of corrupted eps files. Missing bounding boxes can be restored by program called ps2eps, http://www.tm.uka.de/~bless/ps2eps After correcting your eps, you can try to push them through epstopdf again. Hope this helps, Vasek
Re: moving to linux...
Hi, I have been using LyX on windows XP since a while now and i am trying to move to Linux. I have not tried to install LyX on Linux yet (I am sorry but i already know that it won't be easy, I already tried once with no success) but my question is different now. On ubuntu it should be as easy as typing $ apt-get install lyx on the command line, or selecting lyx in synaptic and pressing apply button. (assuming that you are connected to the internet) When I view my old documents (i.e. the pdf files generated by LyX on Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this is related to the installed fonts. can you be a little bit more specific? What exactly is bad? 1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5 2) you use some special fonts that are not embedded in the final pdf. maybe once I install LyX I will get it working as expected? please let me know if you have any suggestion... Pdf's, by definition, should not depend on any LyX files. Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a minimal example of your pdf. Vasek
Re: pdflatex postscript handling
Hi, > > When pdflatex converts *.eps files to pdf I get errors that these figures > can't be converted and are not shown in the final pdf. When .ps files get > converted, their boundingboxes are ignored so figures are not displayed > properly. This is a sign of corrupted eps files. Missing bounding boxes can be restored by program called "ps2eps", http://www.tm.uka.de/~bless/ps2eps After correcting your eps, you can try to push them through epstopdf again. Hope this helps, Vasek
Re: moving to linux...
Hi, > > I have been using LyX on windows XP since a while now and i am trying > to move to Linux. I have not tried to install LyX on Linux yet (I am > sorry but i already know that it won't be easy, I already tried once > with no success) but my question is different now. On ubuntu it should be as easy as typing $ apt-get install lyx on the command line, or selecting lyx in synaptic and pressing apply button. (assuming that you are connected to the internet) > > When I view my old documents (i.e. the pdf files generated by LyX on > Windows) on Linux (Ubuntu 7.04) the quality is very bad. I guess this > is related to the installed fonts. can you be a little bit more specific? What exactly is bad? 1) bitmap fonts, as explained in http://wiki.lyx.org/FAQ/PDF#toc5 2) you use some special fonts that are not embedded in the final pdf. > maybe once I install LyX I will get > it working as expected? please let me know if you have any > suggestion... Pdf's, by definition, should not depend on any LyX files. Check http://wiki.lyx.org/FAQ/PDF and if you do not find a solution send a minimal example of your pdf. Vasek
Re: Exporting non-ASCII characters to text?
Hi Urtzi, I assume that you are using LyX on Windows, right? The exported document is not corrupted, it is just in different encoding. LyX is using ISO encoding internally, while Win are using Microsoft modifications which are incompatible with ISO. Try google for code-page converters, there are many different programs and on-line services for this purpose, e.g. http://www.2p.cz/en/code_page_converter Good luck, Vasek On Monday 12 March 2007, Urtzi Jauregi wrote: Hi everybody, I'm usong LyX to write a document in Slovenian, which has several special characters (č, š, ž). When I export the document to LaTeX or plain text, these special characters get corrupted, so resulting document is useless unless one replaces all corrutpes characters by hand. I am sure this is a LyX problem, because I have opened the corrupted documents with applications that perfectly support these special characters. The problem only happens with LyX, and only when exporting; in normal usage, both the LyX screen fonts and the final TeXed documents show up fine. How can I fix this? Is it a bug, or am I missing something? - Urtzi - -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Exporting non-ASCII characters to text?
On Monday 12 March 2007, Urtzi Jauregi wrote: On Monday 12 March 2007 13:04:10 Vaclav Smidl wrote: Hi Urtzi, I assume that you are using LyX on Windows, right? Sorry Vaclav, I forgot to give my system info. I'm using LyX 1.4.3 on Ubuntu Linux 6.10. The encoding of the LyX document is use the default encoding for the language. The text editors I've read the exported file are all set to Unicode. Then, the problem is even simpler. In my installation, default encoding for Slovene is latin2 (i.e. ISO-8859-2). Switch your editor to this encoding, e.g. MenuToolsEncodingCentral European (i.e. ISO-8859-2) in kwrite, and you should get perfect text. Vasek
Re: Exporting non-ASCII characters to text?
Hi Urtzi, I assume that you are using LyX on Windows, right? The exported document is not corrupted, it is just in different encoding. LyX is using ISO encoding internally, while Win are using Microsoft modifications which are incompatible with ISO. Try google for code-page converters, there are many different programs and on-line services for this purpose, e.g. http://www.2p.cz/en/code_page_converter Good luck, Vasek On Monday 12 March 2007, Urtzi Jauregi wrote: Hi everybody, I'm usong LyX to write a document in Slovenian, which has several special characters (č, š, ž). When I export the document to LaTeX or plain text, these special characters get corrupted, so resulting document is useless unless one replaces all corrutpes characters by hand. I am sure this is a LyX problem, because I have opened the corrupted documents with applications that perfectly support these special characters. The problem only happens with LyX, and only when exporting; in normal usage, both the LyX screen fonts and the final TeXed documents show up fine. How can I fix this? Is it a bug, or am I missing something? - Urtzi - -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Exporting non-ASCII characters to text?
On Monday 12 March 2007, Urtzi Jauregi wrote: On Monday 12 March 2007 13:04:10 Vaclav Smidl wrote: Hi Urtzi, I assume that you are using LyX on Windows, right? Sorry Vaclav, I forgot to give my system info. I'm using LyX 1.4.3 on Ubuntu Linux 6.10. The encoding of the LyX document is use the default encoding for the language. The text editors I've read the exported file are all set to Unicode. Then, the problem is even simpler. In my installation, default encoding for Slovene is latin2 (i.e. ISO-8859-2). Switch your editor to this encoding, e.g. MenuToolsEncodingCentral European (i.e. ISO-8859-2) in kwrite, and you should get perfect text. Vasek
Re: Exporting non-ASCII characters to text?
Hi Urtzi, I assume that you are using LyX on Windows, right? The exported document is not corrupted, it is just in different encoding. LyX is using ISO encoding internally, while Win are using Microsoft modifications which are incompatible with ISO. Try google for code-page converters, there are many different programs and on-line services for this purpose, e.g. http://www.2p.cz/en/code_page_converter Good luck, Vasek On Monday 12 March 2007, Urtzi Jauregi wrote: > Hi everybody, > > I'm usong LyX to write a document in Slovenian, which has several > special > characters (č, š, ž). When I export the document to LaTeX or plain text, > these special characters get corrupted, so resulting document is useless > unless one replaces all corrutpes characters by hand. > > I am sure this is a LyX problem, because I have opened the corrupted > documents with applications that perfectly support these special > characters. The problem only happens with LyX, and only when exporting; in > normal usage, both the LyX screen fonts and the final TeXed documents show > up fine. > > How can I fix this? Is it a bug, or am I missing something? > > - Urtzi - -- ----- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Exporting non-ASCII characters to text?
On Monday 12 March 2007, Urtzi Jauregi wrote: > On Monday 12 March 2007 13:04:10 Vaclav Smidl wrote: > > Hi Urtzi, > > I assume that you are using LyX on Windows, right? > > Sorry Vaclav, I forgot to give my system info. I'm using LyX 1.4.3 on > Ubuntu Linux 6.10. > > The encoding of the LyX document is "use the default encoding for the > language". The text editors I've read the exported file are all set to > Unicode. Then, the problem is even simpler. In my installation, default encoding for Slovene is latin2 (i.e. ISO-8859-2). Switch your editor to this encoding, e.g. Menu>Tools>Encoding>Central European (i.e. ISO-8859-2) in kwrite, and you should get perfect text. Vasek
Re: ubuntu edgy checkinstall packages amd64 i386
On Wednesday 14 February 2007, Andrew Corrigan wrote: I made packages for ubuntu edgy with checkinstall: http://cds.gmu.edu/~acorriga/files/lyx_1.4.4-1_amd64.deb http://cds.gmu.edu/~acorriga/files/lyx_1.4.4-1_i386.deb Note, it's not a fully functional package. It just saves you the trouble of compiling from source and allows you to remove the package with synaptic. - Andrew Corrigan Hi Andrew, thanks for the package. It works very well. :-) Vasek
Re: ubuntu edgy checkinstall packages amd64 i386
On Wednesday 14 February 2007, Andrew Corrigan wrote: I made packages for ubuntu edgy with checkinstall: http://cds.gmu.edu/~acorriga/files/lyx_1.4.4-1_amd64.deb http://cds.gmu.edu/~acorriga/files/lyx_1.4.4-1_i386.deb Note, it's not a fully functional package. It just saves you the trouble of compiling from source and allows you to remove the package with synaptic. - Andrew Corrigan Hi Andrew, thanks for the package. It works very well. :-) Vasek
Re: ubuntu edgy checkinstall packages amd64 i386
On Wednesday 14 February 2007, Andrew Corrigan wrote: > I made packages for ubuntu edgy with checkinstall: > > http://cds.gmu.edu/~acorriga/files/lyx_1.4.4-1_amd64.deb > http://cds.gmu.edu/~acorriga/files/lyx_1.4.4-1_i386.deb > > Note, it's not a fully functional package. It just saves you the > trouble of compiling from source and allows you to remove the package > with synaptic. > > - Andrew Corrigan Hi Andrew, thanks for the package. It works very well. :-) Vasek
Re: BibTeX styles
Vaclav: I looked under MenuToolsPreferencesPaths, but I can't see anything like lyx_tmpdir? or lyx_tmpbuf???. In, MenuToolsPreferencesPaths is an entry Temporary directory. This directory is different in different systems, that is why I wanted you to see where is yours. On linux, my temporary directory is /tmp. So, files lyx_tmpdir? or lyx_tmpbuf??? are in /tmp on my system. On yours, it would be probably C:\Documents and Settings\... You will find lyx_tmp... files there. Vasek
Re: BibTeX styles
On Wednesday 20 December 2006 10:20 am, you wrote: Thanks. The file says this: This is BibTeX, Version 0.99cThe top-level auxiliary file: newfile1.aux White space in argument---line 3 of file newfile1.aux : \bibstyle{C:/Documents : and Settings/john/My : Documents/elsevier/elsart-harv} Oh, that would be the classical problem of MikTeX, which does not like spaces in filenames. Save your .bst styles in another directory (e.g. c:\localtex\bibtex) and try again. V.
Re: BibTeX styles
Vaclav: I looked under MenuToolsPreferencesPaths, but I can't see anything like lyx_tmpdir? or lyx_tmpbuf???. In, MenuToolsPreferencesPaths is an entry Temporary directory. This directory is different in different systems, that is why I wanted you to see where is yours. On linux, my temporary directory is /tmp. So, files lyx_tmpdir? or lyx_tmpbuf??? are in /tmp on my system. On yours, it would be probably C:\Documents and Settings\... You will find lyx_tmp... files there. Vasek
Re: BibTeX styles
On Wednesday 20 December 2006 10:20 am, you wrote: Thanks. The file says this: This is BibTeX, Version 0.99cThe top-level auxiliary file: newfile1.aux White space in argument---line 3 of file newfile1.aux : \bibstyle{C:/Documents : and Settings/john/My : Documents/elsevier/elsart-harv} Oh, that would be the classical problem of MikTeX, which does not like spaces in filenames. Save your .bst styles in another directory (e.g. c:\localtex\bibtex) and try again. V.
Re: BibTeX styles
> Vaclav: I looked under Menu>Tools>Preferences>Paths, but I can't see > anything like lyx_tmpdir? or lyx_tmpbuf???. In, Menu>Tools>Preferences>Paths is an entry "Temporary directory". This directory is different in different systems, that is why I wanted you to see where is yours. On linux, my temporary directory is "/tmp". So, files lyx_tmpdir? or lyx_tmpbuf??? are in "/tmp" on my system. On yours, it would be probably "C:\Documents and Settings\..." You will find lyx_tmp... files there. Vasek
Re: BibTeX styles
On Wednesday 20 December 2006 10:20 am, you wrote: > Thanks. The file says this: > > This is BibTeX, Version 0.99cThe top-level auxiliary file: newfile1.aux > White space in argument---line 3 of file newfile1.aux > > : \bibstyle{"C:/Documents > : and Settings/john/My > : Documents/elsevier/elsart-harv"} Oh, that would be the classical problem of MikTeX, which does not like spaces in filenames. Save your .bst styles in another directory (e.g. c:\localtex\bibtex) and try again. V.
Re: BibTeX styles
On Tuesday 19 December 2006 8:05 pm, John Hughes wrote: Hi, I'm a little new to this, so please be patient with me. I'm trying to use a BibTeX database to organise my references. The database seems to work fine and I can insert a BibTeX reference list into my document and use it to put citations in my document. However, when I try to change the style using a .bst file generated from the custom-bib program, the dvi output puts question marks instead of citations and there's no reference list at all. The same thing happens when I use any .bst file downloaded from the web. I'd like to use natbib to get Harvard-style references. Any help would be greatly appreciated. John Hi, when I saw similar behaviour in LyX it was usually caused by some error or warning of bibtex. When I resolved them, I worked fine. To check what bibtex is doing, go to temp directory (see. MenuToolsPreferencesPaths). There, you will find a directory lyx_tmpdir? with subdirectory lyx_tmpbuf??? each directory belongs to one file open in LyX. Find the one related to your document and there you will see a file maned as your document with .blg extension. This is the bibtex log-file. Try to resolve errors and warnings listed there. Vasek
Re: BibTeX styles
On Tuesday 19 December 2006 8:05 pm, John Hughes wrote: Hi, I'm a little new to this, so please be patient with me. I'm trying to use a BibTeX database to organise my references. The database seems to work fine and I can insert a BibTeX reference list into my document and use it to put citations in my document. However, when I try to change the style using a .bst file generated from the custom-bib program, the dvi output puts question marks instead of citations and there's no reference list at all. The same thing happens when I use any .bst file downloaded from the web. I'd like to use natbib to get Harvard-style references. Any help would be greatly appreciated. John Hi, when I saw similar behaviour in LyX it was usually caused by some error or warning of bibtex. When I resolved them, I worked fine. To check what bibtex is doing, go to temp directory (see. MenuToolsPreferencesPaths). There, you will find a directory lyx_tmpdir? with subdirectory lyx_tmpbuf??? each directory belongs to one file open in LyX. Find the one related to your document and there you will see a file maned as your document with .blg extension. This is the bibtex log-file. Try to resolve errors and warnings listed there. Vasek
Re: BibTeX styles
On Tuesday 19 December 2006 8:05 pm, John Hughes wrote: > Hi, > > I'm a little new to this, so please be patient with me. I'm trying to > use a BibTeX database to organise my references. The database seems to > work fine and I can insert a BibTeX reference list into my document > and use it to put citations in my document. However, when I try to > change the style using a .bst file generated from the custom-bib > program, the dvi output puts question marks instead of citations and > there's no reference list at all. The same thing happens when I use > any .bst file downloaded from the web. I'd like to use natbib to get > Harvard-style references. > > Any help would be greatly appreciated. > > John Hi, when I saw similar behaviour in LyX it was usually caused by some error or warning of bibtex. When I resolved them, I worked fine. To check what bibtex is doing, go to temp directory (see. Menu>Tools>Preferences>Paths). There, you will find a directory lyx_tmpdir? with subdirectory lyx_tmpbuf??? each directory belongs to one file open in LyX. Find the one related to your document and there you will see a file maned as your document with .blg extension. This is the bibtex log-file. Try to resolve errors and warnings listed there. Vasek
Re: Enquiry
I think we'll need a bit more information than that. You might start with LyX version, operating system, what LaTeX distribution you use, and precisely what happens when you try to use LyX. /Paul Sendig more info to the list -- Forwarded Message -- Date: Thursday 07 December 2006 9:03 am From: Van Zyl, Wiehann, Mnr [EMAIL PROTECTED] [EMAIL PROTECTED] To: Vaclav Smidl [EMAIL PROTECTED] Hi I downloaded and installed MikTex on Windows XP. After that I downloaded the basic installer for Lyx 1.4 and had basically necessary components installed as indicated by the installer wizard, this included the current Miktex 2.5 that was used as the Latex base. Initially I could open Lyx but told me an output could not be generated. I also told me about missing classes which I don't know whether this should be installed using the Miktex package manager? Finally I tried to open some of the templates and which another class was missing and after that gave me a popup to indicate possible software error and that Lyx closed due to unexpected situation. Report was: LyXTextClassList::Read: no textclasses found! and since that I wasn't able to open Lyx again. Should I uninstall Lyx? Is it better to download more Miktex packages? Can you please help me to get going? I ask for your patience as I would like to test Lyx and use it instead of MS-Word for my thesis document. I'm not a software expert. Thanks very much! Wiehann
Re: Enquiry
Hi I downloaded and installed MikTex on Windows XP. After that I downloaded the basic installer for Lyx 1.4 and had basically necessary components installed as indicated by the installer wizard, this included the current Miktex 2.5 that was used as the Latex base. Initially I could open Lyx but told me an output could not be generated. I also told me about missing classes which I don't know whether this should be installed using the Miktex package manager? Finally I tried to open some of the templates and which another class was missing and after that gave me a popup to indicate possible software error and that Lyx closed due to unexpected situation. Report was: LyXTextClassList::Read: no textclasses found! and since that I wasn't able to open Lyx again. Should I uninstall Lyx? Is it better to download more Miktex packages? Can you please help me to get going? I ask for your patience as I would like to test Lyx and use it instead of MS-Word for my thesis document. I'm not a software expert. Thanks very much! Wiehann Hi Wiehann, please keep sending messages to the list, I am not expert on Windows, other people here may know more to help you. When I install LyX to my colleagues I usually use LyXWinInstaller: http://wiki.lyx.org/Windows/LyXWinInstaller So far, I did not have any problems with it. I have heard some of my colleagues saying that they killed LyX when running Reconfigure and they were not able to start it again. In this case, re-installation helped them. So you can give it a try. In general, I can imagine two causes of missing classes: 1) your miktex classes are not found at all, 2) you are using a template for which you do not have the corresponding .cls style. If you do not use MikTeX for other purpose, I would suggest to let the installer install it into its default location. Then, do not go for templates but create empty new file MenuFileNew. By default it is an article, which is in every distribution, then, in DocumentSettings see pop-down item Documentclass. There, in the upper part, you will see classes that are found in MiKTeX and in the lower part those that are not found. If you want to use any of the Unavailable classes, you must add them to MiKTex using Miktex_update, and then run ToolsReconfigure in LyX. Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Enquiry
I think we'll need a bit more information than that. You might start with LyX version, operating system, what LaTeX distribution you use, and precisely what happens when you try to use LyX. /Paul Sendig more info to the list -- Forwarded Message -- Date: Thursday 07 December 2006 9:03 am From: Van Zyl, Wiehann, Mnr [EMAIL PROTECTED] [EMAIL PROTECTED] To: Vaclav Smidl [EMAIL PROTECTED] Hi I downloaded and installed MikTex on Windows XP. After that I downloaded the basic installer for Lyx 1.4 and had basically necessary components installed as indicated by the installer wizard, this included the current Miktex 2.5 that was used as the Latex base. Initially I could open Lyx but told me an output could not be generated. I also told me about missing classes which I don't know whether this should be installed using the Miktex package manager? Finally I tried to open some of the templates and which another class was missing and after that gave me a popup to indicate possible software error and that Lyx closed due to unexpected situation. Report was: LyXTextClassList::Read: no textclasses found! and since that I wasn't able to open Lyx again. Should I uninstall Lyx? Is it better to download more Miktex packages? Can you please help me to get going? I ask for your patience as I would like to test Lyx and use it instead of MS-Word for my thesis document. I'm not a software expert. Thanks very much! Wiehann
Re: Enquiry
Hi I downloaded and installed MikTex on Windows XP. After that I downloaded the basic installer for Lyx 1.4 and had basically necessary components installed as indicated by the installer wizard, this included the current Miktex 2.5 that was used as the Latex base. Initially I could open Lyx but told me an output could not be generated. I also told me about missing classes which I don't know whether this should be installed using the Miktex package manager? Finally I tried to open some of the templates and which another class was missing and after that gave me a popup to indicate possible software error and that Lyx closed due to unexpected situation. Report was: LyXTextClassList::Read: no textclasses found! and since that I wasn't able to open Lyx again. Should I uninstall Lyx? Is it better to download more Miktex packages? Can you please help me to get going? I ask for your patience as I would like to test Lyx and use it instead of MS-Word for my thesis document. I'm not a software expert. Thanks very much! Wiehann Hi Wiehann, please keep sending messages to the list, I am not expert on Windows, other people here may know more to help you. When I install LyX to my colleagues I usually use LyXWinInstaller: http://wiki.lyx.org/Windows/LyXWinInstaller So far, I did not have any problems with it. I have heard some of my colleagues saying that they killed LyX when running Reconfigure and they were not able to start it again. In this case, re-installation helped them. So you can give it a try. In general, I can imagine two causes of missing classes: 1) your miktex classes are not found at all, 2) you are using a template for which you do not have the corresponding .cls style. If you do not use MikTeX for other purpose, I would suggest to let the installer install it into its default location. Then, do not go for templates but create empty new file MenuFileNew. By default it is an article, which is in every distribution, then, in DocumentSettings see pop-down item Documentclass. There, in the upper part, you will see classes that are found in MiKTeX and in the lower part those that are not found. If you want to use any of the Unavailable classes, you must add them to MiKTex using Miktex_update, and then run ToolsReconfigure in LyX. Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Enquiry
> I think we'll need a bit more information than that. You might start > with LyX version, operating system, what LaTeX distribution you use, and > precisely what happens when you try to use LyX. > > /Paul Sendig more info to the list -- Forwarded Message -- Date: Thursday 07 December 2006 9:03 am From: "Van Zyl, Wiehann, Mnr <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> To: "Vaclav Smidl" <[EMAIL PROTECTED]> Hi I downloaded and installed MikTex on Windows XP. After that I downloaded the basic installer for Lyx 1.4 and had basically necessary components installed as indicated by the installer wizard, this included the current Miktex 2.5 that was used as the Latex base. Initially I could open Lyx but told me an output could not be generated. I also told me about missing classes which I don't know whether this should be installed using the Miktex package manager? Finally I tried to open some of the templates and which another class was missing and after that gave me a popup to indicate possible software error and that Lyx closed due to unexpected situation. Report was: LyXTextClassList::Read: no textclasses found! and since that I wasn't able to open Lyx again. Should I uninstall Lyx? Is it better to download more Miktex packages? Can you please help me to get going? I ask for your patience as I would like to test Lyx and use it instead of MS-Word for my thesis document. I'm not a software expert. Thanks very much! Wiehann
Re: Enquiry
> Hi > > I downloaded and installed MikTex on Windows XP. After that I downloaded > the basic installer for Lyx 1.4 and had basically necessary components > installed as indicated by the installer wizard, this included the current > Miktex 2.5 that was used as the Latex base. > > Initially I could open Lyx but told me an output could not be generated. I > also told me about missing classes which I don't know whether this should > be installed using the Miktex package manager? Finally I tried to open some > of the templates and which another class was missing and after that gave me > a popup to indicate possible software error and that Lyx closed due to > unexpected situation. Report was: LyXTextClassList::Read: no textclasses > found! > and since that I wasn't able to open Lyx again. Should I uninstall Lyx? Is > it better to download more Miktex packages? > > Can you please help me to get going? I ask for your patience as I would > like to test Lyx and use it instead of MS-Word for my thesis document. I'm > not a software expert. > > Thanks very much! > Wiehann Hi Wiehann, please keep sending messages to the list, I am not expert on Windows, other people here may know more to help you. When I install LyX to my colleagues I usually use LyXWinInstaller: http://wiki.lyx.org/Windows/LyXWinInstaller So far, I did not have any problems with it. I have heard some of my colleagues saying that they killed LyX when running Reconfigure and they were not able to start it again. In this case, re-installation helped them. So you can give it a try. In general, I can imagine two causes of missing classes: 1) your miktex classes are not found at all, 2) you are using a template for which you do not have the corresponding .cls style. If you do not use MikTeX for other purpose, I would suggest to let the installer install it into its default location. Then, do not go for templates but create empty new file Menu>File>New. By default it is an article, which is in every distribution, then, in Document>Settings see pop-down item "Documentclass". There, in the upper part, you will see classes that are found in MiKTeX and in the lower part those that are not found. If you want to use any of the "Unavailable" classes, you must add them to MiKTex using Miktex_update, and then run Tools>Reconfigure in LyX. Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: document class svmono.cls
Hi Mark, you also need to have a svmono.layout file in your personal $HOME/.lyx/layouts/ directory. (This is on linux, probably somewhere in Documents and Settings in windows...). That file does not come with default instalation. You can easily create one by copying e.g. book.layout with the new name and then extend it to your liking. The svmono.layout file I have used with lyx 1.3.6. is attached. You may need to do some changes to adapt it for 1.4.x. Best, Vasek On Sunday 26 November 2006 2:08 am, Mark Kortink wrote: Hi I have installed document class svmono.cls for Springer Verlag monographs in MikTex and it works OK. How do I get LyX to let me use it, it does not show up in the LyX drop down list of document classes, and also will svmono actually work with LyX? Thanks Mark Kortink -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[svmono]{Springer Monograph} # KOMA scrbook textclass definition file. # Bernd Rellermeyer [EMAIL PROTECTED], 1998/7/11. # General textclass parameters Input stdclass.inc Sides 2 PageStyle Headings NoStyle Abstract # Modify bibliography Style Bibliography TopSep4 LabelString Bibliography LabelFont Series Bold SizeLargest EndFont End # # First cut at theorem environment support. # What other theorem-like environments are needed? # How many of these should be discarded? # I got this list from amsmaths*.inc but I haven't # found an official list of theorem environments for # IEEE Transactions. # OH! and all theorems are numbered. Is that a problem? # Tell me: [EMAIL PROTECTED] # # Theorem-numbered style *Template* declaration Style TheoremTemplate MarginFirst_Dynamic LatexType Environment LabelSep M ParIndent MM ParSep0.4 Align Block AlignPossible Block, Left LabelType Static # label font definition LabelFont Shape Italic EndFont End # Proof style declaration Style Proof CopyStyle TheoremTemplate LatexName proof LabelString Proof: EndLabelType Filled_Box End # Theorem-numbered style declaration Style Theorem CopyStyle TheoremTemplate LatexName theorem LabelString Theorem #: End # Lemma-numbered style declaration Style Lemma CopyStyle TheoremTemplate LatexName lemma LabelString Lemma #: End # Corollary-numbered style declaration Style Corollary CopyStyle TheoremTemplate LatexName corollary LabelString Corollary #: End # Proposition-numbered style declaration Style Proposition CopyStyle TheoremTemplate LatexName proposition LabelString Proposition #: End # Conjecture-numbered style declaration Style Conjecture CopyStyle TheoremTemplate LatexName conjecture LabelString Conjecture #: End # Definition-numbered style declaration Style Definition CopyStyle TheoremTemplate LatexName definition LabelString Definition #: End # Example-numbered style declaration Style Example CopyStyle TheoremTemplate LatexName example LabelString Example #: End # Condition-numbered style declaration Style Condition CopyStyle TheoremTemplate LatexName condition LabelString Condition #: End # Problem-numbered style declaration Style Problem CopyStyle TheoremTemplate LatexName problem LabelString Problem #: End # Remark-numbered style declaration Style Remark CopyStyle TheoremTemplate LatexName remark LabelString Remark #: End # Claim-numbered style declaration Style Claim CopyStyle TheoremTemplate LatexName claim LabelString Claim #: End # Note-numbered style declaration Style Note CopyStyle TheoremTemplate LatexName note LabelString Note #: End # Notation-numbered style declaration Style Notation CopyStyle TheoremTemplate LatexName notation LabelString Notation #: End # Case-numbered style declaration Style Case CopyStyle TheoremTemplate LatexName case LabelString Case #: End # Algorithm style declaration Style Algorithm CopyStyle TheoremTemplate LatexName
Re: document class svmono.cls
Hi Mark, you also need to have a svmono.layout file in your personal $HOME/.lyx/layouts/ directory. (This is on linux, probably somewhere in Documents and Settings in windows...). That file does not come with default instalation. You can easily create one by copying e.g. book.layout with the new name and then extend it to your liking. The svmono.layout file I have used with lyx 1.3.6. is attached. You may need to do some changes to adapt it for 1.4.x. Best, Vasek On Sunday 26 November 2006 2:08 am, Mark Kortink wrote: Hi I have installed document class svmono.cls for Springer Verlag monographs in MikTex and it works OK. How do I get LyX to let me use it, it does not show up in the LyX drop down list of document classes, and also will svmono actually work with LyX? Thanks Mark Kortink -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[svmono]{Springer Monograph} # KOMA scrbook textclass definition file. # Bernd Rellermeyer [EMAIL PROTECTED], 1998/7/11. # General textclass parameters Input stdclass.inc Sides 2 PageStyle Headings NoStyle Abstract # Modify bibliography Style Bibliography TopSep4 LabelString Bibliography LabelFont Series Bold SizeLargest EndFont End # # First cut at theorem environment support. # What other theorem-like environments are needed? # How many of these should be discarded? # I got this list from amsmaths*.inc but I haven't # found an official list of theorem environments for # IEEE Transactions. # OH! and all theorems are numbered. Is that a problem? # Tell me: [EMAIL PROTECTED] # # Theorem-numbered style *Template* declaration Style TheoremTemplate MarginFirst_Dynamic LatexType Environment LabelSep M ParIndent MM ParSep0.4 Align Block AlignPossible Block, Left LabelType Static # label font definition LabelFont Shape Italic EndFont End # Proof style declaration Style Proof CopyStyle TheoremTemplate LatexName proof LabelString Proof: EndLabelType Filled_Box End # Theorem-numbered style declaration Style Theorem CopyStyle TheoremTemplate LatexName theorem LabelString Theorem #: End # Lemma-numbered style declaration Style Lemma CopyStyle TheoremTemplate LatexName lemma LabelString Lemma #: End # Corollary-numbered style declaration Style Corollary CopyStyle TheoremTemplate LatexName corollary LabelString Corollary #: End # Proposition-numbered style declaration Style Proposition CopyStyle TheoremTemplate LatexName proposition LabelString Proposition #: End # Conjecture-numbered style declaration Style Conjecture CopyStyle TheoremTemplate LatexName conjecture LabelString Conjecture #: End # Definition-numbered style declaration Style Definition CopyStyle TheoremTemplate LatexName definition LabelString Definition #: End # Example-numbered style declaration Style Example CopyStyle TheoremTemplate LatexName example LabelString Example #: End # Condition-numbered style declaration Style Condition CopyStyle TheoremTemplate LatexName condition LabelString Condition #: End # Problem-numbered style declaration Style Problem CopyStyle TheoremTemplate LatexName problem LabelString Problem #: End # Remark-numbered style declaration Style Remark CopyStyle TheoremTemplate LatexName remark LabelString Remark #: End # Claim-numbered style declaration Style Claim CopyStyle TheoremTemplate LatexName claim LabelString Claim #: End # Note-numbered style declaration Style Note CopyStyle TheoremTemplate LatexName note LabelString Note #: End # Notation-numbered style declaration Style Notation CopyStyle TheoremTemplate LatexName notation LabelString Notation #: End # Case-numbered style declaration Style Case CopyStyle TheoremTemplate LatexName case LabelString Case #: End # Algorithm style declaration Style Algorithm CopyStyle TheoremTemplate LatexName
Re: document class svmono.cls
Hi Mark, you also need to have a svmono.layout file in your personal $HOME/.lyx/layouts/ directory. (This is on linux, probably somewhere in Documents and Settings in windows...). That file does not come with default instalation. You can easily create one by copying e.g. book.layout with the new name and then extend it to your liking. The svmono.layout file I have used with lyx 1.3.6. is attached. You may need to do some changes to adapt it for 1.4.x. Best, Vasek On Sunday 26 November 2006 2:08 am, Mark Kortink wrote: > Hi > > I have installed document class svmono.cls for Springer Verlag monographs > in MikTex and it works OK. How do I get LyX to let me use it, it does not > show up in the LyX drop down list of document classes, and also will svmono > actually work with LyX? > > Thanks > Mark Kortink -- ----- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[svmono]{Springer Monograph} # KOMA scrbook textclass definition file. # Bernd Rellermeyer <[EMAIL PROTECTED]>, 1998/7/11. # General textclass parameters Input stdclass.inc Sides 2 PageStyle Headings NoStyle Abstract # Modify bibliography Style Bibliography TopSep4 LabelString Bibliography LabelFont Series Bold SizeLargest EndFont End # # First cut at theorem environment support. # What other theorem-like environments are needed? # How many of these should be discarded? # I got this list from amsmaths*.inc but I haven't # found an official list of theorem environments for # IEEE Transactions. # OH! and all theorems are numbered. Is that a problem? # Tell me: [EMAIL PROTECTED] # # Theorem-numbered style *Template* declaration Style TheoremTemplate MarginFirst_Dynamic LatexType Environment LabelSep M ParIndent MM ParSep0.4 Align Block AlignPossible Block, Left LabelType Static # label font definition LabelFont Shape Italic EndFont End # Proof style declaration Style Proof CopyStyle TheoremTemplate LatexName proof LabelString "Proof:" EndLabelType Filled_Box End # Theorem-numbered style declaration Style Theorem CopyStyle TheoremTemplate LatexName theorem LabelString "Theorem #:" End # Lemma-numbered style declaration Style Lemma CopyStyle TheoremTemplate LatexName lemma LabelString "Lemma #:" End # Corollary-numbered style declaration Style Corollary CopyStyle TheoremTemplate LatexName corollary LabelString "Corollary #:" End # Proposition-numbered style declaration Style Proposition CopyStyle TheoremTemplate LatexName proposition LabelString "Proposition #:" End # Conjecture-numbered style declaration Style Conjecture CopyStyle TheoremTemplate LatexName conjecture LabelString "Conjecture #:" End # Definition-numbered style declaration Style Definition CopyStyle TheoremTemplate LatexName definition LabelString "Definition #:" End # Example-numbered style declaration Style Example CopyStyle TheoremTemplate LatexName example LabelString "Example #:" End # Condition-numbered style declaration Style Condition CopyStyle TheoremTemplate LatexName condition LabelString "Condition #:" End # Problem-numbered style declaration Style Problem CopyStyle TheoremTemplate LatexName problem LabelString "Problem #:" End # Remark-numbered style declaration Style Remark CopyStyle TheoremTemplate LatexName remark LabelString "Remark #:" End # Claim-numbered style declaration Style Claim CopyStyle TheoremTemplate LatexName claim LabelString "Claim #:" End # Note-numbered style declaration Style Note CopyStyle TheoremTemplate LatexName note LabelString "Note #:" End # Notation-numbered style declaration Style Notation CopyStyle TheoremTemplate LatexName notation LabelString "Notation #:" End # Case-numbered style declaration Sty
Re: \usepackage{hyperref}
On Wednesday 18 October 2006 4:53 pm, Wolfgang Engelmann wrote: If I use \usepackage{hyperref} in the preamble I get errors: Paragraph ended before [EMAIL PROTECTED] was complete. I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. What might be wrong? Do you use any ERT in the main document or any special commands in the preamble? If yes, please check if there is not any forgotten '}', otherwise, post a minimal example of this behaviour to the list. Vasek
Re: \usepackage{hyperref}
On Wednesday 18 October 2006 4:53 pm, Wolfgang Engelmann wrote: If I use \usepackage{hyperref} in the preamble I get errors: Paragraph ended before [EMAIL PROTECTED] was complete. I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. What might be wrong? Do you use any ERT in the main document or any special commands in the preamble? If yes, please check if there is not any forgotten '}', otherwise, post a minimal example of this behaviour to the list. Vasek
Re: \usepackage{hyperref}
On Wednesday 18 October 2006 4:53 pm, Wolfgang Engelmann wrote: > If I use > \usepackage{hyperref} > in the preamble I get errors: > > Paragraph ended before [EMAIL PROTECTED] was complete. > I suspect you've forgotten a `}', causing me to apply this > control sequence to too much text. How can we recover? > My plan is to forget the whole thing and hope for the best. > > What might be wrong? Do you use any ERT in the main document or any special commands in the preamble? If yes, please check if there is not any forgotten '}', otherwise, post a minimal example of this behaviour to the list. Vasek
Re: help installing spell check package
Hi Juan, which system are you using? In Linux it is a matter of distribution, e.g. on Debian it is sufficient to execute sudo apt-get install aspell-es. In Windows, it depends on the installer used. If you used LyXWinInstaller (http://wiki.lyx.org/Windows/LyXWinInstaller), the aspell program is already installed. All you have to do is to pick which dictionaries you want to use, see: http://wiki.lyx.org/Windows/Aspell6 Hope this helps, Vasek On Thursday 21 September 2006 00:48, Juan Carlos Reyes wrote: Hi! I'm new in Lyx, sadly i discovered a bit late for all my faculty paper. Now I0m learning to use it while I write my last dissertation paper. Sorry for the silly question. I'm new in Lyx and I have been looking in the wiki an the web page the way to install the spellcheck in english (and spanish) Can anyone help me or give me a link? Thanks! -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: help installing spell check package
Hi Juan, which system are you using? In Linux it is a matter of distribution, e.g. on Debian it is sufficient to execute sudo apt-get install aspell-es. In Windows, it depends on the installer used. If you used LyXWinInstaller (http://wiki.lyx.org/Windows/LyXWinInstaller), the aspell program is already installed. All you have to do is to pick which dictionaries you want to use, see: http://wiki.lyx.org/Windows/Aspell6 Hope this helps, Vasek On Thursday 21 September 2006 00:48, Juan Carlos Reyes wrote: Hi! I'm new in Lyx, sadly i discovered a bit late for all my faculty paper. Now I0m learning to use it while I write my last dissertation paper. Sorry for the silly question. I'm new in Lyx and I have been looking in the wiki an the web page the way to install the spellcheck in english (and spanish) Can anyone help me or give me a link? Thanks! -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: help installing spell check package
Hi Juan, which system are you using? In Linux it is a matter of distribution, e.g. on Debian it is sufficient to execute "sudo apt-get install aspell-es". In Windows, it depends on the installer used. If you used LyXWinInstaller (http://wiki.lyx.org/Windows/LyXWinInstaller), the aspell program is already installed. All you have to do is to pick which dictionaries you want to use, see: http://wiki.lyx.org/Windows/Aspell6 Hope this helps, Vasek On Thursday 21 September 2006 00:48, Juan Carlos Reyes wrote: > Hi! > I'm new in Lyx, sadly i discovered a bit late for all my faculty paper. Now > I0m learning to use it while I write my last dissertation paper. > Sorry for the silly question. I'm new in Lyx and I have been looking in the > wiki an the web page the way to install the spellcheck in english (and > spanish) > Can anyone help me or give me a link? > Thanks! -- ----- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Document - Change Tracking?
On Tuesday 19 September 2006 02:05, Wolfgang Keller wrote: Hello, is there some documentation available about how the Change Tracking features in LyX work? Especially merging? BTW: Is the LyX file format subversion-friendly (i.e. diff-able)? I use LyX with SVN regularly. According to my experience, collaborative writing when the authors are working in their own parts is flawless and I am happily using it. However, things get complicated when: 1) you run into a conflict, merging the files using standard tools may produce invalid LyX file. This is due to the fact that LyX file contains, e.g. \begin_inset ERT status Collapsed \layout Standard \backslash \end_inset This confuse all merging tools I tried, since they are line-based and they are not able to respect the corresponding \begin_inset and \end_inset. If they (or you manually) accidently remove the beginning or end, you are in trouble. If anyone known of a merging tool that is able to treat \begin_inset \end_inset correctly, please let me know. 2) using LyX Change-Tracking feature. The trouble is that LyX is changing ID numbers of each change when saving. Therefore, any two saved documents have differences on the same line, causing conflicts. You have to go through your files manually to correct this. Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Document - Change Tracking?
On Tuesday 19 September 2006 02:05, Wolfgang Keller wrote: Hello, is there some documentation available about how the Change Tracking features in LyX work? Especially merging? BTW: Is the LyX file format subversion-friendly (i.e. diff-able)? I use LyX with SVN regularly. According to my experience, collaborative writing when the authors are working in their own parts is flawless and I am happily using it. However, things get complicated when: 1) you run into a conflict, merging the files using standard tools may produce invalid LyX file. This is due to the fact that LyX file contains, e.g. \begin_inset ERT status Collapsed \layout Standard \backslash \end_inset This confuse all merging tools I tried, since they are line-based and they are not able to respect the corresponding \begin_inset and \end_inset. If they (or you manually) accidently remove the beginning or end, you are in trouble. If anyone known of a merging tool that is able to treat \begin_inset \end_inset correctly, please let me know. 2) using LyX Change-Tracking feature. The trouble is that LyX is changing ID numbers of each change when saving. Therefore, any two saved documents have differences on the same line, causing conflicts. You have to go through your files manually to correct this. Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Document -> Change Tracking?
On Tuesday 19 September 2006 02:05, Wolfgang Keller wrote: > Hello, > > is there some documentation available about how the "Change Tracking" > features in LyX work? Especially merging? > > BTW: Is the LyX file format subversion-friendly (i.e. diff-able)? I use LyX with SVN regularly. According to my experience, collaborative writing when the authors are working in their own parts is flawless and I am happily using it. However, things get complicated when: 1) you run into a conflict, merging the files using standard tools may produce invalid LyX file. This is due to the fact that LyX file contains, e.g. \begin_inset ERT status Collapsed \layout Standard \backslash \end_inset This confuse all merging tools I tried, since they are line-based and they are not able to respect the corresponding \begin_inset and \end_inset. If they (or you manually) accidently remove the beginning or end, you are in trouble. If anyone known of a merging tool that is able to treat \begin_inset \end_inset correctly, please let me know. 2) using LyX Change-Tracking feature. The trouble is that LyX is changing ID numbers of each change when saving. Therefore, any two saved documents have differences on the same line, causing conflicts. You have to go through your files manually to correct this. Vasek -- --------- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: lyx1.4.2 in kubuntu
Hi Richard, I can confirm that your package works seemlessly on my Dapper. Would it be possible to upload it to the oficial LyX ftp? Vasek On Monday 31 July 2006 16:37, Richard Kleeman wrote: I tried to recompile lyx-1.4.2 packages for Dapper using the new Debian unstable packages. The packaging failed right at the end (no version number for lyx-common found). So I recompiled myself and used checkinstall to produce an interim package. You can get it here: http://www.math.nyu.edu/faculty/kleeman/dapper/lyx-1.4.2_1.4.2-1_i386.deb Before you install it (use sudo dpkg -i lyx-1.4.2_1.4.2-1_i386.deb) make sure that the standard dapper lyx packages are not installed (there are several). I use it to write papers and it works well. Richard Kleeman -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: lyx1.4.2 in kubuntu
Hi Richard, I can confirm that your package works seemlessly on my Dapper. Would it be possible to upload it to the oficial LyX ftp? Vasek On Monday 31 July 2006 16:37, Richard Kleeman wrote: I tried to recompile lyx-1.4.2 packages for Dapper using the new Debian unstable packages. The packaging failed right at the end (no version number for lyx-common found). So I recompiled myself and used checkinstall to produce an interim package. You can get it here: http://www.math.nyu.edu/faculty/kleeman/dapper/lyx-1.4.2_1.4.2-1_i386.deb Before you install it (use sudo dpkg -i lyx-1.4.2_1.4.2-1_i386.deb) make sure that the standard dapper lyx packages are not installed (there are several). I use it to write papers and it works well. Richard Kleeman -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: lyx1.4.2 in kubuntu
Hi Richard, I can confirm that your package works seemlessly on my Dapper. Would it be possible to upload it to the oficial LyX ftp? Vasek On Monday 31 July 2006 16:37, Richard Kleeman wrote: > I tried to recompile lyx-1.4.2 packages for Dapper using the new Debian > unstable packages. The packaging failed right at the end (no version > number for lyx-common found). So I recompiled myself and used > checkinstall to produce an interim package. You can get it here: > > http://www.math.nyu.edu/faculty/kleeman/dapper/lyx-1.4.2_1.4.2-1_i386.deb > > Before you install it (use sudo dpkg -i lyx-1.4.2_1.4.2-1_i386.deb) make > sure that the standard dapper lyx packages are not installed (there are > several). > > I use it to write papers and it works well. > > Richard Kleeman > -- --------- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: popups stopping lyx (latex export)
On Friday 12 May 2006 15:19, Pol wrote: As i try to export my doc as latex, a popup ask me if i want to overwrite pictures (eps format, in my case). Replying 'overwrite all' lead to correct completion, but why should pictures be re-created? When the 'document-settings' panel is open, the above popup cannot be started. As a result, no latex export is produced, with non notification. I suspect it is a more general misbehaviour, certain popup windows blocking lyx. Can anybody confirm such behaviour? thank you pol I can confirm similar behaviour. In my case, lyx is trying to rewrite .tex files which are included into the document using Include_file... Vasek
Re: popups stopping lyx (latex export)
On Friday 12 May 2006 15:19, Pol wrote: As i try to export my doc as latex, a popup ask me if i want to overwrite pictures (eps format, in my case). Replying 'overwrite all' lead to correct completion, but why should pictures be re-created? When the 'document-settings' panel is open, the above popup cannot be started. As a result, no latex export is produced, with non notification. I suspect it is a more general misbehaviour, certain popup windows blocking lyx. Can anybody confirm such behaviour? thank you pol I can confirm similar behaviour. In my case, lyx is trying to rewrite .tex files which are included into the document using Include_file... Vasek
Re: popups stopping lyx (latex export)
On Friday 12 May 2006 15:19, Pol wrote: > As i try to export my doc as latex, a popup ask me if i want to > overwrite pictures (eps format, in my case). Replying 'overwrite all' > lead to correct completion, but why should pictures be re-created? > > When the 'document->settings' panel is open, the above popup cannot be > started. As a result, no latex export is produced, with non > notification. I suspect it is a more general misbehaviour, certain popup > windows blocking lyx. > Can anybody confirm such behaviour? > > thank you > > pol I can confirm similar behaviour. In my case, lyx is trying to rewrite .tex files which are included into the document using Include_file... Vasek
Re: Several appendixes
Hi Susane, LyX shows you only when the appendices start, (by red line) Each chapter (in book) or section (in article) after this line works as an extra appendix. Vasek On Friday 28 April 2006 11:54, Susanne Gütter wrote: Hi all, in my diploma thesis I need several appendixes, but lyx shows me only one appendix. How can I change this? I use Lyx 1.3.4. Regards Susanne -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Several appendixes
Hi Susane, LyX shows you only when the appendices start, (by red line) Each chapter (in book) or section (in article) after this line works as an extra appendix. Vasek On Friday 28 April 2006 11:54, Susanne Gütter wrote: Hi all, in my diploma thesis I need several appendixes, but lyx shows me only one appendix. How can I change this? I use Lyx 1.3.4. Regards Susanne -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Several appendixes
Hi Susane, LyX shows you only when the appendices start, (by red line) Each chapter (in book) or section (in article) after this line works as an extra appendix. Vasek On Friday 28 April 2006 11:54, Susanne Gütter wrote: > Hi all, > > in my diploma thesis I need several appendixes, but lyx shows me only one > appendix. How can I change this? I use Lyx 1.3.4. > > Regards Susanne -- ----- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Putting something in the center of the page
Hi Stacia, did you try using vertical fill (vfill)? These are in LayoutParagraphSpacing and do not forget to select Keep space. Example file attached. Vasek On Wednesday 26 April 2006 05:01, Stacia Hartleben wrote: How do I place something in the very center of a page, if I want something like a seperate title page? I'm doing a bit of a hack right now with a ton of line breaks, but it seems like there should be a better solution which perfectly centers it... -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic newfile1.lyx Description: application/lyx
Re: Putting something in the center of the page
Hi Stacia, did you try using vertical fill (vfill)? These are in LayoutParagraphSpacing and do not forget to select Keep space. Example file attached. Vasek On Wednesday 26 April 2006 05:01, Stacia Hartleben wrote: How do I place something in the very center of a page, if I want something like a seperate title page? I'm doing a bit of a hack right now with a ton of line breaks, but it seems like there should be a better solution which perfectly centers it... -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic newfile1.lyx Description: application/lyx
Re: Putting something in the center of the page
Hi Stacia, did you try using vertical fill (vfill)? These are in Layout>Paragraph>Spacing and do not forget to select "Keep space". Example file attached. Vasek On Wednesday 26 April 2006 05:01, Stacia Hartleben wrote: > How do I place something in the very center of a page, if I want > something like a seperate title page? I'm doing a bit of a hack right > now with a ton of line breaks, but it seems like there should be a > better solution which perfectly centers it... -- --------- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic newfile1.lyx Description: application/lyx
Re: Text of diagram with the font of the main document
On Friday 17 February 2006 20:14, Paul Smith wrote: Dear All I have a diagram which I can export as PNG, JPG, PDF or SVG. What should I do so that the text of the diagram appears with the same font of the main document? Is that possible? Thanks in advance, Paul Hi, this is possible with xfig. One of its export options is pslatex/pdflatex, it converts the graphics into two parts: the first is ps/pdf with curves, and the second is .tex file with texts in latex picture enviroment. When you include the second file into your document it will be type-set identically to the rest. Quite a few linux programs can export into xfig's native format, so it should be no problem. Hope it helps, Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Text of diagram with the font of the main document
On Friday 17 February 2006 20:14, Paul Smith wrote: Dear All I have a diagram which I can export as PNG, JPG, PDF or SVG. What should I do so that the text of the diagram appears with the same font of the main document? Is that possible? Thanks in advance, Paul Hi, this is possible with xfig. One of its export options is pslatex/pdflatex, it converts the graphics into two parts: the first is ps/pdf with curves, and the second is .tex file with texts in latex picture enviroment. When you include the second file into your document it will be type-set identically to the rest. Quite a few linux programs can export into xfig's native format, so it should be no problem. Hope it helps, Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Text of diagram with the font of the main document
On Friday 17 February 2006 20:14, Paul Smith wrote: > Dear All > > I have a diagram which I can export as PNG, JPG, PDF or SVG. What > should I do so that the text of the diagram appears with the same font > of the main document? Is that possible? > > Thanks in advance, > > Paul Hi, this is possible with xfig. One of its export options is pslatex/pdflatex, it converts the graphics into two parts: the first is ps/pdf with curves, and the second is .tex file with texts in latex picture enviroment. When you include the second file into your document it will be type-set identically to the rest. Quite a few linux programs can export into xfig's native format, so it should be no problem. Hope it helps, Vasek -- ----- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://staff.utia.cz/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: dia help
Hi myriam, I have used dia for illustrations and I found that the best way to use them in LyX/Latex is the following way: Dia - xfig - pdf/latex. A shell script for this conversion is attached. It produces two files: .pdf and .tex. To include your drawing in the document go for InsertInclude File... and enter the name of the .tex file in the dialog that comes up. In this way, you can use latex commands in Dia. These will be interpreted by latex when compiling the main document. The result looks much better. However, the process is a bit tricky, with many things that can go wrong. Let me know if it works for you. Vasek On Monday 12 September 2005 01:01, Myriam Abramson wrote: Hi! Somebody on this list might be familiar with the dia editor tool for drawing diagrams on many Linux distributions. The text facility seems pretty basic and I urgently need to have subscripts and superscripts. Does anybody know how to do that in a nice way? Thanks for your insights, -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic dia2pdftex Description: application/shellscript
Re: dia help
Hi myriam, I have used dia for illustrations and I found that the best way to use them in LyX/Latex is the following way: Dia - xfig - pdf/latex. A shell script for this conversion is attached. It produces two files: .pdf and .tex. To include your drawing in the document go for InsertInclude File... and enter the name of the .tex file in the dialog that comes up. In this way, you can use latex commands in Dia. These will be interpreted by latex when compiling the main document. The result looks much better. However, the process is a bit tricky, with many things that can go wrong. Let me know if it works for you. Vasek On Monday 12 September 2005 01:01, Myriam Abramson wrote: Hi! Somebody on this list might be familiar with the dia editor tool for drawing diagrams on many Linux distributions. The text facility seems pretty basic and I urgently need to have subscripts and superscripts. Does anybody know how to do that in a nice way? Thanks for your insights, -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic dia2pdftex Description: application/shellscript
Re: dia help
Hi myriam, I have used dia for illustrations and I found that the best way to use them in LyX/Latex is the following way: Dia -> xfig -> pdf/latex. A shell script for this conversion is attached. It produces two files: .pdf and .tex. To include your drawing in the document go for Insert>Include File... and enter the name of the .tex file in the dialog that comes up. In this way, you can use latex commands in Dia. These will be interpreted by latex when compiling the main document. The result looks much better. However, the process is a bit tricky, with many things that can go wrong. Let me know if it works for you. Vasek On Monday 12 September 2005 01:01, Myriam Abramson wrote: > Hi! > > Somebody on this list might be familiar with the dia editor tool for > drawing diagrams on many Linux distributions. > > The text facility seems pretty basic and I urgently need to have > subscripts and superscripts. Does anybody know how to do that in a > nice way? > > Thanks for your insights, -- ----- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic dia2pdftex Description: application/shellscript
Re: LyX doesn't store my PDF viewer info
I have seen similar problem on my colleagues computer, we resolved it using the workaround with PATH as described by Angus. To my understanding, the trouble is, that saving the full path F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe in the preferences, adds extra around it, so that it looks like F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe and, when this is read by lyx, it appears as empty string (). Vasek then everything works for the duration of that LyX session. But when I exit the program, and reenter the program, no viewer is listed when I select Edit-Preferences and look under PDF. However, the viewer IS listed in the actual preferences file. For some reason, LyX is failing to load this preference from the file. I tried Angus' suggested work-around of setting the path to include f:\Program Files\Adobe\Acrobat 7.0\Reader, and then just set the viewer to acrord32.exe. Interestingly, LyX IS able to load the path from the preferences file, and the viewer of just acrord32.exe just fine. It can remember the viewer when it is acrord32.exe but not the longer full pathname, which is certainly a bit baffling. However, when I try to view the pdf with those settings, it IS able to open the viewer, but cannot find the temp pdflatexed file to open. Argh! So, this combination of settings doesn't work, but for a completely different reason. --Mark On 9/8/05, Stephen P. Harris [EMAIL PROTECTED] wrote: - Original Message - From: Mark Engelberg [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Thursday, September 08, 2005 1:01 PM Subject: LyX doesn't store my PDF viewer info When I set LyX to tell it the path and file name of my Acrobat Reader, it doesn't stick. When I quit, and restart it, and loses that info. --Mark My viewer has this path, C:\reader7\Reader\AcroRd32.exe Yours is probably in F:\program files\adobe etc So try using the full path name including the drive letter. Since you probably know to modify and save, perhaps the changes are being saved to the wrong partition.? Locate (all) your preferences file by searching all your partitions and remember to enable search hidden files and folders. Mine is C:\Documents and Settings\Stephen\Application Data\LyX Still, I think using the full path including drive letter should fix it, if any of the other preferences options are being read and you have only one preferences file. -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: LyX doesn't store my PDF viewer info
I have seen similar problem on my colleagues computer, we resolved it using the workaround with PATH as described by Angus. To my understanding, the trouble is, that saving the full path F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe in the preferences, adds extra around it, so that it looks like F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe and, when this is read by lyx, it appears as empty string (). Vasek then everything works for the duration of that LyX session. But when I exit the program, and reenter the program, no viewer is listed when I select Edit-Preferences and look under PDF. However, the viewer IS listed in the actual preferences file. For some reason, LyX is failing to load this preference from the file. I tried Angus' suggested work-around of setting the path to include f:\Program Files\Adobe\Acrobat 7.0\Reader, and then just set the viewer to acrord32.exe. Interestingly, LyX IS able to load the path from the preferences file, and the viewer of just acrord32.exe just fine. It can remember the viewer when it is acrord32.exe but not the longer full pathname, which is certainly a bit baffling. However, when I try to view the pdf with those settings, it IS able to open the viewer, but cannot find the temp pdflatexed file to open. Argh! So, this combination of settings doesn't work, but for a completely different reason. --Mark On 9/8/05, Stephen P. Harris [EMAIL PROTECTED] wrote: - Original Message - From: Mark Engelberg [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Thursday, September 08, 2005 1:01 PM Subject: LyX doesn't store my PDF viewer info When I set LyX to tell it the path and file name of my Acrobat Reader, it doesn't stick. When I quit, and restart it, and loses that info. --Mark My viewer has this path, C:\reader7\Reader\AcroRd32.exe Yours is probably in F:\program files\adobe etc So try using the full path name including the drive letter. Since you probably know to modify and save, perhaps the changes are being saved to the wrong partition.? Locate (all) your preferences file by searching all your partitions and remember to enable search hidden files and folders. Mine is C:\Documents and Settings\Stephen\Application Data\LyX Still, I think using the full path including drive letter should fix it, if any of the other preferences options are being read and you have only one preferences file. -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: LyX doesn't store my PDF viewer info
I have seen similar problem on my colleagues computer, we resolved it using the workaround with PATH as described by Angus. To my understanding, the trouble is, that saving the full path "F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe" in the preferences, adds extra " around it, so that it looks like ""F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe"" and, when this is read by lyx, it appears as empty string (""). Vasek > then everything works for the duration of that LyX session. > > But when I exit the program, and reenter the program, no viewer is > listed when I select "Edit->Preferences" and look under PDF. However, > the viewer IS listed in the actual preferences file. For some reason, > LyX is failing to load this preference from the file. > > I tried Angus' suggested work-around of setting the path to include > f:\Program Files\Adobe\Acrobat 7.0\Reader, and then just set the > viewer to acrord32.exe. > > Interestingly, LyX IS able to load the path from the preferences file, > and the viewer of just acrord32.exe just fine. It can remember the > viewer when it is acrord32.exe but not the longer full pathname, which > is certainly a bit baffling. > > However, when I try to view the pdf with those settings, it IS able to > open the viewer, but cannot find the temp pdflatexed file to open. > Argh! So, this combination of settings doesn't work, but for a > completely different reason. > > --Mark > > On 9/8/05, Stephen P. Harris <[EMAIL PROTECTED]> wrote: > > - Original Message - > > From: "Mark Engelberg" <[EMAIL PROTECTED]> > > To: <lyx-users@lists.lyx.org> > > Sent: Thursday, September 08, 2005 1:01 PM > > Subject: LyX doesn't store my PDF viewer info > > > > > > When I set LyX to tell it the path and file name of my Acrobat Reader, > > it doesn't stick. > > When I quit, and restart it, and loses that info. > > > > --Mark > > > > My viewer has this path, C:\reader7\Reader\AcroRd32.exe > > Yours is probably in F:\program files\adobe etc > > So try using the full path name including the drive letter. > > > > Since you probably know to modify and save, perhaps > > the changes are being saved to the wrong partition.? Locate > > (all) your preferences file by searching all your partitions and > > remember to enable search "hidden files and folders". Mine is > > C:\Documents and Settings\Stephen\Application Data\LyX > > Still, I think using the full path including drive letter should fix > > it, if any of the other preferences options are being read and > > you have only one preferences file. -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: laprint psfrag
On Friday 27 May 2005 22:26, Richard Wang wrote: In case that someone knows a2ping, the line 1681 is: o_force_papersize: die if is_page1_stop(); # vvv ($llx,$lly,$urx,$ury)=(0,0,$papersize_x,$papersize_y); Thanks. Well, a2ping has tendency to die a lot. I took me some time to get it to do what I wanted. Try to play with it in command line and see when it works for you. The problem above has something to do with papersize. Are you still using scaling factor 2? It might produce pictures larger than pagesize. Does it work with 1? Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: laprint psfrag
On Friday 27 May 2005 22:26, Richard Wang wrote: In case that someone knows a2ping, the line 1681 is: o_force_papersize: die if is_page1_stop(); # vvv ($llx,$lly,$urx,$ury)=(0,0,$papersize_x,$papersize_y); Thanks. Well, a2ping has tendency to die a lot. I took me some time to get it to do what I wanted. Try to play with it in command line and see when it works for you. The problem above has something to do with papersize. Are you still using scaling factor 2? It might produce pictures larger than pagesize. Does it work with 1? Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: laprint & psfrag
On Friday 27 May 2005 22:26, Richard Wang wrote: > In case that someone knows a2ping, the line 1681 is: > >o_force_papersize: >die if is_page1_stop(); ># vvv ($llx,$lly,$urx,$ury)=(0,0,$papersize_x,$papersize_y); > > Thanks. > Well, a2ping has tendency to die a lot. I took me some time to get it to do what I wanted. Try to play with it in command line and see when it works for you. The problem above has something to do with papersize. Are you still using scaling factor 2? It might produce pictures larger than pagesize. Does it work with 1? Vasek -- --------- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: laprint psfrag
Hi, I do, indirectly. I have a matlab .m file that runs latex on background and produce a .pdf file. Attached. It is also using a2ping script, which is too big for mailinglist, google for it, or I can send it in private e-mail. Vasek On Friday 27 May 2005 10:08, Richard Wang wrote: Hi, Anyone use laprint, a matlab function, successfully in lyx? Richard -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic function monoprint(figno,name,scale); % function prints figure fig to pdf file name % It is using laprint to complete the job % settings for Springer Mono latex class set(0,'defaulttextinterpreter','none'); laprint(figno,'/tmp/laprint_out',... 'width',scale*11.8,... 'factor',0.6,... 'scalefonts','off',... 'keepfontprops','on',... 'asonscreen','on',... 'printcmd',['print(''-ffigurenumber'',' ... '''-depsc2'',''filename.eps'')'],... 'mathticklabels','on'); if 1 fprintf(1,' Compiling: LaTeX - dvips - pdf ...\r'); latextmp=fopen(['/tmp/pcttmp.tex'],'w'); fprintf(latextmp,'\\documentclass[10pt]{article}\n'); fprintf(latextmp,'\\usepackage[margin=0mm]{geometry}\n'); fprintf(latextmp,'\\usepackage{graphicp,psfrag}\n'); fprintf(latextmp,'\\input{mono-pre.tex}\n'); fprintf(latextmp,'\\begin{document}\n'); fprintf(latextmp,'\\thispagestyle{empty}\n'); fprintf(latextmp,'\\input{%s.tex}\n\\end{document}\n','laprint_out'); fclose(latextmp); end curpath = pwd; eval('!cd /tmp; latex pcttmp.tex /dev/null;'); if (exist('/tmp/pcttmp.dvi') == 2) eval(['!cd /tmp; dvips -q pcttmp.dvi -o laprint_out.ps']); eval(['!cd /tmp; ~/bin/a2ping.pl laprint_out.ps']); eval(['!cp /tmp/laprint_out.pdf ' curpath '/' name '.pdf']); end
Re: laprint psfrag
On Friday 27 May 2005 19:40, Richard Wang wrote: Hi Vasek, Thanks for the message. I tried to run monoprint with the following code, x=0:0.1:1 plot(x,sin(x)) monoprint(1,'test4',2) Strange. Works fine on my setup. (Linux, tetex) BTW, I would not use 2 as the third argument. The picture would be bigger than the page of article class. You would need to add a3paper to its options. But the system hung... Well, this happens when there is malformed latex code in the figure and latex runs in interactive mode. Do you have all the packages? graphicp,psfrag, geometry Actually, you do not need graphicp, change it to graphicx, it should also work. What happens if you go to /tmp and run: latex pcttmp.tex manually? Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: laprint psfrag
! LaTeX Error: File `mono-pre.tex' not found. Oh, sorry, I did not noticed that. It is a file with my personal newcommands. :-). Remove it or replace with your own... Best, Vasek
Re: laprint psfrag
Hi, I do, indirectly. I have a matlab .m file that runs latex on background and produce a .pdf file. Attached. It is also using a2ping script, which is too big for mailinglist, google for it, or I can send it in private e-mail. Vasek On Friday 27 May 2005 10:08, Richard Wang wrote: Hi, Anyone use laprint, a matlab function, successfully in lyx? Richard -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic function monoprint(figno,name,scale); % function prints figure fig to pdf file name % It is using laprint to complete the job % settings for Springer Mono latex class set(0,'defaulttextinterpreter','none'); laprint(figno,'/tmp/laprint_out',... 'width',scale*11.8,... 'factor',0.6,... 'scalefonts','off',... 'keepfontprops','on',... 'asonscreen','on',... 'printcmd',['print(''-ffigurenumber'',' ... '''-depsc2'',''filename.eps'')'],... 'mathticklabels','on'); if 1 fprintf(1,' Compiling: LaTeX - dvips - pdf ...\r'); latextmp=fopen(['/tmp/pcttmp.tex'],'w'); fprintf(latextmp,'\\documentclass[10pt]{article}\n'); fprintf(latextmp,'\\usepackage[margin=0mm]{geometry}\n'); fprintf(latextmp,'\\usepackage{graphicp,psfrag}\n'); fprintf(latextmp,'\\input{mono-pre.tex}\n'); fprintf(latextmp,'\\begin{document}\n'); fprintf(latextmp,'\\thispagestyle{empty}\n'); fprintf(latextmp,'\\input{%s.tex}\n\\end{document}\n','laprint_out'); fclose(latextmp); end curpath = pwd; eval('!cd /tmp; latex pcttmp.tex /dev/null;'); if (exist('/tmp/pcttmp.dvi') == 2) eval(['!cd /tmp; dvips -q pcttmp.dvi -o laprint_out.ps']); eval(['!cd /tmp; ~/bin/a2ping.pl laprint_out.ps']); eval(['!cp /tmp/laprint_out.pdf ' curpath '/' name '.pdf']); end
Re: laprint psfrag
On Friday 27 May 2005 19:40, Richard Wang wrote: Hi Vasek, Thanks for the message. I tried to run monoprint with the following code, x=0:0.1:1 plot(x,sin(x)) monoprint(1,'test4',2) Strange. Works fine on my setup. (Linux, tetex) BTW, I would not use 2 as the third argument. The picture would be bigger than the page of article class. You would need to add a3paper to its options. But the system hung... Well, this happens when there is malformed latex code in the figure and latex runs in interactive mode. Do you have all the packages? graphicp,psfrag, geometry Actually, you do not need graphicp, change it to graphicx, it should also work. What happens if you go to /tmp and run: latex pcttmp.tex manually? Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: laprint psfrag
! LaTeX Error: File `mono-pre.tex' not found. Oh, sorry, I did not noticed that. It is a file with my personal newcommands. :-). Remove it or replace with your own... Best, Vasek
Re: laprint & psfrag
Hi, I do, indirectly. I have a matlab .m file that runs latex on background and produce a .pdf file. Attached. It is also using a2ping script, which is too big for mailinglist, google for it, or I can send it in private e-mail. Vasek On Friday 27 May 2005 10:08, Richard Wang wrote: > Hi, > > Anyone use laprint, a matlab function, successfully in lyx? > > Richard -- ----- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic function monoprint(figno,name,scale); % function prints figure "fig" to pdf file "name" % It is using laprint to complete the job % settings for Springer Mono latex class set(0,'defaulttextinterpreter','none'); laprint(figno,'/tmp/laprint_out',... 'width',scale*11.8,... 'factor',0.6,... 'scalefonts','off',... 'keepfontprops','on',... 'asonscreen','on',... 'printcmd',['print(''-f'',' ... '''-depsc2'',)'],... 'mathticklabels','on'); if 1 fprintf(1,' Compiling: LaTeX -> dvips -> pdf ...\r'); latextmp=fopen(['/tmp/pcttmp.tex'],'w'); fprintf(latextmp,'\\documentclass[10pt]{article}\n'); fprintf(latextmp,'\\usepackage[margin=0mm]{geometry}\n'); fprintf(latextmp,'\\usepackage{graphicp,psfrag}\n'); fprintf(latextmp,'\\input{mono-pre.tex}\n'); fprintf(latextmp,'\\begin{document}\n'); fprintf(latextmp,'\\thispagestyle{empty}\n'); fprintf(latextmp,'\\input{%s.tex}\n\\end{document}\n','laprint_out'); fclose(latextmp); end curpath = pwd; eval('!cd /tmp; latex pcttmp.tex >/dev/null;'); if (exist('/tmp/pcttmp.dvi') == 2) eval(['!cd /tmp; dvips -q pcttmp.dvi -o laprint_out.ps']); eval(['!cd /tmp; ~/bin/a2ping.pl laprint_out.ps']); eval(['!cp /tmp/laprint_out.pdf ' curpath '/' name '.pdf']); end
Re: laprint & psfrag
On Friday 27 May 2005 19:40, Richard Wang wrote: > Hi Vasek, > > Thanks for the message. I tried to run monoprint with the following > code, > > x=0:0.1:1 > plot(x,sin(x)) > monoprint(1,'test4',2) > Strange. Works fine on my setup. (Linux, tetex) BTW, I would not use 2 as the third argument. The picture would be bigger than the page of article class. You would need to add a3paper to its options. > But the system hung... Well, this happens when there is malformed latex code in the figure and latex runs in interactive mode. Do you have all the packages? graphicp,psfrag, geometry Actually, you do not need graphicp, change it to graphicx, it should also work. What happens if you go to /tmp and run: latex pcttmp.tex manually? Vasek -- ----- Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: laprint & psfrag
> > ! LaTeX Error: File `mono-pre.tex' not found. > Oh, sorry, I did not noticed that. It is a file with my personal newcommands. :-). Remove it or replace with your own... Best, Vasek
Re: key-binding numbers
thanks for info, I was not aware of 'xev', it's really helpful app. However, my basic problem remains... I was trying to set up lyx for a colleague who is working on Win. I dont know much about key-handling in win, so I thought I will use lyx mechanisms for key-binding. But I guess, the best think is to look for a proper windows keyboard layout. Vasek On Thursday 10 February 2005 08:31, Eric S Fraga wrote: On Wed, Feb 09, 2005 at 07:54:02PM +0100, Vaclav Smidl wrote: I am trying to modify some key binding files to get the following: if I press regular 1 insert x (for example) if I press numeric 1 insert 1 I am struggling with the following: If I use \kmap: it does not distinguish regular and numeric 1. If I use: \bind 1 self-insert x \bind KP_1 self-insert 1 I am getting always 1, If I use: \bind KP_1 self-insert 1 \bind 1 self-insert x I am getting always x. Any thoughts, workarounds? I can't help you directly with lyx and how it handles bindings like these but one possible workaround (which will unfortunately affect other applications as well), assuming you are using X11 and not MS Windows, is to re-map the keypad 1 key to something else using 'xmodmap'. For instance, you could map it to F23 (a function key that might not already exist on your keyboard). You can use 'xev' to find out the keycode for each key on your keyboard. HTH, eric -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: key-binding numbers
On Thursday 10 February 2005 11:30, G. Milde wrote: On 9.02.05, Vaclav Smidl wrote: If I use: \bind 1 self-insert x \bind KP_1 self-insert 1 I am getting always 1, If I use: \bind KP_1 self-insert 1 \bind 1 self-insert x I am getting always x. Just a guess. Did you try with both, NumLock activated and not activated? I did, with deactivated NumLock, KP_1 behaves as End. Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: key-binding numbers
thanks for info, I was not aware of 'xev', it's really helpful app. However, my basic problem remains... I was trying to set up lyx for a colleague who is working on Win. I dont know much about key-handling in win, so I thought I will use lyx mechanisms for key-binding. But I guess, the best think is to look for a proper windows keyboard layout. Vasek On Thursday 10 February 2005 08:31, Eric S Fraga wrote: On Wed, Feb 09, 2005 at 07:54:02PM +0100, Vaclav Smidl wrote: I am trying to modify some key binding files to get the following: if I press regular 1 insert x (for example) if I press numeric 1 insert 1 I am struggling with the following: If I use \kmap: it does not distinguish regular and numeric 1. If I use: \bind 1 self-insert x \bind KP_1 self-insert 1 I am getting always 1, If I use: \bind KP_1 self-insert 1 \bind 1 self-insert x I am getting always x. Any thoughts, workarounds? I can't help you directly with lyx and how it handles bindings like these but one possible workaround (which will unfortunately affect other applications as well), assuming you are using X11 and not MS Windows, is to re-map the keypad 1 key to something else using 'xmodmap'. For instance, you could map it to F23 (a function key that might not already exist on your keyboard). You can use 'xev' to find out the keycode for each key on your keyboard. HTH, eric -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: key-binding numbers
On Thursday 10 February 2005 11:30, G. Milde wrote: On 9.02.05, Vaclav Smidl wrote: If I use: \bind 1 self-insert x \bind KP_1 self-insert 1 I am getting always 1, If I use: \bind KP_1 self-insert 1 \bind 1 self-insert x I am getting always x. Just a guess. Did you try with both, NumLock activated and not activated? I did, with deactivated NumLock, KP_1 behaves as End. Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: key-binding numbers
thanks for info, I was not aware of 'xev', it's really helpful app. However, my basic problem remains... I was trying to set up lyx for a colleague who is working on Win. I dont know much about key-handling in win, so I thought I will use lyx mechanisms for key-binding. But I guess, the best think is to look for a proper windows keyboard layout. Vasek On Thursday 10 February 2005 08:31, Eric S Fraga wrote: > On Wed, Feb 09, 2005 at 07:54:02PM +0100, Vaclav Smidl wrote: > > I am trying to modify some key binding files to get the following: > > > > if I press regular "1" insert "x" (for example) > > if I press numeric "1" insert "1" > > > > I am struggling with the following: > > If I use \kmap: > > it does not distinguish regular and numeric "1". > > > > If I use: > > \bind "1" "self-insert x" > > \bind "KP_1" "self-insert 1" > > I am getting always 1, > > > > If I use: > > \bind "KP_1" "self-insert 1" > > \bind "1" "self-insert x" > > I am getting always x. > > > > Any thoughts, workarounds? > > I can't help you directly with lyx and how it handles bindings like these > but one possible workaround (which will unfortunately affect other > applications as well), assuming you are using X11 and not MS Windows, is to > re-map the keypad 1 key to something else using 'xmodmap'. For instance, > you could map it to F23 (a function key that might not already exist on > your keyboard). You can use 'xev' to find out the keycode for each key on > your keyboard. > > HTH, > eric -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: key-binding numbers
On Thursday 10 February 2005 11:30, G. Milde wrote: > On 9.02.05, Vaclav Smidl wrote: > > If I use: > > \bind "1" "self-insert x" > > \bind "KP_1" "self-insert 1" > > I am getting always 1, > > > > If I use: > > \bind "KP_1" "self-insert 1" > > \bind "1" "self-insert x" > > I am getting always x. > > Just a guess. Did you try with both, NumLock activated and not activated? I did, with deactivated NumLock, KP_1 behaves as End. Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
key-binding numbers
Hi all, I am trying to modify some key binding files to get the following: if I press regular 1 insert x (for example) if I press numeric 1 insert 1 I am struggling with the following: If I use \kmap: it does not distinguish regular and numeric 1. If I use: \bind 1 self-insert x \bind KP_1 self-insert 1 I am getting always 1, If I use: \bind KP_1 self-insert 1 \bind 1 self-insert x I am getting always x. Any thoughts, workarounds? Thanks, Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
key-binding numbers
Hi all, I am trying to modify some key binding files to get the following: if I press regular 1 insert x (for example) if I press numeric 1 insert 1 I am struggling with the following: If I use \kmap: it does not distinguish regular and numeric 1. If I use: \bind 1 self-insert x \bind KP_1 self-insert 1 I am getting always 1, If I use: \bind KP_1 self-insert 1 \bind 1 self-insert x I am getting always x. Any thoughts, workarounds? Thanks, Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
key-binding numbers
Hi all, I am trying to modify some key binding files to get the following: if I press regular "1" insert "x" (for example) if I press numeric "1" insert "1" I am struggling with the following: If I use \kmap: it does not distinguish regular and numeric "1". If I use: \bind "1" "self-insert x" \bind "KP_1" "self-insert 1" I am getting always 1, If I use: \bind "KP_1" "self-insert 1" \bind "1" "self-insert x" I am getting always x. Any thoughts, workarounds? Thanks, Vasek -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Getting LyX to replace custom-defined symbols as if they were standard LaTeX symbols
It si probably math-macros what you are looking for. Basicaly, it is LyX frontend to \newcommand. It is all well described in the User Guide (MenuHelpUserGuide), Section 5.6 Usedr defined macros in math mode. good luck, Vasek On Wednesday 02 February 2005 17:10, Davide Cescato wrote: Hello, I am writing a draft for an article and I am still unsure about the names of some variables I am going to use in my final version. In order to handle this situation, in LaTeX I would define \newcommand{\ntx}{N_T} \newcommand{\nrx}{N_R} and then use \ntx and \nrx in my formulas whenever needed. If I later decide to use M_T instead of N_T, I can just redefine \ntx correspondingly without replacing all occurrencies in the document. I can do the same in LyX, by adding the commands above to the document header or as LaTeX code within the document body. The point is that if I enter math mode and type \ntx\sigma\nrx , LyX will replace the LaTeX standard \sigma command with the Greek character, but not my custom-defined symbols, which will only appear with their command names in red. This makes my formulas almost as unreadable as if they were written in plain LaTeX! Is there a way to make LyX replace my commands as well, as it does with the standard LaTeX ones? Thanks for your suggestions D. -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Getting LyX to replace custom-defined symbols as if they were standard LaTeX symbols
It si probably math-macros what you are looking for. Basicaly, it is LyX frontend to \newcommand. It is all well described in the User Guide (MenuHelpUserGuide), Section 5.6 Usedr defined macros in math mode. good luck, Vasek On Wednesday 02 February 2005 17:10, Davide Cescato wrote: Hello, I am writing a draft for an article and I am still unsure about the names of some variables I am going to use in my final version. In order to handle this situation, in LaTeX I would define \newcommand{\ntx}{N_T} \newcommand{\nrx}{N_R} and then use \ntx and \nrx in my formulas whenever needed. If I later decide to use M_T instead of N_T, I can just redefine \ntx correspondingly without replacing all occurrencies in the document. I can do the same in LyX, by adding the commands above to the document header or as LaTeX code within the document body. The point is that if I enter math mode and type \ntx\sigma\nrx , LyX will replace the LaTeX standard \sigma command with the Greek character, but not my custom-defined symbols, which will only appear with their command names in red. This makes my formulas almost as unreadable as if they were written in plain LaTeX! Is there a way to make LyX replace my commands as well, as it does with the standard LaTeX ones? Thanks for your suggestions D. -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Getting LyX to replace custom-defined symbols as if they were standard LaTeX symbols
It si probably math-macros what you are looking for. Basicaly, it is LyX frontend to \newcommand. It is all well described in the User Guide (Menu>Help>UserGuide), Section 5.6 Usedr defined macros in math mode. good luck, Vasek On Wednesday 02 February 2005 17:10, Davide Cescato wrote: > Hello, > > I am writing a draft for an article and I am still unsure about the > names of some variables I am going to use in my final version. In order > to handle this situation, in LaTeX I would define > > \newcommand{\ntx}{N_T} > \newcommand{\nrx}{N_R} > > and then use \ntx and \nrx in my formulas whenever needed. If I later > decide to use M_T instead of N_T, I can just redefine \ntx > correspondingly without replacing all occurrencies in the document. > > I can do the same in LyX, by adding the commands above to the document > header or as LaTeX code within the document body. > > The point is that if I enter math mode and type \ntx\sigma\nrx , LyX > will replace the LaTeX standard \sigma command with the Greek character, > but not my custom-defined symbols, which will only appear with their > command names in red. This makes my formulas almost as unreadable as if > they were written in plain LaTeX! > > Is there a way to make LyX replace my commands as well, as it does with > the standard LaTeX ones? > > Thanks for your suggestions > > D. -- - Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420 AS department, Institute web: http://www.utia.cas.cz/AS/smidl/ of Information Theory and Automation, fax: +420 26605 2068 Prague, Czech Republic
Re: Where can I find manual
Stephen, LyX and LaTeX are two different projects. In fact LyX is a frontend to LaTeX. First, you have to decide which one you want to use: Option 1: LyX run lyx (e.g. from your console) follow HelpTutorial in the menu Option 2: latex read http://www.comp.leeds.ac.uk/andyr/misc/latex/latextutorial1.html Vasek Sorry I can't find the help menu nor LyX on the Absolute Beginner page. http://www.comp.leeds.ac.uk/andyr/misc/latex/latextutorial1.html B.R. Stephen