[NTG-context] bug with \cite in latest beta (2011.04.13)

2011-04-14 Thread Bernhard Rosensteiner
Hello all,

there are some problems with the citecommand in the latest beta. I always get a 
LuaTeX error...
Actually i was in the middle of narrowing down a bug where a \cite command in a 
caption produced a entry in the publication list of the caption text (and also 
made that sometimes interaction did not work with some references in the text), 
so i tried to update to the latest beta and now the document does not compile 
any more. Please see attached files.

best regards
Bernhard



temp.tex
Description: Binary data


temp.log
Description: Binary data


temp.pdf
Description: Adobe PDF document
___
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
___

[NTG-context] \date problem with \mainlanguage[fr] in mkiv

2011-04-14 Thread Otared Kavian
Hi Hans,

With the latest beta (ConTeXt version 2011.04.13 09:23) on the minimals I 
noticed a small bug with the command \date in mkiv: when the mainlanguage is st 
to [fr], the command \date gives:
14spaceavrilspace2011
that is the word « avril » is replaced with « spaceavrilspace ». With [it] or 
[es], there is no such problem. In mkii everything is fine.
Minimal example:

\starttext
Here there is no problem: today's date: \date
\mainlanguage[fr]
Here there is a problem: aujourd'hui: \date
\stoptext

Best regards: OK
___
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
___


[NTG-context] bibliography basics

2011-04-14 Thread Hagmann Jörg
I haven't used bibliographies before and have a few basic questions.
I am using mkiv, current version: 2011.04.03 22:32.

1. If I interpret the wiki pages correctly, the bib module is not needed for 
mkiv. On the other hand, examples I found in the archive have \usemodule[bib] 
included, although (I think) they were meant for mkiv, and leaving it out 
didn't affect the outcome. Question: has \usemodule[bib] no function in mkiv, 
never?

2. Where can I get documentation? Can Taco's bib-module documentation still be 
used? (In my experiments in some cases, not in others).

3. The very basic example on contextgarden 
(http://wiki.contextgarden.net/Bibliography_mkiv#Example_of_use) gave numbers 
in the text and an alphabetic list at the end. I added  
\setuppublications[alternative=apa]. Would that be the way to do it? Please 
change it if there is something better (according to bibmod-doc, apa should be 
default).

Thanks, Jörg
___
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
___


Re: [NTG-context] bibliography basics

2011-04-14 Thread Wolfgang Schuster

Am 14.04.2011 um 15:20 schrieb Hagmann Jörg:

 I haven't used bibliographies before and have a few basic questions.
 I am using mkiv, current version: 2011.04.03 22:32.
 
 1. If I interpret the wiki pages correctly, the bib module is not needed for 
 mkiv. On the other hand, examples I found in the archive have 
 \usemodule[bib] included, although (I think) they were meant for mkiv, and 
 leaving it out didn't affect the outcome. Question: has \usemodule[bib] no 
 function in mkiv, never?

The bibliography code was first a separate module which had been loaded with 
\usemodule[bib] but a while ago Hans added the code to contexts core. It’s no 
longer necessary to load a extra module for the functionality and when you have 
\usemodule[bib] in your document the line produce only a line at the console 
with the text “skipping obsolete module”.

 2. Where can I get documentation? Can Taco's bib-module documentation still 
 be used? (In my experiments in some cases, not in others).

The manual is now available at the wiki: http://modules.contextgarden.net/bibman

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
___

Re: [NTG-context] \date problem with \mainlanguage[fr] in mkiv

2011-04-14 Thread Wolfgang Schuster

Am 14.04.2011 um 13:33 schrieb Otared Kavian:

 Hi Hans,
 
 With the latest beta (ConTeXt version 2011.04.13 09:23) on the minimals I 
 noticed a small bug with the command \date in mkiv: when the mainlanguage is 
 st to [fr], the command \date gives:
   14spaceavrilspace2011
 that is the word « avril » is replaced with « spaceavrilspace ». With [it] or 
 [es], there is no such problem. In mkii everything is fine.
 Minimal example:
 
 \starttext
 Here there is no problem: today's date: \date
 \mainlanguage[fr]
 Here there is a problem: aujourd'hui: \date
 \stoptext

core-con.lua (missing “local v_space = variables.space“ at line 757):

local v_day  = variables.day
local v_year = variables.year
local v_month= variables.month
local v_weekday  = variables.weekday
local v_referral = variables.referral
+local v_space= variables.space

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
___


Re: [NTG-context] Setting quotes for \from

2011-04-14 Thread Wolfgang Schuster

Am 13.04.2011 um 22:35 schrieb Cecil Westerhof:

 With left- and rightquote you set the quotes used for \quote. Is there
 also a way to set the quotes used by \from?

Where are quotes when you use \from?

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
___


Re: [NTG-context] Problem with \completecontent

2011-04-14 Thread Wolfgang Schuster

Am 13.04.2011 um 22:47 schrieb Cecil Westerhof:

 The following works as expected:
\starttext
 
\completecontent
 
\chapter{one}
 
\chapter{two}
 
\chapter{three}
 
\chapter{four}
 
\stoptext
 
 But when I use the following:
\starttext
 
\chapter{one}
 
\completecontent
 
\chapter{two}
 
\chapter{three}
 
\chapter{four}
 
\stoptext
 
 Then the contents is empty. What is happening here?

Use \completecontent[criterium=all].

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
___


[NTG-context] answers

2011-04-14 Thread Hans Hagen
fyi: some of my answers of last weeks bounced (not all) but i'm not 
going to resent them as others answered as well


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Problem with \completecontent

2011-04-14 Thread Cecil Westerhof
2011/4/14 Wolfgang Schuster schuster.wolfg...@googlemail.com:
 The following works as expected:
    \starttext

    \completecontent

    \chapter{one}

    \chapter{two}

    \chapter{three}

    \chapter{four}

    \stoptext

 But when I use the following:
    \starttext

    \chapter{one}

    \completecontent

    \chapter{two}

    \chapter{three}

    \chapter{four}

    \stoptext

 Then the contents is empty. What is happening here?

 Use \completecontent[criterium=all].

Works. Thanks.

But why is there a difference between using \completecontent
immediately or later in the document.

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] Setting quotes for \from

2011-04-14 Thread Cecil Westerhof
2011/4/14 Wolfgang Schuster schuster.wolfg...@googlemail.com:
 With left- and rightquote you set the quotes used for \quote. Is there
 also a way to set the quotes used by \from?

 Where are quotes when you use \from?

My fault. I used quotes in \useURL. When changing this to \quote it works.

-- 
Cecil Westerhof
___
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
___


Re: [NTG-context] \date problem with \mainlanguage[fr] in mkiv

2011-04-14 Thread Otared Kavian
Thanks Wolfgang!
After adding the line you pointed out and remaking the formats the problem is 
solved.

Have a nice day, best regards: OK

On 14 avr. 2011, at 16:50, Wolfgang Schuster wrote:

 
 Am 14.04.2011 um 13:33 schrieb Otared Kavian:
 
 Hi Hans,
 
 With the latest beta (ConTeXt version 2011.04.13 09:23) on the minimals I 
 noticed a small bug with the command \date in mkiv: when the mainlanguage is 
 st to [fr], the command \date gives:
  14spaceavrilspace2011
 that is the word « avril » is replaced with « spaceavrilspace ». With [it] 
 or [es], there is no such problem. In mkii everything is fine.
 Minimal example:
 
 \starttext
 Here there is no problem: today's date: \date
 \mainlanguage[fr]
 Here there is a problem: aujourd'hui: \date
 \stoptext
 
 core-con.lua (missing “local v_space = variables.space“ at line 757):
 
 local v_day  = variables.day
 local v_year = variables.year
 local v_month= variables.month
 local v_weekday  = variables.weekday
 local v_referral = variables.referral
 +local v_space= variables.space
 
 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
 ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr




___
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
___