ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Andrzej Orłowski-Skoczyk" <aorlowski@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Grid typesetting
Date: Sat, 30 Oct 2010 21:42:55 +0200	[thread overview]
Message-ID: <4CCC753F.1060805@gmail.com> (raw)
In-Reply-To: <1FB07B37-F972-4C7A-B2B8-248AA49C4318@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1086 bytes --]

On 10/23/2010 06:18 AM, Wolfgang Schuster wrote:
> \setuplayout[grid=yes]
> %\showgrid
> \starttext
> \title{Example texts}
> \subject{Knuth}
> \input knuth
> \subject{Tufte}
> \input tufte
> \stoptext

Thank you very much. It worked.

This puzzled me a lot, as seemingly the same setup refused to work in my
document. Then I started to delete other preamble content step by step,
and the grid still didn't work after I removed all of it. Then I found
out that the "grid" option was not being read at all, because there was
a space character before the comma. My setuplayout looked like that:
\setuplayout[%%
	width=105mm ,%%
	height=162mm ,%%
	backspace=20mm ,%%
	topspace=18mm ,%%
	header=0pt ,%%
	footerdistance=5mm ,%%
	footer=5mm ,%%
	marking=off ,%%
	location=doublesided,%%
	veroffset=5mm ,%%
	grid=yes ,%% <<space character ruins the option
	margin=15mm ,%%
	%top=5mm ,%%
]%%

When can I use a space like that, and I can't? I found out that also
some other options can't be followed by a space. Why is that?
-- 
Andrzej Orłowski-Skoczyk


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2010-10-30 19:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22 19:59 Andrzej Orłowski-Skoczyk
2010-10-23  4:18 ` Wolfgang Schuster
2010-10-30 19:42   ` Andrzej Orłowski-Skoczyk [this message]
2010-10-31  4:28     ` 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=4CCC753F.1060805@gmail.com \
    --to=aorlowski@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).