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