Re: [NTG-context] problem with mathaligned in MkIV

2009-11-15 Thread Chen Shen
I tried the beta version of 2009.11.13. Seems that Hans has fixed this in
MkIV.
Thanks a lot, Aditya and Hans.

best regards,
shenchen

On Thu, Nov 5, 2009 at 11:17 AM, Aditya Mahajan adit...@umich.edu wrote:

 On Wed, 4 Nov 2009, Aditya Mahajan wrote:

  On Thu, 5 Nov 2009, Chen Shen wrote:

  I was using the following macro from Aditya's Mathalign My Way.

 It worked great with MkII and old versions of MkIV.


 However, it failed in recent versions of MkIV (e.g. 2009.11.2).

 Apparently, the \makesectionnumber and \rawreference macros have be
 removed.

 I wonder if anyone can give pointers on how to fix this.


 A cleaner way to achieve the same output is

 \starttext

 \startsubformulas[eq:sub]
 \placesubformula


 Sorry, this should have been \placeformula.


  \startformula \startalign
 \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
 \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2]
 \stopalign \stopformula
 \stopsubformulas

 \stoptext

 but this seems to be broken in mkiv. Hans, any idea what is going wrong
 here?

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


[NTG-context] itemize / text indent

2009-11-15 Thread Wolfgang Schuster


1.tex
Description: Binary data

Hi,

there had been a question on the list from Vyatcheslav Yatskovsky how to get 
indented text
inside of itemize and after i spent a few hours on this problem the answer is 
it's not possible.

His example (simplified from me) was:

\setupindenting[yes,big]

\starttext

text text text text text text text text text text text text text text text text 
text text text text text text text text

\startitemize[text][indenting={yes,first,big}]

\item text text text text text text text text text text text text text text 
text text text text text text text text text text

\item text text text text text text text text text text text text text text 
text text text text text text text text text text

\item text text text text text text text text text text text text text text 
text text text text text text text text text text

\stopitemize

text text text text text text text text text text text text text text text text 
text text text text text text text text

\stoptext

and as you can see the second and all following items are indented but this has 
nothing to do with
indenting and is a side effect of the 'text' option which is meant for inline 
items where no blank
line is expected between the '\item'’s because the should be all in the same 
paragraph as in:

\setupindenting[yes,big]

\starttext

text text text text text text text text text text text text text text text text 
text text text text text text text text
\startitemize[text]
\item text text text text text text text text text text text text text text 
text text text text text text text text text text
\item text text text text text text text text text text text text text text 
text text text text text text text text text text
\item text text text text text text text text text text text text text text 
text text text text text text text text text text
\stopitemize
text text text text text text text text text text text text text text text text 
text text text text text text text text

\stoptext

Even tough the 'text' option is wrong here (because 'joinedup' gives the same 
output but without indentation) we should
take care of this and insert the distance between the items only in horizontal 
mode.

To do so change in the definition for \complexdoitemgroupitem the following 
line:

   \else
 \ifconditional\textlistitem % was bugged: \inlinelistitem
   
\removeunwantedspaces\hskip\emwidth\!!plus\interwordstretch\!!minus\interwordshrink\relax
 % new per 2006/10/20
 \else
   \iteminbetweencommand
 \fi
   \fi

to

   \else
 \ifconditional\textlistitem % was bugged: \inlinelistitem
   \ifhmode
 
\removeunwantedspaces\hskip\emwidth\!!plus\interwordstretch\!!minus\interwordshrink\relax
 % new per 2006/10/20
   \fi
 \else
   \iteminbetweencommand
 \fi
   \fi

and while we already change this make the space between the items changeable, 
e.g. with (old feature request in the list archive)

   \else
 \ifconditional\textlistitem % was bugged: \inlinelistitem
   \ifhmode
 \processaction
   [\getitemparameter\currentitemlevel\c!space]
   [   \v!none=\let\textitemdistance\zeropoint,

\s!unknown=\assignvalue\commalistelement\textitemdistance{.5\interwordspace\!!plus.5\emwidth}{\interwordspace\!!plus\emwidth}{\emwidth\!!plus\interwordstretch\!!minus\interwordshrink}]%
 \removeunwantedspaces\hskip\textitemdistance\relax
   \fi % new per 2006/10/20
 \else
   \iteminbetweencommand
 \fi
   \fi


The next point is to enable the indenting parameter which isn't functioning at 
all because at the start of each
item command (\dolistitem) a \noindent command prevents it from working. One 
way to fix is to replace \noitem
with \checkindentation\ifindentation\indent\else\noindent\fi and 
\indentationfalse to startitemgroup.

When these changes are done one could indent the text in itemize with:

\setupindenting[yes,big]

\starttext

text text text text text text text text text text text text text text text text 
text text text text text text text text

\startitemize[joinedup,intext][indenting={yes,first,big}]

\item text text text text text text text text text text text text text text 
text text text text text text text text text text

\item text text text text text text text text text text text text text text 
text text text text text text text text text text

\stopitemize

text text text text text text text text text text text text text text text text 
text text text text text text text text

\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

[NTG-context] footnote-number-alignment

2009-11-15 Thread Achim Jander

Hello,
after struggling some weeks to get everything to work, i'm now
nearly satisfied with typsetting via context. But there is one
problem left for that i cant find any solution, even after googling
for hours.
I am typesetting documents with a large amount of footnotes, and
want to have the footnote-number aligned to the correct decimal place.
The footnotes appear in an numbered-list style.
To explain:
page one has footnotes 1 to 8, numbers are left-aligned, everything is good

-
1 footnotetext
2 footnotetext
3 footnottext

8 footnotetext

page two has footnotes 9 to 12, so I want to have

9 footnotetext
10 footnotetext
...

but i only get:
9 footnotetext
10 foootnotextex.

I think, there is no easy solution, but maybe someone can give me a push
to the direction how i can realize that behaviour (btw same problem is with
numbered lists, and to make it really complicated, i do need the 
behaviour even

with multicolumn footnotes)
Any hint is welcome,

Thanks a lot
Achim Jander
___
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] Fonts disappeared after updating ConTeXt

2009-11-15 Thread Mika Ritola
Hello,

I just updated ConTeXt to the latest version (2009.11.13 12:45), and now all
the fonts I have installed on my system seem to have mysteriously
disappeared from ConTeXt's sight. Running mtxrun --script fonts --list
displays only the fonts that are installed in the ConTeXt directory. I'm
using Linux and fontconfig finds all the fonts just fine. Until now, I
haven't had any problems using the fonts on my system after an update
without any further actions. I did, however, run

luatools --selfupdate
mtxrun --selfupdate
luatools --generate
context --make

just to make sure that everything is up-to-date but that didn't make any
difference.

Have any font-related changes been made to ConTeXt in the past few weeks
(the previous version that I used was from maybe a month ago) or what could
be the cause of this?

Mika
___
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] footnote-number-alignment

2009-11-15 Thread Wolfgang Schuster

Am 15.11.2009 um 11:16 schrieb Achim Jander:

 Hello,
 after struggling some weeks to get everything to work, i'm now
 nearly satisfied with typsetting via context. But there is one
 problem left for that i cant find any solution, even after googling
 for hours.
 I am typesetting documents with a large amount of footnotes, and
 want to have the footnote-number aligned to the correct decimal place.
 The footnotes appear in an numbered-list style.
 To explain:
 page one has footnotes 1 to 8, numbers are left-aligned, everything is good

\setupfootnotedefinition[headalign=flushright,width=2em,distance=1em]

This feature is rather new and you need a recent context.

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] Fonts disappeared after updating ConTeXt

2009-11-15 Thread luigi scarso
On Sun, Nov 15, 2009 at 11:38 AM, Mika Ritola the.thin@gmail.com wrote:
 Hello,

 I just updated ConTeXt to the latest version (2009.11.13 12:45), and now all
 the fonts I have installed on my system seem to have mysteriously
 disappeared from ConTeXt's sight. Running mtxrun --script fonts --list
 displays only the fonts that are installed in the ConTeXt directory. I'm
 using Linux and fontconfig finds all the fonts just fine. Until now, I
 haven't had any problems using the fonts on my system after an update
 without any further actions. I did, however, run

 luatools --selfupdate
 mtxrun --selfupdate
 luatools --generate
 context --make

 just to make sure that everything is up-to-date but that didn't make any
 difference.

 Have any font-related changes been made to ConTeXt in the past few weeks
 (the previous version that I used was from maybe a month ago) or what could
 be the cause of this?
Are you using minimals ?




-- 
luigi
___
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] Fonts disappeared after updating ConTeXt

2009-11-15 Thread Mika Ritola
2009/11/15 luigi scarso luigi.sca...@gmail.com

 On Sun, Nov 15, 2009 at 11:38 AM, Mika Ritola the.thin@gmail.com
 wrote:
  Hello,
 
  I just updated ConTeXt to the latest version (2009.11.13 12:45), and now
 all
  the fonts I have installed on my system seem to have mysteriously
  disappeared from ConTeXt's sight. Running mtxrun --script fonts --list
  displays only the fonts that are installed in the ConTeXt directory. I'm
  using Linux and fontconfig finds all the fonts just fine. Until now, I
  haven't had any problems using the fonts on my system after an update
  without any further actions. I did, however, run
 
  luatools --selfupdate
  mtxrun --selfupdate
  luatools --generate
  context --make
 
  just to make sure that everything is up-to-date but that didn't make any
  difference.
 
  Have any font-related changes been made to ConTeXt in the past few weeks
  (the previous version that I used was from maybe a month ago) or what
 could
  be the cause of this?
 Are you using minimals ?

 Yes, I use first-setup.sh to update.

Mika
___
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] Fonts disappeared after updating ConTeXt

2009-11-15 Thread Alan BRASLAU
On Sunday 15 November 2009 13:09:42 Mika Ritola wrote:
 2009/11/15 luigi scarso luigi.sca...@gmail.com
 
  On Sun, Nov 15, 2009 at 11:38 AM, Mika Ritola the.thin@gmail.com
 
  wrote:
   Hello,
  
   I just updated ConTeXt to the latest version (2009.11.13 12:45), and
   now
 
  all
 
   the fonts I have installed on my system seem to have mysteriously
   disappeared from ConTeXt's sight. Running mtxrun --script fonts
   --list displays only the fonts that are installed in the ConTeXt
   directory. I'm using Linux and fontconfig finds all the fonts just
   fine. Until now, I haven't had any problems using the fonts on my
   system after an update without any further actions. I did, however, run
  
   luatools --selfupdate
   mtxrun --selfupdate
   luatools --generate
   context --make
  
   just to make sure that everything is up-to-date but that didn't make
   any difference.
  
   Have any font-related changes been made to ConTeXt in the past few
   weeks (the previous version that I used was from maybe a month ago) or
   what
 
  could
 
   be the cause of this?
 
  Are you using minimals ?
 
  Yes, I use first-setup.sh to update.
 
 Mika
 

Using the minimals without any further configuration efforts,
I have *never* been able to acces to my system installed fonts
(as seen by fc-list).
This has been, for a while now, on my list of tasks
to try to understand and to resolve,
so I am interested by this subject...

Alan
___
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] system fonts (was: Fonts disappeared after updating ConTeXt)

2009-11-15 Thread Wolfgang Schuster

Am 15.11.2009 um 13:38 schrieb Alan BRASLAU:

 Using the minimals without any further configuration efforts,
 I have *never* been able to acces to my system installed fonts
 (as seen by fc-list).
 This has been, for a while now, on my list of tasks
 to try to understand and to resolve,
 so I am interested by this subject...

ConTeXt looks for system fonts only on Windows and Mac OS X (the paths are set 
in data-res.lua),
for others system you need the OSFONTDIR variable. When you want the same 
feature on Linux Hans
has to know where system fonts are stored and if these directories are the same 
on each distribution.

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] itemize / text indent

2009-11-15 Thread Vyatcheslav Yatskovsky

Hello Wolfgang

there had been a question on the list from Vyatcheslav Yatskovsky how to get 
indented text
inside of itemize

Thank you very much! It works like charm now.

1) Will this fix be applied to core files?

2) How can I control the distance between the mark and item text? The 
space seems too big.


Thankfully,
Vyatcheslav


___
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] itemize / text indent

2009-11-15 Thread Wolfgang Schuster

Am 15.11.2009 um 15:27 schrieb Vyatcheslav Yatskovsky:

 2) How can I control the distance between the mark and item text? The space 
 seems too big.

Use the 'width' and 'distance' keys.

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] BibTeX/Publications

2009-11-15 Thread Andreas Harder
Hi all!I've two or more problems withbibliographies:1) look at the attached attachment, the first brace.2)@book{b,title={B Titel B},author={Brüser}, % error - ü!!!year={2000},publisher={VS Verlag}}3) I want "just get a typeset version of the used database" (without \cite[a,b,c,d]), how to achieve this?

test-bib.bib
Description: Binary data


test-bibtex.tex
Description: Binary data


test-bibtex.pdf
Description: Adobe PDF document
Many thanks and greetings	Andreas___
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] local footnote (Tables) problem

2009-11-15 Thread Wolfgang Schuster

Am 14.11.2009 um 17:05 schrieb Bowen Alan C.:

 After further experimentation, I am still stumped; so I am resending this.

\showframe

\starttext

\dorecurse{3}{\input knuth\par}

\start

\setuptables
  [bodyfont=9pt,
   width=\textwidth,
   rulethickness=0.03em,
   distance=big,
   split=yes]

\placetable
  [top,nonumber]
  [tab:Table03]
  {Table 3}
  {\startlocalfootnotes[conversion=character,bodyfont=9pt]
   \placelegend
 {\startframedtext[frame=off,offset=none,width=fit]
  \starttablehead
  \HL[3]
  \NC \REF[c]{\switchtobodyfont[11pt]Column A} \NC 
\REF[c]{\switchtobodyfont[11pt]Column B} \NC\SR
  \HL
  \stoptablehead
  \starttable[|p(11.5pc)|p(11.5pc)|]
  \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR
  \NC Text A\note[a]\NC Text B\note[b]\NC\SR
  \stoptable
  \stopframedtext}
 {\footnotetext[a]{A local footnote.}
  \footnotetext[b]{Another local footnote.}
  \hskip2pc\mbox{\placelocalfootnotes}}
   \stoplocalfootnotes}

\stop

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


Re: [NTG-context] BibTeX/Publications

2009-11-15 Thread Thomas A. Schmitz


On Nov 15, 2009, at 4:11 PM, Andreas Harder wrote:


Hi all!

I've two or more problems with bibliographies:

1) look at the attached attachment, the first brace.


I guess you mean the parenthesis. That appears to be a bug with the  
refcommands author and authoryears. If you use refcommand=authoryear,  
the output looks right. Hans, Taco?




2) @book{b,
  title={B Titel B},
  author={Brüser}, % error - ü!!!
  year={2000},
  publisher={VS Verlag}
}



Something is fishy with your file. I suspect your editor doesn't  
really support utf8. If you look into the bbl-file which is produced,  
you'll see the effect. When I try here with a file in a proper utf  
encoding, I don't get the error.


3) I want just get a typeset version of the used database (without  
\cite[a,b,c,d]), how to achieve this?


I was going to write add criterium=all to the \setuppublications  
command, but it worketh not.


Thomas
___
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] mkiv math delimiters and |

2009-11-15 Thread Hans Hagen

Aditya Mahajan wrote:

On Sun, 15 Nov 2009, Taco Hoekwater wrote:


Aditya Mahajan wrote:


The attached patch gives a working solution for lmmath but does not 
work with cambria. I don't know if the latter is a fault of context 
mkiv or luatex.


Does not work as in: no error, but no delimiter either?


No scaled delimiter. There is no difference between \left and .


That would
be a side-effect of Cambria not having defined successors for LESS THAN.


I personally do not like this behavior of plain tex, with \left being 
same as \left\langle. In the long run, all such delimiters should be 
defined similar to mathml fences,


\definemathfence[average][left=\langle, right=\rangle, scale=auto|none]

etc. Should we be really supporting this in MKIV?


i don't know.

what i observe is that when we use \left\langle always (which is what we 
do in mathml in order to play safe) the first level symbol is always a 
bit bigger than just an 


maybe it's just a matter of thresholds or prepending a smaller  to the 
list


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] mkiv math delimiters and |

2009-11-15 Thread Hans Hagen

Taco Hoekwater wrote:

Aditya Mahajan wrote:
I personally do not like this behavior of plain tex, with \left being 
same as \left\langle. In the long run, all such delimiters should be 
defined similar to mathml fences,


\definemathfence[average][left=\langle, right=\rangle, scale=auto|none]

etc. Should we be really supporting this in MKIV?


That is a question for Mojca and Hans, I think. FWIW, I do not like it
that much either, as there *is* a proper character for this nowadays.


indeed we should stick to what unicode provides; if some symbols is 
missing in lm or tx/pr ... we could fake it as i don't like returning to 
the times where each exception became a command with per font a 
different one


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] itemize / text indent

2009-11-15 Thread Vyatcheslav Yatskovsky

On 15.11.2009 17:08, ntg-context-requ...@ntg.nl wrote:

2) How can I control the distance between the mark and item text? The space 
seems too big.
 

Use the 'width' and 'distance' keys.

Wolfgang


   

Thank you! Actually, n*serried works excellent, as in my final setup:

\setupitemize[each][1,joinedup,intext,1*serried][indenting={yes,first,big}]


Regards,
Vyatcheslav
___
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] setupsystem command

2009-11-15 Thread curiouslearn
I wanted to bring this  to your attention. It seems that setupsystem[random= ]
command does not work with MKIV. If I use different numbers for [random= ] 
option the arrangement of items changes when compiled with MKII but do not
change when compiled with MKIV.

I tried emailing the above message with my email, but it bounced everytime I
sent it. Do you know what might have happened.

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


[NTG-context] Troubles with columnsets and MacTeX 2009

2009-11-15 Thread No?
Hi,

I've been having issues with columns and \start(stop)bodymatter statements
since I updated MacTeX to 2009.

Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed)
version, and which crashes on MacTeX 2009.

In both cases, the code was compiled using TeXShop in ConTeXT mode. This
was tested on another Mac and the results are the same.

Note that if you comment out the \start(stop)bodymatter statements in the
TeX code, it actually compiles, but the text is missing (that is, only the
titles of the sections show up in the PDF!).

In the end:
# Scenario 1: MacTeX 2008: everything is fine
# Scenario 2: MacTeX 2008, *bodymatter statements commented out: everything
is fine
# Scenario 3: MacTeX 2009: code won't compile. Error message listed below
# Scenario 4: MacTeX 2009, *bodymatter statements commented out: compilation
OK, but no text in the PDF except for the section titles

I am running Snow Leopard, and I have been using MacTeX for ages, and up to
now, everything was fine with ConTeXT.

I would really appreciate help! I hope the information I included is
sufficient.

Thank you very much!
Nauhaie

### TeX code ###

\useencoding[ffr]
\mainlanguage[fr]
\enableregime[utf-8]

\definecolumnset[deuxcolonnes][n=2,balance=yes,distance=26pt]
\starttext

\startbodymatter


\startcolumnset[deuxcolonnes]

\section{Introduction}

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

\stopcolumnset

\section{Annexes}

\startcolumnset[deuxcolonnes]

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

\stopcolumnset

\stopbodymatter
\stoptext


### Error returned with MacTeX 2009 ###

MTXrun | kpse fallback with progname 'context' initialized in 0.13 seconds
TeXExec | processing document 'rapport_spectroscopie_optique.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file rapport_spectroscopie_optique.top
TeXExec | using randomseed 96
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
 (/usr/local/texlive/2009/texmf/web2c/natural.tcx)
entering extended mode
(./rapport_spectroscopie_optique.tex

ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2009.11.13  int: english/english

system  : cont-new loaded
(/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-new.mkii))
system  : cont-fil loaded
(/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys loaded
(/usr/local/texlive/2009/texmf-config/tex/context/user/cont-sys.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-tmf.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-tmf.mkii))
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-siz.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-siz.mkii))
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-one.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-one.mkii)))
system  : rapport_spectroscopie_optique.top loaded
(./rapport_spectroscopie_optique.top)
bodyfont: 12pt rm is loaded
language: patterns nl-texnansi:texnansi-1-2:2 nl-ec:ec-2-2:2
us-
ec:ec-3-2:3 de-texnansi:texnansi-4-3:3 de-ec:ec-5-3:3
da-ec:ec-6-2:2
 sv-ec:ec-7-2:2 gb-ec:ec-8-2:2 fr-texnansi:texnansi-9-2:2
fr-ec:ec-1
0-2:2 es-ec:ec-11-2:2 ca-ec:ec-12-2:2 it-texnansi:texnansi-13-2:2
it-
ec:ec-14-2:2 la-ec:ec-15-2:2 pt-texnansi:texnansi-16-2:2
pt-ec:ec-17
-2:2 ro-ec:ec-18-2:2 pl-pl0:pl0-19-2:2 pl-ec:ec-20-2:2
pl-qx:qx-21-
2:2 cs-il2:il2-22-2:2 cs-ec:ec-23-2:2 sk-il2:il2-24-2:2
sk-ec:ec-25
-2:2 hr-ec:ec-26-2:2 sl-ec:ec-27-2:2 tr-ec:ec-28-2:2
agr-agr:agr-30
-2:2 fi-ec:ec-31-2:2 hu-ec:ec-32-2:2 ru-t2a:t2a-34-2:2
uk-t2a:t2a-3
5-3:3 loaded
specials: dvips loaded
systems : system commands are disabled
language: language en is active
specials: loading definition file tpd
(/usr/local/texlive/2009/texmf-dist/tex/context/base/spec-tpd.mkii
specials: loading definition file fdf
(/usr/local/texlive/2009/texmf-dist/tex/context/base/spec-fdf.mkii))
encoding: coding ffr is loaded
(/usr/local/texlive/2009/texmf-dist/tex/context/base/enco-ffr.mkii
system  : module tryout 

Re: [NTG-context] BibTeX/Publications

2009-11-15 Thread Bernhard Rosensteiner
Hello,

i had the same problem with the refcommand=authoryears for a while. Since 
nobody had an answer in the mailing list i tried to investigate the problem for 
myself.
Apparently when the conversion from the bibtex file to the .bbl file takes 
place the .bbl file gets the same name as the document and this, i don´t know 
why, is the reason for the line break after the first parenthesis. Solution: 
rename the .bbl file in whatever you want and do \input filename.bbl in your 
document (delete or remove the original bibtex file from the document folder!). 
For me this solution worked, but since i´m no programmer i´ve no idea to solve 
this problem professionally.

best regards
Bernhard

Am 15.11.2009 um 18:05 schrieb Thomas A. Schmitz:

 
 On Nov 15, 2009, at 4:11 PM, Andreas Harder wrote:
 
 Hi all!
 
 I've two or more problems with bibliographies:
 
 1) look at the attached attachment, the first brace.
 
 I guess you mean the parenthesis. That appears to be a bug with the 
 refcommands author and authoryears. If you use refcommand=authoryear, the 
 output looks right. Hans, Taco?
 
 
 2) @book{b,
  title={B Titel B},
  author={Brüser}, % error - ü!!!
  year={2000},
  publisher={VS Verlag}
 }
 
 
 Something is fishy with your file. I suspect your editor doesn't really 
 support utf8. If you look into the bbl-file which is produced, you'll see the 
 effect. When I try here with a file in a proper utf encoding, I don't get the 
 error.
 
 3) I want just get a typeset version of the used database (without 
 \cite[a,b,c,d]), how to achieve this?
 
 I was going to write add criterium=all to the \setuppublications command, 
 but it worketh not.
 
 Thomas
 ___
 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
___


[NTG-context] Drawing vertical and horizontal lines inside a matrix

2009-11-15 Thread Vyatcheslav Yatskovsky

Hello,

Can I draw vertical and horizontal lines inside a matrix?

I get ugly result by underlining and sidelining the elements, but what 
I neeed is to underline the whole row and draw a line next to the whole 
column.


\startformula T = \left[ {\matrix{

a  b  {c |}  p \cr

d  e  {f |}  q \cr

{\underline h }  {\underline i }  {\underline j |}  r \cr

l  m  {n |}  s \cr

} } \right].\stopformula


The attached picture shows how it looks now.

Vyatcheslav
attachment: 2009-11-15_213714.png___
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] system fonts (was: Fonts disappeared after updating ConTeXt)

2009-11-15 Thread Alan BRASLAU
On Sunday 15 November 2009 22:04:01 Alan BRASLAU wrote:
 On Sunday 15 November 2009 21:56:10 Peter Wüsten wrote:
  BTW, if you want Context to find _both_ directories make sure you set
  your OSFONTDIR in setuptex like this:
 
  export OSFONTDIR=$HOME/.fonts;/usr/share/fonts
 
 Unfortunately, this is not sufficient, and thus refers us back to the
  original post by Mika.
 

Sorry, after running update.sh, context now finds the system fonts!

Alan
___
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] texexec for latex?

2009-11-15 Thread Adam Megacz

Aditya Mahajan adit...@umich.edu writes:
 There are many such scripts; the two that I remember immediately are

 latexmk: http://www.ctan.org/tex-archive/support/latexmk/
 rubber: http://www.pps.jussieu.fr/~beffara/soft/rubber/

Thank you very much!!

  - a

___
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] BibTeX/Publications

2009-11-15 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 
 On Nov 15, 2009, at 4:11 PM, Andreas Harder wrote:
 
 Hi all!

 I've two or more problems with bibliographies:

 1) look at the attached attachment, the first brace.
 
 I guess you mean the parenthesis. That appears to be a bug with the
 refcommands author and authoryears. If you use refcommand=authoryear,
 the output looks right. Hans, Taco?

The dangling ( is a mkiv artifict only for me (mkii is fine), and
it goes away when the .bib file is patched as below, so I believe this
problem can be safely ignored as a side-effect of another error.

 2) @book{b,
   title={B Titel B},
   author={Brüser}, % error - ü!!!
   year={2000},
   publisher={VS Verlag}
 }

 
 Something is fishy with your file. 

No, it is bibtex, which is not utf-8 aware so it breaks the encoding
for the ü in the middle. You need

  author={Br{ü}ser},

To prevent bibtex from creating an invalid short key.

 3) I want just get a typeset version of the used database (without
 \cite[a,b,c,d]), how to achieve this?

 I was going to write add criterium=all to the \setuppublications
 command, but it worketh not.

This is only in mkiv, but yes:  \setuppublications[criterium=all] does
not seem to work in mkiv. Input that should have worked is attached.
Hans?

Best wishes,
Taco



\usemodule[bib]
\setuppublications[state=start,alternative=apa-de,sorttype=bbl,criterium=all] % ,sorttype=bbl
\setupbibtex[database=test-bib,sort=author]

\starttext

\title{Literatur}
\placepublications[criterium=all]
\stoptext

%%% Local Variables: 
%%% mode: context
%%% TeX-master: t
%%% End: 
___
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
___