From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: [NTG-context] Re: ConTeXt source from XML
Date: Sat, 8 Jun 2024 10:59:40 +0200 [thread overview]
Message-ID: <cade8102-9914-458f-aed9-565f5a306fbf@gmx.es> (raw)
In-Reply-To: <70707433-a084-462e-8dad-9a8fae5f8050@klankschap.nl>
On 6/8/24 10:49, vm via ntg-context wrote:
> in the document
> https://wiki.contextgarden.net/images/8/8c/xhtml.pdf
>
> near the end an essential line got truncated:
> [...]
> how should this line continue ?
> {\externalfigure[\xmlatt{#1}{src}][width=\ctxlua{getmeas("\xmla
As this comes from
https://wiki.contextgarden.net/images/8/8c/xhtml.pdf#page=16 and it
seems to be previously defined on This comes from
https://wiki.contextgarden.net/images/8/8c/xhtml.pdf#page=10, I would say:
\startxmlsetups xml:img
\placefigure
[here]
[\xmlatt{#1}{src}]
{\xmlatt{#1}{alt}}
{\externalfigure[\xmlatt{#1}{src}]
[width=\ctxlua{getmeas("\xmlatt{#1}{width}")}]}
\stopxmlsetups
But this is my uneducated guess (and not having checked whehter this may
make sense).
Just in case it might help,
Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2024-06-08 9:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-04 11:51 [NTG-context] " Christoph Edenhauser
2024-06-04 15:21 ` [NTG-context] " Pablo Rodriguez via ntg-context
2024-06-04 19:21 ` Christoph Edenhauser
2024-06-04 20:09 ` Hans Hagen
2024-06-05 10:00 ` Christoph Edenhauser
2024-06-05 12:16 ` Henning Hraban Ramm
2024-06-05 14:13 ` Christoph Edenhauser
2024-06-05 15:08 ` Hans Hagen
2024-06-05 14:34 ` Pablo Rodriguez via ntg-context
2024-06-05 18:23 ` Christoph Edenhauser
2024-06-06 15:33 ` Pablo Rodriguez via ntg-context
2024-06-06 15:42 ` Hans Hagen via ntg-context
2024-06-06 20:53 ` [NTG-context] " Christoph Edenhauser
2024-06-07 19:41 ` [NTG-context] " Pablo Rodriguez via ntg-context
2024-06-07 20:34 ` Henning Hraban Ramm
2024-06-08 7:14 ` Denis Maier via ntg-context
2024-06-08 7:49 ` Wolfgang Schuster
2024-06-08 8:49 ` vm via ntg-context
2024-06-08 8:59 ` Thomas A. Schmitz
2024-06-08 8:59 ` Pablo Rodriguez via ntg-context [this message]
2024-06-08 9:04 ` Pablo Rodriguez via ntg-context
2024-06-05 16:30 ` Pablo Rodriguez via ntg-context
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=cade8102-9914-458f-aed9-565f5a306fbf@gmx.es \
--to=ntg-context@ntg.nl \
--cc=oinos@gmx.es \
/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).