ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Problem with context.startsection
Date: Wed, 01 Dec 2010 08:23:14 +0100	[thread overview]
Message-ID: <op.vm0xg02gtpjj8f@lpr> (raw)
In-Reply-To: <20101130213841.GA21493@micropit.couberia.bzh>

... Thanks, that was really silly mistake of mine - I was "Luaing" the original ctx code so I forgot to enclose the ttt into the context("ttt"); that was the problem.

Braces were OK - statement:

context.startsection({title = "ti", list = "li"})

may be shortened to:

context.startsection{title = "ti", list = "li"}

- that's OK in Lua.

On Tue, 30 Nov 2010 22:38:41 +0100, Peter Münster <pmlists@free.fr> wrote:

>>     context.startsection{title = "ti", list = "li"} % - but this is wrong
>
> Use "--" instead of "%" in lua mode.
>

(I wrote "%" this to the mail only.)

>
>>      ttt
>
> Should be: tex.print"ttt"

Or: context("ttt")

>
> Cheers, Peter
>

Lukas

___________________________________________________________________________________
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-12-01  7:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28 17:29 Problem with \nolist Procházka Lukáš
2010-11-28 18:00 ` Wolfgang Schuster
2010-11-28 20:54   ` Procházka Lukáš
2010-11-30 16:51   ` Problem with context.startsection (was: Problem with \nolist) Procházka Lukáš Ing. - Pontex s. r. o.
2010-11-30 17:13     ` Wolfgang Schuster
2010-11-30 21:38     ` Problem with context.startsection Peter Münster
2010-12-01  7:23       ` Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2010-12-01  9:22       ` Hans Hagen
2010-12-01 11:59         ` \enableregime (was: Re: Problem with context.startsection) Peter Münster
2010-12-01 12:13           ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-01 14:31           ` \enableregime 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=op.vm0xg02gtpjj8f@lpr \
    --to=lpr@pontex.cz \
    --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).