Re: LyX error: "No information for converting svgz format files to pdf6. Define a converter in the preferences.”
On 11 Dec 2017, at 20:29, Paul A. Rubin <parubi...@gmail.com<mailto:parubi...@gmail.com>> wrote: On 12/11/2017 02:13 PM, Chandler1,D (pgr) wrote: Hello, I installed LyX on my MacBook Pro (10.12.5) today. I want to work through the tutorial, and decided it would be useful to have a pdf version. However, when I click the View button to create a pdf I get the following error message: "No information for converting svgz format files to pdf6. Define a converter in the preferences.” If I tell LyX to go ahead and create a PDF anyway, then various bits come out a mess (see attached, p8-9 for example). The issue seems to be with “toolbar buttons”. I have searched for forums discussing this issue but cannot find anything that resolves my problem. One forum suggested installing “homebrew" and then typing in the command “brew install librsvg” but this didn’t help. I would be very grateful for any advice. I am wary of continuing with LyX if this means I won’t be able to format any files. Thanks, Daniel Daniel: LyX refers to PDF graphics as "pdf6" file format. The problem is that the button images are compressed SVG files, and LyX does not know how to convert them to graphics on your system. As Cris mentioned, you probably need to install a graphics converter program. Once you do so, reconfigure LyX (Tools >Reconfigure) and restart it, and you should be good to go. Just to confirm that this is the problem, open LyX and go to Tools > Preferences... > File Handling > Converters. In the list of converter definitions, highlight "SVG (compressed) -> PDF (graphics)" and see if there is anything in the "Converter:" field. My guess is that it's blank. After installing a suitable converter program and reconfiguring LyX, this should be filled in by the configuration script. I'm on Linux rather than MacOS, but for it's worth I'm using rsvg for this, and my converter field reads "rsvg-convert -f pdf -o $$o $$i". According to various stuff I found in a quick Google search, you can install librsvg on a Mac if you have Homebrew installed. Paul Hi Paul, Cris, Scott, Thanks for your helpful suggestions, LyX is now up and running. Paul - that was definitely the problem, the SVG to PDF converter was empty. It seems the step I was missing was reconfiguring LyX: I had managed to install homebrew and rsvg but didn’t know how to get LyX to join the dots. Scott, thanks for offering the 2.3.0 version - I think I’ll stick with what I have for now. If you are involved in developing the next iteration, I also found that the example files referenced in the tutorial were missing from my installation package (the example folder was empty) and I had to download them separately from the web. Thanks again, Daniel
Re: LyX error: "No information for converting svgz format files to pdf6. Define a converter in the preferences.”
On Mon, Dec 11, 2017 at 08:29:56PM +, Paul A. Rubin wrote: > On 12/11/2017 02:13 PM, Chandler1,D (pgr) wrote: > > Hello, > > > > I installed LyX on my MacBook Pro (10.12.5) today. > > > > I want to work through the tutorial, and decided it would be useful to have > > a pdf version. However, when I click the View button to create a pdf I get > > the following error message: > > > > "No information for converting svgz format files to pdf6. > > Define a converter in the preferences.” Hi pgr, Cris's and Paul's replies should help you figure out the issue. I just wanted to note that this issue should be fixed for 2.3.0. If you are interested in testing the development version of 2.3.0, let me know and I can give you instructions. Best, Scott
Re: LyX error: "No information for converting svgz format files to pdf6. Define a converter in the preferences.”
On 12/11/2017 02:13 PM, Chandler1,D (pgr) wrote: Hello, I installed LyX on my MacBook Pro (10.12.5) today. I want to work through the tutorial, and decided it would be useful to have a pdf version. However, when I click the View button to create a pdf I get the following error message: "No information for converting svgz format files to pdf6. Define a converter in the preferences.” If I tell LyX to go ahead and create a PDF anyway, then various bits come out a mess (see attached, p8-9 for example). The issue seems to be with “toolbar buttons”. I have searched for forums discussing this issue but cannot find anything that resolves my problem. One forum suggested installing “homebrew" and then typing in the command “brew install librsvg” but this didn’t help. I would be very grateful for any advice. I am wary of continuing with LyX if this means I won’t be able to format any files. Thanks, Daniel Daniel: LyX refers to PDF graphics as "pdf6" file format. The problem is that the button images are compressed SVG files, and LyX does not know how to convert them to graphics on your system. As Cris mentioned, you probably need to install a graphics converter program. Once you do so, reconfigure LyX (Tools >Reconfigure) and restart it, and you should be good to go. Just to confirm that this is the problem, open LyX and go to Tools > Preferences... > File Handling > Converters. In the list of converter definitions, highlight "SVG (compressed) -> PDF (graphics)" and see if there is anything in the "Converter:" field. My guess is that it's blank. After installing a suitable converter program and reconfiguring LyX, this should be filled in by the configuration script. I'm on Linux rather than MacOS, but for it's worth I'm using rsvg for this, and my converter field reads "rsvg-convert -f pdf -o $$o $$i". According to various stuff I found in a quick Google search, you can install librsvg on a Mac if you have Homebrew installed. Paul
Re: LyX error: "No information for converting svgz format files to pdf6. Define a converter in the preferences.”
I'm not a Mac user, but it sounds like an SVG support problem. I personally like Inkscape for SVG, but there are other solutions. I would try to - install inkscape on MacOS - make sure LyX sees the directory for it in the path section of the settings - do the "configure" command. My understanding is that it will create the SVGx to Y converters. Hope this is useful! On Mon, Dec 11, 2017 at 2:13 PM, Chandler1,D (pgr) <d.chandl...@lse.ac.uk> wrote: > Hello, > > I installed LyX on my MacBook Pro (10.12.5) today. > > I want to work through the tutorial, and decided it would be useful to > have a pdf version. However, when I click the View button to create a pdf I > get the following error message: > > "No information for converting svgz format files to pdf6. > Define a converter in the preferences.” > > If I tell LyX to go ahead and create a PDF anyway, then various bits come > out a mess (see attached, p8-9 for example). The issue seems to be with > “toolbar buttons”. > > I have searched for forums discussing this issue but cannot find anything > that resolves my problem. One forum suggested installing “homebrew" and > then typing in the command “brew install librsvg” but this didn’t help. > > I would be very grateful for any advice. I am wary of continuing with LyX > if this means I won’t be able to format any files. > > Thanks, > > Daniel > >
Re: Define a converter in the preferences
On Mar 8, 2008, at 9:31 AM, spn.grl wrote: Thanks Bennett, I'm using the MacTeX-20071201 package that includes ImageMagick. Anyway, using i-Installer, I updated the ImageMagick package and reconfigured Lyx. Unfortunately the problem remains. Do you have any other suggestion? Try to move aside your preferences file -- located at ~/Library/ Application Support/LyX-1.5/preferences. Then restart LyX and see if it works. If not, I'm out of ideas. Bennett
Re: Define a converter in the preferences
Hi Bennett, I cant find, inside the folder you suggested, the preferences file as shown by the ls -R output Is it usual? Gs Last login: Sun Mar 9 19:32:01 on ttyp1 Welcome to Darwin! iMac:~ gabriele$ cd /Users/gabriele/Library/Application\ Support/LyX-1.5/ iMac:~/Library/Application Support/LyX-1.5 gabriele$ ls -R binddoc layouts session cache exampleslyxrc.defaults templates clipart images packages.lsttextclass.lst configure.log kbd scripts ui ./bind: ./cache: index ./clipart: ./doc: LaTeXConfig.lyx ./examples: ./images: ./kbd: ./layouts: ./scripts: ./templates: default ./templates/default: IEEEtran.lyxg-brief-en.lyx README.new_templatesg-brief2.lyx aa.lyx hollywood.lyx aastex.lyx ijmpc.lyx agu_article.lyx ijmpd.lyx apa.lyx iop-article.lyx beamer-conference-ornate-20min.lyx kluwer.lyx de_beamer-conference-ornate-20min.lyx koma-letter2.lyx dinbrief.lyxlatex8.lyx docbook_article.lyx letter.lyx elsart.lyx revtex.lyx fr_beamer-conference-ornate-20min.lyx revtex4.lyx g-brief-de.lyx slides.lyx ./ui: iMac:~/Library/Application Support/LyX-1.5 gabriele$ 2008/3/9, Bennett Helm [EMAIL PROTECTED]: Try to move aside your preferences file -- located at ~/Library/ Application Support/LyX-1.5/preferences. Then restart LyX and see if it works. If not, I'm out of ideas. Bennett
Re: Define a converter in the preferences
On Mar 9, 2008, at 2:39 PM, spn.grl wrote: I cant find, inside the folder you suggested, the preferences file as shown by the ls -R output Is it usual? That only means you haven't defined any preferences, and so nothing should be messed up. I'm not sure what's going wrong. Bennett
Re: Define a converter in the preferences
On Mar 8, 2008, at 9:31 AM, spn.grl wrote: Thanks Bennett, I'm using the MacTeX-20071201 package that includes ImageMagick. Anyway, using i-Installer, I updated the ImageMagick package and reconfigured Lyx. Unfortunately the problem remains. Do you have any other suggestion? Try to move aside your preferences file -- located at ~/Library/ Application Support/LyX-1.5/preferences. Then restart LyX and see if it works. If not, I'm out of ideas. Bennett
Re: Define a converter in the preferences
Hi Bennett, I cant find, inside the folder you suggested, the preferences file as shown by the ls -R output Is it usual? Gs Last login: Sun Mar 9 19:32:01 on ttyp1 Welcome to Darwin! iMac:~ gabriele$ cd /Users/gabriele/Library/Application\ Support/LyX-1.5/ iMac:~/Library/Application Support/LyX-1.5 gabriele$ ls -R binddoc layouts session cache exampleslyxrc.defaults templates clipart images packages.lsttextclass.lst configure.log kbd scripts ui ./bind: ./cache: index ./clipart: ./doc: LaTeXConfig.lyx ./examples: ./images: ./kbd: ./layouts: ./scripts: ./templates: default ./templates/default: IEEEtran.lyxg-brief-en.lyx README.new_templatesg-brief2.lyx aa.lyx hollywood.lyx aastex.lyx ijmpc.lyx agu_article.lyx ijmpd.lyx apa.lyx iop-article.lyx beamer-conference-ornate-20min.lyx kluwer.lyx de_beamer-conference-ornate-20min.lyx koma-letter2.lyx dinbrief.lyxlatex8.lyx docbook_article.lyx letter.lyx elsart.lyx revtex.lyx fr_beamer-conference-ornate-20min.lyx revtex4.lyx g-brief-de.lyx slides.lyx ./ui: iMac:~/Library/Application Support/LyX-1.5 gabriele$ 2008/3/9, Bennett Helm [EMAIL PROTECTED]: Try to move aside your preferences file -- located at ~/Library/ Application Support/LyX-1.5/preferences. Then restart LyX and see if it works. If not, I'm out of ideas. Bennett
Re: Define a converter in the preferences
On Mar 9, 2008, at 2:39 PM, spn.grl wrote: I cant find, inside the folder you suggested, the preferences file as shown by the ls -R output Is it usual? That only means you haven't defined any preferences, and so nothing should be messed up. I'm not sure what's going wrong. Bennett
Re: Define a converter in the preferences
On Mar 8, 2008, at 9:31 AM, spn.grl wrote: Thanks Bennett, I'm using the MacTeX-20071201 package that includes ImageMagick. Anyway, using i-Installer, I updated the ImageMagick package and reconfigured Lyx. Unfortunately the problem remains. Do you have any other suggestion? Try to move aside your preferences file -- located at ~/Library/ Application Support/LyX-1.5/preferences. Then restart LyX and see if it works. If not, I'm out of ideas. Bennett
Re: Define a converter in the preferences
Hi Bennett, I cant find, inside the folder you suggested, the "preferences" file as shown by the ls -R output Is it usual? Gs Last login: Sun Mar 9 19:32:01 on ttyp1 Welcome to Darwin! iMac:~ gabriele$ cd /Users/gabriele/Library/Application\ Support/LyX-1.5/ iMac:~/Library/Application Support/LyX-1.5 gabriele$ ls -R binddoc layouts session cache exampleslyxrc.defaults templates clipart images packages.lsttextclass.lst configure.log kbd scripts ui ./bind: ./cache: index ./clipart: ./doc: LaTeXConfig.lyx ./examples: ./images: ./kbd: ./layouts: ./scripts: ./templates: default ./templates/default: IEEEtran.lyxg-brief-en.lyx README.new_templatesg-brief2.lyx aa.lyx hollywood.lyx aastex.lyx ijmpc.lyx agu_article.lyx ijmpd.lyx apa.lyx iop-article.lyx beamer-conference-ornate-20min.lyx kluwer.lyx de_beamer-conference-ornate-20min.lyx koma-letter2.lyx dinbrief.lyxlatex8.lyx docbook_article.lyx letter.lyx elsart.lyx revtex.lyx fr_beamer-conference-ornate-20min.lyx revtex4.lyx g-brief-de.lyx slides.lyx ./ui: iMac:~/Library/Application Support/LyX-1.5 gabriele$ 2008/3/9, Bennett Helm <[EMAIL PROTECTED]>: > > > > Try to move aside your preferences file -- located at ~/Library/ > Application Support/LyX-1.5/preferences. Then restart LyX and see if > it works. If not, I'm out of ideas. > > > Bennett >
Re: Define a converter in the preferences
On Mar 9, 2008, at 2:39 PM, spn.grl wrote: I cant find, inside the folder you suggested, the "preferences" file as shown by the ls -R output Is it usual? That only means you haven't defined any preferences, and so nothing should be messed up. I'm not sure what's going wrong. Bennett
Re: Define a converter in the preferences
Thanks Bennett, I'm using the MacTeX-20071201 package that includes ImageMagick.Anyway, using i-Installer, I updated the ImageMagick package and reconfigured Lyx. Unfortunately the problem remains. Do you have any other suggestion? Gs 2008/3/7, Bennett Helm [EMAIL PROTECTED]: On Mar 7, 2008, at 3:48 AM, spn.grl wrote: Hi, I'm a user of lyx 1.5.4 (Mac G4 computer under OSX 10.4.11). If I want to build a document with pdflatex, I get the following errors: No information for converting xpm format to png. Define a converter in the preferences or No information for converting gif format to png. Define a converter in the preferences Any hints, what converter settings I have to setup? Converter settings in LyX should be automatically set up. It looks like you need to install imageMagick -- via fink or macports. Then reconfigure LyX (LyX Reconfigure), relaunch LyX, and it should work. Bennett
Re: Define a converter in the preferences
Thanks Bennett, I'm using the MacTeX-20071201 package that includes ImageMagick.Anyway, using i-Installer, I updated the ImageMagick package and reconfigured Lyx. Unfortunately the problem remains. Do you have any other suggestion? Gs 2008/3/7, Bennett Helm [EMAIL PROTECTED]: On Mar 7, 2008, at 3:48 AM, spn.grl wrote: Hi, I'm a user of lyx 1.5.4 (Mac G4 computer under OSX 10.4.11). If I want to build a document with pdflatex, I get the following errors: No information for converting xpm format to png. Define a converter in the preferences or No information for converting gif format to png. Define a converter in the preferences Any hints, what converter settings I have to setup? Converter settings in LyX should be automatically set up. It looks like you need to install imageMagick -- via fink or macports. Then reconfigure LyX (LyX Reconfigure), relaunch LyX, and it should work. Bennett
Re: Define a converter in the preferences
Thanks Bennett, I'm using the MacTeX-20071201 package that includes ImageMagick.Anyway, using i-Installer, I updated the ImageMagick package and reconfigured Lyx. Unfortunately the problem remains. Do you have any other suggestion? Gs 2008/3/7, Bennett Helm <[EMAIL PROTECTED]>: > > On Mar 7, 2008, at 3:48 AM, spn.grl wrote: > > > Hi, > > > > I'm a user of lyx 1.5.4 (Mac G4 computer under OSX 10.4.11). If I want > > to build a document with > > pdflatex, I get the following errors: > > > > No information for converting xpm format to png. Define a converter in > > the preferences > > > > or > > > > No information for converting gif format to png. Define a converter in > > the preferences > > > > Any hints, what converter settings I have to setup? > > > Converter settings in LyX should be automatically set up. It looks > like you need to install imageMagick -- via fink or macports. Then > reconfigure LyX (LyX > Reconfigure), relaunch LyX, and it should work. > > > Bennett >
Define a converter in the preferences
Hi, I'm a user of lyx 1.5.4 (Mac G4 computer under OSX 10.4.11). If I want to build a document with pdflatex, I get the following errors: No information for converting xpm format to png. Define a converter in the preferences or No information for converting gif format to png. Define a converter in the preferences Any hints, what converter settings I have to setup? GS
Re: Define a converter in the preferences
On Mar 7, 2008, at 3:48 AM, spn.grl wrote: Hi, I'm a user of lyx 1.5.4 (Mac G4 computer under OSX 10.4.11). If I want to build a document with pdflatex, I get the following errors: No information for converting xpm format to png. Define a converter in the preferences or No information for converting gif format to png. Define a converter in the preferences Any hints, what converter settings I have to setup? Converter settings in LyX should be automatically set up. It looks like you need to install imageMagick -- via fink or macports. Then reconfigure LyX (LyX Reconfigure), relaunch LyX, and it should work. Bennett
Define a converter in the preferences
Hi, I'm a user of lyx 1.5.4 (Mac G4 computer under OSX 10.4.11). If I want to build a document with pdflatex, I get the following errors: No information for converting xpm format to png. Define a converter in the preferences or No information for converting gif format to png. Define a converter in the preferences Any hints, what converter settings I have to setup? GS
Re: Define a converter in the preferences
On Mar 7, 2008, at 3:48 AM, spn.grl wrote: Hi, I'm a user of lyx 1.5.4 (Mac G4 computer under OSX 10.4.11). If I want to build a document with pdflatex, I get the following errors: No information for converting xpm format to png. Define a converter in the preferences or No information for converting gif format to png. Define a converter in the preferences Any hints, what converter settings I have to setup? Converter settings in LyX should be automatically set up. It looks like you need to install imageMagick -- via fink or macports. Then reconfigure LyX (LyX Reconfigure), relaunch LyX, and it should work. Bennett
Define a converter in the preferences
Hi, I'm a user of lyx 1.5.4 (Mac G4 computer under OSX 10.4.11). If I want to build a document with pdflatex, I get the following errors: No information for converting xpm format to png. Define a converter in the preferences or No information for converting gif format to png. Define a converter in the preferences Any hints, what converter settings I have to setup? GS
Re: Define a converter in the preferences
On Mar 7, 2008, at 3:48 AM, spn.grl wrote: Hi, I'm a user of lyx 1.5.4 (Mac G4 computer under OSX 10.4.11). If I want to build a document with pdflatex, I get the following errors: No information for converting xpm format to png. Define a converter in the preferences or No information for converting gif format to png. Define a converter in the preferences Any hints, what converter settings I have to setup? Converter settings in LyX should be automatically set up. It looks like you need to install imageMagick -- via fink or macports. Then reconfigure LyX (LyX > Reconfigure), relaunch LyX, and it should work. Bennett