inserting pdf in lyx document
hi, i have a PDF document containing diagrams generated from an application (rather than a document processor) and i want to include it in my lyx document. actually i want to add it as an appendix section. i'm tired of googling and my trivial solution is to print empty pages in the lyx document and just insert the paper copy of the PDF in the right place (void pages to preserve the numbering/TOC order). however, i lost the page header/footer styles for this section. i tried to convert the PDF to PS, then insert as an image but i failed so, how can i insert a PDF in lyx/latex document? thanx, mustafa -- Mustafa M. H. Elsheikh elsheikhmh College Senior- The Department of Systems and Computer Engineering, Alazhar University ARLOGO Main Developer- http://arlogo.sourceforge.net CellularBASIC Main Developer- http://cellbasic.sourceforge.net -- Exams are horrible things, they really interfere with useful stuff. Jan Niestadt, www.flipcode.com
Problem with aspell and accent's
As can be seen here: http://omploader.org/file/lyx-aspell-pt.png Lyx and aspell are not workin ok together in words with accents ( portuguese in my case ). If i start lyx with LC_ALL=C lyx all works ok, but from what i found in the wiki this should no longer happen. My sistem is a gentoo gnu/linux system and i'm using lyx 1.4.1 If more info is needed please ask as i really need this working. -- Gustavo Felisberto (HumpBack) Web: http://dev.gentoo.org/~humpback Blog: http://blog.felisberto.net/ It's most certainly GNU/Linux, not Linux. Read more at http://www.gnu.org/gnu/why-gnu-linux.html . - signature.asc Description: OpenPGP digital signature
Re: inserting pdf in lyx document
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 En/na Mustafa Elsheikh ha escrit: so, how can i insert a PDF in lyx/latex document? http://wiki.lyx.org/FAQ/PDF#including -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnnZJu4rFT+k3kmQRAvmsAKCOuHCUy8pZfZGRGHFan2phpomDegCfffR3 vAnX+jezyhBAuqeyJWBRjrY= =Enx0 -END PGP SIGNATURE-
Italics in bibtex record
I'm using pybliographic to manage bibliography. Some titles I have quote book titles, and those words should be italicised. Is there any way to italicise these words either manually, or to mark those words as a book title (in such a way that jurabib might be coaxed to put them in italics)? Thanks, Declan
Re: importing program code
Andrew Harrington wrote: I am new to Lyx and have no LaTeX experience. I am writing a sequence of Python tutorials in a book document. I tried switching from default book to AMS book because it supports numbered exercises and examples, however in the AMS system, each exercise appears to generate a new section number. I do not want exercises to alter the section numbering. I would ideally like exercises to either be numbered sequentually throughout the whole tutorial, or probably better, start again from 1 in each chapter or maybe section. Something viewable easily in LyX would be good, though I am willing to handle my first ERT's. Help appreciated. Thanks, Andy Harrington If you put the following in the document preamble, exercises should be numbered within sections (but I think with the section number included): \newtheorem{xcc}{Exercise}[section] \renewcommand{\xca}{\xcc} /Paul
Graphics quality in PDF vs. PS, etc.
Hi, all, I'm currently producing documents using LyX, in which graphics are often XFig figures. I like the fact that LaTeX fonts can be embedded in such figures, and look great when the final document is produced*. However, if such a figure is relatively complicated (for example, a large color plot of experimental data in which there's lots of small detail), the final .pdf (using pdflatex) from LyX usually has quite a bit of detail lost in the figure (small details seem averaged out and therefore blurry), whereas a .dvi or postscript document usually seems to retain most of the detail of the original graphic. Is this because of a convoluted conversion path, where at some (maybe more than one) step, some graphics detail is lost? Is there a way to possibly fix this? Thanks, Curtis O. * The original .eps figures are often produced using Mathematica. I then run these through pstoedit and make final adjustments (often none) in XFig. But because (I think) these figures aren't *originally* produced in XFig, the start XFig with LaTeX fonts and 'special' flag setting makes no difference when looking at the figures in XFig. NEW documents have the special flag and LaTeX fonts enabled; pre-existing documents do not. Therefore I run the final figures through another Mathematica script which simply turns all the text to LaTeX fonts (just sets one of the flags in the text portions of the XFig file to 0 ). If anyone has a better (regex?) way to do this, I'd love to hear about it! Down with categorical imperative! [EMAIL PROTECTED] or [EMAIL PROTECTED]
Re: Graphics quality in PDF vs. PS, etc.
Curtis Osterhoudt wrote: I'm currently producing documents using LyX, in which graphics are often XFig figures. I like the fact that LaTeX fonts can be embedded in such figures, and look great when the final document is produced*. However, if such a figure is relatively complicated (for example, a large color plot of experimental data in which there's lots of small detail), the final .pdf (using pdflatex) from LyX usually has quite a bit of detail lost in the figure (small details seem averaged out and therefore blurry), whereas a .dvi or postscript document usually seems to retain most of the detail of the original graphic. Is this because of a convoluted conversion path, where at some (maybe more than one) step, some graphics detail is lost? Is there a way to possibly fix this? As I understood you, you insert the graphics as EPS in LyX and produce then the PDF via pdflatex. I also use pdflatex for the PDF-output but insert all graphics as PDF. This has the advantage that the compilation process is much faster because JPG, PNG, and PDF-graphics can directly be embedded into a PDF so that no conversion step is needed. This increases the compilation time and avoids your problem. A very good EPS - PDF converter is Ghostscript (and of course Acrobat). regards Uwe
Re: Graphics quality in PDF vs. PS, etc.
Original Message Follows From: Uwe Stöhr [EMAIL PROTECTED] To: Curtis Osterhoudt [EMAIL PROTECTED] CC: lyx-users@lists.lyx.org Subject: Re: Graphics quality in PDF vs. PS, etc. Date: Mon, 26 Jun 2006 02:31:30 +0200 Curtis Osterhoudt wrote: I'm currently producing documents using LyX, in which graphics are often XFig figures. I like the fact that LaTeX fonts can be embedded in such figures, and look great when the final document is produced*. However, if such a figure is relatively complicated (for example, a large color plot of experimental data in which there's lots of small detail), the final .pdf (using pdflatex) from LyX usually has quite a bit of detail lost in the figure (small details seem averaged out and therefore blurry), whereas a .dvi or postscript document usually seems to retain most of the detail of the original graphic. Is this because of a convoluted conversion path, where at some (maybe more than one) step, some graphics detail is lost? Is there a way to possibly fix this? As I understood you, you insert the graphics as EPS in LyX and produce then the PDF via pdflatex. I also use pdflatex for the PDF-output but insert all graphics as PDF. This has the advantage that the compilation process is much faster because JPG, PNG, and PDF-graphics can directly be embedded into a PDF so that no conversion step is needed. This increases the compilation time and avoids your problem. A very good EPS - PDF converter is Ghostscript (and of course Acrobat). regards Uwe Well... In a way. In fact, I'm using the Insert - External Material - XFig way, which does indeed embed an EPS, along with whatever fancy LaTeXy stuff XFig has shoved in there (I think). I tried converting the EPS to PDF using convert (on a linux system, which I think uses ImageMagick to do the conversion. This results in a slightly lower quality image than the original EPS, but no [further] image degradation when exported using Pdflatex. So from now on, I might use your method of creating PDF files, and just including them as graphics. On the other hand, the original problem remains: Why would 1. starting w/ an .eps image; 2. converting the .eps to .pdf using convert; 3. inserting the .pdf into LyX; then 4. exporting the whole document w/ pdflatex show (some) degradation, but 1. starting w/ .eps (actually XFig), as sharp as any .eps; 2. inserting the XFig figure into LyX, using Insert-External Material-XFig; 3. exporting document w/ pdflatex show (lots of unacceptable) image degradation? I'd post a minimal example, but the graphics files I'm working w/ are on the order of 5MB. I may be able to make up something simpler in a few days. Best wishes, and thanks, Curtis O.
Re: SVGs with alpha channel transparency
sam2p mentions that alpha channel and transparency supported only for Indexed images: only one color may be transparent http://www.inf.bme.hu/~pts/sam2p/ This effectively means that sam2p does *not* support real alpha channel, since indexed images such as GIF support a single special color for complete (100%) transparency, as opposed to various 'cellophane' colors as permitted when a full alpha channel implementation is provided. Cheers JP Jean-Pierre Chretien wrote: Date: Wed, 21 Jun 2006 17:56:40 +0200 (MEST) From: Jean-Pierre Chretien [EMAIL PROTECTED] Subject: Re: SVGs with alpha channel transparency To: lyx-users@lists.lyx.org Date: Wed, 21 Jun 2006 09:57:10 +1000 From: John Pye [EMAIL PROTECTED] To: Jean-Pierre Chretien [EMAIL PROTECTED] CC: lyx-users@lists.lyx.org Subject: Re: SVGs with alpha channel transparency Hi Jean-Pierre, [...] A side conclusion of this thread (which was about svg export in general, not specific to transparency), it came out that inkscape export could only provide transparency with bitmap output (png). Uwe pointed out that a recent version of inkscape provides a transparent pdf output. Another pointer, borrowed from the TexLive mailing list: http://www.inf.bme.hu/~pts/sam2p/ I read there that sam2p can create EPS and PDF images with transparency Alas, sam2p starts from bitmaps, not from vector graphics... -- John Pye Department of Mechanical and Manufacturing Engineering University of New South Wales, Sydney, Australia http://pye.dyndns.org/
Serious performance problem with LyX 1.4.1 on OS X
When I first installed LyX 1.4.0 on OS X I had such serious performance problems that even on my dual proc G5 with 1 gig of Ram I could trivially type faster than LyX could print out my characters. So when LyX 1.4.1 was released with a focus on performance I was very excited. Unfortunately LyX 1.4.1 is as slow for me as LyX 1.4.0 is. In fact even on simple documents containing little more than text (e.g. http://www.goland.org/webtemplate.lyx) just typing simple text is so slow that I can easily out type LyX. Please note that I made sure to delete LyX 1.4.0 and do a new install of LyX 1.4.1 and then confirm that my newly installed program is indeed LyX 1.4.1 If anyone has any suggestions or ideas I would love to hear them because I depend on LyX for a book I'm writing and as things now stand I'm in trouble. Thanks, Yaron
inserting pdf in lyx document
hi, i have a PDF document containing diagrams generated from an application (rather than a document processor) and i want to include it in my lyx document. actually i want to add it as an appendix section. i'm tired of googling and my trivial solution is to print empty pages in the lyx document and just insert the paper copy of the PDF in the right place (void pages to preserve the numbering/TOC order). however, i lost the page header/footer styles for this section. i tried to convert the PDF to PS, then insert as an image but i failed so, how can i insert a PDF in lyx/latex document? thanx, mustafa -- Mustafa M. H. Elsheikh elsheikhmh College Senior- The Department of Systems and Computer Engineering, Alazhar University ARLOGO Main Developer- http://arlogo.sourceforge.net CellularBASIC Main Developer- http://cellbasic.sourceforge.net -- Exams are horrible things, they really interfere with useful stuff. Jan Niestadt, www.flipcode.com
Problem with aspell and accent's
As can be seen here: http://omploader.org/file/lyx-aspell-pt.png Lyx and aspell are not workin ok together in words with accents ( portuguese in my case ). If i start lyx with LC_ALL=C lyx all works ok, but from what i found in the wiki this should no longer happen. My sistem is a gentoo gnu/linux system and i'm using lyx 1.4.1 If more info is needed please ask as i really need this working. -- Gustavo Felisberto (HumpBack) Web: http://dev.gentoo.org/~humpback Blog: http://blog.felisberto.net/ It's most certainly GNU/Linux, not Linux. Read more at http://www.gnu.org/gnu/why-gnu-linux.html . - signature.asc Description: OpenPGP digital signature
Re: inserting pdf in lyx document
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 En/na Mustafa Elsheikh ha escrit: so, how can i insert a PDF in lyx/latex document? http://wiki.lyx.org/FAQ/PDF#including -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnnZJu4rFT+k3kmQRAvmsAKCOuHCUy8pZfZGRGHFan2phpomDegCfffR3 vAnX+jezyhBAuqeyJWBRjrY= =Enx0 -END PGP SIGNATURE-
Italics in bibtex record
I'm using pybliographic to manage bibliography. Some titles I have quote book titles, and those words should be italicised. Is there any way to italicise these words either manually, or to mark those words as a book title (in such a way that jurabib might be coaxed to put them in italics)? Thanks, Declan
Re: importing program code
Andrew Harrington wrote: I am new to Lyx and have no LaTeX experience. I am writing a sequence of Python tutorials in a book document. I tried switching from default book to AMS book because it supports numbered exercises and examples, however in the AMS system, each exercise appears to generate a new section number. I do not want exercises to alter the section numbering. I would ideally like exercises to either be numbered sequentually throughout the whole tutorial, or probably better, start again from 1 in each chapter or maybe section. Something viewable easily in LyX would be good, though I am willing to handle my first ERT's. Help appreciated. Thanks, Andy Harrington If you put the following in the document preamble, exercises should be numbered within sections (but I think with the section number included): \newtheorem{xcc}{Exercise}[section] \renewcommand{\xca}{\xcc} /Paul
Graphics quality in PDF vs. PS, etc.
Hi, all, I'm currently producing documents using LyX, in which graphics are often XFig figures. I like the fact that LaTeX fonts can be embedded in such figures, and look great when the final document is produced*. However, if such a figure is relatively complicated (for example, a large color plot of experimental data in which there's lots of small detail), the final .pdf (using pdflatex) from LyX usually has quite a bit of detail lost in the figure (small details seem averaged out and therefore blurry), whereas a .dvi or postscript document usually seems to retain most of the detail of the original graphic. Is this because of a convoluted conversion path, where at some (maybe more than one) step, some graphics detail is lost? Is there a way to possibly fix this? Thanks, Curtis O. * The original .eps figures are often produced using Mathematica. I then run these through pstoedit and make final adjustments (often none) in XFig. But because (I think) these figures aren't *originally* produced in XFig, the start XFig with LaTeX fonts and 'special' flag setting makes no difference when looking at the figures in XFig. NEW documents have the special flag and LaTeX fonts enabled; pre-existing documents do not. Therefore I run the final figures through another Mathematica script which simply turns all the text to LaTeX fonts (just sets one of the flags in the text portions of the XFig file to 0 ). If anyone has a better (regex?) way to do this, I'd love to hear about it! Down with categorical imperative! [EMAIL PROTECTED] or [EMAIL PROTECTED]
Re: Graphics quality in PDF vs. PS, etc.
Curtis Osterhoudt wrote: I'm currently producing documents using LyX, in which graphics are often XFig figures. I like the fact that LaTeX fonts can be embedded in such figures, and look great when the final document is produced*. However, if such a figure is relatively complicated (for example, a large color plot of experimental data in which there's lots of small detail), the final .pdf (using pdflatex) from LyX usually has quite a bit of detail lost in the figure (small details seem averaged out and therefore blurry), whereas a .dvi or postscript document usually seems to retain most of the detail of the original graphic. Is this because of a convoluted conversion path, where at some (maybe more than one) step, some graphics detail is lost? Is there a way to possibly fix this? As I understood you, you insert the graphics as EPS in LyX and produce then the PDF via pdflatex. I also use pdflatex for the PDF-output but insert all graphics as PDF. This has the advantage that the compilation process is much faster because JPG, PNG, and PDF-graphics can directly be embedded into a PDF so that no conversion step is needed. This increases the compilation time and avoids your problem. A very good EPS - PDF converter is Ghostscript (and of course Acrobat). regards Uwe
Re: Graphics quality in PDF vs. PS, etc.
Original Message Follows From: Uwe Stöhr [EMAIL PROTECTED] To: Curtis Osterhoudt [EMAIL PROTECTED] CC: lyx-users@lists.lyx.org Subject: Re: Graphics quality in PDF vs. PS, etc. Date: Mon, 26 Jun 2006 02:31:30 +0200 Curtis Osterhoudt wrote: I'm currently producing documents using LyX, in which graphics are often XFig figures. I like the fact that LaTeX fonts can be embedded in such figures, and look great when the final document is produced*. However, if such a figure is relatively complicated (for example, a large color plot of experimental data in which there's lots of small detail), the final .pdf (using pdflatex) from LyX usually has quite a bit of detail lost in the figure (small details seem averaged out and therefore blurry), whereas a .dvi or postscript document usually seems to retain most of the detail of the original graphic. Is this because of a convoluted conversion path, where at some (maybe more than one) step, some graphics detail is lost? Is there a way to possibly fix this? As I understood you, you insert the graphics as EPS in LyX and produce then the PDF via pdflatex. I also use pdflatex for the PDF-output but insert all graphics as PDF. This has the advantage that the compilation process is much faster because JPG, PNG, and PDF-graphics can directly be embedded into a PDF so that no conversion step is needed. This increases the compilation time and avoids your problem. A very good EPS - PDF converter is Ghostscript (and of course Acrobat). regards Uwe Well... In a way. In fact, I'm using the Insert - External Material - XFig way, which does indeed embed an EPS, along with whatever fancy LaTeXy stuff XFig has shoved in there (I think). I tried converting the EPS to PDF using convert (on a linux system, which I think uses ImageMagick to do the conversion. This results in a slightly lower quality image than the original EPS, but no [further] image degradation when exported using Pdflatex. So from now on, I might use your method of creating PDF files, and just including them as graphics. On the other hand, the original problem remains: Why would 1. starting w/ an .eps image; 2. converting the .eps to .pdf using convert; 3. inserting the .pdf into LyX; then 4. exporting the whole document w/ pdflatex show (some) degradation, but 1. starting w/ .eps (actually XFig), as sharp as any .eps; 2. inserting the XFig figure into LyX, using Insert-External Material-XFig; 3. exporting document w/ pdflatex show (lots of unacceptable) image degradation? I'd post a minimal example, but the graphics files I'm working w/ are on the order of 5MB. I may be able to make up something simpler in a few days. Best wishes, and thanks, Curtis O.
Re: SVGs with alpha channel transparency
sam2p mentions that alpha channel and transparency supported only for Indexed images: only one color may be transparent http://www.inf.bme.hu/~pts/sam2p/ This effectively means that sam2p does *not* support real alpha channel, since indexed images such as GIF support a single special color for complete (100%) transparency, as opposed to various 'cellophane' colors as permitted when a full alpha channel implementation is provided. Cheers JP Jean-Pierre Chretien wrote: Date: Wed, 21 Jun 2006 17:56:40 +0200 (MEST) From: Jean-Pierre Chretien [EMAIL PROTECTED] Subject: Re: SVGs with alpha channel transparency To: lyx-users@lists.lyx.org Date: Wed, 21 Jun 2006 09:57:10 +1000 From: John Pye [EMAIL PROTECTED] To: Jean-Pierre Chretien [EMAIL PROTECTED] CC: lyx-users@lists.lyx.org Subject: Re: SVGs with alpha channel transparency Hi Jean-Pierre, [...] A side conclusion of this thread (which was about svg export in general, not specific to transparency), it came out that inkscape export could only provide transparency with bitmap output (png). Uwe pointed out that a recent version of inkscape provides a transparent pdf output. Another pointer, borrowed from the TexLive mailing list: http://www.inf.bme.hu/~pts/sam2p/ I read there that sam2p can create EPS and PDF images with transparency Alas, sam2p starts from bitmaps, not from vector graphics... -- John Pye Department of Mechanical and Manufacturing Engineering University of New South Wales, Sydney, Australia http://pye.dyndns.org/
Serious performance problem with LyX 1.4.1 on OS X
When I first installed LyX 1.4.0 on OS X I had such serious performance problems that even on my dual proc G5 with 1 gig of Ram I could trivially type faster than LyX could print out my characters. So when LyX 1.4.1 was released with a focus on performance I was very excited. Unfortunately LyX 1.4.1 is as slow for me as LyX 1.4.0 is. In fact even on simple documents containing little more than text (e.g. http://www.goland.org/webtemplate.lyx) just typing simple text is so slow that I can easily out type LyX. Please note that I made sure to delete LyX 1.4.0 and do a new install of LyX 1.4.1 and then confirm that my newly installed program is indeed LyX 1.4.1 If anyone has any suggestions or ideas I would love to hear them because I depend on LyX for a book I'm writing and as things now stand I'm in trouble. Thanks, Yaron
inserting pdf in lyx document
hi, i have a PDF document containing diagrams generated from an application (rather than a document processor) and i want to include it in my lyx document. actually i want to add it as an appendix section. i'm tired of googling and my trivial solution is to print empty pages in the lyx document and just insert the paper copy of the PDF in the right place (void pages to preserve the numbering/TOC order). however, i lost the page header/footer styles for this section. i tried to convert the PDF to PS, then insert as an image but i failed so, how can i insert a PDF in lyx/latex document? thanx, mustafa -- Mustafa M. H. Elsheikh College Senior- The Department of Systems and Computer Engineering, Alazhar University ARLOGO Main Developer- http://arlogo.sourceforge.net CellularBASIC Main Developer- http://cellbasic.sourceforge.net -- "Exams are horrible things, they really interfere with useful stuff." Jan Niestadt, www.flipcode.com
Problem with aspell and accent's
As can be seen here: http://omploader.org/file/lyx-aspell-pt.png Lyx and aspell are not workin ok together in words with accents ( portuguese in my case ). If i start lyx with LC_ALL=C lyx all works ok, but from what i found in the wiki this should no longer happen. My sistem is a gentoo gnu/linux system and i'm using lyx 1.4.1 If more info is needed please ask as i really need this working. -- Gustavo Felisberto (HumpBack) Web: http://dev.gentoo.org/~humpback Blog: http://blog.felisberto.net/ It's most certainly GNU/Linux, not Linux. Read more at http://www.gnu.org/gnu/why-gnu-linux.html . - signature.asc Description: OpenPGP digital signature
Re: inserting pdf in lyx document
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 En/na Mustafa Elsheikh ha escrit: > so, how can i insert a PDF in lyx/latex document? http://wiki.lyx.org/FAQ/PDF#including -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnnZJu4rFT+k3kmQRAvmsAKCOuHCUy8pZfZGRGHFan2phpomDegCfffR3 vAnX+jezyhBAuqeyJWBRjrY= =Enx0 -END PGP SIGNATURE-
Italics in bibtex record
I'm using pybliographic to manage bibliography. Some titles I have quote book titles, and those words should be italicised. Is there any way to italicise these words either manually, or to mark those words as a book title (in such a way that jurabib might be coaxed to put them in italics)? Thanks, Declan
Re: importing program code
Andrew Harrington wrote: I am new to Lyx and have no LaTeX experience. I am writing a sequence of Python tutorials in a book document. I tried switching from default book to AMS book because it supports numbered exercises and examples, however in the AMS system, each exercise appears to generate a new section number. I do not want exercises to alter the section numbering. I would ideally like exercises to either be numbered sequentually throughout the whole tutorial, or probably better, start again from 1 in each chapter or maybe section. Something viewable easily in LyX would be good, though I am willing to handle my first ERT's. Help appreciated. Thanks, Andy Harrington If you put the following in the document preamble, exercises should be numbered within sections (but I think with the section number included): \newtheorem{xcc}{Exercise}[section] \renewcommand{\xca}{\xcc} /Paul
Graphics quality in PDF vs. PS, etc.
Hi, all, I'm currently producing documents using LyX, in which graphics are often XFig figures. I like the fact that LaTeX fonts can be embedded in such figures, and look great when the final document is produced*. However, if such a figure is relatively complicated (for example, a large color plot of experimental data in which there's lots of small detail), the final .pdf (using pdflatex) from LyX usually has quite a bit of detail lost in the figure (small details seem "averaged out" and therefore blurry), whereas a .dvi or postscript document usually seems to retain most of the detail of the original graphic. Is this because of a convoluted conversion path, where at some (maybe more than one) step, some graphics detail is lost? Is there a way to possibly fix this? Thanks, Curtis O. * The original .eps figures are often produced using Mathematica. I then run these through pstoedit and make final adjustments (often none) in XFig. But because (I think) these figures aren't *originally* produced in XFig, the "start XFig with LaTeX fonts and 'special' flag" setting makes no difference when looking at the figures in XFig. NEW documents have the "special" flag and "LaTeX" fonts enabled; pre-existing documents do not. Therefore I run the final figures through another Mathematica script which simply turns all the text to LaTeX fonts (just sets one of the flags in the text portions of the XFig file to "0" ). If anyone has a better (regex?) way to do this, I'd love to hear about it! Down with categorical imperative! [EMAIL PROTECTED] or [EMAIL PROTECTED]
Re: Graphics quality in PDF vs. PS, etc.
Curtis Osterhoudt wrote: I'm currently producing documents using LyX, in which graphics are often XFig figures. I like the fact that LaTeX fonts can be embedded in such figures, and look great when the final document is produced*. However, if such a figure is relatively complicated (for example, a large color plot of experimental data in which there's lots of small detail), the final .pdf (using pdflatex) from LyX usually has quite a bit of detail lost in the figure (small details seem "averaged out" and therefore blurry), whereas a .dvi or postscript document usually seems to retain most of the detail of the original graphic. Is this because of a convoluted conversion path, where at some (maybe more than one) step, some graphics detail is lost? Is there a way to possibly fix this? As I understood you, you insert the graphics as EPS in LyX and produce then the PDF via pdflatex. I also use pdflatex for the PDF-output but insert all graphics as PDF. This has the advantage that the compilation process is much faster because JPG, PNG, and PDF-graphics can directly be embedded into a PDF so that no conversion step is needed. This increases the compilation time and avoids your problem. A very good EPS -> PDF converter is Ghostscript (and of course Acrobat). regards Uwe
Re: Graphics quality in PDF vs. PS, etc.
Original Message Follows From: Uwe Stöhr <[EMAIL PROTECTED]> To: Curtis Osterhoudt <[EMAIL PROTECTED]> CC: lyx-users@lists.lyx.org Subject: Re: Graphics quality in PDF vs. PS, etc. Date: Mon, 26 Jun 2006 02:31:30 +0200 Curtis Osterhoudt wrote: I'm currently producing documents using LyX, in which graphics are often XFig figures. I like the fact that LaTeX fonts can be embedded in such figures, and look great when the final document is produced*. However, if such a figure is relatively complicated (for example, a large color plot of experimental data in which there's lots of small detail), the final .pdf (using pdflatex) from LyX usually has quite a bit of detail lost in the figure (small details seem "averaged out" and therefore blurry), whereas a .dvi or postscript document usually seems to retain most of the detail of the original graphic. Is this because of a convoluted conversion path, where at some (maybe more than one) step, some graphics detail is lost? Is there a way to possibly fix this? As I understood you, you insert the graphics as EPS in LyX and produce then the PDF via pdflatex. I also use pdflatex for the PDF-output but insert all graphics as PDF. This has the advantage that the compilation process is much faster because JPG, PNG, and PDF-graphics can directly be embedded into a PDF so that no conversion step is needed. This increases the compilation time and avoids your problem. A very good EPS -> PDF converter is Ghostscript (and of course Acrobat). regards Uwe Well... In a way. In fact, I'm using the Insert -> External Material -> XFig way, which does indeed embed an EPS, along with whatever fancy LaTeXy stuff XFig has shoved in there (I think). I tried converting the EPS to PDF using "convert" (on a linux system, which I think uses ImageMagick to do the conversion. This results in a slightly lower quality image than the original EPS, but no [further] image degradation when exported using Pdflatex. So from now on, I might use your method of creating PDF files, and just including them as graphics. On the other hand, the original problem remains: Why would 1. starting w/ an .eps image; 2. converting the .eps to .pdf using "convert"; 3. inserting the .pdf into LyX; then 4. exporting the whole document w/ pdflatex show (some) degradation, but 1. starting w/ .eps (actually XFig), as sharp as any .eps; 2. inserting the XFig figure into LyX, using Insert->External Material->XFig; 3. exporting document w/ pdflatex show (lots of unacceptable) image degradation? I'd post a minimal example, but the graphics files I'm working w/ are on the order of 5MB. I may be able to make up something simpler in a few days. Best wishes, and thanks, Curtis O.
Re: SVGs with alpha channel transparency
sam2p mentions that "alpha channel and transparency supported only for Indexed images: only one color may be transparent" http://www.inf.bme.hu/~pts/sam2p/ This effectively means that sam2p does *not* support real alpha channel, since indexed images such as GIF support a single "special" color for complete (100%) transparency, as opposed to various 'cellophane' colors as permitted when a full alpha channel implementation is provided. Cheers JP Jean-Pierre Chretien wrote: Date: Wed, 21 Jun 2006 17:56:40 +0200 (MEST) From: Jean-Pierre Chretien <[EMAIL PROTECTED]> Subject: Re: SVGs with alpha channel transparency To: lyx-users@lists.lyx.org Date: Wed, 21 Jun 2006 09:57:10 +1000 From: John Pye <[EMAIL PROTECTED]> To: Jean-Pierre Chretien <[EMAIL PROTECTED]> CC: lyx-users@lists.lyx.org Subject: Re: SVGs with alpha channel transparency Hi Jean-Pierre, [...] A side conclusion of this thread (which was about svg export in general, not specific to transparency), it came out that inkscape export could only provide transparency with bitmap output (png). Uwe pointed out that a recent version of inkscape provides a transparent pdf output. Another pointer, borrowed from the TexLive mailing list: http://www.inf.bme.hu/~pts/sam2p/ I read there that "sam2p can create EPS and PDF images with transparency" Alas, sam2p starts from bitmaps, not from vector graphics... -- John Pye Department of Mechanical and Manufacturing Engineering University of New South Wales, Sydney, Australia http://pye.dyndns.org/
Serious performance problem with LyX 1.4.1 on OS X
When I first installed LyX 1.4.0 on OS X I had such serious performance problems that even on my dual proc G5 with 1 gig of Ram I could trivially type faster than LyX could print out my characters. So when LyX 1.4.1 was released with a focus on performance I was very excited. Unfortunately LyX 1.4.1 is as slow for me as LyX 1.4.0 is. In fact even on simple documents containing little more than text (e.g. http://www.goland.org/webtemplate.lyx) just typing simple text is so slow that I can easily out type LyX. Please note that I made sure to delete LyX 1.4.0 and do a new install of LyX 1.4.1 and then confirm that my newly installed program is indeed LyX 1.4.1 If anyone has any suggestions or ideas I would love to hear them because I depend on LyX for a book I'm writing and as things now stand I'm in trouble. Thanks, Yaron