ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MKII & MKIV difference between \textrule
Date: Sat, 15 Sep 2012 09:28:30 +0200	[thread overview]
Message-ID: <54136F10-06A3-4032-B79F-E29CE8177712@gmail.com> (raw)
In-Reply-To: <ADB07648-5EDF-4827-8F7C-B448BC6BBCA3@perucchi.org>


Am 14.09.2012 um 23:50 schrieb Alessandro Perucchi <alessandro@perucchi.org>:

>>> And apparently the command \starttextrule ... \stoptextrule doesn't work (this was explain in the cont-entp.pdf page 204) in either mkii & mliv.
>> 
>> This does work for me:
>> 
>> \starttext
>> 
>> blah blah blah
>> 
>> \starttextrule{Testing head}
>> blah blah blah
>> \stoptextrule
>> 
>> blah blah blah
>> 
>> \stoptext
> 
> But 
> 
> \starttext
> 
> blah blah blah
> 
> \starttextrule[top]{Testing head}
> blah blah blah
> \stoptextrule
> 
> blah blah blah
> 
> \stoptext
> 
> doesn't, and this possibility is explain in the doc, but apparently it doesn't work.
> So either the doc is wrong, the command is wrong or I'm doing something wrong :-D

Remove "[top]" from \starttextrule. All possible combinations are:

\starttext

blah blah blah

\textrule{Top}
blah blah blah
\textrule

blah blah blah

\textrule[top]{Top}
blah blah blah
\textrule

blah blah blah

\textrule[top]{Top}
blah blah blah
\textrule[bottom]{Bottom}

blah blah blah

\textrule[top]{Top}
blah blah blah
\textrule[middle]{Middle}
blah blah blah
\textrule[bottom]{Bottom}

blah blah blah

\starttextrule{Top}
blah blah blah
\stoptextrule

blah blah blah

\stoptext

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


  parent reply	other threads:[~2012-09-15  7:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-13 22:08 Alessandro Perucchi
2012-09-14 11:26 ` Wolfgang Schuster
2012-09-14 21:50   ` Alessandro Perucchi
2012-09-14 22:12     ` luigi scarso
2012-09-15  6:31       ` Alessandro Perucchi
2012-09-15  7:28     ` Wolfgang Schuster [this message]
2012-09-15 10:00       ` Alessandro Perucchi
2012-09-15 10:23         ` Sietse Brouwer
2012-09-16 10:39   ` Hans Hagen

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=54136F10-06A3-4032-B79F-E29CE8177712@gmail.com \
    --to=wolfgang.schuster@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).