Re: Access LyX version number from within a document
Steve Litt sl...@... writes: A simple Perl script could scan the doc, delete any lines starting with \mylyxversion=, and then just before the \begin{document} insert \mylyxversion = `lyx --version | head -n1`. Once you have the version in \mylyxversion, that variable can be used in headers, footers, title pages, whereever. By the nature of LyX, conversion to PDF is done by a shellscript, whether that shellscript is called by the user interface or called from the command line. Either way, the shellscript can be changed. I constantly run specialized shellscripts to do things like personalize eBooks and renumbering a list that's just too difficult to renumber in LaTeX. This is one of the real powers of LyX -- you can use UNIX commands and computer programs to insert things that just aren't known within LaTeX. Interesting solution, thanks. I was looking for simple functionality in this particular case, but I had never really considered adding an extra layer of document processing (as a general solution). Cheers
install otf font using otfinst.py
Hi, I'm interested in adding a few otf fonts; Following http://web.willbenton.com/writing/2008/better-latex, I'm trying to do so with the otfinst.py script. After setting: export TEXMFMAIN='/usr/local/texlive/2008/texmf' export TEXMFLOCAL='~/Library/texmf' export TEXMF={$TEXMFLOCAL:$TEXMFMAIN} updmap spots that new files have been added. After I press reconfigure in Lyx, and add \usepackage{storno} in the preamble, I still do get: LaTeX Error: File `storno.sty' not found. Any ideas? Thanks, -jelle
Re: install otf font using otfinst.py
On 4/18/2010 7:44 AM, jelle feringa wrote: Hi, I'm interested in adding a few otf fonts; Following http://web.willbenton.com/writing/2008/better-latex, I'm trying to do so with the otfinst.py script. After setting: export TEXMFMAIN='/usr/local/texlive/2008/texmf' export TEXMFLOCAL='~/Library/texmf' export TEXMF={$TEXMFLOCAL:$TEXMFMAIN} updmap spots that new files have been added. After I press reconfigure in Lyx, and add \usepackage{storno} in the preamble, I still do get: LaTeX Error: File `storno.sty' not found. Any ideas? Thanks, -jelle First verify that storno.sty was created by the script. If so, try running texhash, then (in a terminal) 'kpsewhich storno.sty' to verify that the file is visible to LaTeX. /Paul
Re: two columns article-lyx forget an error
Am 17.04.2010 10:02, schrieb YURENA MENDOZA: The error is the following; I have an article (paper style) but in two column and something wrong is in my keywords section: \noindent \textsf{\begin {multicols}{2}} I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. ... Your file is full of errors: - you forgot to load the package multicol in the document preamble - you added spaces in between commands in TeX-code (for example \end {multicol} instead of \end{multicol}) - you made the same mistake in your document preamble - you can omit all package loading in your preamble, because LyX supports them natively - you set for all text the explicit color black this is not necessary and can cause problems when you use real colors in your document - you overwrote the section heading appearance with custom settings - this causes LaTeX errors. If you want to change the appearance of section headings, do this be redefining the section heading commands or changing the document class - ... I fixed all these in the attached file. regards Uwe help-lyx.lyx Description: application/lyx
Re: Access LyX version number from within a document
rgheck rgh...@... writes: I've just added this facility to LyX 2.0, via InsetInfo. To enter it, use the mini buffer and enter: info-insert lyx version Sweet! Thanks a lot, M. Speiser
Re: grammar check?
I'm definitely interested in this. If someone will be adding this functionalty, I'll happily help debugging it. Best, -Jose Jose Quesada, PhD. Max Planck Institute, Center for Adaptive Behavior and Cognition, Berlin http://www.josequesada.name/ http://twitter.com/Quesada 2010/4/17 Marcelo Acuña mv...@yahoo.com.ar It is in schedule a grammar check in future versions of lyx? No. If there is a good open source one, it could perhaps be linked into LyX, if someone wanted to do that work. Richard Open Office has one, although with a poor implementation of the Spanish. Marcelo
word search generator
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi this probably isn't the right place to ask this, I am designing a newsletter for my local rugby club using lyx, I would like to include a word search as a fun part of the document, I am trying to google, but thought that I could ask here too, what i need is something that will produce a word search in LaTeX that is simple enough to perhaps copy / paste as ERT, I have converted a table using txt2tags that has the club league table on it, but doing a word search is more complex. so type in or input a list of words have these auto inserted in random places as you would find in a real wordsearch and add filler letters thanks for any help / suggestions. I am sure its possible, Paul - -- Paul Sutton www.zleap.net Ubuntu 10.04 is out soon : Visit www.ubuntu.com for details DCGLUG MEETINGS - Details on www.dcglug.org.uk/ - please click on Group meetings link on right hand side Aged 11 - 19 then dfey may be for you, please goto http://www.dfey.org for more details -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvLWAsACgkQaggq1k2FJq2qDgCgjODfB/33AAUw1PEkbacRKfl/ eKsAnj/yhGdejuhakwume8zpyiKo3KJ1 =yvv3 -END PGP SIGNATURE-
Re: alpha 2 crash
Marcelo Acu?a wrote: When I make a click in Find and Replace button, I have a crash. can't reproduce here, please file bug report and attach backtrace if possible. pavel The problem is with Find and Replace Advanced. This problem not appears with alpha 1. I have linux lenny, qt 4.6.2 and g++ 4.3.2. With this system I have compiled lyx 1.6.5, 2.0.0 alpha 1 and alpha 2. Marcelo, the correct way how to report backtrace is here: http://wiki.lyx.org/FAQ/FurtherHelp#toc4 pavel
Re: Access LyX version number from within a document
Steve Litt sl...@... writes: A simple Perl script could scan the doc, delete any lines starting with \mylyxversion=, and then just before the \begin{document} insert \mylyxversion = `lyx --version | head -n1`. Once you have the version in \mylyxversion, that variable can be used in headers, footers, title pages, whereever. By the nature of LyX, conversion to PDF is done by a shellscript, whether that shellscript is called by the user interface or called from the command line. Either way, the shellscript can be changed. I constantly run specialized shellscripts to do things like personalize eBooks and renumbering a list that's just too difficult to renumber in LaTeX. This is one of the real powers of LyX -- you can use UNIX commands and computer programs to insert things that just aren't known within LaTeX. Interesting solution, thanks. I was looking for simple functionality in this particular case, but I had never really considered adding an extra layer of document processing (as a general solution). Cheers
install otf font using otfinst.py
Hi, I'm interested in adding a few otf fonts; Following http://web.willbenton.com/writing/2008/better-latex, I'm trying to do so with the otfinst.py script. After setting: export TEXMFMAIN='/usr/local/texlive/2008/texmf' export TEXMFLOCAL='~/Library/texmf' export TEXMF={$TEXMFLOCAL:$TEXMFMAIN} updmap spots that new files have been added. After I press reconfigure in Lyx, and add \usepackage{storno} in the preamble, I still do get: LaTeX Error: File `storno.sty' not found. Any ideas? Thanks, -jelle
Re: install otf font using otfinst.py
On 4/18/2010 7:44 AM, jelle feringa wrote: Hi, I'm interested in adding a few otf fonts; Following http://web.willbenton.com/writing/2008/better-latex, I'm trying to do so with the otfinst.py script. After setting: export TEXMFMAIN='/usr/local/texlive/2008/texmf' export TEXMFLOCAL='~/Library/texmf' export TEXMF={$TEXMFLOCAL:$TEXMFMAIN} updmap spots that new files have been added. After I press reconfigure in Lyx, and add \usepackage{storno} in the preamble, I still do get: LaTeX Error: File `storno.sty' not found. Any ideas? Thanks, -jelle First verify that storno.sty was created by the script. If so, try running texhash, then (in a terminal) 'kpsewhich storno.sty' to verify that the file is visible to LaTeX. /Paul
Re: two columns article-lyx forget an error
Am 17.04.2010 10:02, schrieb YURENA MENDOZA: The error is the following; I have an article (paper style) but in two column and something wrong is in my keywords section: \noindent \textsf{\begin {multicols}{2}} I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. ... Your file is full of errors: - you forgot to load the package multicol in the document preamble - you added spaces in between commands in TeX-code (for example \end {multicol} instead of \end{multicol}) - you made the same mistake in your document preamble - you can omit all package loading in your preamble, because LyX supports them natively - you set for all text the explicit color black this is not necessary and can cause problems when you use real colors in your document - you overwrote the section heading appearance with custom settings - this causes LaTeX errors. If you want to change the appearance of section headings, do this be redefining the section heading commands or changing the document class - ... I fixed all these in the attached file. regards Uwe help-lyx.lyx Description: application/lyx
Re: Access LyX version number from within a document
rgheck rgh...@... writes: I've just added this facility to LyX 2.0, via InsetInfo. To enter it, use the mini buffer and enter: info-insert lyx version Sweet! Thanks a lot, M. Speiser
Re: grammar check?
I'm definitely interested in this. If someone will be adding this functionalty, I'll happily help debugging it. Best, -Jose Jose Quesada, PhD. Max Planck Institute, Center for Adaptive Behavior and Cognition, Berlin http://www.josequesada.name/ http://twitter.com/Quesada 2010/4/17 Marcelo Acuña mv...@yahoo.com.ar It is in schedule a grammar check in future versions of lyx? No. If there is a good open source one, it could perhaps be linked into LyX, if someone wanted to do that work. Richard Open Office has one, although with a poor implementation of the Spanish. Marcelo
word search generator
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi this probably isn't the right place to ask this, I am designing a newsletter for my local rugby club using lyx, I would like to include a word search as a fun part of the document, I am trying to google, but thought that I could ask here too, what i need is something that will produce a word search in LaTeX that is simple enough to perhaps copy / paste as ERT, I have converted a table using txt2tags that has the club league table on it, but doing a word search is more complex. so type in or input a list of words have these auto inserted in random places as you would find in a real wordsearch and add filler letters thanks for any help / suggestions. I am sure its possible, Paul - -- Paul Sutton www.zleap.net Ubuntu 10.04 is out soon : Visit www.ubuntu.com for details DCGLUG MEETINGS - Details on www.dcglug.org.uk/ - please click on Group meetings link on right hand side Aged 11 - 19 then dfey may be for you, please goto http://www.dfey.org for more details -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvLWAsACgkQaggq1k2FJq2qDgCgjODfB/33AAUw1PEkbacRKfl/ eKsAnj/yhGdejuhakwume8zpyiKo3KJ1 =yvv3 -END PGP SIGNATURE-
Re: alpha 2 crash
Marcelo Acu?a wrote: When I make a click in Find and Replace button, I have a crash. can't reproduce here, please file bug report and attach backtrace if possible. pavel The problem is with Find and Replace Advanced. This problem not appears with alpha 1. I have linux lenny, qt 4.6.2 and g++ 4.3.2. With this system I have compiled lyx 1.6.5, 2.0.0 alpha 1 and alpha 2. Marcelo, the correct way how to report backtrace is here: http://wiki.lyx.org/FAQ/FurtherHelp#toc4 pavel
Re: Access LyX version number from within a document
Steve Littwrites: > > A simple Perl script could scan the doc, delete any lines starting with > \mylyxversion=, and then just before the \begin{document} insert > "\mylyxversion = `lyx --version | head -n1`". Once you have the version in > \mylyxversion, that variable can be used in headers, footers, title pages, > whereever. > > By the nature of LyX, conversion to PDF is done by a shellscript, whether > that > shellscript is called by the user interface or called from the command line. > Either way, the shellscript can be changed. > > I constantly run specialized shellscripts to do things like personalize > eBooks > and renumbering a list that's just too difficult to renumber in LaTeX. This > is > one of the real powers of LyX -- you can use UNIX commands and computer > programs to insert things that just aren't known within LaTeX. > > Interesting solution, thanks. I was looking for simple functionality in this particular case, but I had never really considered adding an extra "layer" of document processing (as a general solution). Cheers
install otf font using otfinst.py
Hi, I'm interested in adding a few otf fonts; Following http://web.willbenton.com/writing/2008/better-latex, I'm trying to do so with the otfinst.py script. After setting: export TEXMFMAIN='/usr/local/texlive/2008/texmf' export TEXMFLOCAL='~/Library/texmf' export TEXMF={"$TEXMFLOCAL":"$TEXMFMAIN"} updmap spots that new files have been added. After I press reconfigure in Lyx, and add \usepackage{storno} in the preamble, I still do get: LaTeX Error: File `storno.sty' not found. Any ideas? Thanks, -jelle
Re: install otf font using otfinst.py
On 4/18/2010 7:44 AM, jelle feringa wrote: Hi, I'm interested in adding a few otf fonts; Following http://web.willbenton.com/writing/2008/better-latex, I'm trying to do so with the otfinst.py script. After setting: export TEXMFMAIN='/usr/local/texlive/2008/texmf' export TEXMFLOCAL='~/Library/texmf' export TEXMF={"$TEXMFLOCAL":"$TEXMFMAIN"} updmap spots that new files have been added. After I press reconfigure in Lyx, and add \usepackage{storno} in the preamble, I still do get: LaTeX Error: File `storno.sty' not found. Any ideas? Thanks, -jelle First verify that storno.sty was created by the script. If so, try running texhash, then (in a terminal) 'kpsewhich storno.sty' to verify that the file is visible to LaTeX. /Paul
Re: two columns article-lyx forget an error
Am 17.04.2010 10:02, schrieb YURENA MENDOZA: The error is the following; I have an article (paper style) but in two column and something wrong is in my "keywords" section: " \noindent \textsf{\begin {multicols}{2}} I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. ... Your file is full of errors: - you forgot to load the package "multicol" in the document preamble - you added spaces in between commands in TeX-code (for example "\end {multicol}" instead of "\end{multicol}") - you made the same mistake in your document preamble - you can omit all package loading in your preamble, because LyX supports them natively - you set for all text the explicit color "black" this is not necessary and can cause problems when you use "real" colors in your document - you overwrote the section heading appearance with custom settings - this causes LaTeX errors. If you want to change the appearance of section headings, do this be redefining the section heading commands or changing the document class - ... I fixed all these in the attached file. regards Uwe help-lyx.lyx Description: application/lyx
Re: Access LyX version number from within a document
rgheckwrites: > > I've just added this facility to LyX 2.0, via InsetInfo. To enter it, > use the mini buffer and enter: > info-insert lyx version > Sweet! Thanks a lot, M. Speiser
Re: grammar check?
I'm definitely interested in this. If someone will be adding this functionalty, I'll happily help debugging it. Best, -Jose Jose Quesada, PhD. Max Planck Institute, Center for Adaptive Behavior and Cognition, Berlin http://www.josequesada.name/ http://twitter.com/Quesada 2010/4/17 Marcelo Acuña> > > It is in schedule a grammar check in future versions > > of lyx? > > > No. If there is a good open source one, it could perhaps be > > linked into > > LyX, if someone wanted to do that work. > > > > Richard > Open Office has one, although with a poor implementation of the Spanish. > > Marcelo > > > >
word search generator
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi this probably isn't the right place to ask this, I am designing a newsletter for my local rugby club using lyx, I would like to include a word search as a fun part of the document, I am trying to google, but thought that I could ask here too, what i need is something that will produce a word search in LaTeX that is simple enough to perhaps copy / paste as ERT, I have converted a table using txt2tags that has the club league table on it, but doing a word search is more complex. so type in or input a list of words have these auto inserted in random places as you would find in a real wordsearch and add filler letters thanks for any help / suggestions. I am sure its possible, Paul - -- Paul Sutton www.zleap.net Ubuntu 10.04 is out soon : Visit www.ubuntu.com for details DCGLUG MEETINGS - Details on www.dcglug.org.uk/ - please click on Group meetings link on right hand side Aged 11 - 19 then dfey may be for you, please goto http://www.dfey.org for more details -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvLWAsACgkQaggq1k2FJq2qDgCgjODfB/33AAUw1PEkbacRKfl/ eKsAnj/yhGdejuhakwume8zpyiKo3KJ1 =yvv3 -END PGP SIGNATURE-
Re: alpha 2 crash
Marcelo Acu?a wrote: > > > > When I make a click in Find and Replace button, I > > have a crash. > > > > can't reproduce here, please file bug report and attach > > backtrace if possible. > > > pavel > > The problem is with Find and Replace Advanced. > This problem not appears with alpha 1. > I have linux lenny, qt 4.6.2 and g++ 4.3.2. > With this system I have compiled lyx 1.6.5, 2.0.0 alpha 1 and alpha 2. Marcelo, the correct way how to report backtrace is here: http://wiki.lyx.org/FAQ/FurtherHelp#toc4 pavel