Re: Display SVG graphics in Lyx

2015-09-19 Thread Georg Baum
Rainer M Krug wrote:

> Hm - the output now works, but the preview still does not work. Which
> toolchain is actually used to create the preview?

Qt is used directly to display images in a number of formats, including svg. 
Therefore it would be a qt bug if the preview of an svg image is not 
displayed correctly.


Georg



Re: Display SVG graphics in Lyx

2015-09-19 Thread David
Am 19.09.2015 um 15:17 schrieb Rainer M Krug:

> 
> Hm - the output now works, but the preview still does not work. Which
> toolchain is actually used to create the preview?
> 

I also think that the PDF output (i.e. the svg->pdf converter) and the
preview are independent. From my experience, Inkscape works best as
converter.




Re: Display SVG graphics in Lyx

2015-09-19 Thread Rainer M Krug
Rainer M Krug  writes:

> David  writes:
>
>> Am 18.09.2015 um 21:21 schrieb Les:
>>
>>> David,
>>> 
>>> I find your example does not have the arrows inn LyX, but does have
>>> them in the PDF output, as yours does. I'm running Linux Mint with LyX
>>> 2.0.8.1.
>>> 
>>> Les
>>> 
>>
>>
>> Thanks for confirming this, Les
>
> I used svg in the past and they displayed fine. Maybe look in the
> converter sections and define a different converter for svg to png
> (because png is used in the preview if I am not mistaken). But this was
> on Linux, and now on a Mac, I get the attached pdf - no line or arrows...
>
> The reason is the converter used. It seems that default is to use
> svg2pdf and svg2png which does seem to have these problems.
>
> But, on the other hand, if you use rsvg-convert from librsvg, the
> conversion works perfectly - both the png and pdf contain the arrows
> (see attached).
>
> So the solution seems to be, to change the default converter for svg.

Hm - the output now works, but the preview still does not work. Which
toolchain is actually used to create the preview?

Rainer

>
> Cheers,
>
> Rainer
>
>
>
>
>
>>
>>

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: Display SVG graphics in Lyx

2015-09-19 Thread Rainer M Krug
David  writes:

> Am 18.09.2015 um 21:21 schrieb Les:
>
>> David,
>> 
>> I find your example does not have the arrows inn LyX, but does have
>> them in the PDF output, as yours does. I'm running Linux Mint with LyX
>> 2.0.8.1.
>> 
>> Les
>> 
>
>
> Thanks for confirming this, Les

I used svg in the past and they displayed fine. Maybe look in the
converter sections and define a different converter for svg to png
(because png is used in the preview if I am not mistaken). But this was
on Linux, and now on a Mac, I get the attached pdf - no line or arrows...

The reason is the converter used. It seems that default is to use
svg2pdf and svg2png which does seem to have these problems.

But, on the other hand, if you use rsvg-convert from librsvg, the
conversion works perfectly - both the png and pdf contain the arrows
(see attached).

So the solution seems to be, to change the default converter for svg.

Cheers,

Rainer



lyxinkscape.pdf
Description: Adobe PDF document


test2.pdf
Description: Adobe PDF document

>
>

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: Question about development of non-linear writing project

2015-09-19 Thread tom

> I am worried about this issue too. No traces of this on the webpages and
> lyx-outline which was a working fork with the corkboard developed by Rob
> Oakes seems dead for a while now. This i a giant improvement for Lyx and it
> would be really sad if it was abandoned!

+1 for corkboard.

Anyone heard news about the state of this project as of 2015?






Re: Display SVG graphics in Lyx

2015-09-19 Thread David
Am 18.09.2015 um 22:22 schrieb Rich Shepard:
> On Fri, 18 Sep 2015, Les wrote:
> 
>>> The created PDF is fine, so it's not too big a problem. But it
>>> bothers me
>>> that it is displayed perfectly in Lyx under Windows.
> 
>> I find your example does not have the arrows inn LyX, but does have them
>> in the PDF output, as yours does. I'm running Linux Mint with LyX
>> 2.0.8.1.
> 
>   Some things, such as an inserted SVG figure and rotated tables, do not
> diaplay correctly in the LyX preview, but do correctly compile with
> pdflatex. Because it's the final output that is important, you can always
> compile the file and view the resulting PDF rather than the dvips preview.
> 


Hi Rich,

in priniciple, I agree. But as a Linux fan it just annoys me a bit, that
this works perfectly under Windows :)
It also makes me suspect that some external tool is responsible for that
behaviour and that it might be possible to be changed.

Regards,
david




Re: Display SVG graphics in Lyx

2015-09-19 Thread David
Am 18.09.2015 um 21:21 schrieb Les:

> David,
> 
> I find your example does not have the arrows inn LyX, but does have
> them in the PDF output, as yours does. I'm running Linux Mint with LyX
> 2.0.8.1.
> 
> Les
> 


Thanks for confirming this, Les