From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: [NTG-context] Re: Section number in the margin and the section title followed by paragraph!
Date: Sun, 28 Jan 2024 10:29:57 +0100 [thread overview]
Message-ID: <3d3899dd-e87d-b91d-4883-91f8ca237806@gmail.com> (raw)
In-Reply-To: <24e4485c-6353-136b-97b8-0ea659a9c1b5@gmx.es>
Pablo Rodriguez via ntg-context schrieb am 27.01.2024 um 18:40:
> On 1/27/24 17:40, Ali Ali wrote:
>> Thanks, those seems close to what I wanted but not exactly.
>>
>> The ASCII graphic (better in typewriter font) may explain what I desired,
>> ```
>> text width
>> |<------------------------------------>|
>>
>> ##. SECTION TITLE paragraph............
>> .......................................
>> .................
>>
>> |<-->|
>> margin
>> ```
>> I wanted paragraph to begin on the same line the section title lies.
\define[1]\SectionNumberCommand
{\margindata[inmargin][scope=local]{#1}}
\setuphead
[section]
[alternative=text,
numbercommand=\SectionNumberCommand,
distance=0pt]
\starttext
\section{Lorem}
\samplefile{lorem}
\stoptext
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
___________________________________________________________________________________
prev parent reply other threads:[~2024-01-28 9:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-27 5:03 [NTG-context] " Ali Ali
2024-01-27 8:33 ` [NTG-context] " Wolfgang Schuster
2024-01-27 16:40 ` Ali Ali
2024-01-27 17:40 ` Pablo Rodriguez via ntg-context
2024-01-28 9:29 ` Wolfgang Schuster [this message]
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=3d3899dd-e87d-b91d-4883-91f8ca237806@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=oinos@gmx.es \
/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).