texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Problem with invoking unix command from TeXmacs experi


From: Henri Lesourd
Subject: Re: [Texmacs-dev] Problem with invoking unix command from TeXmacs experimental plugin
Date: Fri, 01 Jun 2007 16:55:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]