ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Local alternative to \input
Date: Thu, 4 Jan 2024 17:27:57 +0100	[thread overview]
Message-ID: <563000c6-5985-4ce3-b89a-e26fca45174f@fiee.net> (raw)
In-Reply-To: <CAPtmdbNrpgSms-aONCPeA-j60DVhOAOpupawPf3yYcH1oY520Q@mail.gmail.com>

Am 04.01.24 um 17:12 schrieb Jeroen:
> I have a document that is getting a lot of mark-up instructions for 
> creating tables and placing figures. I would like to move this out of 
> the main text flow. The easiest way would be using \input, but i rather 
> place all this at the bottom of the file and just refer to it with 
> something like \localinput or so to a textblock at the bottom of the 
> same file. What would be the easiest way to implement this?

Usually, the best way to load setups is using \environment at the top of 
your file.

I don’t understand the sense in placing this in the bottom, and since 
it’s against the flow of instructions it would at least involve a second 
pass, and I don’t see how anything would work without loading it on top.

You could load an environment with a command line option, if you must 
avoid it in your file.

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
___________________________________________________________________________________

  parent reply	other threads:[~2024-01-04 16:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04 16:12 [NTG-context] " Jeroen
2024-01-04 16:21 ` [NTG-context] " Wolfgang Schuster
2024-01-04 16:27 ` Henning Hraban Ramm [this message]
     [not found]   ` <b8802a76-0411-427a-932d-59c4e3ae2abb@gmail.com>
2024-01-04 19:12     ` Henning Hraban Ramm
2024-03-04  5:14       ` Jeroen
2024-03-04  9:43         ` Denis Maier via ntg-context
2024-03-04 15:49           ` 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=563000c6-5985-4ce3-b89a-e26fca45174f@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).