Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] How to hide all but the generated image of a python session ?

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] How to hide all but the generated image of a python session ?


Chronological Thread 
  • From: Alvaro Tejero Cantero <address@hidden>
  • To: Joris van der Hoeven <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] How to hide all but the generated image of a python session ?
  • Date: Mon, 26 Sep 2005 11:21:56 +0200 (CEST)

Hello,

This would be of great help to me in these moments. However, I try it with
'xypic' instead of 'python' (which works just great) in 1.0.5.7 and the output
seems to go through latex, but somehow losing latex markup in the meanwhile
(see
screenshot attached).


Is there any quick fix that I could apply?

'Alvaro.

PS. attachments sometimes don't make it out of this mailserver. The gist is
that
I type for example...

\\xymatrix{&\\ar[dd]_{\\textrm{int.}}&&{\\bullet}\\ar[dd]_{\\mathrm{S}}

\\ar@/^1pc/[ddrr]^{\\mathrm{U}(t)}&& &&\\\\&& && &&\

\\\\ & &&{\\circ}\\ar[rr]^{\\mathrm{U}_0(t)} &&{\\bullet}\

\\\\ & &&\\ar[rr]^(0.)0^(1.)T_(.5){\\textrm{time}}&&}

and the resulting postscript is not the diagram but the following text,
typeset
by latex in math mode

xymatrix
ar[dd]>>textrmint.<<bullet
ar[dd]>>mathrmS<<

...

where I have used >> and << to indicate text that appears as subindex.


> Try the (not yet document) magic keystroke
>
> "M-* !"
>
> change "scheme" into "python" (all in lower case) and use
>
> "C-*"
>
> to switch between the "Python source code" and the corresponding
> output.
>
> Best wishes, Joris
>



Alvaro Tejero Cantero
Arnold Sommerfeld Center for Theoretical Physics
Ludwig-Maximilian Universitaet
Muenchen

Attachment: Screenshot.png
Description: PNG image




Archive powered by MHonArc 2.6.19.

Top of Page