Skip to Content.
Sympa Menu

texmacs-users - Bug in the conversion

Subject: mailing-list for TeXmacs Users

List archive

Bug in the conversion


Chronological Thread 
  • From: Luca <address@hidden>
  • To: address@hidden
  • Subject: Bug in the conversion
  • Date: Wed, 14 Jun 2006 18:01:38 +0200

I jumped once more on the well known (at least to me) bug of Texmacs unable to print or export what you see inside him.
I attach both the file and the image.
The image was produced with xfig 3.2.5 alpha 5 exporting to eps.
The tm file was typsetted with the manually installed texmacs_1.0.6-7_i386.deb (for the broken package situation I reported).
I think this bug is of major severity.
It is not the first time that I encounter it.
If you look in the list there are many thread of this kind.
Last time it happened to me (around December 2005) Henri suggested that it was a problem related to the pdf dialect produced by gnuplot on a Mac.
Now I have an eps file produced on a Linux box by Xfig.
My girlfriend also had a similar problem when she wrote a short essay and tried to print it: the image didn't show.
They where pdf files produced by Mac Preview.
So summarizing I think it is a very malicious bug,
It make me feel insecure whenever I have to write something serious that
1) I won't be able to print it
2) I won't be able to export and send my work to other people that don't use Texmacs.
3) I don't feel as recommending Texmacs to my friends that are not used to solve little problems as this one.
I call it little problem because there are possible works around that I will mention later.

This is not exactly the feeling one should have when using a WYSIWYG editor isn' t it?

Proposed Solutions and work around:
1) find out the bug. (I am sorry but I am not skilled enough to do this)
2) Using the graphic package of Texmacs (This is not my case as for me the package is unusable do to slowness and unresposivness of the cursor inside the graphic environement. I had already commented on this issue on a previous message on the list)
3) getting a way to check if the figure will appear in the final output and warn.
The manual way is the one I used that is export to pdf each time you include graphic to check...
(At least one could save a lot of time switching immediatly to latex)
4) exporting to latex and using the standard dvips workflow (in my experience this always works always).

Concluding:
I guess that Texmacs is not intended as an Interface to Latex. But since December I mainly use it this way.

Attachments:
open.tm (texmacs file)
box.eps (original eps file not shown in any direc conversions from Texmacs to ps or pdf)
open_dir.ps output of the conversion to ps performed directly from texmacs
open.ps output produced after exporting to latex compiling and converting with dvips.
debug_ps.bz2 the piped out obtained running texmacs --debug-all open.tm >&debug_ps.

Hope this helps and thank you for the effort to improve Texmacs.
Regards
Luca

Attachment: open.ps
Description: PostScript document

<TeXmacs|1.0.6>

<style|generic>

<\body>
  <section|Caso di simulazioni in una scatola>

  Date le condizioni al contorno periodiche qual e' la forma migliore per
  fare una simulazione con condizioni al contorno fissate?

  Basicamente si tratta costruire un bordo attorno al toro in modo che non si
  possa propagare nulla da un lato all'altro del bordo.

  Sorge il seguente problema

  1) Se realmente si vuole avere un modello in una scatola le placchette dei
  bordi non dovrebbero comparire nel computo della forza. Per far cio'
  bisongerebbe inizializzare alemno uno dei link delle placchette dei bordi a
  zero.

  2) Un'altra possibilita' e' semplicemente simulare il sistema in contatto
  con un bagno termico a temperatura 0 o infinita (ossia con i bordi tutti a
  1 o completamente random).

  Questo e' cio' che faremo nella nostra simulazione. Nel caso che scegliamo
  le placchette dei bordi sono tutte congelate a 1. Quindi le staple dei
  bordi sommano 1.

  Soprattutto nella fase confinata questo implica l'esistenza di effetti di
  bordo tipo interfaccia la cui penetrazione dovrebbe potersi misurare
  facilmente...

  Strategia (esempio in 2D):<postscript|../../../../../../home/luca/box.eps|6cm|||||>

  Si creano due strisce di plachette i cui link sono inizializzati a 1 e che
  non verranno piu' toccati durante la simulazione.

  <subsection|Update>

  Dopo avere inizializzato tutto il reticolo con i link a 1. si procede ad
  una nuova inizializzazione dei link che verranno visitati durante l'update.

  Si tratta dei seguenti link:\ 

  DIRX) \ Tutti i link che escono in DIRX positiva dai punti con ix da 1 a
  L-2 e iy da 1 a L-1

  DIRY) Tutti i link che escono in DIRY positiva dai punti con ix da 1 a L-1
  e iy da 1 a L-2

  <subsection|Osservabili>

  Per quanto riguarda le placchette si tratta di calclare tutte le placchete
  \ che hanno come vertice in basso a sinistra tutti i punti con ix=1...L-2
  iy=1...L-2;

  <subsubsection|Osservazione per il caso 4D>

  Nel caso quadridimensionale la situazione e' la stessa. L'unico
  accorgimento e' che nel fare l'update dei link nelle direzione DIR si
  devono visitare tutti i punti con i_dir=1..L-2 e con i_perp=1...L-1 in modo
  da essere sicuro di visitare i bordi.

  Per le placchette l'accortezza e' la stessa : placchetta i-j dir_i=1...L-2
  dir_j=1...L-2 dir_perp=1...L-1.

  \ \ 
</body>

<\initial>
  <\collection>
    <associate|language|american>
  </collection>
</initial>

<\references>
  <\collection>
    <associate|auto-1|<tuple|1|1>>
    <associate|auto-2|<tuple|1.1|1>>
    <associate|auto-3|<tuple|1.2|1>>
    <associate|auto-4|<tuple|1.2.1|1>>
  </collection>
</references>

<\auxiliary>
  <\collection>
    <\associate|toc>
      <vspace*|1fn><with|font-series|<quote|bold>|math-font-series|<quote|bold>|Caso
      di simulazioni in una scatola> <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
      <no-break><pageref|auto-1><vspace|0.5fn>

      <with|par-left|<quote|1.5fn>|Update
      <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
      <no-break><pageref|auto-2>>

      <with|par-left|<quote|1.5fn>|Osservabili
      <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
      <no-break><pageref|auto-3>>

      <with|par-left|<quote|3fn>|Osservazione per il caso 4D
      <datoms|<macro|x|<repeat|<arg|x>|<with|font-series|medium|<with|font-size|1|<space|0.2fn>.<space|0.2fn>>>>>|<htab|5mm>>
      <no-break><pageref|auto-4>>
    </associate>
  </collection>
</auxiliary>

Attachment: open_dir.ps
Description: PostScript document




Archive powered by MHonArc 2.6.19.

Top of Page