[Ipe-discuss] pdftoipe then ipe open gives parse error
Larry Evans
cppljevans at suddenlink.net
Wed Aug 3 00:07:39 CEST 2016
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
More information about the Ipe-discuss
mailing list