On Wed, 17 Nov 2021 08:51:03 -0700, Henning Hraban Ramm via ntg-context
wrote:
TeX comments will illustrate:
==
This text goes into the abridged version.
% This text will appear in the unabridged version.
And this text goes into the abridged version.
% And this text goes into
On Wed, 17 Nov 2021 11:54:52 -0700, Hans Hagen via ntg-context
wrote:
Blocks are a better mechanism, but I still prefer modes here because I
find the \beginblock ... \endblock syntax to be a bit awkward in a
context document.
it also depends on usage ... you can have blocks and delay th
On Wed, 17 Nov 2021 10:56:46 -0700, Aditya Mahajan via ntg-context
wrote:
But you don't have to directly use the modes. The following will work:
\definestartstop[abridged]
% By default, don't show the unabridged text
\definebuffer[unabridged][local=yes, nested=yes]
\startmode[unabridged]
%
On 11/17/2021 6:56 PM, Aditya Mahajan via ntg-context wrote:
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد wrote:
Hi Aditya,
Many thanks; see below:
On Tue, 16 Nov 2021 17:23:59 -0700, Aditya Mahajan via ntg-context
wrote:
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد wrote:
> Hi Aditya,
>
> Many thanks; see below:
>
> On Tue, 16 Nov 2021 17:23:59 -0700, Aditya Mahajan via ntg-context
> wrote:
>
> > On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context
> > wrote:
> >
> > > Dear gan
> Am 17.11.2021 um 16:08 schrieb Idris Samawi Hamid ادريس سماوي حامد
> <idris.ha...@colostate.edu>:
>
>> That looks to me like flawed logic – why should content for the unabridged
>> version appear within the abridged version?
>
> TeX comments will illustrate:
>
> ==
> This te
Hi Idris,
I think Hans was trying to point you to the blocks mechanism. Blocks *do* nest:
\defineblock[sectionblock]
\defineblock[myblock]
\startmode[variantone]
\keepblocks[sectionblock]
\keepblocks[myblock]
\stopmode
\startmode[varianttwo]
\keepblocks[sectionblock]
\stopmode
\starttext
\begi
Hi Hraban,
Many thanks; see below:
On Wed, 17 Nov 2021 04:32:56 -0700, Henning Hraban Ramm via ntg-context
wrote:
Am 17.11.2021 um 04:06 schrieb Idris Samawi Hamid ادريس سماوي حامد via
ntg-context <ntg-context@ntg.nl>:
You know about \startnotmode and that you can use lists of mo
> Am 17.11.2021 um 04:06 schrieb Idris Samawi Hamid ادريس سماوي حامد via
> ntg-context <ntg-context@ntg.nl>:
>
> Unfortunately - as pointed out on the wiki - modes cannot be nested.
Why would you need that?
You know about \startnotmode and that you can use lists of modes?
\startmode[short
On 11/17/2021 12:25 AM, Idris Samawi Hamid ادريس سماوي حامد via
ntg-context wrote:
Dear gang,
For creating/authoring content in ConTeXt: Can modes or the like be used
for content control? For example, someone wants to write at least two
versions of a book managed from a single file. So, e.g.,
Hi Aditya,
Many thanks; see below:
On Tue, 16 Nov 2021 17:23:59 -0700, Aditya Mahajan via ntg-context
wrote:
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context
wrote:
Dear gang,
For creating/authoring content in ConTeXt: Can modes or the like be used
for content
On Tue, 16 Nov 2021, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote:
> Dear gang,
>
> For creating/authoring content in ConTeXt: Can modes or the like be used
> for content control? For example, someone wants to write at least two
> versions of a book managed from a single file. So
Dear gang,
For creating/authoring content in ConTeXt: Can modes or the like be used
for content control? For example, someone wants to write at least two
versions of a book managed from a single file. So, e.g., we may have
a) abridged content
b) unabridged content - includes a)
c) abridged
13 matches
Mail list logo