Re: Why do Inkscape drawing pixellate in LyX?
On 17.03.08, Steve Litt wrote: Hi all, I have three Inkscape drawings. They pixellate very badly when I export them to .png and then include them in my LyX written book. Because PNG is a Pixel format. Maybe you can set the resolution somewhere in the Inkscape settings to improve things a bit, but this does not solve the general problem. When I export them to PDF they are pixellated but not as badly. Both text and curves pixellate. They should not pixel at all in PDF as both Inkscapes' native SVG and PDF are vector graphic formats. However, if you include something into the graphic that already is pixy (a PNG graph or a JPEG picture, say), then of course you cannot revert this. What's the best way to put an Inkcape drawn drawing into LyX? IMO, insertion as SVG (as produced by Inkcape and saved with Ctrl-S) together with defining the file format and converters in ToolsPreferences: File Formats: SVG: Extension svg Viewerinkview Editorinkscape x Vector graphics format Converters SVG - PDF (pdflatex) inkscape $$i --export-pdf=$$o Converter File Cache x enabled SVG - EPS inkscape $$i --export-eps=$$o Converter File Cache x enabled Guenter
Re: Why do Inkscape drawing pixellate in LyX?
On 2008-03-18 01:18:50 +0100, Steve Litt [EMAIL PROTECTED] said: On Monday 17 March 2008 19:26, Dominik Böhm wrote: I sometimes also have problems with fonts, but figured out, that everything looks exactly like in Inkscape if I change all the text elements to a font like Arial. When I pick Sans as a font instead, the pdf export seems to use some Courier (typewriter)-font that looks really ugly. Maybe inkscape doesn't include the right fonts into the exported eps-file sometimes, but I don't really care as Arial works fine. I had the exact opposite problem. Arial didn't work -- Inkscape said it was n't there, even though I installed Arial on my Mandriva Linux 2007 in the norma l way. SteveT I had some problems with »extra signs« in Hoefler Text that displayed well in Inkscape as well as in LyX (using XeTeX) but for some reason were not there any more when including the SVG in LyX. I am writing a work on islamic political thought, so there is a lot of Arabic transliteration I use. Many of the letters, such as in Madîna, ‘Â’ischa and so on (I have no idea, whether they will be displayed correctly on this list, in my mail client they do (Outlook users usually experience problems, e.g.)) simply were not displayed correctly any more. Anyway, when exporting the SVG in Inkscape to PDF, the fonts are automatically embedded (as far as I remember) and inserting the PDF in LyX is painless. My more simple graphics are still SVG directly in LyX, as it is more comfortable to only make changes in one file. Anyway, I think that Inkscape really is the problem here, not LyX. By the way, just for typographic reasons, you know of the typographic criticism of Arial, do you :)? Max
Re: Why do Inkscape drawing pixellate in LyX?
On Tuesday 18 March 2008 04:23, Max wrote: By the way, just for typographic reasons, you know of the typographic criticism of Arial, do you :)? Max No. What's the typographic criticism of Arial? SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Why do Inkscape drawing pixellate in LyX?
No. What's the typographic criticism of Arial? I believe that from a pure typographer's pov, it's better to write with a cigarette butt than to use Arial. There is quite a bit about it online, google away. \d
Re: Why do Inkscape drawing pixellate in LyX?
On 17.03.08, Steve Litt wrote: Hi all, I have three Inkscape drawings. They pixellate very badly when I export them to .png and then include them in my LyX written book. Because PNG is a Pixel format. Maybe you can set the resolution somewhere in the Inkscape settings to improve things a bit, but this does not solve the general problem. When I export them to PDF they are pixellated but not as badly. Both text and curves pixellate. They should not pixel at all in PDF as both Inkscapes' native SVG and PDF are vector graphic formats. However, if you include something into the graphic that already is pixy (a PNG graph or a JPEG picture, say), then of course you cannot revert this. What's the best way to put an Inkcape drawn drawing into LyX? IMO, insertion as SVG (as produced by Inkcape and saved with Ctrl-S) together with defining the file format and converters in ToolsPreferences: File Formats: SVG: Extension svg Viewerinkview Editorinkscape x Vector graphics format Converters SVG - PDF (pdflatex) inkscape $$i --export-pdf=$$o Converter File Cache x enabled SVG - EPS inkscape $$i --export-eps=$$o Converter File Cache x enabled Guenter
Re: Why do Inkscape drawing pixellate in LyX?
On 2008-03-18 01:18:50 +0100, Steve Litt [EMAIL PROTECTED] said: On Monday 17 March 2008 19:26, Dominik Böhm wrote: I sometimes also have problems with fonts, but figured out, that everything looks exactly like in Inkscape if I change all the text elements to a font like Arial. When I pick Sans as a font instead, the pdf export seems to use some Courier (typewriter)-font that looks really ugly. Maybe inkscape doesn't include the right fonts into the exported eps-file sometimes, but I don't really care as Arial works fine. I had the exact opposite problem. Arial didn't work -- Inkscape said it was n't there, even though I installed Arial on my Mandriva Linux 2007 in the norma l way. SteveT I had some problems with »extra signs« in Hoefler Text that displayed well in Inkscape as well as in LyX (using XeTeX) but for some reason were not there any more when including the SVG in LyX. I am writing a work on islamic political thought, so there is a lot of Arabic transliteration I use. Many of the letters, such as in Madîna, ‘Â’ischa and so on (I have no idea, whether they will be displayed correctly on this list, in my mail client they do (Outlook users usually experience problems, e.g.)) simply were not displayed correctly any more. Anyway, when exporting the SVG in Inkscape to PDF, the fonts are automatically embedded (as far as I remember) and inserting the PDF in LyX is painless. My more simple graphics are still SVG directly in LyX, as it is more comfortable to only make changes in one file. Anyway, I think that Inkscape really is the problem here, not LyX. By the way, just for typographic reasons, you know of the typographic criticism of Arial, do you :)? Max
Re: Why do Inkscape drawing pixellate in LyX?
On Tuesday 18 March 2008 04:23, Max wrote: By the way, just for typographic reasons, you know of the typographic criticism of Arial, do you :)? Max No. What's the typographic criticism of Arial? SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Why do Inkscape drawing pixellate in LyX?
No. What's the typographic criticism of Arial? I believe that from a pure typographer's pov, it's better to write with a cigarette butt than to use Arial. There is quite a bit about it online, google away. \d
Re: Why do Inkscape drawing pixellate in LyX?
On 17.03.08, Steve Litt wrote: > Hi all, > I have three Inkscape drawings. They pixellate very badly when I export them > to .png and then include them in my LyX written book. Because PNG is a Pixel format. Maybe you can set the resolution somewhere in the Inkscape settings to improve things a bit, but this does not solve the general problem. > When I export them to PDF they are pixellated but not as badly. Both > text and curves pixellate. They should not pixel at all in PDF as both Inkscapes' native SVG and PDF are vector graphic formats. However, if you include something into the graphic that already is pixy (a PNG graph or a JPEG picture, say), then of course you cannot revert this. > What's the best way to put an Inkcape drawn drawing into LyX? IMO, insertion as SVG (as produced by Inkcape and saved with Ctrl-S) together with defining the file format and converters in Tools>Preferences: File Formats: SVG: Extension svg Viewerinkview Editorinkscape x Vector graphics format Converters SVG -> PDF (pdflatex) inkscape $$i --export-pdf=$$o Converter File Cache x enabled SVG -> EPS inkscape $$i --export-eps=$$o Converter File Cache x enabled Guenter
Re: Why do Inkscape drawing pixellate in LyX?
On 2008-03-18 01:18:50 +0100, Steve Litt <[EMAIL PROTECTED]> said: On Monday 17 March 2008 19:26, Dominik Böhm wrote: I sometimes also have problems with fonts, but figured out, that everything looks exactly like in Inkscape if I change all the text elements to a font like "Arial". When I pick "Sans" as a font instead, the pdf export seems to use some Courier (typewriter)-font that looks really ugly. Maybe inkscape doesn't include the right fonts into the exported eps-file sometimes, but I don't really care as Arial works fine. I had the exact opposite problem. Arial didn't work -- Inkscape said it was n't there, even though I installed Arial on my Mandriva Linux 2007 in the norma l way. SteveT I had some problems with »extra signs« in Hoefler Text that displayed well in Inkscape as well as in LyX (using XeTeX) but for some reason were not there any more when including the SVG in LyX. I am writing a work on islamic political thought, so there is a lot of Arabic transliteration I use. Many of the letters, such as in Madîna, ‘Â’ischa and so on (I have no idea, whether they will be displayed correctly on this list, in my mail client they do (Outlook users usually experience problems, e.g.)) simply were not displayed correctly any more. Anyway, when exporting the SVG in Inkscape to PDF, the fonts are automatically embedded (as far as I remember) and inserting the PDF in LyX is painless. My more simple graphics are still SVG directly in LyX, as it is more comfortable to only make changes in one file. Anyway, I think that Inkscape really is the problem here, not LyX. By the way, just for typographic reasons, you know of the typographic criticism of Arial, do you :)? Max
Re: Why do Inkscape drawing pixellate in LyX?
On Tuesday 18 March 2008 04:23, Max wrote: > By the way, just for typographic reasons, you know of the typographic > criticism of Arial, do you :)? > > Max No. What's the typographic criticism of Arial? SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Why do Inkscape drawing pixellate in LyX?
> No. What's the typographic criticism of Arial? I believe that from a pure typographer's pov, it's better to write with a cigarette butt than to use Arial. There is quite a bit about it online, google away. \d
Why do Inkscape drawing pixellate in LyX?
Hi all, I have three Inkscape drawings. They pixellate very badly when I export them to .png and then include them in my LyX written book. When I export them to PDF they are pixellated but not as badly. Both text and curves pixellate. These three drawings are simple cartoons, created by me. What's the best way to put an Inkcape drawn drawing into LyX? Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Why do Inkscape drawing pixellate in LyX?
Steve Litt schrieb: What's the best way to put an Inkcape drawn drawing into LyX? Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For this you either have to define a SVG to PDF converter using Inkscape, or use the alternate LyX installer that already do this for you, in case you have Inkscape installed. regards Uwe
Re: Why do Inkscape drawing pixellate in LyX?
On Mon, 17 Mar 2008 08:28:38 -0400, Steve Litt [EMAIL PROTECTED] wrote: What's the best way to put an Inkcape drawn drawing into LyX? There are a couple ways to do this that will probably get you where you want to go. First, you can change the DPI settings in the export dialog in Inkscape--I think the default is 90dpi, which is passable for screen resolutions but otherwise unacceptable. If you're going to be printing the document, I'd set it at at least 300 (which will increase the filesize considerably, unfortunately). 600 is better. Second, you could save the file as another type, like EPS; LyX may be able to import this directly (it's been awhile since I've tried; I usually use pdflatex, and I think that it won't import EPS files). If it cannot, you can open the EPS file in something like the Gimp, which will allow you to specify the resolution when you open the file; you can then export it to any LyX-compatible format. Best, Ethan ([EMAIL PROTECTED]) http://uppertank.net/ethanm/
Re: Why do Inkscape drawing pixellate in LyX?
On 2008-03-17 13:28:38 +0100, Steve Litt [EMAIL PROTECTED] said: Hi all, I have three Inkscape drawings. They pixellate very badly when I export them to .png and then include them in my LyX written book. When I export them to PDF they are pixellated but not as badly. Both text and curves pixellate. PNG is a bitmap-based format and not well suited for scaling. PDF or SVG are vector-based formats and are way better for scaling, the latter can theoretically be scaled any way you wish without loss of quality. These three drawings are simple cartoons, created by me. What's the best way to put an Inkcape drawn drawing into LyX? There is a nice page on Inkscape and LyX in the wiki: http://wiki.lyx.org/Tips/UseInkscapeSVGImages It works very well for me (though especially with fonts I have some difficulties sometimes but I guess thats because of the yet too bad port of Inkscape in OS X). Thanks SteveT Regards, Max
Re: Why do Inkscape drawing pixellate in LyX?
Steve Litt asked: What's the best way to put an Inkcape drawn drawing into LyX? On Monday 17 March 2008 08:44, Uwe Stöhr wrote: Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For this you either have to define a SVG to PDF converter using Inkscape, or use the alternate LyX installer that already do this for you, in case you have Inkscape installed. regards Uwe On Monday 17 March 2008 08:57, Ethan Metsger wrote: There are a couple ways to do this that will probably get you where you want to go. First, you can change the DPI settings in the export dialog in Inkscape--I think the default is 90dpi, which is passable for screen resolutions but otherwise unacceptable. If you're going to be printing the document, I'd set it at at least 300 (which will increase the filesize considerably, unfortunately). 600 is better. Second, you could save the file as another type, like EPS; LyX may be able to import this directly (it's been awhile since I've tried; I usually use pdflatex, and I think that it won't import EPS files). If it cannot, you can open the EPS file in something like the Gimp, which will allow you to specify the resolution when you open the file; you can then export it to any LyX-compatible format. Thanks Uwe and Ethan, First of all, for some reason Inkscape thought I didn't have Arial installed on my computer. I do, but the heck with it, I changed it to Century Schoolbook, and for better readability upped the font from 12 to 16. That in itself made the picture tolerable. Ethan -- I tried your technique of exporting to a 300dpi .png, and like you said, the result was stunningly beautiful, and like you said, it really bloated the filesize. Uwe -- I simply used the inkscape file within LyX, and it came out tolerable and a small filesize. Interestingly, I had absolutely no svg to pdf converter, so LyX must have something built in. Interestingly, the Inkscape .svg format has other junk inside to store Inkscape metadata, but still rendered within both LyX 1.4.2 and LyX 1.5.3. Uwe -- if I added a SVG converter, to what should I make it convert? One would think that the longer the picture stayed vector based, the better things would be. So I have to decide whether to bloat the file to reduce moderate pixellation on 3 or 4 pictures, and of course I'm still looking for a third alternative with the font beauty of 300dpi .png and the small filesize of .svg. Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: Why do Inkscape drawing pixellate in LyX?
Steve Litt schrieb: Uwe -- I simply used the inkscape file within LyX, and it came out tolerable and a small filesize. Interestingly, I had absolutely no svg to pdf converter, so LyX must have something built in. This works, because ImageMagick supports SVG nowadays. But the result is not really brilliant here on my PC. Uwe -- if I added a SVG converter, to what should I make it convert? Inkscape. Attached is my preferences file to see how the converter is defined. You can copy the converters directly to your preferences file, restart LyX, and it should work. regards Uwe ### This file is part of ### ### LyX, The Document Processor ### ### Copyright 1995 Matthias Ettrich ### Copyright 1995-2001 The LyX Team. ### ### # This file is written by LyX, if you want to make your own # modifications you should do them from inside LyX and save # # MISC SECTION ## # \preview_scale_factor 1.0 # # SCREEN FONTS SECTION # \screen_zoom 120 # # COLOR SECTION ### # # # PRINTER SECTION ### # # # EXPORT SECTION # # # TEX SECTION ### # # # FILE SECTION ## # # # PLAIN TEXT EXPORT SECTION ## # # # SPELLCHECKER SECTION ## # # # LANGUAGE SUPPORT SECTION ## # # # 2nd MISC SUPPORT SECTION ## # # # FORMATS SECTION ## # \format pdf3 pdf PDF (dvipdfm) m PDFViewWin document,vector \format pdf2 pdf PDF (pdflatex) F PDFViewWin document,vector \format pdf pdf PDF (ps2pdf) P PDFViewWin document,vector \format svg svg SVG inkscape --file=$$i inkscape --file=$$i vector # # CONVERTERS SECTION ## # \converter svg png inkscape --without-gui --file=$$i --export-png=$$o \converter svg pdf inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o \converter svg pdf2 inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o # # COPIERS SECTION ## #
Re: Why do Inkscape drawing pixellate in LyX?
On Monday 17 March 2008 11:49, Max wrote: There is a nice page on Inkscape and LyX in the wiki: http://wiki.lyx.org/Tips/UseInkscapeSVGImages It works very well for me (though especially with fonts I have some difficulties sometimes but I guess thats because of the yet too bad port of Inkscape in OS X). Thanks Max, That page is very handy, although in my case adding converters didn't seem to change anything from the initial setting of no SVG converters. Anyway, I added content to the bottom that page showing how to size your Inkscape drawing for optimal results. If I made mistakes, could someone please correct them? Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Why do Inkscape drawing pixellate in LyX?
On Mon, Mar 17, 2008 at 4:49 PM, Max [EMAIL PROTECTED] wrote: There is a nice page on Inkscape and LyX in the wiki: http://wiki.lyx.org/Tips/UseInkscapeSVGImages It works very well for me (though especially with fonts I have some difficulties sometimes but I guess thats because of the yet too bad port of Inkscape in OS X). I sometimes also have problems with fonts, but figured out, that everything looks exactly like in Inkscape if I change all the text elements to a font like Arial. When I pick Sans as a font instead, the pdf export seems to use some Courier (typewriter)-font that looks really ugly. Maybe inkscape doesn't include the right fonts into the exported eps-file sometimes, but I don't really care as Arial works fine.
Re: Why do Inkscape drawing pixellate in LyX?
On Monday 17 March 2008 19:26, Dominik Böhm wrote: On Mon, Mar 17, 2008 at 4:49 PM, Max [EMAIL PROTECTED] wrote: There is a nice page on Inkscape and LyX in the wiki: http://wiki.lyx.org/Tips/UseInkscapeSVGImages It works very well for me (though especially with fonts I have some difficulties sometimes but I guess thats because of the yet too bad port of Inkscape in OS X). I sometimes also have problems with fonts, but figured out, that everything looks exactly like in Inkscape if I change all the text elements to a font like Arial. When I pick Sans as a font instead, the pdf export seems to use some Courier (typewriter)-font that looks really ugly. Maybe inkscape doesn't include the right fonts into the exported eps-file sometimes, but I don't really care as Arial works fine. I had the exact opposite problem. Arial didn't work -- Inkscape said it wasn't there, even though I installed Arial on my Mandriva Linux 2007 in the normal way. SteveT
Why do Inkscape drawing pixellate in LyX?
Hi all, I have three Inkscape drawings. They pixellate very badly when I export them to .png and then include them in my LyX written book. When I export them to PDF they are pixellated but not as badly. Both text and curves pixellate. These three drawings are simple cartoons, created by me. What's the best way to put an Inkcape drawn drawing into LyX? Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Why do Inkscape drawing pixellate in LyX?
Steve Litt schrieb: What's the best way to put an Inkcape drawn drawing into LyX? Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For this you either have to define a SVG to PDF converter using Inkscape, or use the alternate LyX installer that already do this for you, in case you have Inkscape installed. regards Uwe
Re: Why do Inkscape drawing pixellate in LyX?
On Mon, 17 Mar 2008 08:28:38 -0400, Steve Litt [EMAIL PROTECTED] wrote: What's the best way to put an Inkcape drawn drawing into LyX? There are a couple ways to do this that will probably get you where you want to go. First, you can change the DPI settings in the export dialog in Inkscape--I think the default is 90dpi, which is passable for screen resolutions but otherwise unacceptable. If you're going to be printing the document, I'd set it at at least 300 (which will increase the filesize considerably, unfortunately). 600 is better. Second, you could save the file as another type, like EPS; LyX may be able to import this directly (it's been awhile since I've tried; I usually use pdflatex, and I think that it won't import EPS files). If it cannot, you can open the EPS file in something like the Gimp, which will allow you to specify the resolution when you open the file; you can then export it to any LyX-compatible format. Best, Ethan ([EMAIL PROTECTED]) http://uppertank.net/ethanm/
Re: Why do Inkscape drawing pixellate in LyX?
On 2008-03-17 13:28:38 +0100, Steve Litt [EMAIL PROTECTED] said: Hi all, I have three Inkscape drawings. They pixellate very badly when I export them to .png and then include them in my LyX written book. When I export them to PDF they are pixellated but not as badly. Both text and curves pixellate. PNG is a bitmap-based format and not well suited for scaling. PDF or SVG are vector-based formats and are way better for scaling, the latter can theoretically be scaled any way you wish without loss of quality. These three drawings are simple cartoons, created by me. What's the best way to put an Inkcape drawn drawing into LyX? There is a nice page on Inkscape and LyX in the wiki: http://wiki.lyx.org/Tips/UseInkscapeSVGImages It works very well for me (though especially with fonts I have some difficulties sometimes but I guess thats because of the yet too bad port of Inkscape in OS X). Thanks SteveT Regards, Max
Re: Why do Inkscape drawing pixellate in LyX?
Steve Litt asked: What's the best way to put an Inkcape drawn drawing into LyX? On Monday 17 March 2008 08:44, Uwe Stöhr wrote: Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For this you either have to define a SVG to PDF converter using Inkscape, or use the alternate LyX installer that already do this for you, in case you have Inkscape installed. regards Uwe On Monday 17 March 2008 08:57, Ethan Metsger wrote: There are a couple ways to do this that will probably get you where you want to go. First, you can change the DPI settings in the export dialog in Inkscape--I think the default is 90dpi, which is passable for screen resolutions but otherwise unacceptable. If you're going to be printing the document, I'd set it at at least 300 (which will increase the filesize considerably, unfortunately). 600 is better. Second, you could save the file as another type, like EPS; LyX may be able to import this directly (it's been awhile since I've tried; I usually use pdflatex, and I think that it won't import EPS files). If it cannot, you can open the EPS file in something like the Gimp, which will allow you to specify the resolution when you open the file; you can then export it to any LyX-compatible format. Thanks Uwe and Ethan, First of all, for some reason Inkscape thought I didn't have Arial installed on my computer. I do, but the heck with it, I changed it to Century Schoolbook, and for better readability upped the font from 12 to 16. That in itself made the picture tolerable. Ethan -- I tried your technique of exporting to a 300dpi .png, and like you said, the result was stunningly beautiful, and like you said, it really bloated the filesize. Uwe -- I simply used the inkscape file within LyX, and it came out tolerable and a small filesize. Interestingly, I had absolutely no svg to pdf converter, so LyX must have something built in. Interestingly, the Inkscape .svg format has other junk inside to store Inkscape metadata, but still rendered within both LyX 1.4.2 and LyX 1.5.3. Uwe -- if I added a SVG converter, to what should I make it convert? One would think that the longer the picture stayed vector based, the better things would be. So I have to decide whether to bloat the file to reduce moderate pixellation on 3 or 4 pictures, and of course I'm still looking for a third alternative with the font beauty of 300dpi .png and the small filesize of .svg. Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: Why do Inkscape drawing pixellate in LyX?
Steve Litt schrieb: Uwe -- I simply used the inkscape file within LyX, and it came out tolerable and a small filesize. Interestingly, I had absolutely no svg to pdf converter, so LyX must have something built in. This works, because ImageMagick supports SVG nowadays. But the result is not really brilliant here on my PC. Uwe -- if I added a SVG converter, to what should I make it convert? Inkscape. Attached is my preferences file to see how the converter is defined. You can copy the converters directly to your preferences file, restart LyX, and it should work. regards Uwe ### This file is part of ### ### LyX, The Document Processor ### ### Copyright 1995 Matthias Ettrich ### Copyright 1995-2001 The LyX Team. ### ### # This file is written by LyX, if you want to make your own # modifications you should do them from inside LyX and save # # MISC SECTION ## # \preview_scale_factor 1.0 # # SCREEN FONTS SECTION # \screen_zoom 120 # # COLOR SECTION ### # # # PRINTER SECTION ### # # # EXPORT SECTION # # # TEX SECTION ### # # # FILE SECTION ## # # # PLAIN TEXT EXPORT SECTION ## # # # SPELLCHECKER SECTION ## # # # LANGUAGE SUPPORT SECTION ## # # # 2nd MISC SUPPORT SECTION ## # # # FORMATS SECTION ## # \format pdf3 pdf PDF (dvipdfm) m PDFViewWin document,vector \format pdf2 pdf PDF (pdflatex) F PDFViewWin document,vector \format pdf pdf PDF (ps2pdf) P PDFViewWin document,vector \format svg svg SVG inkscape --file=$$i inkscape --file=$$i vector # # CONVERTERS SECTION ## # \converter svg png inkscape --without-gui --file=$$i --export-png=$$o \converter svg pdf inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o \converter svg pdf2 inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o # # COPIERS SECTION ## #
Re: Why do Inkscape drawing pixellate in LyX?
On Monday 17 March 2008 11:49, Max wrote: There is a nice page on Inkscape and LyX in the wiki: http://wiki.lyx.org/Tips/UseInkscapeSVGImages It works very well for me (though especially with fonts I have some difficulties sometimes but I guess thats because of the yet too bad port of Inkscape in OS X). Thanks Max, That page is very handy, although in my case adding converters didn't seem to change anything from the initial setting of no SVG converters. Anyway, I added content to the bottom that page showing how to size your Inkscape drawing for optimal results. If I made mistakes, could someone please correct them? Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Why do Inkscape drawing pixellate in LyX?
On Mon, Mar 17, 2008 at 4:49 PM, Max [EMAIL PROTECTED] wrote: There is a nice page on Inkscape and LyX in the wiki: http://wiki.lyx.org/Tips/UseInkscapeSVGImages It works very well for me (though especially with fonts I have some difficulties sometimes but I guess thats because of the yet too bad port of Inkscape in OS X). I sometimes also have problems with fonts, but figured out, that everything looks exactly like in Inkscape if I change all the text elements to a font like Arial. When I pick Sans as a font instead, the pdf export seems to use some Courier (typewriter)-font that looks really ugly. Maybe inkscape doesn't include the right fonts into the exported eps-file sometimes, but I don't really care as Arial works fine.
Re: Why do Inkscape drawing pixellate in LyX?
On Monday 17 March 2008 19:26, Dominik Böhm wrote: On Mon, Mar 17, 2008 at 4:49 PM, Max [EMAIL PROTECTED] wrote: There is a nice page on Inkscape and LyX in the wiki: http://wiki.lyx.org/Tips/UseInkscapeSVGImages It works very well for me (though especially with fonts I have some difficulties sometimes but I guess thats because of the yet too bad port of Inkscape in OS X). I sometimes also have problems with fonts, but figured out, that everything looks exactly like in Inkscape if I change all the text elements to a font like Arial. When I pick Sans as a font instead, the pdf export seems to use some Courier (typewriter)-font that looks really ugly. Maybe inkscape doesn't include the right fonts into the exported eps-file sometimes, but I don't really care as Arial works fine. I had the exact opposite problem. Arial didn't work -- Inkscape said it wasn't there, even though I installed Arial on my Mandriva Linux 2007 in the normal way. SteveT
Why do Inkscape drawing pixellate in LyX?
Hi all, I have three Inkscape drawings. They pixellate very badly when I export them to .png and then include them in my LyX written book. When I export them to PDF they are pixellated but not as badly. Both text and curves pixellate. These three drawings are simple cartoons, created by me. What's the best way to put an Inkcape drawn drawing into LyX? Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Why do Inkscape drawing pixellate in LyX?
Steve Litt schrieb: What's the best way to put an Inkcape drawn drawing into LyX? Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For this you either have to define a SVG to PDF converter using Inkscape, or use the alternate LyX installer that already do this for you, in case you have Inkscape installed. regards Uwe
Re: Why do Inkscape drawing pixellate in LyX?
On Mon, 17 Mar 2008 08:28:38 -0400, Steve Litt <[EMAIL PROTECTED]> wrote: What's the best way to put an Inkcape drawn drawing into LyX? There are a couple ways to do this that will probably get you where you want to go. First, you can change the DPI settings in the export dialog in Inkscape--I think the default is 90dpi, which is passable for screen resolutions but otherwise unacceptable. If you're going to be printing the document, I'd set it at at least 300 (which will increase the filesize considerably, unfortunately). 600 is better. Second, you could save the file as another type, like EPS; LyX may be able to import this directly (it's been awhile since I've tried; I usually use pdflatex, and I think that it won't import EPS files). If it cannot, you can open the EPS file in something like the Gimp, which will allow you to specify the resolution when you open the file; you can then export it to any LyX-compatible format. Best, Ethan ([EMAIL PROTECTED]) http://uppertank.net/ethanm/
Re: Why do Inkscape drawing pixellate in LyX?
On 2008-03-17 13:28:38 +0100, Steve Litt <[EMAIL PROTECTED]> said: Hi all, I have three Inkscape drawings. They pixellate very badly when I export them to .png and then include them in my LyX written book. When I export them to PDF they are pixellated but not as badly. Both text and curves pixellate. PNG is a bitmap-based format and not well suited for scaling. PDF or SVG are vector-based formats and are way better for scaling, the latter can theoretically be scaled any way you wish without loss of quality. These three drawings are simple cartoons, created by me. What's the best way to put an Inkcape drawn drawing into LyX? There is a nice page on Inkscape and LyX in the wiki: http://wiki.lyx.org/Tips/UseInkscapeSVGImages It works very well for me (though especially with fonts I have some difficulties sometimes but I guess thats because of the yet too bad port of Inkscape in OS X). Thanks SteveT Regards, Max
Re: Why do Inkscape drawing pixellate in LyX?
Steve Litt asked: > > What's the best way to put an Inkcape drawn drawing into LyX? >On Monday 17 March 2008 08:44, Uwe Stöhr wrote: > Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For > this you either have to define a SVG to PDF converter using Inkscape, or > use the alternate LyX installer that already do this for you, in case you > have Inkscape installed. > > regards Uwe On Monday 17 March 2008 08:57, Ethan Metsger wrote: > There are a couple ways to do this that will probably get you where you > want to go. > > First, you can change the DPI settings in the export dialog in Inkscape--I > think the default is 90dpi, which is passable for screen resolutions but > otherwise unacceptable. If you're going to be printing the document, I'd > set it at at least 300 (which will increase the filesize considerably, > unfortunately). 600 is better. > > Second, you could save the file as another type, like EPS; LyX may be able > to import this directly (it's been awhile since I've tried; I usually use > pdflatex, and I think that it won't import EPS files). If it cannot, you > can open the EPS file in something like the Gimp, which will allow you to > specify the resolution when you open the file; you can then export it to > any LyX-compatible format. Thanks Uwe and Ethan, First of all, for some reason Inkscape thought I didn't have Arial installed on my computer. I do, but the heck with it, I changed it to Century Schoolbook, and for better readability upped the font from 12 to 16. That in itself made the picture tolerable. Ethan -- I tried your technique of exporting to a 300dpi .png, and like you said, the result was stunningly beautiful, and like you said, it really bloated the filesize. Uwe -- I simply used the inkscape file within LyX, and it came out tolerable and a small filesize. Interestingly, I had absolutely no svg to pdf converter, so LyX must have something built in. Interestingly, the Inkscape .svg format has other junk inside to store Inkscape metadata, but still rendered within both LyX 1.4.2 and LyX 1.5.3. Uwe -- if I added a SVG converter, to what should I make it convert? One would think that the longer the picture stayed vector based, the better things would be. So I have to decide whether to bloat the file to reduce moderate pixellation on 3 or 4 pictures, and of course I'm still looking for a third alternative with the font beauty of 300dpi .png and the small filesize of .svg. Thanks SteveT Steve Litt Author: Universal Troubleshooting Process books and courseware http://www.troubleshooters.com/
Re: Why do Inkscape drawing pixellate in LyX?
Steve Litt schrieb: Uwe -- I simply used the inkscape file within LyX, and it came out tolerable and a small filesize. Interestingly, I had absolutely no svg to pdf converter, so LyX must have something built in. This works, because ImageMagick supports SVG nowadays. But the result is not really brilliant here on my PC. Uwe -- if I added a SVG converter, to what should I make it convert? Inkscape. Attached is my preferences file to see how the converter is defined. You can copy the converters directly to your preferences file, restart LyX, and it should work. regards Uwe ### This file is part of ### ### LyX, The Document Processor ### ### Copyright 1995 Matthias Ettrich ### Copyright 1995-2001 The LyX Team. ### ### # This file is written by LyX, if you want to make your own # modifications you should do them from inside LyX and save # # MISC SECTION ## # \preview_scale_factor 1.0 # # SCREEN & FONTS SECTION # \screen_zoom 120 # # COLOR SECTION ### # # # PRINTER SECTION ### # # # EXPORT SECTION # # # TEX SECTION ### # # # FILE SECTION ## # # # PLAIN TEXT EXPORT SECTION ## # # # SPELLCHECKER SECTION ## # # # LANGUAGE SUPPORT SECTION ## # # # 2nd MISC SUPPORT SECTION ## # # # FORMATS SECTION ## # \format "pdf3" "pdf" "PDF (dvipdfm)" "m" "PDFViewWin" "" "document,vector" \format "pdf2" "pdf" "PDF (pdflatex)" "F" "PDFViewWin" "" "document,vector" \format "pdf" "pdf" "PDF (ps2pdf)" "P" "PDFViewWin" "" "document,vector" \format "svg" "svg" "SVG" "" "inkscape --file=$$i" "inkscape --file=$$i" "vector" # # CONVERTERS SECTION ## # \converter "svg" "png" "inkscape --without-gui --file=$$i --export-png=$$o" "" \converter "svg" "pdf" "inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o" "" \converter "svg" "pdf2" "inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o" "" # # COPIERS SECTION ## #
Re: Why do Inkscape drawing pixellate in LyX?
On Monday 17 March 2008 11:49, Max wrote: > There is a nice page on Inkscape and LyX in the wiki: > http://wiki.lyx.org/Tips/UseInkscapeSVGImages > It works very well for me (though especially with fonts I have some > difficulties sometimes but I guess thats because of the yet too bad > port of Inkscape in OS X). Thanks Max, That page is very handy, although in my case adding converters didn't seem to change anything from the initial setting of no SVG converters. Anyway, I added content to the bottom that page showing how to size your Inkscape drawing for optimal results. If I made mistakes, could someone please correct them? Thanks SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
Re: Why do Inkscape drawing pixellate in LyX?
On Mon, Mar 17, 2008 at 4:49 PM, Max <[EMAIL PROTECTED]> wrote: > There is a nice page on Inkscape and LyX in the wiki: > http://wiki.lyx.org/Tips/UseInkscapeSVGImages > It works very well for me (though especially with fonts I have some > difficulties sometimes but I guess thats because of the yet too bad > port of Inkscape in OS X). I sometimes also have problems with fonts, but figured out, that everything looks exactly like in Inkscape if I change all the text elements to a font like "Arial". When I pick "Sans" as a font instead, the pdf export seems to use some Courier (typewriter)-font that looks really ugly. Maybe inkscape doesn't include the right fonts into the exported eps-file sometimes, but I don't really care as Arial works fine.
Re: Why do Inkscape drawing pixellate in LyX?
On Monday 17 March 2008 19:26, Dominik Böhm wrote: > On Mon, Mar 17, 2008 at 4:49 PM, Max <[EMAIL PROTECTED]> wrote: > > There is a nice page on Inkscape and LyX in the wiki: > > http://wiki.lyx.org/Tips/UseInkscapeSVGImages > > It works very well for me (though especially with fonts I have some > > difficulties sometimes but I guess thats because of the yet too bad > > port of Inkscape in OS X). > > I sometimes also have problems with fonts, but figured out, that > everything looks exactly like in Inkscape if I change all the text > elements to a font like "Arial". When I pick "Sans" as a font instead, > the pdf export seems to use some Courier (typewriter)-font that looks > really ugly. > > Maybe inkscape doesn't include the right fonts into the exported > eps-file sometimes, but I don't really care as Arial works fine. I had the exact opposite problem. Arial didn't work -- Inkscape said it wasn't there, even though I installed Arial on my Mandriva Linux 2007 in the normal way. SteveT