ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] List of abbreviations
@ 2025-05-09 17:06 Jeroen
  2025-05-09 17:21 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jeroen @ 2025-05-09 17:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 447 bytes --]

At the beginning of a report I would like to have a page with an
abbreviation listing with for example

HTML    hypertext mark-up language
CSS      cascade style sheets
etc

The distancing where the long explanation starts should be the same at lets
say 30mm from the margin and in case it jumps to a next line, it also
should continue at 30mm from the margin and not back at the margin. What
would be the best way to achieve this?

Thanks
Jeroen

[-- Attachment #1.2: Type: text/html, Size: 593 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: List of abbreviations
  2025-05-09 17:06 [NTG-context] List of abbreviations Jeroen
@ 2025-05-09 17:21 ` Wolfgang Schuster
  2025-05-09 22:02   ` Bruce Horrocks
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2025-05-09 17:21 UTC (permalink / raw)
  To: ntg-context

Am 09.05.2025 um 19:06 schrieb Jeroen:
> At the beginning of a report I would like to have a page with an 
> abbreviation listing with for example
> 
> HTML    hypertext mark-up language
> CSS      cascade style sheets
> etc
> 
> The distancing where the long explanation starts should be the same at 
> lets say 30mm from the margin and in case it jumps to a next line, it 
> also should continue at 30mm from the margin and not back at the margin. 
> What would be the best way to achieve this?

https://wiki.contextgarden.net/Command/definesynonyms

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: List of abbreviations
  2025-05-09 17:21 ` [NTG-context] " Wolfgang Schuster
@ 2025-05-09 22:02   ` Bruce Horrocks
  2025-05-10  7:56     ` Jeroen
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Horrocks @ 2025-05-09 22:02 UTC (permalink / raw)
  To: ntg-context mailing list



> On 9 May 2025, at 18:21, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
> 
> Am 09.05.2025 um 19:06 schrieb Jeroen:
>> At the beginning of a report I would like to have a page with an abbreviation listing with for example
>> HTML    hypertext mark-up language
>> CSS      cascade style sheets
>> etc
>> The distancing where the long explanation starts should be the same at lets say 30mm from the margin and in case it jumps to a next line, it also should continue at 30mm from the margin and not back at the margin. What would be the best way to achieve this?
> 
> https://wiki.contextgarden.net/Command/definesynonyms

There is also \definetabulate - see page 42 of the ma-cb-en.pdf manual.

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: List of abbreviations
  2025-05-09 22:02   ` Bruce Horrocks
@ 2025-05-10  7:56     ` Jeroen
  2025-05-10  8:21       ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jeroen @ 2025-05-10  7:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1838 bytes --]

Thanks, I never knew about the tabulate. I was also looking for a mechanism
for end of chapter questions. I worked out the below. How can I remove the
vertical whitespace before and after the questions?

\definetabulate
  [quest][|l|p|]


\starttext

\startquest
\NC 1. \NC question 1 \NC\NR
\NC 2. \NC question 2 \NC\NR
\stopquest

\stoptext

  [quest][|l|p|]

  [quest][|l|p|]


Op za 10 mei 2025 om 00:08 schreef Bruce Horrocks <ntg@scorecrow.com>:

>
>
> > On 9 May 2025, at 18:21, Wolfgang Schuster <
> wolfgang.schuster.lists@gmail.com> wrote:
> >
> > Am 09.05.2025 um 19:06 schrieb Jeroen:
> >> At the beginning of a report I would like to have a page with an
> abbreviation listing with for example
> >> HTML    hypertext mark-up language
> >> CSS      cascade style sheets
> >> etc
> >> The distancing where the long explanation starts should be the same at
> lets say 30mm from the margin and in case it jumps to a next line, it also
> should continue at 30mm from the margin and not back at the margin. What
> would be the best way to achieve this?
> >
> > https://wiki.contextgarden.net/Command/definesynonyms
>
> There is also \definetabulate - see page 42 of the ma-cb-en.pdf manual.
>
> —
> Bruce Horrocks
> Hampshire, UK
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3573 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: List of abbreviations
  2025-05-10  7:56     ` Jeroen
@ 2025-05-10  8:21       ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2025-05-10  8:21 UTC (permalink / raw)
  To: ntg-context

Am 10.05.2025 um 09:56 schrieb Jeroen:
> Thanks, I never knew about the tabulate. I was also looking for a 
> mechanism for end of chapter questions. I worked out the below. How can 
> I remove the vertical whitespace before and after the questions?
> 
> \definetabulate
>    [quest][|l|p|]
> 
> 
> \starttext
> 
> \startquest
> \NC 1. \NC question 1 \NC\NR
> \NC 2. \NC question 2 \NC\NR
> \stopquest
> 
> \stoptext

Tabulate add by default \blank before and after an table, to remove the 
line add the following after \definetabulate.

\setuptabulate [quest] [before=,after=]

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-10  8:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-09 17:06 [NTG-context] List of abbreviations Jeroen
2025-05-09 17:21 ` [NTG-context] " Wolfgang Schuster
2025-05-09 22:02   ` Bruce Horrocks
2025-05-10  7:56     ` Jeroen
2025-05-10  8:21       ` Wolfgang Schuster

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).