Date: Sat, 11 Oct 2014 19:29:56 +0200 From: Matthias Apitz <guru@unixarea.de> To: Kurt Jaeger <lists@opsec.eu> Cc: mat@freebsd.org, freebsd-ports@freebsd.org Subject: Re: print/muttprint Message-ID: <20141011172955.GA5414@unixarea.DDR.dd> In-Reply-To: <20141011162857.GJ29437@home.opsec.eu> References: <20141011114310.GA4035@unixarea.DDR.dd> <20141011115119.GI29437@home.opsec.eu> <20141011152016.GA78035@home.opsec.eu> <20141011153949.GA5022@unixarea.DDR.dd> <20141011162857.GJ29437@home.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Saturday, October 11, 2014 a las 06:28:57PM +0200, Kurt Jaeger escribió: > Hi! > > > > mat@ mailed that > > > > > > USE_TEX=latex dvipsk > > > > > > should be used instead of the two additional run_deps. > > > > A side note: > > > > bapt switched from 'latex' to texlive: > [...] > > > > Can you test if this works in your use-case and report the results ? > > Btw, what is your use-case ? > > How do you invoke muttprint and what does it call and what does it do > in the end ? Does it really generate a .ps to send to the printer ? Hi, I'm using muttprint to print mail from the MUA mutt; the mail is piped into the configured print cmd: set print_cmd="muttprint --printer pdf --paper A4 --rem_sig " muttprint is a Perl script which needs among other tools: # fgrep system /usr/local/bin/muttprint system("latex -interaction=nonstopmode mail.tex >> $errorRedirection 2>&1"); system("latex -interaction=nonstopmode mail.tex >> $errorRedirection 2>&1"); system("dvips -t $paperformat -o $Temp{ps} $Temp{dvi} >> $errorRedirection 2>&1") ... i.e. needs in PATH 'latex' and 'dvips'; at the end it will generate a Postscript file and hand it over to CUPS which generates for me a PDF file in disk, which does the above mentioned printer 'pdf' in CUPS (but could as well print to any other printer defined in CUPS); this is my use case; > > > > and yes, when you compile the port directly with > > > > # make install > > > > 'USE_TEX= texlive' pulls in > > Tex, but it does not if you compile the ports with poudriere. > > I'm surprised that USE_TEX=texlive in poudriere does not pull it in. Mee too. > Can you provide a build log to show this ? Will do this tomorrow. Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141011172955.GA5414>