From: "Idris Samawi Hamid ادريس سماوي حامد" <Idris.Hamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Table of Contents sectioning numbers in margin + oddity
Date: Sun, 24 Jun 2018 16:46:13 -0600 [thread overview]
Message-ID: <op.zk4xjkh3ejo439@desktop-mt1m160> (raw)
[-- Attachment #1: Type: text/plain, Size: 954 bytes --]
Dear gang,
mtx-context | current version: 2018.06.24 18:28
In the attached and below, we want sectioning numbers placed and naturally
aligned in the margin:
=======
\definecombinedlist % \setuplist[]
[content]
[section]
[level=section,
alternative=c,
criterium=local]
\setuphead[section][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]
\placecontent
\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\startitem[] \input ward \stopitem
\startitem[] \input ward \stopitem
\stopitemize
\stopsection
\stoptext
=======
1. What is the most straightforward way to to the section numerals
generated by \placecontent placed and aligned inmargin?
2. Oddity: Why does the TOC in the attached example default to a
monospaced font?
Thanks in advance.
Best wishes
Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
[-- Attachment #2: test-content.pdf --]
[-- Type: application/pdf, Size: 14276 bytes --]
[-- Attachment #3: test-content.tex --]
[-- Type: application/x-tex, Size: 442 bytes --]
[-- Attachment #4: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2018-06-24 22:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-24 22:46 Idris Samawi Hamid ادريس سماوي حامد [this message]
2018-06-24 23:09 ` Wolfgang Schuster
2018-06-24 23:17 ` Idris Samawi Hamid ادريس سماوي حامد
2018-06-25 7:10 ` Wolfgang Schuster
2018-06-25 12:39 ` Idris Samawi Hamid ادريس سماوي حامد
2018-06-25 7:07 ` 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=op.zk4xjkh3ejo439@desktop-mt1m160 \
--to=idris.hamid@colostate.edu \
--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).