ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Devendra Ghate <devendra.ghate@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Possible inconsistency in the use of paragraphs in ConTeXt
Date: Fri, 01 Feb 2013 13:17:24 +0530	[thread overview]
Message-ID: <510B730C.8070506@gmail.com> (raw)
In-Reply-To: <510B72BB.8090803@swing.be>


On 02/01/2013 01:16 PM, Alain Delmotte wrote:
> Hi Wolfgang,
>
> Using MkIV, version 2013.01.24 i get an error about \defineparagraph:
>
> ! Undefined control sequence.
>
> system          > tex > error on line 25 in file first.tex: Undefined 
> control sequence ...
>
> [...]
> 24
> 25 >>  \defineparagraph[german][setups=paragraph:german]
> 26     \defineparagraph[big]   [setups=paragraph:double]
> [...]
> l.25 \defineparagraph
>                      [german][setups=paragraph:german]
> ?
> ! Emergency stop.
>
> Thanks for all the answers you, patiently, give to newbies.
>
> Regards,
>
> Alain
>

Alain,

Update MKIV. I had the same problem earlier. It works.

Devendra
>
> Le 1/02/2013 04:58, Wolfgang Schuster a écrit :
>>
>> Am 31.01.2013 um 23:02 schrieb "Keith J. Schultz"
>> <keithjschultz@web.de <mailto:keithjschultz@web.de>>:
>>
>>> Hi Wolfgang,
>>>
>>> You do seem to understand what I am getting at!
>>>
>>> I purposely put "paragraph" in quotes. because the
>>> environment that I have suggest was
>>> one that had setups for bodyfont, color, indenting etc.
>>> and one can just like the headers
>>> have control over them.
>>
>> \startsetups[paragraph:german]
>>    \language[german]
>> \stopsetups
>>
>> \startsetups[paragraph:double]
>>    \setupinterlinespace[big]
>> \stopsetups
>>
>> \startsetups[paragraph:indenting]
>>    \setupindenting[yes,medium]
>> \stopsetups
>>
>> \defineparagraph[german][setups=paragraph:german]
>> \defineparagraph[big]   [setups=paragraph:double]
>> \defineparagraph[indent][setups=paragraph:indenting]
>> \defineparagraph[red]   [color=red]
>> \defineparagraph[italic][style=italic]
>>
>> \setupwhitespace[line]
>>
>> \starttext
>>
>> \startparagraph
>> \input reich
>> \stopparagraph
>>
>> \startparagraph[german]
>> \input reich
>> \stopparagraph
>>
>> \startparagraph[big]
>> \input reich
>> \stopparagraph
>>
>> \startparagraph[indent]
>> \input reich
>> \stopparagraph
>>
>> \startparagraph[red]
>> \input reich
>> \stopparagraph
>>
>> \startparagraph[italic]
>> \input reich
>> \stopparagraph
>>
>> \stoptext
>>
>>> Furthermore, you have stated on the on the 30th:
>>>
>>>> ConTeXt provides also a paragraph environment but this
>>>> add only tags when you export the document
>>>> as XML or create a tagged PDF.
>>>>
>>>> The paragraphs (note the "s") environment has a Hans
>>>> already mentioned nothing to do with paragraphs,
>>>> it just puts the content on columns where each column can
>>>> con tai multiple paragraphs. The name
>>>> for the environment is misleading because columns is
>>>> already taken as name.
>>>
>>> Thank you anyway. I will look into creating what I need on
>>> my own. I already have an idea.
>>> Just need to figure out the implementation.
>>
>> You can use \definestartsetup or \definebuffer to create
>> your own environments.
>>
>> 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
>> ___________________________________________________________________________________ 
>>
>>
>
> ___________________________________________________________________________________ 
>
> 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
> ___________________________________________________________________________________ 
>

___________________________________________________________________________________
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:[~2013-02-01  7:47 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 16:24 \overrightarrow changed Mikael P. Sundqvist
2013-01-27 20:40 ` Hans Hagen
2013-01-27 22:02   ` Otared Kavian
2013-01-28  9:37   ` Finding documentation for ConTeXt Keith J. Schultz
2013-01-28  9:42     ` luigi scarso
2013-01-28  9:58       ` Keith J. Schultz
2013-01-28 14:23     ` Aditya Mahajan
2013-01-28 17:24       ` Keith J. Schultz
2013-01-28 17:38     ` Mari Voipio
2013-01-28 20:44       ` Keith J. Schultz
2013-01-30  9:00         ` Possible inconsistency in the use of paragraphs in ConTeXt Keith J. Schultz
2013-01-30  9:06           ` Hans Hagen
2013-01-30 15:07           ` Alain Delmotte
2013-01-30 15:08             ` Alain Delmotte
2013-01-30 18:03             ` Keith J. Schultz
2013-01-30 18:13               ` Thomas A. Schmitz
2013-01-30 18:42                 ` Alain Delmotte
2013-01-30 18:49                   ` Thomas A. Schmitz
2013-01-30 20:14                     ` Alain Delmotte
2013-01-31  0:14                   ` Keith J. Schultz
2013-01-30 18:28               ` Marco Patzer
2013-01-30 20:56           ` Wolfgang Schuster
2013-01-31  8:40             ` Keith J. Schultz
2013-01-31 16:24               ` Wolfgang Schuster
2013-01-31 22:02                 ` Keith J. Schultz
2013-02-01  3:58                   ` Wolfgang Schuster
2013-02-01  7:46                     ` Alain Delmotte
2013-02-01  7:47                       ` Devendra Ghate [this message]
2013-02-01  8:34                     ` Alain Delmotte
2013-02-01  9:56                     ` Keith J. Schultz
2013-01-29  8:43       ` Finding documentation for ConTeXt 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=510B730C.8070506@gmail.com \
    --to=devendra.ghate@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).