Re: [NTG-context] Multiple citations at one position

2010-05-21 Thread Jaroslav Hajtmar

When you put command \cite[ref1,ref2,ref3] % without spaces!!!
then you get regular restult.

Jaroslav

Here is my minimal example:

\usemodule[bib]
\setupbibtex[database={test.bib}, sort=author]
\setuppublications[alternative=ams]

\starttext
\section{Section}
\cite[ref1,ref2,ref3] % without spaces!!! With spaces i.e. \cite[ref1, 
ref2, ref3] get wrong result


\completepublications[criterium=all]
%\placepublications % too for MKIV compilation
\stoptext





Dne 21.5.2010 16:28, Stefan Müller napsal(a):

Thank you for the fast responses.

   

Did you try "\cite[ref1,ref3,... ref9]" ?
 

Yes, I did try this, but instead of "[1,2,3]" or "[1-3]" I just got "[1]".

   

Yes, it is OK. I am using in MKIV for multiple citation
\cite[ref1,ref3,... ref9]
Last delimiter is setting due commands \setupcite, for example
default setting (for num style) is \setupcite[num][lastpubsep={ and }]
I am using \setupcite[num][lastpubsep={,\,}] ...

More informations about using bib module (\usemodule[bib]
\usemodule[bibltx]) is in Taco's document on:
http://www.tug.org/texlive/Contents/live/texmf-dist/doc/context/bib/bibmod-
doc.pdf

Jaroslav
 

I tried what you suggested, but without success. I'm using MkIV. My test case
is:

"\usemodule[bib]
\setupbibtex[database={test.bib}, sort=author]
\setuppublications[alternative=ams]
\setupcite[num][lastpubsep={,\,}]

\starttext
\section{Section}
\cite[ref1, ref2, ref3]
\completepublications
\stoptext"

With this example tex-file I only get "[1]". Strangely: If I remove either the
\section or the \completepublications command I get "[]"...

Any ideas what causes this?

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


Re: [NTG-context] protcode again

2010-05-21 Thread John Culleton
On Friday 21 May 2010 08:46:37 luigi scarso wrote:
> On Fri, May 21, 2010 at 2:40 PM, John Culleton 
 wrote:
> > The following code works with mkii but not with mkiv:
> >
> > \usetypescript[times][texnansi]
> > \usetypescript[serif,sans][hanging][pure]
> > \setupalign[hanging]
> > \setupbodyfont[times,12pt]
> > \setuphead[chapter][page=right]
> >
> > I substituted "termes" for "times" in both places but it still 
works
> > under mkii (texexec) but not mkiv (context). I'll proceed with 
mkii
> > for the current project but long term I expect difficulties.
>
> It seems ok here
> %%test.tex
> \usetypescript[times]
> \usetypescript[serif,sans][hanging][pure]
> \setupalign[hanging]
> \setupbodyfont[times,12pt]
> \setuphead[chapter][page=right]
>
> \starttext
> \chapter{foo}
> \dorecurse{100}{\input knuth}
>
> \stoptext
>
>
> # pdffonts test.pdf
> name type  emb sub uni object
> ID  - --- --- ---
> - QNBETP+TeXGyreTermes-Regular CID Type 0C   
yes yes
> yes 14  0
>
> Where are the problems ?
The hanging characters (hyphens etc.) don't hang. The exact same 
file is used for input. 
-- 
John Culleton
Wexford Press
"Create Book Covers with Scribus"
Printable E-book 38 pages $5.95
http://www.scribd.com/doc/24676863/
http://www.booklocker.com/books/4055.html
___
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] \startmakeup

2010-05-21 Thread Vyatcheslav Yatskovsky

Hi,

Could anyone please explain what \startmakeup do (and similar commands)?

I suspect that commands like this are often used for creating title 
pages. But have now idea what they do.


When given explanation, I want to wikify it.
http://wiki.contextgarden.net/Reference/en/startmakeup

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
___


Re: [NTG-context] ucgreek=normal as default

2010-05-21 Thread Hans Hagen

On 21-5-2010 4:57, Aditya Mahajan wrote:


I think that upgreek=normal should be default, just because it is
default in MkII and there is no particular reason to change that.


ok

-
  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] first-setup.sh

2010-05-21 Thread Mojca Miklavec
On Fri, May 21, 2010 at 16:28, Vladimir Lomov  wrote:
> Hi.
>
> Please, could you check mtx-update.lua, line 376. I'm found it
> suspicious that the line
>                    command = string.format("%s -tgo --chmod=a+x
> %s/texmf-context/scripts/context/lua/%s.lua %s/texmf-%s/bin/%s", bin,
> texroot, script, texroot, platform, script)
> don't contain contextgarden source ('url' variable, 'bin' contains
> 'rsync' program).

These two lines are there just to make sure that the proper version of
luatools and mtxrun are copied to bin. The files come from existing
texmf-context and are copied to texmf-platform/bin/luatools (or
mtxrun).


Mojca
___
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] ucgreek=normal as default

2010-05-21 Thread Mojca Miklavec
On Fri, May 21, 2010 at 16:57, Aditya Mahajan wrote:
>
> I think that upgreek=normal should be default, just because it is default in
> MkII and there is no particular reason to change that.

I was the one who started with italic, but I completely agree with that as well.

Mojca
___
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] [OT]: Google font preview

2010-05-21 Thread Aditya Mahajan

http://code.google.com/webfonts/preview


___
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] Multiple citations at one position

2010-05-21 Thread Aditya Mahajan

On Fri, 21 May 2010, Stefan Müller wrote:


Thank you for the fast responses.


Did you try "\cite[ref1,ref3,... ref9]" ?


Yes, I did try this, but instead of "[1,2,3]" or "[1-3]" I just got "[1]".


Yes, it is OK. I am using in MKIV for multiple citation
\cite[ref1,ref3,... ref9]
Last delimiter is setting due commands \setupcite, for example
default setting (for num style) is \setupcite[num][lastpubsep={ and }]
I am using \setupcite[num][lastpubsep={,\,}] ...

More informations about using bib module (\usemodule[bib]
\usemodule[bibltx]) is in Taco's document on:
http://www.tug.org/texlive/Contents/live/texmf-dist/doc/context/bib/bibmod-
doc.pdf

Jaroslav


I tried what you suggested, but without success. I'm using MkIV. My test case
is:

"\usemodule[bib]
\setupbibtex[database={test.bib}, sort=author]
\setuppublications[alternative=ams]
\setupcite[num][lastpubsep={,\,}]

\starttext
\section{Section}
\cite[ref1, ref2, ref3]
\completepublications
\stoptext"

With this example tex-file I only get "[1]".


Confirmed. This is a bug. The above example works correctly with MkII (if 
you replace test.bib with an actual bib file)



Strangely: If I remove either the
\section or the \completepublications command I get "[]"...

Any ideas what causes this?


\completepublications[criterium=all]

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
___


Re: [NTG-context] Problem with identation

2010-05-21 Thread Aditya Mahajan

On Fri, 21 May 2010, Marius wrote:


\indentation \input tufte


I remember that there is a command to indent (tried \indent,
\indenting), but could not recall and find it in documentation.


Also see (which needs to be wikified)

http://www.tug.org/TUGboat/Articles/tb29-2/tb92mahajan.pdf

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
___


Re: [NTG-context] ucgreek=normal as default

2010-05-21 Thread Aditya Mahajan

On Fri, 21 May 2010, Otared Kavian wrote:

On 21 mai 2010, at 09:55, Mikael Persson wrote:


Dear list and Hans,

I recently realized that by default capital greek letters are italic.
I believe that the default should be "normal", i.e. upright.

%%% Test file
%\setupmathematics[ucgreek=normal] % comment out to get nice upright
greek captial letters :)
\starttext
$\Theta$
\stoptext
%%% End test file

What do others think?


Hi Mikael,

It all depends on the style of the book or the journal: some have their capital 
Greek letters in italic, some have it upright. The main point is to have 
consistency.
Since ConTeXt allows both behavior, everything seems fine to me.


I think that upgreek=normal should be default, just because it is default 
in MkII and there is no particular reason to change that.


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
___


[NTG-context] first-setup.sh

2010-05-21 Thread Vladimir Lomov
Hi.

Please, could you check mtx-update.lua, line 376. I'm found it
suspicious that the line
command = string.format("%s -tgo --chmod=a+x
%s/texmf-context/scripts/context/lua/%s.lua %s/texmf-%s/bin/%s", bin,
texroot, script, texroot, platform, script)
don't contain contextgarden source ('url' variable, 'bin' contains
'rsync' program).

mtx-update.lua time stamp:
2010-05-19

---
WBR, Vladimir Lomov
___
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] Multiple citations at one position

2010-05-21 Thread Stefan Müller
Thank you for the fast responses.

> Did you try "\cite[ref1,ref3,... ref9]" ?

Yes, I did try this, but instead of "[1,2,3]" or "[1-3]" I just got "[1]".

> Yes, it is OK. I am using in MKIV for multiple citation
> \cite[ref1,ref3,... ref9]
> Last delimiter is setting due commands \setupcite, for example
> default setting (for num style) is \setupcite[num][lastpubsep={ and }]
> I am using \setupcite[num][lastpubsep={,\,}] ...
> 
> More informations about using bib module (\usemodule[bib]
> \usemodule[bibltx]) is in Taco's document on:
> http://www.tug.org/texlive/Contents/live/texmf-dist/doc/context/bib/bibmod-
> doc.pdf
> 
> Jaroslav

I tried what you suggested, but without success. I'm using MkIV. My test case 
is:

"\usemodule[bib]
\setupbibtex[database={test.bib}, sort=author]
\setuppublications[alternative=ams]
\setupcite[num][lastpubsep={,\,}]

\starttext
\section{Section}
\cite[ref1, ref2, ref3]
\completepublications
\stoptext"

With this example tex-file I only get "[1]". Strangely: If I remove either the 
\section or the \completepublications command I get "[]"...

Any ideas what causes this?

Stefan
___
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] protcode again

2010-05-21 Thread Taco Hoekwater

John Culleton wrote:

The following code works with mkii but not with mkiv:

\usetypescript[times][texnansi]
\usetypescript[serif,sans][hanging][pure]  
\setupalign[hanging]

\setupbodyfont[times,12pt]
\setuphead[chapter][page=right]

I substituted "termes" for "times" in both places but it still works 
under mkii (texexec) but not mkiv (context). I'll proceed with mkii 
for the current project but long term I expect difficulties. 


The rules in mkiv are a little different. This is hinted at by the
last section of the wiki page, but not very clear. Here is how to
get protrusion in mkiv:

  \definefontfeature[default][default][protrusion=quality]
  \setupalign[hanging]
  \setupbodyfont[times,12pt]

(so less, but different code is need)

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


Re: [NTG-context] feauture request - no numbers on blank pages at chapter's end

2010-05-21 Thread Piotr Kopszak
That's very close indeed. Thanks for putting me on the right track!
What I wanted is rather:

\setuphead
 [chapter]
 [page={yes,footer,right},
  footer=nomarking]

Best

Piotr

2010/5/21 Wolfgang Schuster :
> Am 20.05.10 13:21, schrieb Piotr Kopszak:
>>
>> Many thanks for your help!
>>
>> First the file according to the wiki example. Works if location=footer
>> in \setuppagenumbering but not when
>>
>> \definepagebreak
>>   [mychapterpagebreak]
>>   [yes,header,right]
>>
>> \setuphead
>>   [chapter]
>>   [page=mychapterpagebreak,footer=empty]
>> \setuppagenumbering[alternative=doublesided,location=margin]
>>
>> \starttext
>>   \chapter{testA} \dorecurse{10}{\input tufte }
>>   \chapter{testB} \dorecurse{10}{\input tufte }
>>   \chapter{testC} \dorecurse{10}{\input tufte }
>> \stoptext
>>
>>
>> Changing \setuphead to
>>
>> \setuphead[chapter][page={blank,right}]
>>
>> gets rid of the number on the chapter's title page (which I don't
>> want) and still leaves it on the left empty page facing the title
>> page. Not to mention the fact that pagenumbers appear only from page 10.
>
> This works for your minimal example:
>
> \setuphead
>  [chapter]
>  [page={yes,footer,right},
>   footer=empty]
>
> 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
> ___
>



-- 
http://okle.pl
___
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] protcode again

2010-05-21 Thread luigi scarso
On Fri, May 21, 2010 at 2:40 PM, John Culleton  wrote:
> The following code works with mkii but not with mkiv:
>
> \usetypescript[times][texnansi]
> \usetypescript[serif,sans][hanging][pure]
> \setupalign[hanging]
> \setupbodyfont[times,12pt]
> \setuphead[chapter][page=right]
>
> I substituted "termes" for "times" in both places but it still works
> under mkii (texexec) but not mkiv (context). I'll proceed with mkii
> for the current project but long term I expect difficulties.
>
It seems ok here
%%test.tex
\usetypescript[times]
\usetypescript[serif,sans][hanging][pure]
\setupalign[hanging]
\setupbodyfont[times,12pt]
\setuphead[chapter][page=right]

\starttext
\chapter{foo}
\dorecurse{100}{\input knuth}

\stoptext


# pdffonts test.pdf
name type  emb sub uni object ID
 - --- --- --- -
QNBETP+TeXGyreTermes-Regular CID Type 0C   yes yes yes 14  0

Where are the problems ?


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


[NTG-context] protcode again

2010-05-21 Thread John Culleton
The following code works with mkii but not with mkiv:

\usetypescript[times][texnansi]
\usetypescript[serif,sans][hanging][pure]  
\setupalign[hanging]
\setupbodyfont[times,12pt]
\setuphead[chapter][page=right]

I substituted "termes" for "times" in both places but it still works 
under mkii (texexec) but not mkiv (context). I'll proceed with mkii 
for the current project but long term I expect difficulties. 

-- 
John Culleton
Wexford Press
"Create Book Covers with Scribus"
Printable E-book 38 pages $5.95
http://www.scribd.com/doc/24676863/
http://www.booklocker.com/books/4055.html
___
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 identation

2010-05-21 Thread Peter Münster
On Wed, May 19 2010, Marius wrote:

> \setupfloats[indentnext=yes] has no effect in the example below? I
> expect the line 6 above figure to be indented.
> 
> 
> \placefigure
>   [bottom,top][]

Strange, there is no such problem when you write "top,bottom"!
Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] simple style customization in t-letter

2010-05-21 Thread Wolfgang Schuster

Am 21.05.10 10:56, schrieb Piotr Kopszak:

I'm probably too dumb to figure that on my own, at least now. How one
can change default style to move the reference line including date to
the top of the letter page?



You have create your own reference line, to make life easier it's
possible to clone predefined layouts as done here.

Just moving the predefined layouts is not possible because the start
of the first text line depends on the reference line.

\usemodule[letter]

%\defineletterelement[reference][top]
%  {\letterelement[reference][a]}

\copyletterelement[reference][top][a]

\setupletterstyle
  [reference]
  [alternative=top,
   list={phone,name,date},
   voffset=3cm]

\setupletter
  [phone={1234/56789},
name={Ben Lee User}]

\starttext

\startletter
\input tufte
\stopletter
\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] Problem with identation

2010-05-21 Thread Marius
On Fri, May 21, 2010 at 1:47 PM, Peter Münster  wrote:
> On Fri, May 21 2010, Marius wrote:
>
>> identation problem and I am stuck because of it. As this problem is
>> beyond my capabilities and time is short, I have now three options:
>> return to LaTeX, use [here] option (and manual formating) or please
>> help me :)
>
> Fourth option: use a workaround.
>
>> > \placefigure
>> > [bottom,top][]
>> > {Title}
>> > {\externalfigure[cow][width=0.6\textwidth]}
>> >
>
> \indentation \input tufte

I remember that there is a command to indent (tried \indent,
\indenting), but could not recall and find it in documentation.
Thank you for the hint.
___
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] feauture request - no numbers on blank pages at chapter's end

2010-05-21 Thread Wolfgang Schuster

Am 20.05.10 13:21, schrieb Piotr Kopszak:

Many thanks for your help!

First the file according to the wiki example. Works if location=footer
in \setuppagenumbering but not when

\definepagebreak
   [mychapterpagebreak]
   [yes,header,right]

\setuphead
   [chapter]
   [page=mychapterpagebreak,footer=empty]
\setuppagenumbering[alternative=doublesided,location=margin]

\starttext
   \chapter{testA} \dorecurse{10}{\input tufte }
   \chapter{testB} \dorecurse{10}{\input tufte }
   \chapter{testC} \dorecurse{10}{\input tufte }
\stoptext


Changing \setuphead to

\setuphead[chapter][page={blank,right}]

gets rid of the number on the chapter's title page (which I don't
want) and still leaves it on the left empty page facing the title
page. Not to mention the fact that pagenumbers appear only from page 10.


This works for your minimal example:

\setuphead
  [chapter]
  [page={yes,footer,right},
   footer=empty]

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 identation

2010-05-21 Thread Peter Münster
On Fri, May 21 2010, Marius wrote:

> identation problem and I am stuck because of it. As this problem is
> beyond my capabilities and time is short, I have now three options:
> return to LaTeX, use [here] option (and manual formating) or please
> help me :)

Fourth option: use a workaround.

> > \placefigure
> > [bottom,top][]
> > {Title}
> > {\externalfigure[cow][width=0.6\textwidth]}
> >

\indentation \input tufte

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] Change figure caption

2010-05-21 Thread richard . stephens


> > The default figure caption looks like:
"Figure 1 User caption". How do I
> > change this to "Fig. 1 User caption", i.e. change "Figure"
to "Fig."?
> > I've looked for an example but I cannot work it out.
> 
> \setuplabeltext[en][figure=Fig. ]
> 
> Wolfgang

Thanks Wolfgang, that's fantastic!

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




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

2010-05-21 Thread Andreas Harder
Hi all,

what is wrong with the following example? I would expect "Erstes Kapitel" etc. 
instead of "Kapitel Eins" in the bookmarks. Further "Inhaltsverzeichnis" don‘t 
appear in the bookmarks.

\setupinteraction[state=start]
\placebookmarks[all]

\starttext
\starttitle[title=Inhaltsverzeichnis,bookmark=Inhaltsverzeichnis]
  \placecombinedlist[content]
\stoptitle
\startchapter[title=Kapitel Eins,bookmark=Erstes Kapitel]
  \input tufte
\stopchapter
\startchapter[title=Kapitel Zwei,bookmark=Zweites Kapitel]
  \input tufte
\stopchapter
\startchapter[title=Kapitel Drei,bookmark=Drittes Kapitel]
  \input tufte
\stopchapter
\stoptext

Thanks in advance

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] Change figure caption

2010-05-21 Thread Wolfgang Schuster

Am 21.05.10 11:37, schrieb richard.steph...@converteam.com:


Hi all,

The default figure caption looks like: "Figure 1 User caption". How do I
change this to "Fig. 1 User caption", i.e. change "Figure" to "Fig."?
I've looked for an example but I cannot work it out.


\setuplabeltext[en][figure=Fig. ]

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] Change figure caption

2010-05-21 Thread richard . stephens

Hi all,

The default figure caption looks like:
"Figure 1  User caption". How do I change this to "Fig.
1  User caption", i.e. change "Figure" to "Fig."?
I've looked for an example but I cannot
work it out.

Thanks,

Richard






Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




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

2010-05-21 Thread Marius
Please, Hans, write a little more, I can't understand what you mean.

From what I red and understood ConTeXt seems very promising in
comparison with LaTeX. After playing around for two months, I recently
started to use ConTeXt for the real work: my dissertacion summary. I
made style for it and now while filling the contents I spoted this
identation problem and I am stuck because of it. As this problem is
beyond my capabilities and time is short, I have now three options:
return to LaTeX, use [here] option (and manual formating) or please
help me :)

Thank you,
Marius

On Thu, May 20, 2010 at 7:11 PM, Hans Hagen  wrote:
> On 20-5-2010 5:48, Aditya Mahajan wrote:
>>
>> On Thu, 20 May 2010, Hans Hagen wrote:
>>
>>> On 20-5-2010 10:51, Marius wrote:

 \setupindenting[yes,7mm]
>
> \setupfloats[indentnext=yes]
>
> \starttext
> \input tufte
> \input knuth
>
> \placefigure
> [bottom,top][]
> {Title}
> {\externalfigure[cow][width=0.6\textwidth]}
>
> \input tufte
> \input knuth
>>>
>>>
>>> by the time you place the figure at the top, the first paragraph has
>>> already been typeset
>>
>> I think that the question is about the *fourth* paragraph (coming from
>> the 2nd tufte quote). Search the pdf for "thrive".
>>
>> I also find this behaviour to be broken. Why should the next paragraph
>> after \placefloat in the source lose its indentation? IMO, only
>> \placefigure[left] should affect the indentation, everything else should
>> simply leave indentation alone. Or atleast, there should be a way to
>> configure the indentation behaviour depending on what type of float we
>> are dealing with.
>
> \definefloat ..
>
> -
>                                          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
> ___
>
___
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] simple style customization in t-letter

2010-05-21 Thread Piotr Kopszak
I'm probably too dumb to figure that on my own, at least now. How one
can change default style to move the reference line including date to
the top of the letter page?

Best

Piotr

-- 
http://okle.pl
___
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] ucgreek=normal as default

2010-05-21 Thread Otared Kavian

On 21 mai 2010, at 09:55, Mikael Persson wrote:

> Dear list and Hans,
> 
> I recently realized that by default capital greek letters are italic.
> I believe that the default should be "normal", i.e. upright.
> 
> %%% Test file
> %\setupmathematics[ucgreek=normal] % comment out to get nice upright
> greek captial letters :)
> \starttext
> $\Theta$
> \stoptext
> %%% End test file
> 
> What do others think?

Hi Mikael,

It all depends on the style of the book or the journal: some have their capital 
Greek letters in italic, some have it upright. The main point is to have 
consistency.
Since ConTeXt allows both behavior, everything seems fine to me.

Best regards: OK

> Best regards, Mikael
> ___
> 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] ucgreek=normal as default

2010-05-21 Thread Mikael Persson
Dear list and Hans,

I recently realized that by default capital greek letters are italic.
I believe that the default should be "normal", i.e. upright.

%%% Test file
%\setupmathematics[ucgreek=normal] % comment out to get nice upright
greek captial letters :)
\starttext
$\Theta$
\stoptext
%%% End test file

What do others think?

Best regards, Mikael
___
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
___