ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins
Date: Mon, 30 Aug 2010 17:03:49 +0200	[thread overview]
Message-ID: <AANLkTi=cMOfgnHxLqwhuwSOU1xhdhzeTQgjgdXN9y32-@mail.gmail.com> (raw)
In-Reply-To: <i5gdlo$5k4$1@dough.gmane.org>

On Mon, Aug 30, 2010 at 16:02, Yury G. Kudryashov wrote:
> Xan xan wrote:
>
>> There is a technical explanation in "The Not so Short Introduction to
>> LaTeX" [tobi.oetiker.ch/lshort/lshort.pdf]
>> (page 129)
>>
>> It's too much for me. I supose there are equivalencies in ConTeXt but
>> too bit tech for me.
> You can \show (\showthe? I don't remember) vairous LaTeX dimensions:
>
> Also look at http://www.mccme.ru/free-books/llang/newllang.pdf page 166. It
> is in Russian but the scheme should be self-explanatory. "дюйм" means
> "inch". I'm too lazy to find such scheme in English.

Comparing with page 129 (143) of
    http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf
... (which is almost the same as the Russian drawing)

it is possible to reverse-engineer the dimensions, but I crossed
against something I don't understand straight away. The distance
between paper border and text is [1]+[3]=1 inch + 0pt + 22pt (but that
doesn't seem to be the case in A4 paper setting anyway), while width
of left margin in [10] = 106pt which makes the margin stick out of
paper, right?

One could experiment with settings like these:

\setuplayout
  [backspace=\dimexpr 1in+22pt\relax, % [1] + [3] = (1 inch +
\hoffset=0pt) + \oddsidemargin=22pt
   leftmargindistance=7pt, % [9] = \marginparsep=7pt
   leftmargin=106pt, % [10] = \marginparwidth=106pt
  ]
% etc.
\starttext
\showlayout
\inleft{some text very very very very long margin}
\input tufte
\stoptext

but the drawing in TNSS is lying a bit (or maybe ConTeXt is wrong ... :).

Mojca
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2010-08-30 15:03 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-29 17:11 Xan xan
2010-08-30  6:33 ` Hans Hagen
     [not found]   ` <AANLkTimaBwE4qnWDer+m1xvsU-10pVSjUQ7W1CcENnJB@mail.gmail.com>
2010-08-30  9:23     ` Fwd: " Xan xan
2010-08-30 10:37       ` Hans Hagen
2010-08-30 14:02       ` Yury G. Kudryashov
2010-08-30 15:03         ` Mojca Miklavec [this message]
2010-08-30 16:43           ` Hans Hagen
2010-08-31  7:39           ` xancorreu
2010-08-31  7:42             ` Taco Hoekwater
2010-08-31  8:09               ` Mojca Miklavec
2010-08-31  8:34                 ` Yury G. Kudryashov
2010-08-31  8:50                 ` Hans Hagen
2010-08-31  9:20                 ` xancorreu
2010-08-31  9:23                   ` Hans Hagen
2010-08-31  9:33                     ` xancorreu
2010-08-31 10:00                       ` Hans Hagen
2010-08-31  9:38                     ` xancorreu
2010-08-31  9:16             ` Hans Hagen
2010-08-31  9:30               ` xancorreu
2010-08-31 10:22   ` Wolfgang Schuster
2010-08-31 16:33     ` xancorreu
2010-08-31 20:29       ` Wolfgang Schuster
2010-09-01  8:04         ` xancorreu
2010-09-01  9:37           ` Arthur Reutenauer

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='AANLkTi=cMOfgnHxLqwhuwSOU1xhdhzeTQgjgdXN9y32-@mail.gmail.com' \
    --to=mojca.miklavec.lists@gmail.com \
    --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).