Krzysztof Retel wrote:

Joris van der Hoeven wrote:

>From within guile, you may use the "system" command.
TeXmacs also provides commands "eval-system" and "var-eval-sys"
in order to retrieve the output.

Thanks Joris, it works perfectly fine.

By the way, is there a way to present ps/pdf file inside TeXmacs? If not, is it feasible and worth doing so?

Yes, although you need to do some extra stuff to cut the .pdf to some size smaller than a page. In the attached example, the .ps is a specially small-sized .eps, from which I generated the .pdf. If the document is several pages, it displays the pages, superposed to one each other, or either it freezes or crashes, if your .pdf is too much complex for the current state of advancement of the converters. Note: you can adjust the dimensions of the displayed .pdf by means of tuning the parameters
of the <postscript|...> tag.
<TeXmacs|1.0.6.9>

<style|generic>

<\body>
  MiniPage1.pdf

  <postscript|MiniPage1.pdf|*15/8|*15/8||||>

  <hrule>

  MiniPage1.ps

  <postscript|MiniPage1.ps|*15/8|*15/8||||>
</body>

<\initial>
  <\collection>
    <associate|page-type|letter>
    <associate|preamble|false>
  </collection>
</initial>

Attachment: MiniPage1.pdf
Description: PostScript document

Attachment: MiniPage1.ps
Description: PostScript document

_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to