Re: LyX error: "No information for converting svgz format files to pdf6. Define a converter in the preferences.”

2017-12-12 Thread Chandler1,D (pgr)


On 11 Dec 2017, at 20:29, 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.”

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.”

2017-12-11 Thread Scott Kostyshak
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.”

2017-12-11 Thread Paul A. Rubin

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.”

2017-12-11 Thread Cris Fuhrman
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) 
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
>
>