Re: pdf to inkscape

2023-08-27 Thread Patrick Dupre
The "best" solution that I found is to downgrade inkscape to 1.2.2
Every things is fine then.

>
> Importing pdf works fine, but it destroys the structure of the pdf file.
> ie. the pages numbering and structure is lost.
> Using Cairo let me only get the first page of the pdf file.
> 
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> ===
> 
> 
> > Sent: Sunday, August 27, 2023 at 3:16 PM
> > From: "Tobias Hilbricht" 
> > To: "Patrick Dupre" , "lyx" 
> > Subject: Re: pdf to inkscape
> >
> > Am Sonntag, dem 27.08.2023 um 13:45 +0200 schrieb Patrick Dupre:
> > > 
> > > I am not sure that it is related to lyx.
> > > 
> > Importing LyX-generated (2.3.7) PDFs into Inkscape (1.2.2) works here
> > on Ubuntu 22.04.
> > 
> > Tobias
> >
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: pdf to inkscape

2023-08-27 Thread Patrick Dupre


>
> > Am Sonntag, dem 27.08.2023 um 16:07 +0200 schrieb Patrick Dupre:
> > > >
> > > > Am Sonntag, dem 27.08.2023 um 15:33 +0200 schrieb Patrick Dupre:
> > > > >
> > > > > Using Cairo let me only get the first page of the pdf file.
> > > > >
> > > >
> > > > Choosing poppler/cairo in Inkscape 1.2.2 I can import any single
> > > > page
> > > > of a LyX-generated multipage PDF chosen in the Inkscape-import-
> > > > dialog.
> > >
> > > Sure, but I need all the pages in once!
> > >
> >
> > Then take the internal importer from Inkscape, I can import here a
> > multipage PDF (here 55 p.) and get all pages when checking the box in
> > the Inkscape-import-dialog without corruption.
>
> I can use the option all,
> but this is a bit strange.
> I must get each slide associated with a pages (with the right page number)
> but I get no page numbering.
>
> The right behavior is obtained with a direct opening (inkscape file.pdf) when
> the pdf file is "correct".


The other problems doing that way are:
1) The color are not maintained (cf. yellow turned to black)
2) The name of the layers is not properly set: this can be fixed my renaming 
the layers

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: pdf to inkscape

2023-08-27 Thread Patrick Dupre

> Am Sonntag, dem 27.08.2023 um 16:07 +0200 schrieb Patrick Dupre:
> > >
> > > Am Sonntag, dem 27.08.2023 um 15:33 +0200 schrieb Patrick Dupre:
> > > >
> > > > Using Cairo let me only get the first page of the pdf file.
> > > >
> > >
> > > Choosing poppler/cairo in Inkscape 1.2.2 I can import any single
> > > page
> > > of a LyX-generated multipage PDF chosen in the Inkscape-import-
> > > dialog.
> >
> > Sure, but I need all the pages in once!
> >
>
> Then take the internal importer from Inkscape, I can import here a
> multipage PDF (here 55 p.) and get all pages when checking the box in
> the Inkscape-import-dialog without corruption.

I can use the option all,
but this is a bit strange.
I must get each slide associated with a pages (with the right page number)
but I get no page numbering.

The right behavior is obtained with a direct opening (inkscape file.pdf) when
the pdf file is "correct".


>
> Tobias
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: pdf to inkscape

2023-08-27 Thread Tobias Hilbricht
Am Sonntag, dem 27.08.2023 um 16:07 +0200 schrieb Patrick Dupre:
> > 
> > Am Sonntag, dem 27.08.2023 um 15:33 +0200 schrieb Patrick Dupre:
> > > 
> > > Using Cairo let me only get the first page of the pdf file.
> > > 
> > 
> > Choosing poppler/cairo in Inkscape 1.2.2 I can import any single
> > page
> > of a LyX-generated multipage PDF chosen in the Inkscape-import-
> > dialog.
> 
> Sure, but I need all the pages in once!
> 

Then take the internal importer from Inkscape, I can import here a
multipage PDF (here 55 p.) and get all pages when checking the box in
the Inkscape-import-dialog without corruption.

Tobias
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: pdf to inkscape

2023-08-27 Thread Patrick Dupre
>
> Am Sonntag, dem 27.08.2023 um 15:33 +0200 schrieb Patrick Dupre:
> >
> > Using Cairo let me only get the first page of the pdf file.
> >
>
> Choosing poppler/cairo in Inkscape 1.2.2 I can import any single page
> of a LyX-generated multipage PDF chosen in the Inkscape-import-dialog.

Sure, but I need all the pages in once!
>
> Tobias
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: pdf to inkscape

2023-08-27 Thread Tobias Hilbricht
Am Sonntag, dem 27.08.2023 um 15:33 +0200 schrieb Patrick Dupre:
> 
> Using Cairo let me only get the first page of the pdf file.
> 

Choosing poppler/cairo in Inkscape 1.2.2 I can import any single page
of a LyX-generated multipage PDF chosen in the Inkscape-import-dialog.

Tobias 
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: pdf to inkscape

2023-08-27 Thread Tobias Hilbricht
Am Sonntag, dem 27.08.2023 um 13:45 +0200 schrieb Patrick Dupre:
> 
> I am not sure that it is related to lyx.
> 
Importing LyX-generated (2.3.7) PDFs into Inkscape (1.2.2) works here
on Ubuntu 22.04.

Tobias
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: pdf to inkscape

2023-08-27 Thread Patrick Dupre
Importing pdf works fine, but it destroys the structure of the pdf file.
ie. the pages numbering and structure is lost.
Using Cairo let me only get the first page of the pdf file.


===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
===


> Sent: Sunday, August 27, 2023 at 3:16 PM
> From: "Tobias Hilbricht" 
> To: "Patrick Dupre" , "lyx" 
> Subject: Re: pdf to inkscape
>
> Am Sonntag, dem 27.08.2023 um 13:45 +0200 schrieb Patrick Dupre:
> > 
> > I am not sure that it is related to lyx.
> > 
> Importing LyX-generated (2.3.7) PDFs into Inkscape (1.2.2) works here
> on Ubuntu 22.04.
> 
> Tobias
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


pdf to inkscape

2023-08-27 Thread Patrick Dupre
Hello,

4 years, I generated pdf files (from beamer/lyx), and I can
import them to inkscape, just by doing
inkscape foo.pdf
Now, I recompile the same lyx files and I generated the pdf file,
but I cannot use anymore inkscape.
I get 
* (org.inkscape.Inkscape:6601): ERROR **: 13:20:50.614: 
unhandled exception (type std::exception) in signal handler:
what: input string not valid UTF-8

I am not sure that it is related to lyx.

Some ideas?

Thanks

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
===

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users