Re: pdf to inkscape
Patrick Dupre said on Mon, 28 Aug 2023 22:50:50 +0200 >The problem has been fixed by downgrading the inkscape version down to >1.2.2 I can't understand why you want Inkscape in the equation at all. Your best data is in your LyX/Beamer file(s), so why not just use that for whatever you want? The SVG standard has no provision for multiple pages. Inkscape has added XML elements to simulate multiple pages, but it's pretty squirelly. Please understand I'm a huge fan of Inkscape, recommending it over LyX for flyers and the like. All the graphics on Troubleshooters.Com and in my books for the last 10 years were made with Inkscape. But Inkscape isn't the right tool to manipulate long text documents. LyX is. LaTeX is. Plain TeX is. Docbook is. But not Inkscape. Forgetting what technology is to be used, what is it you want to accomplish? SteveT -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: pdf to inkscape
The problem has been fixed by downgrading the inkscape version down to 1.2.2 > > On Sun, Aug 27, 2023 at 01:45:44PM +0200, Patrick Dupre wrote: > > 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 > > Is it possible that you use non-ascii characters in the path/filename or > metainfo for the pdf? > > Pavel > -- > 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
On Sun, Aug 27, 2023 at 01:45:44PM +0200, Patrick Dupre wrote: > 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 Is it possible that you use non-ascii characters in the path/filename or metainfo for the pdf? Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: pdf to inkscape
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
> > > 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
> 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
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
> > 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
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
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
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
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