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




Reply via email to