ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \placeongrid command
@ 2015-05-14 15:37 Csikos Bela
  0 siblings, 0 replies; only message in thread
From: Csikos Bela @ 2015-05-14 15:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]

Hello list members:

Based on co-pagedesign.pdf document I'm experimenting with grids.

I followed the examples mentioned on page 9-10 (Section 1.5) and used the code below:

%begin code
\setuplayout[grid=yes]
\showgrid

\starttext

This is a line.

This is another line in another paragraph.

Third line, new paragraph again.

\placeongrid{\framed{This is a framed line placed on grid, default setup.}}

Some text.

\placeongrid[bottom]{\framed{This is a framed line placed on grid bottom.}}

Some text.

\placeongrid[top]{\framed{This is a framed line placed on grid top.}}

Some text.

\placeongrid[both]{\framed{This is a framed line placed on grid both.}}

Some text.

\stoptext
%end code

All \placeongrid commands with different options give the same output.
See the attached pdf file.
What do I do wrong?

I have context ConTeXt
ver: 2014.01.03 00:40 MKIV current fmt: 2015.4.1 int: english/english

I have another question related to grids. When grids are shown in the pdf
file (as a result of \showgrid), Adobe Reader 9.5 (linux version) always gives
the following error message when opening the file:

"An error exists on this page. Acrobat may not display the page correctly. Please
contact the person who created the PDF document to correct the problem."

Despite of the message the file is shown correctly.

Why is this message shown?

Thanks,

bcsikos

[-- Attachment #2: placeongrid.pdf --]
[-- Type: application/pdf, Size: 22125 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-14 15:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-14 15:37 \placeongrid command Csikos Bela

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