[Top][All Lists]

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

Re: [Gnumed-bugs] Problem in 0.9.4 printing medication list on Mac

From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] Problem in 0.9.4 printing medication list on Mac
Date: Mon, 9 May 2011 09:50:54 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, May 08, 2011 at 09:08:07PM -0700, Jim Busser wrote:

> >     sudo open 
> > /var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/

> /var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/

This is what your system uses as the root dir for all temp dirs.

> /var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/

GNUmed creates one folder (gnumed/) under that to reign in
all its temp dirs, in turn.

> /var/folders/rR/rRhuX5jzF8WCKfgoTie3Zk+++TQ/-Tmp-/gnumed/gm-UWd7E_/

Each running GNUmed instance, in turn, creates on directory
thereunder, to tidy away *its* temp dirs :-)

> Within the above is subdir
>       gm-L-Template-zJbsL6
> containing a .tex file

That is the sandbox (scratch) dir GNUmed is telling LaTeX to
use to do its thing. It lives under


After running LaTeX the final PDF should show up hereunder
(not in the LaTeX sandbox anymore).

> and if I cd into the subdir and from the command line run
>       pdflatex -interaction nonstopmode gm-L-Template-zJbsL6-instance.tex
> I do generate a PDF which looks ok. Therefore the software does seem to be 
> installed.

So, GNUmed is correct in assuming the LaTeX ran
successfully (as the log attests to).

> Maybe the script (on Mac) is configured not to write it
> into the above subdir but instead to pass it to the Mac PDF
> preview application "Preview" so maybe the PDF lives in some
> application-specific temp directory

Hm, you mean like a Preview-specific temp dir ? That might
be possible but then I would expect Preview to auto-open and
show the PDF.

> and something in the passing or opening is broken?

Theoretically, sure, but the log doesn't show any problems
with moving the final PDF up one level or with accessing the
final PDF (it does an explicit check on that).

I think you are close.

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

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