ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Background colour in PDF with export activated
Date: Wed, 20 Nov 2024 18:07:48 +0100	[thread overview]
Message-ID: <0998394d-9df4-4fd2-9af6-48744d023634@fiee.net> (raw)
In-Reply-To: <CALOhoeKU1Feo6ZRhXkcu=k-dW9=NiJmmZqxGs_4TCKy8vTVsCw@mail.gmail.com>

Am 20.11.24 um 17:26 schrieb Florent Michel:
> But I'm wondering if there is a way of generating the correct pdf 
> without moving the line ‘\setupbackend[export=yes]’ into a different file.

Why don’t use use a mode?
\startmode[export]
\setupbackend[export=yes]
\stopmode

Then you can call "context --mode=export" etc.

(It’s a workaround, I don’t think activating the export should have this 
effect.)

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
___________________________________________________________________________________

  reply	other threads:[~2024-11-20 17:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-20 16:26 [NTG-context] " Florent Michel
2024-11-20 17:07 ` Henning Hraban Ramm [this message]
2024-11-20 17:43   ` [NTG-context] " Florent Michel
2024-11-20 17:15 ` Wolfgang Schuster

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=0998394d-9df4-4fd2-9af6-48744d023634@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).