cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Pubtex error when use linenum command

longjingjun
1-Visitor

Pubtex error when use linenum command

Hello Adepters,

I am using linenum command in PE to add line number information into an XML file. The following is what I am doing:

1. add_hook for formatcontinuehook and formatcompletehook.

2. Call e3::convert to start a conversion to convert XML to PDF

3. formatcontinuehook is called durring the conversion. I made a copy of the doc and save it into a file (1). And return 0.

4. formatcompletehook is called when format complete.

a) I set the saved file (1) as current document and do a layout::apply("layout::linenum()"); or compose_lnr(); to add line number information into this file.

b). I do some post process to extract information I need and save to another file (2).

I got pubtex.exe crash error in some of my files. There is no extra error information for me to know what the problem is and it just crashed. I think the error is happened in step 4.a) described above.

Does any one has any experience on this?

Normally, what the problem cause pubtex crash?

Thanks

Jingjun

1 REPLY 1

We find out there are several cases can cause pubtex crash error.

1. When set deepcontentsplitting=on and the case when the content is too much in a single row.

2. When keep-together rule can not be fulfilled.

I am using Arbortext Editor 5.3 M150.

Jingjun

Announcements

Top Tags