From: "Jan-Erik Hägglöf" <janerik.hagglof@bahnhof.se>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Issue with rendering arrows in lmtx
Date: Tue, 17 Mar 2020 20:43:23 +0100 [thread overview]
Message-ID: <72F115ED-046C-4BD4-847C-A19BBEA60121@bahnhof.se> (raw)
In-Reply-To: <F15FF517-5553-406C-9A91-4540176C1A5B@elvenkind.com>
[-- Attachment #1.1: Type: text/plain, Size: 1714 bytes --]
Ok, thanks for your advice. It seems that it is better to do framework in MetaFun and use svg picture as a component instead of opposite.
Best wishes to you all
Janne
> 17 mars 2020 kl. 16:58 skrev Taco Hoekwater <taco@elvenkind.com>:
>
>
>
>> On 17 Mar 2020, at 15:51, Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se> wrote:
>>
>> Hi All!
>>
>> When I invoke this command
>>
>> \startMPcode
>> picture p ; p := lmt_svg [ filename ="pil.svg" ];
>> draw p;
>> \stopMPcode
>>
>> I get weird results, the arrowhead points in wrong direction
>
>
> That one is because lmt_svg does not properly consider the
>
>> orient=“auto"
>
> in the marker definition. I played with setting it to actual angles,
> and then the output is ok.
>
>> and is very tiny compared to the size it was meant to have.
>
> The path in the marker has its own transform, and that seems to be
> ignored by lmt_svg. (I do not see how a scale of (-1.1,-1.1) would
> make it that much bigger, but I know that manually altering the values
> does nothing, so I guess that must be it).
>
> No solution, but I hope this helps Hans somewhat...
>
> Best wishes,
> Taco
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 19931 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2020-03-17 19:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-17 14:51 Jan-Erik Hägglöf
2020-03-17 15:57 ` mf
2020-03-17 15:58 ` Taco Hoekwater
2020-03-17 19:43 ` Jan-Erik Hägglöf [this message]
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=72F115ED-046C-4BD4-847C-A19BBEA60121@bahnhof.se \
--to=janerik.hagglof@bahnhof.se \
--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).