From: Joel via ntg-context <ntg-context@ntg.nl>
To: Mailing List for ConTeXt Users <ntg-context@ntg.nl>
Cc: Joel <uaru99@yahoo.com>
Subject: [NTG-context] Why is this description environment not showing the correct title?
Date: Sun, 5 May 2024 14:35:55 +0000 (UTC) [thread overview]
Message-ID: <533835902.3888012.1714919755865@mail.yahoo.com> (raw)
In-Reply-To: <533835902.3888012.1714919755865.ref@mail.yahoo.com>
[-- Attachment #1.1: Type: text/plain, Size: 788 bytes --]
\definedescription[latexdesc][headstyle=bold, style=normal, align=flushleft, alternative=hanging, width=broad, margin=1cm]
\starttext
\latexdesc{1540} some event happened
\latexdesc{1541} some other event happened
\latexdesc{1542} some event happened quite different
\stoptext
I found the above code (the first line) in the ConTeXt Wiki, as a way to create the equivalent of a desc environment from LaTeX. The items inside {} should be bold, then there is a gap before the next text.
I am using this to display a simple timeline.
Though the formatting looks perfect, very strangely when I compile it, it changes all of the dates to say "1540" (or whatever date was used first).
Why is it showing the wrong title on the desc environment?
--Joel
[-- Attachment #1.2: Type: text/html, Size: 1446 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
___________________________________________________________________________________
next parent reply other threads:[~2024-05-05 14:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <533835902.3888012.1714919755865.ref@mail.yahoo.com>
2024-05-05 14:35 ` Joel via ntg-context [this message]
2024-05-05 14:45 ` [NTG-context] " Mikael Sundqvist
2024-05-05 15:13 ` 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=533835902.3888012.1714919755865@mail.yahoo.com \
--to=ntg-context@ntg.nl \
--cc=uaru99@yahoo.com \
/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).