[Ipe-discuss] pdftoipe then ipe open gives parse error
Otfried Cheong
otfried at ipe.airpost.net
Wed Aug 3 00:23:48 CEST 2016
A "parsing error" can mean anything - any problem found by the XML
parser. Look in the file f1040_2015.merge-1unicode-3.ipe at character
position 262, you may be able to figure out what is wrong.
You should try the most recent version of pdftoipe, which is 2014/03/03.
If this doesn't solve the problem, you can file a bug report at
https://github.com/otfried/ipe-tools/issues. You would have to include
the pdf file f1040_2015.pdf so that we can try to reproduce the problem.
In any case, pdftoipe is somewhat of a hack, and not really supported.
In Ipe 7.2.5 you may be able to achieve what you want to do by using
\includegraphics.
Cheers,
Otfried
On Wed, Aug 3, 2016, at 00:07, Larry Evans wrote:
> On 08/02/2016 04:31 PM, Larry Evans wrote:
> > Using the f1040.pdf for 2015, I tried:
> >
> > pdftoipe -merge 1 -unicode 3 f1040_2015.pdf f1040_2015.merge-1unicode-3.ipe
> >
> > However, when that output file was opened with ipe, an
> > error message window popped up with:
> >
> > --{--errormsg contents--
> > Document
> > '/home/evansl/Desktop/f1040_2015.mere-1unicode-3.ipe' could
> > not be opened
> >
> > Parsing error at postion 262
> > --}--errormsg contents--
> >
> > What should I do to avoid this error message window.
> >
> [snip]
> From url:
>
> http://ipe.otfried.org/
>
> downloaded:
>
> ipe-7.2.5-src.tar.gz
>
> After unzip;untar;grep -e 'Parsing error' got hits in:
>
> ./ipelua/ipeluastyle.cpp
>
> but code at both hits indicated the program was complaining
> because of a missing style sheet:
>
> StyleSheet *sheet = parser.parseStyleSheet();
> if (!sheet) {
> lua_pushnil(L);
> lua_pushfstring(L, "Parsing error at %d", parser.parsePosition());
> return 2;
> }
>
> Shouldn't the pdftoipe program have supplied that style sheet
> if ipe expects it?
>
> -regards,
> Larry
>
>
>
>
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
More information about the Ipe-discuss
mailing list