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: File Explorer within Lyx not working in Lyx2.2.3 in Ubuntu

2017-12-11 Thread Scott Kostyshak
On Mon, Dec 11, 2017 at 06:13:20PM +, Rajat Pal wrote:
> Hi Scott,
> 
> Thank you for your email. I don't know if I described the problem
> efficiently but here are two screenshots that can explain what I am
> encountering.
> 
> Screenshot1 : trying to open a file from a directory which has an existing
> .lyx file but the Lyx file explorer if showing nothing there
> 
> ​
> Screenshot2: If I type the filename, it shows that there are files but the
> explorer is still blank.
> This is happening also when adding graphics, etc. each time, when I want to
> add any graphics or anything using the Lyx file explorer.
> 
> 
> ​ Please let me know if you guys have encountered this thing before . I am
> using ubuntu 14.04 and I have seen this in both versions of Lyx, Lyx 2.0.8
> and Lyx 2.2.3.

Thanks for the screenshots, Rahat. That does help. I have never heard of
this before.

If you put the file name in manually (that is, you just type it in even
though you cannot select it), does it work then? I'm not saying that's
an acceptable workaround, I'm just trying to get more details to figure
out what is going on.

If you click on the "Examples" button in the upper-right, does anything
show up there?

Can you reproduce the problem on a shorter path (e.g.
~/Desktop/)?

Do folders show up or even those are missing?

If you can give us commands that we could run on a fresh Ubuntu
installation (e.g. on a Virtual Box) that will reproduce the problem,
then we can look into it further. I wonder if there is some package that
you install that conflicts for some reason.

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


Re: biblatex polyglossia language not set

2017-12-11 Thread Jürgen Spitzmüller
2017-12-11 13:59 GMT+01:00 Neal Becker :

> When I try to follow the instructions for using biblatex:
> https://wiki.lyx.org/BibTeX/Biblatex
>
> I get an error about polyglossia, default language not set.  I add at the
> beginning of the preamble
>
> \usepackage{polyglossia}
> \setdefaultlanguage{english}
>
> I guess biblatex is loading polyglossia, but not setting a default
> language?
>

I suppose this is with LyX 2.2?

See http://www.lyx.org/trac/ticket/7065 for problem descriptions and a
workaround.

Jürgen


biblatex polyglossia language not set

2017-12-11 Thread Neal Becker
When I try to follow the instructions for using biblatex:
https://wiki.lyx.org/BibTeX/Biblatex

I get an error about polyglossia, default language not set.  I add at the 
beginning of the preamble

\usepackage{polyglossia}
\setdefaultlanguage{english}

I guess biblatex is loading polyglossia, but not setting a default language?