From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: creating a printed book
Date: Mon, 14 Oct 2024 18:00:30 +0200 [thread overview]
Message-ID: <1954a6ea-cb18-4a17-af40-c9228c89137e@fiee.net> (raw)
In-Reply-To: <172890437192.1601626.12925809910871588681@cgl.ntg.nl>
Am 14.10.24 um 13:12 schrieb David Roderick:
> Thank you for fixing this. I espy another feature which is required. I save the png's into a subdirectory called images_0007 which is a subdirectory of where my tex files are located. I run context from the latter (main or lower) working directory. Your script looks for the png's in this lower (main) directory:
>
> \startplacefigure[location=here,reference=Picture 1178610960,title={}]% rId6
> \externalfigure[image1.png]
> \stopplacefigure
>
> should be:
> \startplacefigure[location=here,reference=Picture 1178610960,title={}]% rId6
> \externalfigure[images_00007/image1.png][hfactor=fit]
> \stopplacefigure
>
> If you could fix this it would be greatly appreciated, and methinks useful.
You’re right, that makes sense.
I added the path, but not the width setting.
I never used extracted images unchanged; usually the result of the
script is just raw material for me, so I can live with imperfections.
Perhaps it would make sense to use adaptable templates for all
constructs (paragraph, itemization, table, image…); for me, the main
missing feature is splitting by chapter.
This little script won’t become something like Pandoc.
Hraban
___________________________________________________________________________________
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-10-14 16:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-11 16:19 [NTG-context] " David Roderick
2024-10-11 20:16 ` [NTG-context] " Hraban Ramm
2024-10-12 17:59 ` Hans Hagen via ntg-context
2024-10-13 12:19 ` angel.of.north
2024-10-13 22:25 ` Hans Hagen via ntg-context
2024-10-13 13:50 ` Henning Hraban Ramm
2024-10-12 22:32 ` angel.of.north
2024-10-13 13:37 ` Henning Hraban Ramm
2024-10-14 11:12 ` David Roderick
2024-10-14 16:00 ` Henning Hraban Ramm [this message]
2024-10-14 16:17 ` Wolfgang Schuster
2024-10-14 19:19 ` David Roderick
2024-10-14 19:32 ` Denis Maier via ntg-context
2024-10-14 19:19 ` Henning Hraban Ramm
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=1954a6ea-cb18-4a17-af40-c9228c89137e@fiee.net \
--to=texml@fiee.net \
--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).