mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] export problem in 1.0.5.9 version with graphic drawing


Chronological Thread 
  • From: Henri Lesourd <address@hidden>
  • To: Nachiketa Sahoo <address@hidden>
  • Cc: TeXmacs Users List <address@hidden>
  • Subject: Re: [TeXmacs] export problem in 1.0.5.9 version with graphic drawing
  • Date: Mon, 03 Oct 2005 14:55:28 +0200



I am using the latest 1.0.5.9 version on cygwin on windows XP, to draw
a few things. And when I tried exporting it to pdf it failed saying

==============================================================
$ Error: /rangecheck in --get--
Operand stack:
9 --nostringval-- 83 --dict:9/14(ro)(L)-- (\000\000\000\000\000\000\000\000) 83
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- %finish_show --nostringval-- --nostringval-- 6
4 1 --nostringval-- (pdf_text_enum_t) %op_show_continue --nostringval--
Dictionary stack:
--dict:1112/1686(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)-- --dict:151/250(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 1072829
GPL Ghostscript 8.15: Unrecoverable error, exit code 1
==============================================================


Is the output above from TeXmacs, or from your Pdf reader ?

In other words, did you export to .pdf, and then discovered
that the .pdf is unreadable, or is it the export itself
that fails inside TeXmacs ?

I tried the export of your document under Linux, and
everything went fine. So it seems that either it is
a problem of your software for reading .pdf / .ps,
or either it is a TeXmacs problem that is specific
to the Windows version of TeXmacs :-(.

But, I could export it as postscript. However, while opening the
postscript using ghostview on windows it throws error on page 4, the
page that contains one image for part 2.1.

After I remoed the figure in 2.1 the problem went away. I could export
to postscript and pdf. But, there is some other postscript error as
you can see in page 7. Text is over written on some other text.


I have this problem too, on my Linux version. I stripped &
minimized it, and I discovered that in the file attached
to this email, which is made of :

a) a graphics containing a text box ;

b) the string "a" ;

c) the string "A<bot>", in math mode ;

, the postscript export is corrupted. But if :

a') I remove the text box (and I replace it by other
graphical objects, but not a text-at) ;

OR

b') I remove the "a" ;

OR

c') I remove the "<bot>" ;

then everything works fine.

Do you observe the same behaviour on your machine
under Windows XP ?


So it seems that in fact, you discovered two different bugs
related to the graphics : the first one with the diagram
in your section 2.1., which doesn't appear at all on my
machine under Linux.

And the other one on the page 7 of your document, which
also exists on my machine under Linux, and reveals a
bug that stems from a strange interaction between the
graphical text boxes and the typesetting of mathematics.

Congratulations ! You are a powerful bug hunter :-) ! We
will have to correct them, now :-(...

Best, Henri
<TeXmacs|1.0.5.9>

<style|article>

<\body>
\;


<with|gr-mode|<tuple|edit|text-at>|gr-frame|<tuple|scale|1cm|<tuple|0.5gw|0.5gh>>|gr-geometry|<tuple|geometry|1par|0.6par>|<graphics|<text-at|abcde|<point|-2.49666|0.951779>|left|bottom>>>

a<with|mode|math|A\<bot\>>
</body>

<\initial>
<\collection>
<associate|preamble|false>
</collection>
</initial>

<\references>
<\collection>
<associate||<tuple|<uninit>|1>>
<associate|3.1|<tuple|1|?>>
<associate|auto-1|<tuple|1|1>>
<associate|auto-10|<tuple|2.2|4>>
<associate|auto-11|<tuple|2|3>>
<associate|auto-12|<tuple|2|3>>
<associate|auto-13|<tuple|2.1|3>>
<associate|auto-14|<tuple|2.2|4>>
<associate|auto-15|<tuple|2.3|4>>
<associate|auto-16|<tuple|3|5>>
<associate|auto-17|<tuple|4|6>>
<associate|auto-18|<tuple|4.1|6>>
<associate|auto-19|<tuple|4.2|6>>
<associate|auto-2|<tuple|2|1>>
<associate|auto-20|<tuple|4.3|7>>
<associate|auto-21|<tuple|4.4|7>>
<associate|auto-22|<tuple|5|7>>
<associate|auto-23|<tuple|5.1|7>>
<associate|auto-24|<tuple|5.2|8>>
<associate|auto-25|<tuple|5.3|8>>
<associate|auto-26|<tuple|5.4|8>>
<associate|auto-27|<tuple|6|9>>
<associate|auto-28|<tuple|6.1|9>>
<associate|auto-29|<tuple|6.2|10>>
<associate|auto-3|<tuple|1|2>>
<associate|auto-30|<tuple|7.1|10>>
<associate|auto-31|<tuple|7.2|10>>
<associate|auto-32|<tuple|7.2|?>>
<associate|auto-4|<tuple|1.1|2>>
<associate|auto-5|<tuple|1.2|2>>
<associate|auto-6|<tuple|1.3|3>>
<associate|auto-7|<tuple|1.4|3>>
<associate|auto-8|<tuple|2|4>>
<associate|auto-9|<tuple|2.1|4>>
</collection>
</references>


Archive powered by MHonArc 2.6.19.

Top of page