ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Csikos Bela <bcsikos425@freemail.hu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: \placeongrid command
Date: Thu, 14 May 2015 17:37:21 +0200 (CEST)	[thread overview]
Message-ID: <freemail.20150514173721.41733.1@fmxmldata01.freemail.hu> (raw)

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

                 reply	other threads:[~2015-05-14 15:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=freemail.20150514173721.41733.1@fmxmldata01.freemail.hu \
    --to=bcsikos425@freemail.hu \
    --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).