ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
To: Stefan Nedeljkovic via ntg-context <ntg-context@ntg.nl>
Cc: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Achieving the style of Jean-Luc Doumont
Date: Mon, 16 May 2022 23:56:43 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.78.908.2205162349520.564428@nqv-guvaxcnq> (raw)
In-Reply-To: <CAGraPNfs2zKzKCRbNT3vs==eKw7QzTXbgtzJ+EryKqNRmS0mzw@mail.gmail.com>

On Mon, 16 May 2022, Stefan Nedeljkovic via ntg-context wrote:

> Dear list,
> 
> Years ago I stumbled upon the work of Jean-Luc Doumont. He typesets all his
> documents using TeX, although his modified Version called Quantum. 

His documents are really beautifully typeset. In the book, "Theorems, Maps, and Trees" all paragraphs are typeset as complete rectangles! See a sample here: 

https://www.principiae.be/book/pdfs/TM&Th-samplepages.pdf

> The whole idea of his fascinating approach is that the page is quantized in 2
> dimensions and that all positioning, even graphical elements stick to that
> grid. 

ConTeXt already implements grid snapping in the vertical dimension. For "grid snapping" in the horizontal direction, you need to ensure that all \hskip's are multiple of the grid size. 

> I'm specifically interested in using this approach for report generation. To
> me data I/O is not an issue since I would use a Python script to generate the
> markup.

You can use layers to position things anywhere on a page. The keys `lines=..., columns=...` work almost like a grid. 

See the details manual for examples of grid snapping and layers. 


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

  reply	other threads:[~2022-05-17  3:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-16  9:48 Stefan Nedeljkovic via ntg-context
2022-05-17  3:56 ` Aditya Mahajan via ntg-context [this message]
     [not found] <mailman.1.1652695201.2637.ntg-context@ntg.nl>
2022-05-20 14:40 ` Susanne G. Loeber via ntg-context

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=nycvar.YAK.7.78.908.2205162349520.564428@nqv-guvaxcnq \
    --to=ntg-context@ntg.nl \
    --cc=adityam@umich.edu \
    /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).