Re: [NTG-context] Problem getting output

2009-02-18 Thread Yue Wang

 kpathsea: Running mktextfm lmtypewriter10-regular
 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
 input lmtypewriter10-regular
 This is METAFONT, Version 2.718281 (Web2C 7.5.7)

 kpathsea: Running mktexmf lmtypewriter10-regular

 ! I can't find file `lmtypewriter10-regular'.
 * ...; nonstopmode; input lmtypewriter10-regular


I think it should use lmtypewriter10-regular.ttf in
the texmf-context\fonts\truetype\hoekwater\lm directory.
It's a ttf file. Maybe XeTeX tries to find the tfm file?
BTW, Why not use lmmono10-regular?


Yue Wang
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problem getting output

2009-02-18 Thread Taco Hoekwater


Yue Wang wrote:
 kpathsea: Running mktextfm lmtypewriter10-regular
 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
 nonstopmode; input lmtypewriter10-regular
 This is METAFONT, Version 2.718281 (Web2C 7.5.7)
 
 kpathsea: Running mktexmf lmtypewriter10-regular
 
 ! I can't find file `lmtypewriter10-regular'.
 * ...; nonstopmode; input lmtypewriter10-regular
 
 
 I think it should use lmtypewriter10-regular.ttf in
 the texmf-context\fonts\truetype\hoekwater\lm directory.

I don't really know what happens and have no time to jump into
it right now, but that ttf is never used by context, I know that
for a fact. Isn't the cause simply a non-installed Latin Modern
package?


Best wishes,
Taco
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] blocks in LuaTex

2009-02-18 Thread Wolfgang Schuster


Am 17.02.2009 um 21:00 schrieb batela:


Thanks.


another problem that I fount in this approach to make my exams is  
the impossibility of itemize  the Question environment.  It is easy  
to numerate the questions like Question 1, Question 2   and so  
on, but i would like to divide some questions in some items. For  
example if my third  question is a group  of questions the  
numeration should be Question 3.1, Question 3.2 


What is the best approach for that?


You can use subenumerations like \startsubQuestion ... \stopsubQuestion,
it's explained in the manual.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] BibTeX problems (urgent): warning: cite argument bridson unknown on 139

2009-02-18 Thread Xan

En/na Aditya Mahajan ha escrit:

On Tue, 17 Feb 2009, Xan wrote:


Hi,

I have a context mem2.tex document with:

% Modules
\usemodule[bib]
\usemodule[bibltx]


You do not need bibltx if you are using a bib file.


% Bibliography options
\setupbibtex[database=mem2]
\setuppublications [numbering=yes, sort=author, criterium=all]
\setuppublications [alternative=ams]
\setupheadtext[ca][pubs=Referències]
\setuppublicationlist[authoretallimit=3]
\setuppublicationlist[authoretaltext={\it\  et al.}]
\setuppublicationlist[authoretaldisplay=1]



and mem2.bib with:

@Book{craft,
author = Wayne C. Booth and Gregory G. Colomb and Joseph M. 
Williams,

title =  The Craft of Research,
publisher =  The University of Chicago Press,
year =  2008,
address = Chicago,
edition = Third
}

@unpublished{nagorko,
author = Nagórko, Andrzej,
title =  { I}ntroduction to Geometric Group Theory. {A}n 
introductory talk about basic notions of Geometric Group Theory, with 
emphasis on asymptotic invariants of groups,

year =  2007,
note = \from[nagorko-pdf] (accedida el febrer de 2009). Pareix 
que forma part del seminari Probability and Ergodic Theory

}

@Book{llibre-estil,
editor = {Govern de les Illes Balears},
title = Llibre d'estil,
publisher = amadip.esment,
year = 2006,
pages = 614,
note = \from[govern-me] (accedida el febrer de 2009)

}

@article{bridson,
author = Martin R. Bridson,
title = On the geometry of normal forms in discrete groups,
journal = Proceedings of the London Mathematical Society,
year = 1993,
volume = 67,
pages = 595-616
}

@manual{context-eni,
title = Con\TeX t, the manual,
author = Hans Hagen,
year = 2001,
month = nov,
organization = Pragma-{ADE},
address = Ridderstraat 27, 8061GH Hasselt. Països Baixos,
note = \from[context-manual-pdf], \from[contextgarden]
}

@article{scm,
title = Com cal escriure en matemàtiques,
author = Paul R. Halmos,
journal = Butlletí de la Societat Catalana de Matemàtiques,
volume = 21,
number = 1,
year = 2006,
pages = 53-79
}

@book{epstein,
author = Epstein, David B. A. and J. W. Cannon and D. F. Holt and S. 
V. F. Levy and M. S. Paterson and W. P. Thurston,

title = Word processing in groups,
publishers=Jones and Barlett Publishers,
year= 1992
}

@unpublished{article,
author = Xavier Bordoy,
title =  { U}na generalització de l'amplada d'una secció,
year =  2009,
note = Com a part de l'assignatura Tècniques de recerca i 
comunicació científica

}

When I run texec, it gives more lot of errors:
warning: cite argument [reference] unknown on 139


My test file works fine here.


I don't know why I do wrong.

(I use \cite[nagorko] for example)


Try to create a complete minimal example, like

\starttext
In an interesting work \cite[nagorko] , \unknown
\placepublications
\stoptext

and tell what the exact error message is.

Aditya


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
  

This minimal example works well. So I don't know what fails.
I will send you a private message with the document. If in my document I 
substitute ams by apa-fr it shows cite items, sttrange.


Thanks,
Xan.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Creating a nomenclature section?

2009-02-18 Thread Michael Bynum
Yes, I think this will suit my needs.  Thank you.  I have one
additional question though.  In the command
\definesynonyms[nomenclature][nomenclatures][\infull]

What does the [nomenclatures] field do?  Looking at the manual it
seems to be the plural name input, but what purpose does it serve?



On Tue, Feb 17, 2009 at 1:58 PM, Carsten Fechtmann
fe...@zarm.uni-bremen.de wrote:
 Dear Mike

 if something simple is what you had in mind for this, you might want to try
 this:

 \definesynonyms[nomenclature][nomenclatures][\infull]
 \setupsynonyms[nomenclature] %[criterium=all]

 \starttext
 \completelistofnomenclatures

 \section{Some section}

 % these could be placed anywhere
 \nomenclature[PI]{$\pi$}{the ratio of the circumference with respect to the
 diameter of a circle}
 \nomenclature[Dia]{$d$}{the diameter of a circle}
 % References to them can be placed inside the definition,
 % you might want to write a macro for that if that is a feature you use
 often

 \input knuth

 This is the symbol \PI. Please note that no math mode has to be used here as
 that is taken care of in the definition.
 % Nor for the diameter \Dia.

 And just using the list of nomenclatures again:

 \placelistofnomenclatures
 Produces a list (sorted) of all or all used 'nomenclatures'. See also the
 section about abbreviations in the ConTeXt handbook.

 There is also the \type{...register} suite of commands if page entries etc.\
 are more what is needed.
 \stoptext

 Cheers
 Carsten

 Am 12.02.2009 um 21:00 schrieb Michael Bynum:

 I haven't been able to find any documentation about producing a
 nomenclature section in a document using context.  In the absence of a
 command/module providing the functionality of something like the
 nomencl package in latex, I was wondering if anyone else had an
 elegant work around for this issue.  I guess I could just use a list
 to make a nomenclature section, but that would lose a lot of the
 functionality that makes something like nomencl useful.

 Mike

 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] indenting

2009-02-18 Thread Xan

I have the following enumeration:
\defineenumeration
 [definition]
 [text=Definició,headstyle=bold,style=italic,
  between=\blank,titledistance=.5em,
  textdistance=1em,stopper=.,location=hanging,titleleft=(,titleright=)]

and when I use it (\startdefinition ... \stopdefinition) it appears not 
indenting.
I want to indenting it, but \indenting before \startdefinition does not 
work.


How can do that?

Thanks in advance,
Xan.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] BibTeX problems (urgent): warning: cite argument bridson unknown on 139

2009-02-18 Thread Xan

En/na Xan ha escrit:

En/na Aditya Mahajan ha escrit:

On Tue, 17 Feb 2009, Xan wrote:


Hi,

I have a context mem2.tex document with:

% Modules
\usemodule[bib]
\usemodule[bibltx]


You do not need bibltx if you are using a bib file.


% Bibliography options
\setupbibtex[database=mem2]
\setuppublications [numbering=yes, sort=author, criterium=all]
\setuppublications [alternative=ams]
\setupheadtext[ca][pubs=Referències]
\setuppublicationlist[authoretallimit=3]
\setuppublicationlist[authoretaltext={\it\  et al.}]
\setuppublicationlist[authoretaldisplay=1]



and mem2.bib with:

@Book{craft,
author = Wayne C. Booth and Gregory G. Colomb and Joseph M. 
Williams,

title =  The Craft of Research,
publisher =  The University of Chicago Press,
year =  2008,
address = Chicago,
edition = Third
}

@unpublished{nagorko,
author = Nagórko, Andrzej,
title =  { I}ntroduction to Geometric Group Theory. {A}n 
introductory talk about basic notions of Geometric Group Theory, 
with emphasis on asymptotic invariants of groups,

year =  2007,
note = \from[nagorko-pdf] (accedida el febrer de 2009). Pareix 
que forma part del seminari Probability and Ergodic Theory

}

@Book{llibre-estil,
editor = {Govern de les Illes Balears},
title = Llibre d'estil,
publisher = amadip.esment,
year = 2006,
pages = 614,
note = \from[govern-me] (accedida el febrer de 2009)

}

@article{bridson,
author = Martin R. Bridson,
title = On the geometry of normal forms in discrete groups,
journal = Proceedings of the London Mathematical Society,
year = 1993,
volume = 67,
pages = 595-616
}

@manual{context-eni,
title = Con\TeX t, the manual,
author = Hans Hagen,
year = 2001,
month = nov,
organization = Pragma-{ADE},
address = Ridderstraat 27, 8061GH Hasselt. Països Baixos,
note = \from[context-manual-pdf], \from[contextgarden]
}

@article{scm,
title = Com cal escriure en matemàtiques,
author = Paul R. Halmos,
journal = Butlletí de la Societat Catalana de Matemàtiques,
volume = 21,
number = 1,
year = 2006,
pages = 53-79
}

@book{epstein,
author = Epstein, David B. A. and J. W. Cannon and D. F. Holt and 
S. V. F. Levy and M. S. Paterson and W. P. Thurston,

title = Word processing in groups,
publishers=Jones and Barlett Publishers,
year= 1992
}

@unpublished{article,
author = Xavier Bordoy,
title =  { U}na generalització de l'amplada d'una secció,
year =  2009,
note = Com a part de l'assignatura Tècniques de recerca i 
comunicació científica

}

When I run texec, it gives more lot of errors:
warning: cite argument [reference] unknown on 139


My test file works fine here.


I don't know why I do wrong.

(I use \cite[nagorko] for example)


Try to create a complete minimal example, like

\starttext
In an interesting work \cite[nagorko] , \unknown
\placepublications
\stoptext

and tell what the exact error message is.

Aditya


___ 

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 

  

This minimal example works well. So I don't know what fails.
I will send you a private message with the document. If in my document 
I substitute ams by apa-fr it shows cite items, sttrange.


Thanks,
Xan.
___ 

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 


Thanks to Aditya, the error is fixing just changing

\completepublications

to

\completepublications[criterium=all].

I post it for useful for future people with the same error.

And, thanks to all of you that helped me. Publicly, thank you.

Xan.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Inverted exclamation / question marks

2009-02-18 Thread Pau
Hello,

I am trying to write a text in Castillian and I don't get the inverted
exclamation symbol right. I am using

\language[es]
\mainlanguage[es]

in the preamble and I also tried playing with utf without success.
Instead of ¡ and ¿ I get an a with a cedilla and a pound symbol,
respectively

Of course, I can use {!`} and {?`}, but I was wondering why I don't
get these right using \language

I have done my homework and have googled, yahoo'ed and even clustied

hint?

thanks,

Pau
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Inverted exclamation / question marks

2009-02-18 Thread Aditya Mahajan

On Wed, 18 Feb 2009, Pau wrote:


Hello,

I am trying to write a text in Castillian and I don't get the inverted
exclamation symbol right. I am using


Add

\enableregime[utf-8]


\language[es]
\mainlanguage[es]

in the preamble and I also tried playing with utf without success.
Instead of ¡ and ¿ I get an a with a cedilla and a pound symbol,
respectively

Of course, I can use {!`} and {?`}, but I was wondering why I don't
get these right using \language

I have done my homework and have googled, yahoo'ed and even clustied


Aditya___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Inverted exclamation / question marks

2009-02-18 Thread Pau
Hello,

thanks, I had already tried that. This yields another problem. All
accents etc are giving this:

! Improper alphabetic constant.
to be read again
   \blank
\utffouruniglph @b *(`#2-\...@g )+\...@a *(`#3
  -\...@g )+`#4-\...@g \relax }
l.66   \blank[
  5cm]  ...


Using \enableregime[utf-16] gets rid of it but the inverted marks
problem remains the same.

???

Pau


2009/2/18 Aditya Mahajan adit...@umich.edu:
 On Wed, 18 Feb 2009, Pau wrote:

 Hello,

 I am trying to write a text in Castillian and I don't get the inverted
 exclamation symbol right. I am using

 Add

 \enableregime[utf-8]

 \language[es]
 \mainlanguage[es]

 in the preamble and I also tried playing with utf without success.
 Instead of ¡ and ¿ I get an a with a cedilla and a pound symbol,
 respectively

 Of course, I can use {!`} and {?`}, but I was wondering why I don't
 get these right using \language

 I have done my homework and have googled, yahoo'ed and even clustied

 Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Inverted exclamation / question marks

2009-02-18 Thread Pau
Can you please try this?


\language[es]
\mainlanguage[es]
\enableregime[utf-8]
\starttext
¡Hola! ¿Me ves bien?
\stoptext


thanks
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2009-02-18 Thread Dohyun Kim
2009/2/18 Hans Hagen pra...@wxs.nl:
 Hi,

 There is a new beta: a few additions to math as well as a prelude to new cjk
 support, now to be triggered explicitly (since the methods differ too much
 we cannot share them)

 \setscript[hangul]

 \setscript[hanzi]% arthur, is this the right name?


I have tested Chinese translation of Universal Declaration of Human Rights
available at http://www.un.org/chinese/hr/issue/udhr.htm .

1.
\**thedefinedfont** 认
\glue 0.0 plus 20.0 %% line break should not occur
\**thedefinedfont** , % U+FF0C
\glue 0.0 plus 20.0
\**thedefinedfont** 乃

Line break is prohibited before U+FF0C (fullwidth comma)
but current beta inserts glue.  This should be corrected.
The same for U+FF1B (fullwidth semicolon).

2.
\**thedefinedfont** 由
\penalty 1
\glue 0.0 plus 20.0
\**thedefinedfont** 、 % U+3001
\penalty 1 %% this should be deleted
\glue 0.0 minus 5.0
\glue 0.0 plus 20.0
\**thedefinedfont** 正

Line break is allowed after U+3001 (ideographic comma),
so \penalty1 after U+3001 should not be inserted.
The same for U+3002 (ideographic full stop).

3.
I don't know much about Chinese typesetting, but IMO
it would be better if these full width CJK punctuations
is forced to half width and 0.5em glue is inserted after
those characters.

Dohyun Kim
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2009-02-18 Thread Yanrui Li
2009/2/18 Dohyun Kim nomosno...@gmail.com:

 We have three more things to do, however.

 1.  inter_char_stretch_factor = 2.00 seems to be too large value.
 I do not think that even Chinese or Japanese would allow that big value.
 I suggest 0.50 instead.   Mr Wang, how do you think about that?


I modified these value as follows:

fonts.analyzers.methods.hang_data = {
inter_char_stretch_factor = 0.50,
inter_char_half_factor= 0.25,
inter_char_half_shrink_factor = 0.25,
}

However I had to tolerate the problem of Chinese puncuations appeared
on the right side of pages which often affect the aesthetic feel of
typesetting.

-- 
Best wishes,
Li Yanrui

* Gentoo Linux (~x86)
* LuaTeX (snapshot-0.31.3-2008122919)
* ConTeXt Minimals (2009.01.18 14:39)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___