Re: Using tables
On 19/04/2009 05:19, Doug Laidlaw wrote: I am probably out of place here, but there is a project on freshmeat.net for convering CSV tables to LaTeX. It may be of use? http://freshmeat.net/projects/csv2latex Hi, There is already a very good (and simple) integrated cvs2lyx python script distributed with LyX. This was contributed by Hartmut Haase AFAIR. Abdel.
Re: Using tables
I don't use them. I am writing a family history, but I will keep it in mind. Inserting the family tree will be quite an issue, but I am some way from that, yet. Doug. On Sunday 19 April 2009 5:22:21 pm Abdelrazak Younes wrote: > On 19/04/2009 05:19, Doug Laidlaw wrote: > > I am probably out of place here, but there is a project on freshmeat.net > > for convering CSV tables to LaTeX. It may be of use? > > > > http://freshmeat.net/projects/csv2latex > > Hi, > > There is already a very good (and simple) integrated cvs2lyx python > script distributed with LyX. This was contributed by Hartmut Haase AFAIR. > > Abdel.
Re: Wrong placement with EPS graphics in pdflatex
Thomas Steffen schrieb: I noticed recently that I a lot of EPS graphics end up in the wrong place with the pdflatex backend. I guess it has to do with the bounding box, and somehow it is wrongly set during the conversion process. Then the picture ends up in the wrong place, or it is (partially) invisible if clipping is set. I find that very inconvenient. What do you mean with "wrong place"? Images are usually within a flaot that will float in the output to a suitable position. Can you provide a _small_ example file? regards Uwe
Re: bug in hyperlink and footnote?
James Sutherland schrieb: 1. Create a footnote. 2. In the footnote, insert a hyperlink 3. In the "target" field of the hyperlink, insert a URL with a "#" sign in it, i.e. www.example.com/#1 Can anyone verify that this is a bug? It is a bug and I'll try to fix it. Can you please open a bug report for reference? regards Uwe
Re: bug in hyperlink and footnote?
Uwe Stöhr schrieb: It is a bug and I'll try to fix it. Can you please open a bug report for reference? I was too rash. The problem is the following: In hyperlinks the "#" character must not be escaped as command "\#". While it must be escaped when the hyperlink is in the footnote. This is not easy to handle and I'm not sure if we can do something about it since the behaviour seem to depend on the hyperref package version. Please open a bug nevertheless. regards Uwe
Re: bug in hyperlink and footnote?
One important not: you example used an address in this form: http://www.bla.blub/#1 This is not conform to the URL specification. There must be at least a character after the "/" and before the "#". Or do you have an example of a valid URL where this is not the case? regards Uwe
Re: TOC too long, can't get middle page to be empty
You may find the following thread useful: http://www.latex-community.org/forum/viewtopic.php?f=5&t=994 Tal. My TOC is just over 3 pages now and using \thispagestyle{empty} I can get rid of numbering on the 1st and 3rd pages (i.e. first and last), but the middle page's number stays. I can't get rid of it! I've tried flooding Lyx with \thispagestyle{empty} ERT boxes, but no luck. Anyone have any ideas? I can't really cut down on the TOC more I'm afraid, 3 pages is the minimum! I apologise if this has been asked to death! Thanks in advance, Alex -- View this message in context: http://n2.nabble.com/TOC-too-long%2C-can%27t-get-middle-page-to-be-empty-tp2632396p2659096.html Sent from the LyX - Users mailing list archive at Nabble.com.
tables numbered chapter-wise
Hello, using ams-book, the tables i use are numbered sequentielly PER CHAPTER. the result is that i have three tables all called "Table 1". How do I change that? niko
Lyx to html with plastex
Hi All, I am trying to convert a latex document to html on Windows using Plastex. The latex document has png and eps images. On running the Plastex command for conversion, I get the following error. Any ideas what is going on? I have attached the lyx file and the plain latex file. Thanks Parul Bali -- ERROR: Error while expanding "includegraphics" in D:/Computerlinks/Projects/Documentation/Lex/Test.tex on line 35 ('TEXINPUTS') ERROR: An error occurred while building the document object in D:/Computerlinks/Projects/Documentation/Lex/Test.tex on line 35 ('TEXINPUTS') Traceback (most recent call last): File "plastex", line 108, in ? main(sys.argv) File "plastex", line 54, in main tex.parse() File "C:\Python24\Lib\site-packages\plasTeX\TeX.py", line 390, in parse item.digest(tokens) File "C:\Python24\Lib\site-packages\plasTeX\__init__.py", line 893, in digest item.digest(tokens) File "C:\Python24\Lib\site-packages\plasTeX\Base\LaTeX\Sectioning.py", line 29 4, in digest item.digest(tokens) File "C:\Python24\Lib\site-packages\plasTeX\Base\LaTeX\Floats.py", line 35, in digest res = Environment.digest(self, tokens) File "C:\Python24\Lib\site-packages\plasTeX\__init__.py", line 893, in digest item.digest(tokens) File "C:\Python24\Lib\site-packages\plasTeX\__init__.py", line 877, in digest for item in tokens: File "C:\Python24\Lib\site-packages\plasTeX\TeX.py", line 46, in next return self._next() File "C:\Python24\Lib\site-packages\plasTeX\TeX.py", line 296, in __iter__ tokens = obj.invoke(self) File "C:\Python24\Lib\site-packages\plasTeX\Packages\graphicx.py", line 38, in invoke img = os.path.abspath(tex.kpsewhich(f+e)) File "C:\Python24\Lib\site-packages\plasTeX\TeX.py", line 1300, in kpsewhich TEXINPUTS = os.environ["TEXINPUTS"] File "C:\Python24\lib\os.py", line 422, in __getitem__ return self.data[key.upper()] KeyError: 'TEXINPUTS' Test.lyx Description: application/lyx Test.tex Description: Binary data
Re: Using tables
Inkscape->PDF? On Sunday 19 April 2009 04:44:56 am Doug Laidlaw wrote: > I don't use them. I am writing a family history, but I will keep it in > mind. Inserting the family tree will be quite an issue, but I am some way > from that, yet. > > Doug. > > On Sunday 19 April 2009 5:22:21 pm Abdelrazak Younes wrote: > > On 19/04/2009 05:19, Doug Laidlaw wrote: > > > I am probably out of place here, but there is a project on > > > freshmeat.net for convering CSV tables to LaTeX. It may be of use? > > > > > > http://freshmeat.net/projects/csv2latex > > > > Hi, > > > > There is already a very good (and simple) integrated cvs2lyx python > > script distributed with LyX. This was contributed by Hartmut Haase AFAIR. > > > > Abdel.
Re: tables numbered chapter-wise
the ccaption package says, i should do this: \makeatletter \...@removefromreset{table}{chapter} \renewcommand{\thetable}{\arabic{table}} \makeatother however, when i put it into the preamble, latex complains that Undefined control sequence. \...@removefromreset {table}{chapter} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. niko On Sun, Apr 19, 2009 at 3:49 PM, Niko Schwarz wrote: > Hello, > > using ams-book, the tables i use are numbered sequentielly PER CHAPTER. the > result is that i have three tables all called "Table 1". How do I change > that? > > niko >
Re: cocoAspell works with Lyx in Tiger, not Leopard
The cocoAspell installer puts cocoAspell.service into ~/Library/Services - that works fine on my machine with Tiger and a single user. For a multi-user machine under Leopard, that service needs to be moved, by root, to /Library/Services This solved my cocoAspell problems with Lyx and Skim on Leopard. -- Rich On Sat, Apr 18, 2009 at 5:53 PM, Anders Host-Madsen wrote: > Richard Talley writes: > >> Any suggestions? Anybody on the list successfully using cocoAspell >> with LyX on Leopard? > > It works fine for me under Leopard. I don't believe I did anything > specialto install it, just follow the instructions. Maybe try to > uninstall and reinstall? > >
Re: tables numbered chapter-wise
i tried it with \usepackage{ccaption}. doesn't change the error message. i think i need help. On Sun, Apr 19, 2009 at 4:33 PM, Niko Schwarz wrote: > the ccaption package says, i should do this: > > \makeatletter > > \...@removefromreset{table}{chapter} > > \renewcommand{\thetable}{\arabic{table}} > > \makeatother > > > however, when i put it into the preamble, latex complains that > Undefined control sequence. > > \...@removefromreset > > {table}{chapter} > > The control sequence at the end of the top line > > of your error message was never \def'ed. If you have > > misspelled it (e.g., `\hobx'), type `I' and the correct > > spelling (e.g., `I\hbox'). Otherwise just continue, > > and I'll forget about whatever was undefined. > > > niko > > On Sun, Apr 19, 2009 at 3:49 PM, Niko Schwarz > wrote: > >> Hello, >> >> using ams-book, the tables i use are numbered sequentielly PER CHAPTER. >> the result is that i have three tables all called "Table 1". How do I change >> that? >> >> niko >> > >
list of algorithms
when I have the list of algorithms created, \listof{algorithm}{List of Algorithms}, then latex says this: TeX capacity exceeded, sorry [input stack size=5000]. does anyone have an idea? thanks, niko
Re: tables numbered chapter-wise
aha! turns out that i am the biggest latex-guru of all times. \usepackage{remreset} \usepackage{ccaption} \...@removefromreset{table}{chapter} \renewcommand{\thetable}{\arabic{table}} this does the trick! niko On Sun, Apr 19, 2009 at 5:04 PM, Niko Schwarz wrote: > i tried it with \usepackage{ccaption}. doesn't change the error message. > i think i need help. > > > On Sun, Apr 19, 2009 at 4:33 PM, Niko Schwarz > wrote: > >> the ccaption package says, i should do this: >> >> \makeatletter >> >> \...@removefromreset{table}{chapter} >> >> \renewcommand{\thetable}{\arabic{table}} >> >> \makeatother >> >> >> however, when i put it into the preamble, latex complains that >> Undefined control sequence. >> >> \...@removefromreset >> >> {table}{chapter} >> >> The control sequence at the end of the top line >> >> of your error message was never \def'ed. If you have >> >> misspelled it (e.g., `\hobx'), type `I' and the correct >> >> spelling (e.g., `I\hbox'). Otherwise just continue, >> >> and I'll forget about whatever was undefined. >> >> >> niko >> >> On Sun, Apr 19, 2009 at 3:49 PM, Niko Schwarz < >> niko.schw...@googlemail.com> wrote: >> >>> Hello, >>> >>> using ams-book, the tables i use are numbered sequentielly PER CHAPTER. >>> the result is that i have three tables all called "Table 1". How do I change >>> that? >>> >>> niko >>> >> >> >
Re: Lyx to html with plastex
Parul Bali schrieb: I am trying to convert a latex document to html on Windows using Plastex. The latex document has png and eps images. On running the Plastex command for conversion, I get the following error. Any ideas what is going on? No, but you should give this new program a try: http://www.nongnu.org/elyxer/ regards Uwe
Re: list of algorithms
Niko Schwarz schrieb: when I have the list of algorithms created, \listof{algorithm}{List of Algorithms}, then latex says this: TeX capacity exceeded, sorry [input stack size=5000]. When you don't have the list of algorithm, you don't have this bug? If so, assure that the list is in the "Standard" environment and check if you perhaps have some of the conflicts with algorithms mentioned in the EmbeddedObjects manuals. regards Uwe
Re: Lyx to html with plastex
Hi Parul, >> I am trying to convert a latex document to html on Windows using Plastex. >> The latex document has png and eps images. On running the Plastex command >> for conversion, I get the following error. Any ideas what is going on? > > No, but you should give this new program a try: > > http://www.nongnu.org/elyxer/ Yes, please give eLyXer a try. Version 0.15 has just been published with a few improvements. If your favorite mirror does not carry it yet, just go to http://download.savannah.gnu.org/releases-noredirect/elyxer/ Your document is rendered acceptably, although the date does not come out centered -- it will be solved for next version. If you need anything else to make it work for you just let me know. Thanks, Alex.
RE: Lyx to html with plastex
Hi Alex, Thanks for this. The html file looks very good indeed. However, was wondering if it would be possible to have separate html files for each page (as is possible with Plastex). Also, noticed that the table of contents isn't displayed. Is it in the works? Thanks, Parul -Original Message- From: alejandro...@gmail.com [mailto:alejandro...@gmail.com] On Behalf Of Alex Fernandez Sent: 19 April 2009 18:01 To: Uwe Stöhr Cc: Parul Bali; lyx-users@lists.lyx.org Subject: Re: Lyx to html with plastex Hi Parul, >> I am trying to convert a latex document to html on Windows using Plastex. >> The latex document has png and eps images. On running the Plastex command >> for conversion, I get the following error. Any ideas what is going on? > > No, but you should give this new program a try: > > http://www.nongnu.org/elyxer/ Yes, please give eLyXer a try. Version 0.15 has just been published with a few improvements. If your favorite mirror does not carry it yet, just go to http://download.savannah.gnu.org/releases-noredirect/elyxer/ Your document is rendered acceptably, although the date does not come out centered -- it will be solved for next version. If you need anything else to make it work for you just let me know. Thanks, Alex.
exporting to ODF or DOC
Hi, Is there any way of exporting a LyX document to OpenDocument or Word? In LyX you can add the export to your menu but that only seems to change the file extension, and not converting anything. I also saw that there is a script "tex4ht". But how do I install this? I'm running LyX on FreeBSD 7.1-Stable. Thanks in advance. Marco -- I have had my television aerials removed. It's the moral equivalent of a prostate operation. -- Malcolm Muggeridge
Re: Lyx to html with plastex
Hi again, On Sun, Apr 19, 2009 at 7:50 PM, Parul Bali wrote: > Thanks for this. The html file looks very good indeed. However, was > wondering if it would be possible to have separate html files for each page > (as is possible with Plastex). Also, noticed that the table of contents > isn't displayed. Is it in the works? The first item is in the works, as you can see in the user guide: http://www.nongnu.org/elyxer/userguide.html What I want to achieve is to be able to segment the HTML page in chapters, parts or sections. Actually I need it for my own documents, so you can rest assured that the tool will eventually get there. Is this what you want? The second point (table of contents) is related. Since eLyXer does the conversion on the fly, keeping minimal state information on memory, it is not possible right now to generate a table of contents: at the top of the document it is not known how many chapters or sections there will be. So a second pass is necessary. At the moment the planned extension is to create a second utility which does both things: segment the page and create a table of contents where needed. I cannot give dates for these developments, since they depend on the usual factors: day job, family, etc. But I would like to have them ready before summer. Until then your best bet is to segment the documents manually. Cheers, Alex.
LyX and XeTeX - how to preview PDF?
Hi! I'm trying to use LyX together with Xetex and thanks to strangers on the internet, it actually works. I updated the wiki under http://wiki.lyx.org/LyX/XeTeX so that it might work for other people, too. There's one problem, though: As XeTeX must run through the xelatex, which is a different lyx file format, the preview PDF button does not work anymore (exporting using pdflatex gives an error, as you need to export using xelatex). What is the best/quickest/working way to get the "preview/update PDF" buttons to export using XeTeX instead of pdflatex? (optimally, this would be a document setting). Thanks in advance for your help! Cheers, Kosta
Re: LyX and XeTeX - how to preview PDF?
On Sun, 19 Apr 2009 22:16:49 +0200 "Kosta Welke" wrote: > Hi! > > I'm trying to use LyX together with Xetex and thanks to strangers on the > internet, it actually works. I updated the wiki under > http://wiki.lyx.org/LyX/XeTeX so that it might work for other people, too. > > There's one problem, though: As XeTeX must run through the xelatex, which is > a different lyx file format, the preview PDF button does not work anymore > (exporting using pdflatex gives an error, as you need to export using > xelatex). What is the best/quickest/working way to get the "preview/update > PDF" buttons to export using XeTeX instead of pdflatex? (optimally, this > would be a document setting). > > Thanks in advance for your help! > > Cheers, > Kosta > > It's a dirty hack that would work only if you always want to use xetex instead of pdflatex. You can go into preferences->converters->Latex(pdflatex) and change the converter from pdflatex to xetex
Spell check on Mac?
Is there a way to get spell checking on Mac? Any pointers to more info appreciated. Thanks!
how to stop TeX and LaTeX from being typeset with the special logo?
LyX automagically typesets words like TeX and LaTeX using the special logo for those words. How do I turn this behavior off? There are a couple of places, such as an instruction to navigate to /Applications/TeX, where I want the words to appear more like they actually do in the computer interface. (I do *not* want to type /Applications/Tex as that does not match what is on the screen.) -- Rich
Re: Spell check on Mac?
On Sun, Apr 19, 2009 at 8:23 PM, Sophie (itsme213) wrote: > Is there a way to get spell checking on Mac? Any pointers to more info > appreciated. Yes. Install cocoAspell. http://cocoaspell.leuski.net/ On Leopard, I've had to move the service folder cocoAspell.service from ~/Library/Services to /Library/Services, but others have cocoAspell working without doing that. (The move needs to be done at the command line as root.) The default installation is only English language dictionaries. If you need other dictionaries you'll have to download and install them. You'll need to configure LyX to find the cocoAspell dictionaries: http://wiki.lyx.org/Mac/MacSpelling#toc2 -- Rich
Re: how to stop TeX and LaTeX from being typeset with the special logo?
On Mon, Apr 20, 2009 at 10:23 AM, Richard Talley wrote: > LyX automagically typesets words like TeX and LaTeX using the special > logo for those words. > > How do I turn this behavior off? There are a couple of places, such as You can press Ctrl-L to enter ERT mode and type TeX into the ERT inset. This will send "TeX" straight to LaTeX without LyX doing any funny processing. -- John C. McCabe-Dansted PhD Student University of Western Australia
Re: how to stop TeX and LaTeX from being typeset with the special logo?
On 2009-04-20, John McCabe-Dansted wrote: > On Mon, Apr 20, 2009 at 10:23 AM, Richard Talley > wrote: >> LyX automagically typesets words like TeX and LaTeX using the special >> logo for those words. It is especially annoying if you copy and paste such text from the PDF. With xpdf, you will get I love L X Y but dislike this auto LaT X logo. E >> How do I turn this behavior off? There are a couple of places, such as > You can press Ctrl-L to enter ERT mode and type TeX into the ERT > inset. This will send "TeX" straight to LaTeX without LyX doing any > funny processing. I remember the User Guide to use some invisible character inside LaTeX to prevent this. If it should apply to the whole document, you can als redefine renewcommand{\LyX}{LyX} renewcommand{\TeX}{TeX} renewcommand{\LaTeX}{LaTeX} in the LaT X preamble. E Günter
Re: LyX and XeTeX - how to preview PDF?
Micha Feigin wrote: > > I'm trying to use LyX together with Xetex and thanks to strangers on the > > internet, it actually works. I updated the wiki under > > http://wiki.lyx.org/LyX/XeTeX so that it might work for other people, > > too. > > > > There's one problem, though: As XeTeX must run through the xelatex, which > > is a different lyx file format, the preview PDF button does not work > > anymore (exporting using pdflatex gives an error, as you need to export > > using xelatex). What is the best/quickest/working way to get the > > "preview/update PDF" buttons to export using XeTeX instead of pdflatex? > > (optimally, this would be a document setting). Copy the buffer-view_pdf2.png and buffer-update_pdf2.png icons to buffer- view_pdf4.png and buffer-update_pdf4.png in your LyX user directory (create a new icons folder, if not already there). Then copy the stdtoolbars.ui file from the LyX System directory to your LyX user directory (new folder "ui"), and add the following lines to the "view/update" section: Item "View PDF (XeTeX)" "buffer-view pdf4" Item "Update PDF (XeTeX)" "buffer-update pdf4" This will add two new buttons. > > Thanks in advance for your help! > > > > Cheers, > > Kosta > > It's a dirty hack that would work only if you always want to use xetex > instead of pdflatex. You can go into > preferences->converters->Latex(pdflatex) and change the converter from > pdflatex to xetex You will be pleased to hear that forthcoming LyX 2.0 comes with (basic) native XeTeX support, which handles the basic settings for you. If you click "use XeTeX", the right converter will be chosen, the toolbar and menu entries will be adapted, all the necessary preamble stuff will be inserted and you can even chose a system font from the document dialog. Jürgen
Re: how to stop TeX and LaTeX from being typeset with the special logo?
John McCabe-Dansted wrote: > You can press Ctrl-L to enter ERT mode and type TeX into the ERT > inset. This will send "TeX" straight to LaTeX without LyX doing any > funny processing. Alternatively, insert to the preamble \def\LyX{LyX} \def\LaTeX{LaTeX} Jürgen