From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: bug in \externalfigure
Date: Fri, 02 Aug 2013 21:58:43 +0200 [thread overview]
Message-ID: <51FC0F73.20806@wxs.nl> (raw)
In-Reply-To: <0013F221-466B-460E-BE7B-1466F3E0B898@icloud.com>
On 8/2/2013 9:49 PM, Jannik Voges wrote:
> I added the function in back-pdf.lua, but that doesn't fix the problem.
>
>
> Jannik
>
>
> Am 02.08.2013 um 21:35 schrieb Hans Hagen <pragma@wxs.nl>:
>
>> On 8/2/2013 9:05 PM, Jannik Voges wrote:
>>> No problem. Pdf is attached.
>>
>> ok, i see the problem ... will try to fix it (cannot upload from where i am now)
>>
>> you can try this in back-pdf.lua:
>>
>> function nodepool.pdfsetmatrix(rx,sx,sy,ry,tx,ty)
>> local t = copy_node(pdfsetmatrix)
>> if type(rx) == "string" then
>> setfield(t,"data",rx)
>> else
>> setfield(t,"data",formatters["%s %s %s %s"](rx or 1,sx or 0,sy or 0,ry or 1)) -- todo: tx ty
>> end
>> return t
>> end
function nodepool.pdfsetmatrix(rx,sx,sy,ry,tx,ty)
local t = copy_node(pdfsetmatrix)
if type(rx) == "string" then
t.data = rx
else
t.data = formatters["%s %s %s %s"](rx or 1,sx or 0,sy or 0,ry
or 1) -- todo: tx ty
end
return t
end
and remake the format
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2013-08-02 19:58 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 12:27 Jannik Voges
2013-08-01 13:08 ` Marco Patzer
2013-08-01 13:44 ` Jannik Voges
2013-08-01 13:56 ` Aditya Mahajan
2013-08-01 14:01 ` luigi scarso
2013-08-01 14:43 ` Alan BRASLAU
2013-08-01 14:54 ` luigi scarso
2013-08-01 14:55 ` Hans Hagen
2013-08-01 14:14 ` Marco Patzer
2013-08-01 13:51 ` Aditya Mahajan
2013-08-01 13:52 ` Peter Münster
2013-08-01 15:19 ` Jannik Voges
2013-08-01 20:34 ` Peter Münster
2013-08-01 21:32 ` Jannik Voges
2013-08-02 7:56 ` Peter Münster
2013-08-02 11:13 ` Hans Hagen
2013-08-02 18:36 ` Jannik Voges
2013-08-02 18:55 ` Hans Hagen
2013-08-02 19:05 ` Jannik Voges
2013-08-02 19:35 ` Hans Hagen
2013-08-02 19:49 ` Jannik Voges
2013-08-02 19:58 ` Hans Hagen [this message]
2013-08-02 20:08 ` Jannik Voges
2013-08-03 10:45 ` Jannik Voges
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51FC0F73.20806@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).