Can't get my university thesis .cls class to work
Hi, My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for formatting PhD theses with LaTeX. This file is based on http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ uwthesis.cls . I've followed the instructions on this http://wiki.lyx.org/Layouts/CreatingLayouts page and created the following layout file: # \DeclareLaTeXClass{uocthesis} Input stdclass.inc I then imported the example file given by our university ( http://n2.nabble.com/file/n2955951/example-thesis.tex example-thesis.tex ), and selected the new uocthesis document class. However, I can't get it to work. When I try to export to PDF I get the following error: \titlepage 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. Any help would be much appreciated. -- View this message in context: http://n2.nabble.com/Can%27t-get-my-university-thesis-.cls-class-to-work-tp2955951p2955951.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Can't get my university thesis .cls class to work
On Thu, 21 May 2009 23:45:55 -0700 (PDT) elaliberte etiennelalibe...@gmail.com wrote: My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file Where did you put that file? It is not sufficient to just put it in the same folder as the .lyx file, it needs to be in some latex path, like /usr/local/share/texmf/tex/latex/ You have to run `texhash` as root afterwards. Also, did you put your .layout file to ~/.lyx/layouts/ and reconfigured lyx afterwards? I know, this doesn't exactly fit your error report, but sometimes lyx shows really weird errors... HTH, Kosta
Re: Can't get my university thesis .cls class to work
Sorry, I forgot to mention that: 1) I put the uocthesis.cls file in usr/share/texmf/tex/latex/ 2) I ran 'texhash' from the command line 3) I put my uocthesis.layout file in usr/share/lyx/layouts 4) I reconfigured Lyx The uocthesis class appears in LyX. The problem is converting to PDF. Thanks for your help! elaliberte wrote: Hi, My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for formatting PhD theses with LaTeX. This file is based on http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ uwthesis.cls . I've followed the instructions on this http://wiki.lyx.org/Layouts/CreatingLayouts page and created the following layout file: # \DeclareLaTeXClass{uocthesis} Input stdclass.inc I then imported the example file given by our university ( http://n2.nabble.com/file/n2955951/example-thesis.tex example-thesis.tex ), and selected the new uocthesis document class. However, I can't get it to work. When I try to export to PDF I get the following error: \titlepage 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. Any help would be much appreciated. -- View this message in context: http://n2.nabble.com/Can%27t-get-my-university-thesis-.cls-class-to-work-tp2955951p2956003.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Lyx 1.6.2 Listing with label and caption
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Uwe, hello mailing list, thank you for your help - i copied the listing from the documentation and it works as i want it. But how can I insert it with lyx w/o copying it? thanks for your time and help! M. Uwe Stöhr schrieb: Maximilian Melcher schrieb: im trying to get lyx to display a listing with a caption and a label so that i can refer to it later. For example like here: http://img36.imageshack.us/img36/6514/listing.jpg Does it work without ERT? Yes, see the EmbeddedObjects manual that you find in LyX's Help menu. regards Uwe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFKFlLfAN3KoJkNYUsRAnBtAJ91+gRjsiKSR7fcf/QG7HEQlssVUwCgq97O gBHdzG9NFSvTFXmwr30am68= =3RBz -END PGP SIGNATURE-
Problems with jpg-quality with ps2pdf
Hello, I have a problem with the quality of jpg-images. I have a jpg image with best quality, made with coreldraw (actually I use coreldraw to to work on the existing jpg-file, which contains function-graphs and other curves) When I open it, the quality is good, there are no little dots from the compression around the numbers. Them I create a pdf with ps2pdf and I get lots of these little dots. So the jpg quality seems to be reduced by lyx during the export process, because the dvi is fine. I just need to use ps2pdf, because the pdf is processed at another place and they can only deal with pdfs made with ps2pdf I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Thanks Robert
On export the bibtex-references are shown as question marks
I am using Lyx 1.6.2 on Ubuntu. I am using Bibtex-references, and it works perfectly when just writing the document in the editor. Everything is shown correctly. However, when exporting (to html, opendocument, plain text, pdflatex) the references only show up as question marks? Anyone experienced similar issues? Another issue: And when viewing the document as DVI, only a few characters are shown on each page? -- Lars Olesen | Ørnebjergvej 6 | DK-7100 Vejle | Phone (+45) 26176860 larsolesen.dk | discimport.dk
Re: Lyx 1.6.2 Listing with label and caption
Maximilian Melcher schrieb: thank you for your help - i copied the listing from the documentation and it works as i want it. But how can I insert it with lyx w/o copying it? Please read the documentation chapter from where you copied the listing. Uwe
Re: Can't get my university thesis .cls class to work
elaliberte wrote: My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for formatting PhD theses with LaTeX. This file is based on http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ uwthesis.cls . I've followed the instructions on this http://wiki.lyx.org/Layouts/CreatingLayouts page and created the following layout file: # \DeclareLaTeXClass{uocthesis} Input stdclass.inc Since your class is based upon book, you'd be better off copying the book.layout file over to uocthesis.layout, and then changing the first line to what you have here. How do I know it's based on book? Because this line: \LoadClass{book} is in the cls file. Sorry, I forgot to mention that: 1) I put the uocthesis.cls file in usr/share/texmf/tex/latex/ 2) I ran 'texhash' from the command line 3) I put my uocthesis.layout file in usr/share/lyx/layouts 4) I reconfigured Lyx The uocthesis class appears in LyX. The problem is converting to PDF. Thanks for your help! I can't seem to compile it even directly. I.e., by running latex example-thesis from the command line. I get the same error. There's something wrong in the definition of the \titlepage macro. Anyway, if you add this line: \Committee{Some People} in ERT right before the \titlepage macro, then it'll work. Richard
Hi some questions about Tables and Titles
Hi friends of Lyx Do you knonw how to set up the line width of tables, the types of lines, colors of line etc in Lyx?. Could you send some examples?. I would like to know about of titles of section, subsection etc. How can i set up in lyx that the titles do not appear on the top at the right corner when the lyx makes a copy in PDF?. I am writting my thesis with class document book(more font sizes). Grettings Adrián Díaz
Re: Problems with jpg-quality with ps2pdf
Robert Neumann schrieb: Hello, I have a problem with the quality of jpg-images. ... I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Seriously, what do you expect? If you're not willing to upgrade, I don't think there is any possibility to fix _any_ issue... If your quality-issue is pressing, you should try out lyx 1.6.2, maybe on another machine, and just see if the quality still remains bad. Also I can't really imagine any situation where anything regarding lyx and latex takes longer than one could bear. Thanks Robert Regards, Florian
Re: Problems with jpg-quality with ps2pdf
Thankx for the very nice advice, especially the sarcastic note! I write books with about 250 pages and 10 pic. On the old Lyx it takes around 25 sec. to produce a pdf, on the newer lyx it takes around 40 sec. When I do the final work I have to produce quite a lot of pdfs to check the pages. So just give it a try and count twenty times to 40... this is very hard to stand. So, thats why I HAVE to use the old Lyx and I hope somebody has a better advice... Regards Robert
Re: Problems with jpg-quality with ps2pdf
If you use Coreldraw, don't export to jpg you graphic, but directly to eps type 2 and you will have best quality and no pixelated contours. - Original Message - From: Robert Neumann ro.neum...@web.de To: lyx-users@lists.lyx.org Sent: Friday, May 22, 2009 10:32 AM Subject: Problems with jpg-quality with ps2pdf Hello, I have a problem with the quality of jpg-images. I have a jpg image with best quality, made with coreldraw (actually I use coreldraw to to work on the existing jpg-file, which contains function-graphs and other curves) When I open it, the quality is good, there are no little dots from the compression around the numbers. Them I create a pdf with ps2pdf and I get lots of these little dots. So the jpg quality seems to be reduced by lyx during the export process, because the dvi is fine. I just need to use ps2pdf, because the pdf is processed at another place and they can only deal with pdfs made with ps2pdf I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Thanks Robert
Re: Problems with jpg-quality with ps2pdf
On Friday 22 May 2009 12:41:20 pm Robert Neumann wrote: Thankx for the very nice advice, especially the sarcastic note! I write books with about 250 pages and 10 pic. On the old Lyx it takes around 25 sec. to produce a pdf, on the newer lyx it takes around 40 sec. When I do the final work I have to produce quite a lot of pdfs to check the pages. So just give it a try and count twenty times to 40... this is very hard to stand. So, thats why I HAVE to use the old Lyx and I hope somebody has a better advice... Regards Robert Hi Robert, The fact that you have two different versions of Linux running is a troubleshooting advantage, because you can exploit the differences. I would pay particular attention to EXACTLY HOW LyX is compiled to PDF. It could be that your 1.3.4 is set up to do the conversion differently, which could account for its speedier performance AND its pixellation. One way you can put more of the variables in your own hands is to make a shellscript to do the conversion -- something like this: #!/bin/bash StyleFile=rl_21.ist LyxCmd=lyx-1.5.6 rm -f $1.aux rm -f $1.dvi rm -f $1.ps rm -f $1.pdf rm -f $1.idx rm -f $1.ilg rm -f $1.ind rm -f $1.log rm -f $1.tex rm -f $1.toc $LyxCmd --export latex $1.lyx latex $1.tex if test -f $StyleFile; then makeindex -s $StyleFile $1.idx else makeindex $1.idx fi if grep -qi error $1.ilg; then echo ERROR: Inspect $1.ilg and $1.ind! gvim $1.ilg $1.ind echo ERROR: Inspect $1.ilg and $1.ind! else latex $1.tex dvips -o $1.ps $1.dvi # ps2pdf $1.ps ps2pdf12 $1.ps # xpdf $1.pdf fi Anyway, theoretically if you use this shellscript on both LyX versions you're doing the same thing and any discrepancy should be due to the LyX version. You can run timing tests on each process to see what's really gobbling up your time. Your goal is to get something with your current 1.3.4's speed and later LyX's faithful graphical rendering. I used 1.3.4 for a long time. It was stable, robust, and it still used my pet interface xforms /* Litt ducks and runs */. But 1.3.4 didn't have character styles, and in my opinion if it doesn't have character styles, it's not really styles-based -- it's fingerpainting. I'd recommend you find a way to make 1.5x or 1.6x perform as quickly as 1.3.4 did. Just find out what's gobbling your time, and find a way to optimize it. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Problems with jpg-quality with ps2pdf
It would be interesting to know what exactly causes this difference. I spent two days on this, a couple of years ago, then I gave up and switched back to the old Lyx. You can find the discussion here: http://thread.gmane.org/gmane.editors.lyx.general/34234/focus=34251 It was definitely a big time-difference, with the books I was writing on with my last machine, it increased from 8 sec. to 25 or so and this feels like hours;-) I think it is no lyx problem but a latex-caused problem. Regards Robert
Re: Problems with jpg-quality with ps2pdf
Robert Neumann wrote: It was definitely a big time-difference, with the books I was writing on with my last machine, it increased from 8 sec. to 25 or so and this feels like hours;-) I think it is no lyx problem but a latex-caused problem. What I do not understand is:If you compare LyX 1.3 and LyX 1.6 on the same system (using the same LaTeX installation), do you see a delay then? Jürgen
Table of Anything! (Customized)
Any one know how or where can I find information about creating a customized listing of anything?! I mean, List of Pictures is ok (Standard) as well as List of Contents. But what if I'd like to create a List of Pictures of My DOG and a List of pictures of my Cat and another List of picture of my Shark!?!? Is there any special name for what I'm trying to do?! Regards, and Thank you ! As usually you guys are helping me a lot finishing my thesis. Marcelo
Re: About reimporting from latex
Fabio Stumbo wrote: ... you see the ert \begin{thm} etc. \end{thm} and it doesn't even compile! I have noticed the same problem importing latex files from Scientific Workplace. Is there any workaround? Luca
Re: Hi some questions about Tables and Titles
Adrian Diaz schrieb: Do you knonw how to set up the line width of tables, the types of lines, colors of line etc in Lyx?. Could you send some examples?. Everything about tables is described in the EmbeddedObjects manual that our find in LyX's Help menu. I would like to know about of titles of section, subsection etc. How can i set up in lyx that the titles do not appear on the top at the right corner when the lyx makes a copy in PDF?. Then you need to change your definition of the page header line, see sec. 3.1.3 of the LyX User's guide. I am writing my thesis with class document book(more font sizes). When you are using instead of this class memoir or koma-skript book, you are much more flexible in typesetting your thesis. (Personally, I'm writing my thesis using the koma-script book class because koma-script allows me to define easily the print space of the pages, the title pages, the header and footer line formats, etc..) regards Uwe
Hi doubts about header
Hi friends where do i find more option for \lhead{\nouppercase{\small{\leftmark}}} ? I am interested too about te option \small{} becouse i need smaller size of fonts. Is there any posibility to put a number? if so, how can i do? Greetings Adrián
Re: Can't get my university thesis .cls class to work
Thanks Richard! Adding \Committee{Some People} did the job. 2009/5/23 Richard Heck rgh...@bobjweil.com elaliberte wrote: My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for formatting PhD theses with LaTeX. This file is based on http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ uwthesis.cls . I've followed the instructions on this http://wiki.lyx.org/Layouts/CreatingLayouts page and created the following layout file: # \DeclareLaTeXClass{uocthesis} Input stdclass.inc Since your class is based upon book, you'd be better off copying the book.layout file over to uocthesis.layout, and then changing the first line to what you have here. How do I know it's based on book? Because this line: \LoadClass{book} is in the cls file. Sorry, I forgot to mention that: 1) I put the uocthesis.cls file in usr/share/texmf/tex/latex/ 2) I ran 'texhash' from the command line 3) I put my uocthesis.layout file in usr/share/lyx/layouts 4) I reconfigured Lyx The uocthesis class appears in LyX. The problem is converting to PDF. Thanks for your help! I can't seem to compile it even directly. I.e., by running latex example-thesis from the command line. I get the same error. There's something wrong in the definition of the \titlepage macro. Anyway, if you add this line: \Committee{Some People} in ERT right before the \titlepage macro, then it'll work. Richard -- Etienne Laliberté Rural Ecology Research Group School of Forestry University of Canterbury Private Bag 4800 Christchurch 8140, New Zealand Phone: +64 3 366 7001 ext. 8365 Fax: +64 3 364 2124 www.elaliberte.info
Can't get my university thesis .cls class to work
Hi, My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for formatting PhD theses with LaTeX. This file is based on http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ uwthesis.cls . I've followed the instructions on this http://wiki.lyx.org/Layouts/CreatingLayouts page and created the following layout file: # \DeclareLaTeXClass{uocthesis} Input stdclass.inc I then imported the example file given by our university ( http://n2.nabble.com/file/n2955951/example-thesis.tex example-thesis.tex ), and selected the new uocthesis document class. However, I can't get it to work. When I try to export to PDF I get the following error: \titlepage 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. Any help would be much appreciated. -- View this message in context: http://n2.nabble.com/Can%27t-get-my-university-thesis-.cls-class-to-work-tp2955951p2955951.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Can't get my university thesis .cls class to work
On Thu, 21 May 2009 23:45:55 -0700 (PDT) elaliberte etiennelalibe...@gmail.com wrote: My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file Where did you put that file? It is not sufficient to just put it in the same folder as the .lyx file, it needs to be in some latex path, like /usr/local/share/texmf/tex/latex/ You have to run `texhash` as root afterwards. Also, did you put your .layout file to ~/.lyx/layouts/ and reconfigured lyx afterwards? I know, this doesn't exactly fit your error report, but sometimes lyx shows really weird errors... HTH, Kosta
Re: Can't get my university thesis .cls class to work
Sorry, I forgot to mention that: 1) I put the uocthesis.cls file in usr/share/texmf/tex/latex/ 2) I ran 'texhash' from the command line 3) I put my uocthesis.layout file in usr/share/lyx/layouts 4) I reconfigured Lyx The uocthesis class appears in LyX. The problem is converting to PDF. Thanks for your help! elaliberte wrote: Hi, My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for formatting PhD theses with LaTeX. This file is based on http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ uwthesis.cls . I've followed the instructions on this http://wiki.lyx.org/Layouts/CreatingLayouts page and created the following layout file: # \DeclareLaTeXClass{uocthesis} Input stdclass.inc I then imported the example file given by our university ( http://n2.nabble.com/file/n2955951/example-thesis.tex example-thesis.tex ), and selected the new uocthesis document class. However, I can't get it to work. When I try to export to PDF I get the following error: \titlepage 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. Any help would be much appreciated. -- View this message in context: http://n2.nabble.com/Can%27t-get-my-university-thesis-.cls-class-to-work-tp2955951p2956003.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Lyx 1.6.2 Listing with label and caption
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Uwe, hello mailing list, thank you for your help - i copied the listing from the documentation and it works as i want it. But how can I insert it with lyx w/o copying it? thanks for your time and help! M. Uwe Stöhr schrieb: Maximilian Melcher schrieb: im trying to get lyx to display a listing with a caption and a label so that i can refer to it later. For example like here: http://img36.imageshack.us/img36/6514/listing.jpg Does it work without ERT? Yes, see the EmbeddedObjects manual that you find in LyX's Help menu. regards Uwe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFKFlLfAN3KoJkNYUsRAnBtAJ91+gRjsiKSR7fcf/QG7HEQlssVUwCgq97O gBHdzG9NFSvTFXmwr30am68= =3RBz -END PGP SIGNATURE-
Problems with jpg-quality with ps2pdf
Hello, I have a problem with the quality of jpg-images. I have a jpg image with best quality, made with coreldraw (actually I use coreldraw to to work on the existing jpg-file, which contains function-graphs and other curves) When I open it, the quality is good, there are no little dots from the compression around the numbers. Them I create a pdf with ps2pdf and I get lots of these little dots. So the jpg quality seems to be reduced by lyx during the export process, because the dvi is fine. I just need to use ps2pdf, because the pdf is processed at another place and they can only deal with pdfs made with ps2pdf I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Thanks Robert
On export the bibtex-references are shown as question marks
I am using Lyx 1.6.2 on Ubuntu. I am using Bibtex-references, and it works perfectly when just writing the document in the editor. Everything is shown correctly. However, when exporting (to html, opendocument, plain text, pdflatex) the references only show up as question marks? Anyone experienced similar issues? Another issue: And when viewing the document as DVI, only a few characters are shown on each page? -- Lars Olesen | Ørnebjergvej 6 | DK-7100 Vejle | Phone (+45) 26176860 larsolesen.dk | discimport.dk
Re: Lyx 1.6.2 Listing with label and caption
Maximilian Melcher schrieb: thank you for your help - i copied the listing from the documentation and it works as i want it. But how can I insert it with lyx w/o copying it? Please read the documentation chapter from where you copied the listing. Uwe
Re: Can't get my university thesis .cls class to work
elaliberte wrote: My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for formatting PhD theses with LaTeX. This file is based on http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ uwthesis.cls . I've followed the instructions on this http://wiki.lyx.org/Layouts/CreatingLayouts page and created the following layout file: # \DeclareLaTeXClass{uocthesis} Input stdclass.inc Since your class is based upon book, you'd be better off copying the book.layout file over to uocthesis.layout, and then changing the first line to what you have here. How do I know it's based on book? Because this line: \LoadClass{book} is in the cls file. Sorry, I forgot to mention that: 1) I put the uocthesis.cls file in usr/share/texmf/tex/latex/ 2) I ran 'texhash' from the command line 3) I put my uocthesis.layout file in usr/share/lyx/layouts 4) I reconfigured Lyx The uocthesis class appears in LyX. The problem is converting to PDF. Thanks for your help! I can't seem to compile it even directly. I.e., by running latex example-thesis from the command line. I get the same error. There's something wrong in the definition of the \titlepage macro. Anyway, if you add this line: \Committee{Some People} in ERT right before the \titlepage macro, then it'll work. Richard
Hi some questions about Tables and Titles
Hi friends of Lyx Do you knonw how to set up the line width of tables, the types of lines, colors of line etc in Lyx?. Could you send some examples?. I would like to know about of titles of section, subsection etc. How can i set up in lyx that the titles do not appear on the top at the right corner when the lyx makes a copy in PDF?. I am writting my thesis with class document book(more font sizes). Grettings Adrián Díaz
Re: Problems with jpg-quality with ps2pdf
Robert Neumann schrieb: Hello, I have a problem with the quality of jpg-images. ... I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Seriously, what do you expect? If you're not willing to upgrade, I don't think there is any possibility to fix _any_ issue... If your quality-issue is pressing, you should try out lyx 1.6.2, maybe on another machine, and just see if the quality still remains bad. Also I can't really imagine any situation where anything regarding lyx and latex takes longer than one could bear. Thanks Robert Regards, Florian
Re: Problems with jpg-quality with ps2pdf
Thankx for the very nice advice, especially the sarcastic note! I write books with about 250 pages and 10 pic. On the old Lyx it takes around 25 sec. to produce a pdf, on the newer lyx it takes around 40 sec. When I do the final work I have to produce quite a lot of pdfs to check the pages. So just give it a try and count twenty times to 40... this is very hard to stand. So, thats why I HAVE to use the old Lyx and I hope somebody has a better advice... Regards Robert
Re: Problems with jpg-quality with ps2pdf
If you use Coreldraw, don't export to jpg you graphic, but directly to eps type 2 and you will have best quality and no pixelated contours. - Original Message - From: Robert Neumann ro.neum...@web.de To: lyx-users@lists.lyx.org Sent: Friday, May 22, 2009 10:32 AM Subject: Problems with jpg-quality with ps2pdf Hello, I have a problem with the quality of jpg-images. I have a jpg image with best quality, made with coreldraw (actually I use coreldraw to to work on the existing jpg-file, which contains function-graphs and other curves) When I open it, the quality is good, there are no little dots from the compression around the numbers. Them I create a pdf with ps2pdf and I get lots of these little dots. So the jpg quality seems to be reduced by lyx during the export process, because the dvi is fine. I just need to use ps2pdf, because the pdf is processed at another place and they can only deal with pdfs made with ps2pdf I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Thanks Robert
Re: Problems with jpg-quality with ps2pdf
On Friday 22 May 2009 12:41:20 pm Robert Neumann wrote: Thankx for the very nice advice, especially the sarcastic note! I write books with about 250 pages and 10 pic. On the old Lyx it takes around 25 sec. to produce a pdf, on the newer lyx it takes around 40 sec. When I do the final work I have to produce quite a lot of pdfs to check the pages. So just give it a try and count twenty times to 40... this is very hard to stand. So, thats why I HAVE to use the old Lyx and I hope somebody has a better advice... Regards Robert Hi Robert, The fact that you have two different versions of Linux running is a troubleshooting advantage, because you can exploit the differences. I would pay particular attention to EXACTLY HOW LyX is compiled to PDF. It could be that your 1.3.4 is set up to do the conversion differently, which could account for its speedier performance AND its pixellation. One way you can put more of the variables in your own hands is to make a shellscript to do the conversion -- something like this: #!/bin/bash StyleFile=rl_21.ist LyxCmd=lyx-1.5.6 rm -f $1.aux rm -f $1.dvi rm -f $1.ps rm -f $1.pdf rm -f $1.idx rm -f $1.ilg rm -f $1.ind rm -f $1.log rm -f $1.tex rm -f $1.toc $LyxCmd --export latex $1.lyx latex $1.tex if test -f $StyleFile; then makeindex -s $StyleFile $1.idx else makeindex $1.idx fi if grep -qi error $1.ilg; then echo ERROR: Inspect $1.ilg and $1.ind! gvim $1.ilg $1.ind echo ERROR: Inspect $1.ilg and $1.ind! else latex $1.tex dvips -o $1.ps $1.dvi # ps2pdf $1.ps ps2pdf12 $1.ps # xpdf $1.pdf fi Anyway, theoretically if you use this shellscript on both LyX versions you're doing the same thing and any discrepancy should be due to the LyX version. You can run timing tests on each process to see what's really gobbling up your time. Your goal is to get something with your current 1.3.4's speed and later LyX's faithful graphical rendering. I used 1.3.4 for a long time. It was stable, robust, and it still used my pet interface xforms /* Litt ducks and runs */. But 1.3.4 didn't have character styles, and in my opinion if it doesn't have character styles, it's not really styles-based -- it's fingerpainting. I'd recommend you find a way to make 1.5x or 1.6x perform as quickly as 1.3.4 did. Just find out what's gobbling your time, and find a way to optimize it. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Problems with jpg-quality with ps2pdf
It would be interesting to know what exactly causes this difference. I spent two days on this, a couple of years ago, then I gave up and switched back to the old Lyx. You can find the discussion here: http://thread.gmane.org/gmane.editors.lyx.general/34234/focus=34251 It was definitely a big time-difference, with the books I was writing on with my last machine, it increased from 8 sec. to 25 or so and this feels like hours;-) I think it is no lyx problem but a latex-caused problem. Regards Robert
Re: Problems with jpg-quality with ps2pdf
Robert Neumann wrote: It was definitely a big time-difference, with the books I was writing on with my last machine, it increased from 8 sec. to 25 or so and this feels like hours;-) I think it is no lyx problem but a latex-caused problem. What I do not understand is:If you compare LyX 1.3 and LyX 1.6 on the same system (using the same LaTeX installation), do you see a delay then? Jürgen
Table of Anything! (Customized)
Any one know how or where can I find information about creating a customized listing of anything?! I mean, List of Pictures is ok (Standard) as well as List of Contents. But what if I'd like to create a List of Pictures of My DOG and a List of pictures of my Cat and another List of picture of my Shark!?!? Is there any special name for what I'm trying to do?! Regards, and Thank you ! As usually you guys are helping me a lot finishing my thesis. Marcelo
Re: About reimporting from latex
Fabio Stumbo wrote: ... you see the ert \begin{thm} etc. \end{thm} and it doesn't even compile! I have noticed the same problem importing latex files from Scientific Workplace. Is there any workaround? Luca
Re: Hi some questions about Tables and Titles
Adrian Diaz schrieb: Do you knonw how to set up the line width of tables, the types of lines, colors of line etc in Lyx?. Could you send some examples?. Everything about tables is described in the EmbeddedObjects manual that our find in LyX's Help menu. I would like to know about of titles of section, subsection etc. How can i set up in lyx that the titles do not appear on the top at the right corner when the lyx makes a copy in PDF?. Then you need to change your definition of the page header line, see sec. 3.1.3 of the LyX User's guide. I am writing my thesis with class document book(more font sizes). When you are using instead of this class memoir or koma-skript book, you are much more flexible in typesetting your thesis. (Personally, I'm writing my thesis using the koma-script book class because koma-script allows me to define easily the print space of the pages, the title pages, the header and footer line formats, etc..) regards Uwe
Hi doubts about header
Hi friends where do i find more option for \lhead{\nouppercase{\small{\leftmark}}} ? I am interested too about te option \small{} becouse i need smaller size of fonts. Is there any posibility to put a number? if so, how can i do? Greetings Adrián
Re: Can't get my university thesis .cls class to work
Thanks Richard! Adding \Committee{Some People} did the job. 2009/5/23 Richard Heck rgh...@bobjweil.com elaliberte wrote: My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for formatting PhD theses with LaTeX. This file is based on http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ uwthesis.cls . I've followed the instructions on this http://wiki.lyx.org/Layouts/CreatingLayouts page and created the following layout file: # \DeclareLaTeXClass{uocthesis} Input stdclass.inc Since your class is based upon book, you'd be better off copying the book.layout file over to uocthesis.layout, and then changing the first line to what you have here. How do I know it's based on book? Because this line: \LoadClass{book} is in the cls file. Sorry, I forgot to mention that: 1) I put the uocthesis.cls file in usr/share/texmf/tex/latex/ 2) I ran 'texhash' from the command line 3) I put my uocthesis.layout file in usr/share/lyx/layouts 4) I reconfigured Lyx The uocthesis class appears in LyX. The problem is converting to PDF. Thanks for your help! I can't seem to compile it even directly. I.e., by running latex example-thesis from the command line. I get the same error. There's something wrong in the definition of the \titlepage macro. Anyway, if you add this line: \Committee{Some People} in ERT right before the \titlepage macro, then it'll work. Richard -- Etienne Laliberté Rural Ecology Research Group School of Forestry University of Canterbury Private Bag 4800 Christchurch 8140, New Zealand Phone: +64 3 366 7001 ext. 8365 Fax: +64 3 364 2124 www.elaliberte.info
Can't get my university thesis .cls class to work
Hi, My University provides the http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for formatting PhD theses with LaTeX. This file is based on http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ uwthesis.cls . I've followed the instructions on this http://wiki.lyx.org/Layouts/CreatingLayouts page and created the following layout file: # \DeclareLaTeXClass{uocthesis} Input stdclass.inc I then imported the example file given by our university ( http://n2.nabble.com/file/n2955951/example-thesis.tex example-thesis.tex ), and selected the new "uocthesis" document class. However, I can't get it to work. When I try to export to PDF I get the following error: \titlepage 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. Any help would be much appreciated. -- View this message in context: http://n2.nabble.com/Can%27t-get-my-university-thesis-.cls-class-to-work-tp2955951p2955951.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Can't get my university thesis .cls class to work
On Thu, 21 May 2009 23:45:55 -0700 (PDT) elalibertewrote: > My University provides the > http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file Where did you put that file? It is not sufficient to just put it in the same folder as the .lyx file, it needs to be in some latex path, like /usr/local/share/texmf/tex/latex/ You have to run `texhash` as root afterwards. Also, did you put your .layout file to ~/.lyx/layouts/ and "reconfigure"d lyx afterwards? I know, this doesn't exactly fit your error report, but sometimes lyx shows really weird errors... HTH, Kosta
Re: Can't get my university thesis .cls class to work
Sorry, I forgot to mention that: 1) I put the uocthesis.cls file in usr/share/texmf/tex/latex/ 2) I ran 'texhash' from the command line 3) I put my uocthesis.layout file in usr/share/lyx/layouts 4) I reconfigured Lyx The uocthesis class appears in LyX. The problem is converting to PDF. Thanks for your help! elaliberte wrote: > > Hi, > > My University provides the > http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for > formatting PhD theses with LaTeX. This file is based on > http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ > uwthesis.cls . > > I've followed the instructions on this > http://wiki.lyx.org/Layouts/CreatingLayouts page and created the > following layout file: > > > # \DeclareLaTeXClass{uocthesis} > Input stdclass.inc > > > I then imported the example file given by our university ( > http://n2.nabble.com/file/n2955951/example-thesis.tex example-thesis.tex > ), and selected the new "uocthesis" document class. > > However, I can't get it to work. When I try to export to PDF I get the > following error: > > \titlepage > > 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. > > > Any help would be much appreciated. > -- View this message in context: http://n2.nabble.com/Can%27t-get-my-university-thesis-.cls-class-to-work-tp2955951p2956003.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Lyx 1.6.2 Listing with label and caption
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Uwe, hello mailing list, thank you for your help - i copied the listing from the documentation and it works as i want it. But how can I insert it with lyx w/o copying it? thanks for your time and help! M. Uwe Stöhr schrieb: > Maximilian Melcher schrieb: > >> im trying to get lyx to display a listing with a caption and a label so >> that i can refer to it later. For example like here: >> http://img36.imageshack.us/img36/6514/listing.jpg >> >> Does it work without ERT? > > Yes, see the EmbeddedObjects manual that you find in LyX's Help menu. > > regards Uwe -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFKFlLfAN3KoJkNYUsRAnBtAJ91+gRjsiKSR7fcf/QG7HEQlssVUwCgq97O gBHdzG9NFSvTFXmwr30am68= =3RBz -END PGP SIGNATURE-
Problems with jpg-quality with ps2pdf
Hello, I have a problem with the quality of jpg-images. I have a jpg image with best quality, made with coreldraw (actually I use coreldraw to to work on the existing jpg-file, which contains function-graphs and other curves) When I open it, the quality is good, there are no "little dots" from the compression around the numbers. Them I create a pdf with ps2pdf and I get lots of these little dots. So the jpg quality seems to be reduced by lyx during the export process, because the dvi is fine. I just need to use ps2pdf, because the pdf is processed at another place and they can only deal with pdfs made with ps2pdf I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Thanks Robert
On export the bibtex-references are shown as question marks
I am using Lyx 1.6.2 on Ubuntu. I am using Bibtex-references, and it works perfectly when just writing the document in the editor. Everything is shown correctly. However, when exporting (to html, opendocument, plain text, pdflatex) the references only show up as question marks? Anyone experienced similar issues? Another issue: And when viewing the document as DVI, only a few characters are shown on each page? -- Lars Olesen | Ørnebjergvej 6 | DK-7100 Vejle | Phone (+45) 26176860 larsolesen.dk | discimport.dk
Re: Lyx 1.6.2 Listing with label and caption
Maximilian Melcher schrieb: thank you for your help - i copied the listing from the documentation and it works as i want it. But how can I insert it with lyx w/o copying it? Please read the documentation chapter from where you copied the listing. Uwe
Re: Can't get my university thesis .cls class to work
elaliberte wrote: My University provides the > http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for > formatting PhD theses with LaTeX. This file is based on > http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ > uwthesis.cls . > > I've followed the instructions on this > http://wiki.lyx.org/Layouts/CreatingLayouts page and created the > following layout file: > > > # \DeclareLaTeXClass{uocthesis} > Input stdclass.inc Since your class is based upon book, you'd be better off copying the book.layout file over to uocthesis.layout, and then changing the first line to what you have here. How do I know it's based on book? Because this line: \LoadClass{book} is in the cls file. Sorry, I forgot to mention that: 1) I put the uocthesis.cls file in usr/share/texmf/tex/latex/ 2) I ran 'texhash' from the command line 3) I put my uocthesis.layout file in usr/share/lyx/layouts 4) I reconfigured Lyx The uocthesis class appears in LyX. The problem is converting to PDF. Thanks for your help! I can't seem to compile it even directly. I.e., by running "latex example-thesis" from the command line. I get the same error. There's something wrong in the definition of the \titlepage macro. Anyway, if you add this line: \Committee{Some People} in ERT right before the \titlepage macro, then it'll work. Richard
Hi some questions about Tables and Titles
Hi friends of Lyx Do you knonw how to set up the line width of tables, the types of lines, colors of line etc in Lyx?. Could you send some examples?. I would like to know about of titles of section, subsection etc. How can i set up in lyx that the titles do not appear on the top at the right corner when the lyx makes a copy in PDF?. I am writting my thesis with class document book(more font sizes). Grettings Adrián Díaz
Re: Problems with jpg-quality with ps2pdf
Robert Neumann schrieb: Hello, I have a problem with the quality of jpg-images. ... I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Seriously, what do you expect? If you're not willing to upgrade, I don't think there is any possibility to fix _any_ issue... If your quality-issue is pressing, you should try out lyx 1.6.2, maybe on another machine, and just see if the quality still remains bad. Also I can't really imagine any situation where anything regarding lyx and latex takes longer than one could bear. Thanks Robert Regards, Florian
Re: Problems with jpg-quality with ps2pdf
Thankx for the very nice advice, especially the sarcastic note! I write books with about 250 pages and 10 pic. On the "old" Lyx it takes around 25 sec. to produce a pdf, on the newer lyx it takes around 40 sec. When I do the final work I have to produce quite a lot of pdfs to check the pages. So just give it a try and count twenty times to 40... this is very hard to stand. So, thats why I HAVE to use the old Lyx and I hope somebody has a better advice... Regards Robert
Re: Problems with jpg-quality with ps2pdf
If you use Coreldraw, don't export to jpg you graphic, but directly to eps type 2 and you will have best quality and no pixelated contours. - Original Message - From: "Robert Neumann"To: Sent: Friday, May 22, 2009 10:32 AM Subject: Problems with jpg-quality with ps2pdf Hello, I have a problem with the quality of jpg-images. I have a jpg image with best quality, made with coreldraw (actually I use coreldraw to to work on the existing jpg-file, which contains function-graphs and other curves) When I open it, the quality is good, there are no "little dots" from the compression around the numbers. Them I create a pdf with ps2pdf and I get lots of these little dots. So the jpg quality seems to be reduced by lyx during the export process, because the dvi is fine. I just need to use ps2pdf, because the pdf is processed at another place and they can only deal with pdfs made with ps2pdf I' using Lyx 1.3.4 on a Suse Linux (and I dont want to update, because all new lyx are slower it has to to with the latex) Thanks Robert
Re: Problems with jpg-quality with ps2pdf
On Friday 22 May 2009 12:41:20 pm Robert Neumann wrote: > Thankx for the very nice advice, especially the sarcastic note! > I write books with about 250 pages and 10 pic. On the "old" Lyx it takes > around 25 sec. to produce a pdf, on the newer lyx it takes around 40 sec. > When I do the final work I have to produce quite a lot of pdfs to check > the pages. So just give it a try and count twenty times to 40... this is > very hard to stand. > So, thats why I HAVE to use the old Lyx and I hope somebody has a better > advice... > Regards > Robert Hi Robert, The fact that you have two different versions of Linux running is a troubleshooting advantage, because you can exploit the differences. I would pay particular attention to EXACTLY HOW LyX is compiled to PDF. It could be that your 1.3.4 is set up to do the conversion differently, which could account for its speedier performance AND its pixellation. One way you can put more of the variables in your own hands is to make a shellscript to do the conversion -- something like this: #!/bin/bash StyleFile=rl_21.ist LyxCmd=lyx-1.5.6 rm -f $1.aux rm -f $1.dvi rm -f $1.ps rm -f $1.pdf rm -f $1.idx rm -f $1.ilg rm -f $1.ind rm -f $1.log rm -f $1.tex rm -f $1.toc $LyxCmd --export latex $1.lyx latex $1.tex if test -f $StyleFile; then makeindex -s $StyleFile $1.idx else makeindex $1.idx fi if grep -qi "error" $1.ilg; then echo ERROR: Inspect $1.ilg and $1.ind! gvim $1.ilg $1.ind echo ERROR: Inspect $1.ilg and $1.ind! else latex $1.tex dvips -o $1.ps $1.dvi # ps2pdf $1.ps ps2pdf12 $1.ps # xpdf $1.pdf & fi Anyway, theoretically if you use this shellscript on both LyX versions you're doing the same thing and any discrepancy should be due to the LyX version. You can run timing tests on each process to see what's really gobbling up your time. Your goal is to get something with your current 1.3.4's speed and later LyX's faithful graphical rendering. I used 1.3.4 for a long time. It was stable, robust, and it still used my pet interface xforms /* Litt ducks and runs */. But 1.3.4 didn't have character styles, and in my opinion if it doesn't have character styles, it's not really styles-based -- it's fingerpainting. I'd recommend you find a way to make 1.5x or 1.6x perform as quickly as 1.3.4 did. Just find out what's gobbling your time, and find a way to optimize it. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Problems with jpg-quality with ps2pdf
> It would be interesting to know what exactly causes this difference. I spent two days on this, a couple of years ago, then I gave up and switched back to the old Lyx. You can find the discussion here: http://thread.gmane.org/gmane.editors.lyx.general/34234/focus=34251 It was definitely a big time-difference, with the books I was writing on with my last machine, it increased from 8 sec. to 25 or so and this feels like hours;-) I think it is no lyx problem but a latex-caused problem. Regards Robert
Re: Problems with jpg-quality with ps2pdf
Robert Neumann wrote: > It was definitely a big time-difference, with the books I was writing on > with my last machine, it increased from 8 sec. to 25 or so and this feels > like hours;-) I think it is no lyx problem but a latex-caused problem. What I do not understand is:If you compare LyX 1.3 and LyX 1.6 on the same system (using the same LaTeX installation), do you see a delay then? Jürgen
Table of Anything! (Customized)
Any one know how or where can I find information about creating a customized listing of anything?! I mean, List of Pictures is ok (Standard) as well as List of Contents. But what if I'd like to create a List of Pictures of My DOG and a List of pictures of my Cat and another List of picture of my Shark!?!? Is there any special name for what I'm trying to do?! Regards, and Thank you ! As usually you guys are helping me a lot finishing my thesis. Marcelo
Re: About reimporting from latex
> Fabio Stumbo wrote: >... > > you see > > the ert > > \begin{thm} etc. \end{thm} > > > > and it doesn't even compile! I have noticed the same problem importing latex files from Scientific Workplace. Is there any workaround? Luca
Re: Hi some questions about Tables and Titles
Adrian Diaz schrieb: Do you knonw how to set up the line width of tables, the types of lines, colors of line etc in Lyx?. Could you send some examples?. Everything about tables is described in the EmbeddedObjects manual that our find in LyX's Help menu. I would like to know about of titles of section, subsection etc. How can i set up in lyx that the titles do not appear on the top at the right corner when the lyx makes a copy in PDF?. Then you need to change your definition of the page header line, see sec. 3.1.3 of the LyX User's guide. I am writing my thesis with class document book(more font sizes). When you are using instead of this class memoir or koma-skript book, you are much more flexible in typesetting your thesis. (Personally, I'm writing my thesis using the koma-script book class because koma-script allows me to define easily the print space of the pages, the title pages, the header and footer line formats, etc..) regards Uwe
Hi doubts about header
Hi friends where do i find more option for \lhead{\nouppercase{\small{\leftmark}}} ? I am interested too about te option \small{} becouse i need smaller size of fonts. Is there any posibility to put a number? if so, how can i do? Greetings Adrián
Re: Can't get my university thesis .cls class to work
Thanks Richard! Adding \Committee{Some People} did the job. 2009/5/23 Richard Heck> elaliberte wrote: > >> My University provides the > >> http://n2.nabble.com/file/n2955951/uocthesis.cls uocthesis.cls file for >> > formatting PhD theses with LaTeX. This file is based on > >> http://www.ctan.org/tex-archive/macros/latex/contrib/uwthesis/ >> > uwthesis.cls . >> > > I've followed the instructions on this > >> http://wiki.lyx.org/Layouts/CreatingLayouts page and created the >> > following layout file: >> > > > # \DeclareLaTeXClass{uocthesis} >> > Input stdclass.inc >> >> >> > Since your class is based upon book, you'd be better off copying the > book.layout file over to uocthesis.layout, and then changing the first line > to what you have here. > > How do I know it's based on book? Because this line: > \LoadClass{book} > is in the cls file. > > Sorry, I forgot to mention that: >> >> 1) I put the uocthesis.cls file in usr/share/texmf/tex/latex/ >> 2) I ran 'texhash' from the command line >> 3) I put my uocthesis.layout file in usr/share/lyx/layouts >> 4) I reconfigured Lyx >> >> The uocthesis class appears in LyX. The problem is converting to PDF. >> Thanks for your help! >> >> >> > I can't seem to compile it even directly. I.e., by running "latex > example-thesis" from the command line. I get the same error. There's > something wrong in the definition of the \titlepage macro. Anyway, if you > add this line: > \Committee{Some People} > in ERT right before the \titlepage macro, then it'll work. > > Richard > > -- Etienne Laliberté Rural Ecology Research Group School of Forestry University of Canterbury Private Bag 4800 Christchurch 8140, New Zealand Phone: +64 3 366 7001 ext. 8365 Fax: +64 3 364 2124 www.elaliberte.info