ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Table of Contents sectioning numbers in margin + oddity
@ 2018-06-24 22:46 Idris Samawi Hamid ادريس سماوي حامد
  2018-06-24 23:09 ` Wolfgang Schuster
  2018-06-25  7:07 ` Wolfgang Schuster
  0 siblings, 2 replies; 6+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2018-06-24 22:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

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

end of thread, other threads:[~2018-06-25 12:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-24 22:46 Table of Contents sectioning numbers in margin + oddity Idris Samawi Hamid ادريس سماوي حامد
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

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