[NTG-context] vspacing[disable]

2009-10-12 Thread Vyatcheslav Yatskovsky

Hi!

I try to glue title to the next paragraph, using the brand new vspacing 
command. But whatever I do, I get biggg space.


\starttext

\title{Lab work 2}

\vspacing[disable]

{\bfa The title of the lab}

\stoptext

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] right aligned toc

2009-10-12 Thread Piotr Kopszak
Sorry for the noise, I have found finally

\placecontent[align=left]

2009/10/12 Piotr Kopszak :
> Hello list,
>
> Is it possible to get right aligned (I mean flush right) toc?
>
> Best
>
> Piotr
> --
> http://okle.pl
>



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


[NTG-context] right aligned toc

2009-10-12 Thread Piotr Kopszak
Hello list,

Is it possible to get right aligned (I mean flush right) toc?

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] Strange Behaviour for toc

2009-10-12 Thread Martin Scholz
One thing I found out with the IRC up to know is that the error is in 
that part:

\setuphead[chapter][textcommand=\MyChapterText,color=BigColorTwo,style=
\BigFontTwo]

\def\MyChapterText#1{\rlap{\BigFontOne\BigColorOne#1}\kern15pt#1}

perhaps someone knows how one could solve it

Greetigns Martin

___
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] footnotes + protrusion, chapter

2009-10-12 Thread Jeremy Hughes
Hi Thomas,

"Thomas A. Schmitz"  writes:

> I'm doing a book project with mkiv. I'm using protrusion and expansion with
> Adobe Garamond. This works wonderfully for the main text, but  there's no
> protrusion and expansion in the footnotes. I tried setting  it explicitly with
>
> \setupfootnotes[before=\enableprotruding]
>
> but I still get no protruding. Is this a bug, or how can I set this up for
> footnotes too?

Try \setupnote[footnote][align=hanging]

Jeremy
___
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] Strange Behaviour for toc

2009-10-12 Thread Martin Scholz
Hallo list,

I just started to work with conTeXt, now that I seted up an project 
environment as follows with the following content:

file project_oc.tex:


\startproject project_oc
\environment env_oc

\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\completecontent
\stopfrontmatter

\startbodymatter
\setuppagenumbering[conversion=]
\product prd_oc_0

\stopbodymatter

\startappendices

\stopappendices

\stopproject

file env_oc.tex:


\startenvironment env_oc

\enableregime [utf]
\setuplanguage [de]
[leftquote=\upperleftsinglesixquote,rightquote=
\upperrightsinglesixquote,leftquotation=\leftguillemot,rightquotation=
\rightguillemot]
\mainlanguage [de]

\setupbodyfontenvironment[default][em=italic]

\usemodule[greek]
\usemodule[units]

\setupcolors[state=start]
\setupcolor[rgb]
\definecolor[lightred][r=1,g=0.85,b=0.85]

\definefont[BigFontOne][Regular sa 3]
\definefont[BigFontTwo][RegularBold sa 2]
\definecolor[BigColorOne][r=.86,g=.850,b=.54]
\definecolor[BigColorTwo][r=.43,g=.425,b=.27]

\setuplayout[location=middle,
topspace=1.3cm,
width=middle,
cutspace=4.5cm,
rightmargindistance=0.4cm,
leftmargindistance=0.2cm,
backspace=1.2cm,
height=fit,
rightmargin=2.5cm,
leftmargin=1cm,
bottomspace=2cm,
footer=0.8cm,
setup=strict]

% \showgrid
 \showframe
% \showsetups
% \showlayout

\setuppagenumbering[alternative=doublesided,location=footer]
\setupheader[state=none]

\setuptolerance[tolerant, stretch]

\setupwhitespace[medium]

\setupfootnotes[way=bypage, conversion=set 2]

\definepagebreak[chapter][yes,footer,right]

\setuphead[chapter][textcommand=\MyChapterText,color=BigColorTwo,style=
\BigFontTwo]

\def\MyChapterText#1{\rlap{\BigFontOne\BigColorOne#1}\kern15pt#1}

\setuphead[section][numbercolor=red]

\setuphead[subsection][number=no,style=\ss]

\setuphead[subsubsection][style=slanted,number=no,before={\blank
[big]},before={\testpage[1]},after=\nowhitespace]

\setupfloats[spaceafter=3*medium]

\setuptables[bodyfont=small]
\setupcaption[table][style={\ssx\setupinterlinespace
[line=2.5ex]},align=left]

\setupfloat[table][criterium=0.5\textwidth,default=inner]

\setupcaption[figure][style={\ssx\setupinterlinespace
[line=2.5ex]},align=left]

\definefloat[Bigfigure][Bigfigures][figure]
\setupfloat[Bigfigure][location=inner]

\definefloat[Bigtable][Bigtables][table]
\setupfloat[Bigtable][location=inner]

\definefloat[vignette][figure]
\setupfloat[vignette][leftmargindistance=-
\outermargintotal,rightmargindistance=-\outermargintotal,default=
{outer,none,low}]
% \setup[vignette][number=no]

\definestartstop[Story][before={\setupbackground[style=
\tfx,background=color,backgroundcolor=white,frame=on,framecorner=rectangular,framecolor=black,rulethickness=0.5pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.25cm,rightoffset=0.25cm,before=
{\blank[big]}]\startbackground\switchtobodyfont[10pt]},after=
\stopbackground]

\definestartstop[MySummary][before={\setupbackground
[background=color,backgroundcolor=lightgray,backgroundcorner=rectangular,frame=off,topoffset=0.3cm,bottomoffset=0.3cm,leftoffset=0.5cm,rightoffset=0.5cm,before=
{\blank[big]}]\startbackground\Zus},after=\stopbackground]

\defineframedtext[Oddity][width=0.75
\textwidth,background=color,backgroundcolor=lightred,frame=off,framecorner=round,frameradius=0.5cm,backgroundcorner=round,style=
\tfx]

\setupinmargin[align=right,style=\ss\tfx\setupinterlinespace]

\setupitemize[align=right]

\startsectionblockenvironment[appendix]
\setuptabulate[align=right,split=yes]

\definepagebreak[chapter][yes,footer,right]
\setuphead[chapter][bodypartconversion=Character,page=chapter]
\setuphead[subsection][command=\SectionCommand,number=yes,numbercolor,red]
\setuphead[subsubsection][number=yes]
\definefloat[BigFramedFigure][BigFramedFigures][figure]
\setupfloat[BigFramedFigure][location=inner,frame=on,offset=2pt]
\definefloat[FramedFigure][FramedFigures][figure]
\setupfloat[FramedFigure][frame=on,offset=2pt]

\stopsectionblockenvironment

\setupregister[index][imp][pagestyle=bold]

\setupcombinedlist[content][level=2,alternative=c]
\setuplist[chapter][style=bold]

\stopenvironment

file prd_oc_0.tex:
--

\startproduct prd_oc_0
\project project_oc

\component c_oc0_1

\stopproduct

file c_oc0_1.tex:
-
\startcomponent c_oc0_1
\product prd_oc_0
\project project_oc

\starttext
\title{Titel}
\chapter[chap:ques]{Question}
\chapter[chap:answ]{Answer}
\chapter[chap:rema]{Remarque}
\stoptext

\stopcomponent

Now Im getting doubled entries in the \completecontent part, it lists 
everything as

1 Question  5
1 Question  5
2 Answer7
2 Answer7

so as this is not the wished behaviour, can someone help me to solve thsi 
problem. please be patient with me to get it done right, as I'm a newbe...

Greetings

Martin

___

Re: [NTG-context] footnotes + protrusion, chapter

2009-10-12 Thread Thomas A. Schmitz


On Oct 12, 2009, at 5:18 PM, Wolfgang Schuster wrote:

I still get no protruding. Is this a bug, or how can I set this up  
for footnotes too?



\setupfootnotes[align={normal,hanging}] % footnotes are placed in  
\framed


Wolfgang


Three cheers for having you on the list! Thanks a million, Wolfgang,  
that dit it.


Best

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] footnotes + protrusion, chapter

2009-10-12 Thread Wolfgang Schuster


Am 12.10.2009 um 17:11 schrieb Thomas A. Schmitz:


Hi all,

I'm doing a book project with mkiv. I'm using protrusion and  
expansion with Adobe Garamond. This works wonderfully for the main  
text, but there's no protrusion and expansion in the footnotes. I  
tried setting it explicitly with


\setupfootnotes[before=\enableprotruding]

but I still get no protruding. Is this a bug, or how can I set this  
up for footnotes too?



\setupfootnotes[align={normal,hanging}] % footnotes are placed in  
\framed


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] footnotes + protrusion, chapter

2009-10-12 Thread Thomas A. Schmitz

Hi all,

I'm doing a book project with mkiv. I'm using protrusion and expansion  
with Adobe Garamond. This works wonderfully for the main text, but  
there's no protrusion and expansion in the footnotes. I tried setting  
it explicitly with


\setupfootnotes[before=\enableprotruding]

but I still get no protruding. Is this a bug, or how can I set this up  
for footnotes too?


Thanks, and best wishes

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] Figure referencing problems

2009-10-12 Thread Matthijs Kooijman
Hi all,

> >The following makes all links black again for me:
> >  \setupinteraction[state=start,color=,contrastcolor=]
> 
> Thank you. That was the trick.
For completeness, I've documented the setupinteraction command a bit better at
http://wiki.contextgarden.net/Interaction as well.

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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] Figure referencing problems

2009-10-12 Thread Wolfgang Miurth

Hi Matthijs,

>The following makes all links black again for me:
>  \setupinteraction[state=start,color=,contrastcolor=]

Thank you. That was the trick.

Best regards

Wolfgang Murth

___
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] Figure referencing problems

2009-10-12 Thread Matthijs Kooijman
Hi Wolfgang,

> >\setupinteraction[color=]
> That does not work in the latest version. The style parameter is recognized, 
> but ot the color parameter.
> Following produces red links, even if green is selected.
I've been fiddling with this a bit as well, and found that the color parameter
is only used for links to other pages. Links to the same page use the
contrastcolor parameter. I'm not completely sure that this is the actual
criterum, but at least contrastcolor is involved as well.

The following makes all links black again for me:

  \setupinteraction[state=start,color=,contrastcolor=]

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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] Enumeration bug

2009-10-12 Thread luigi scarso
On Sun, Oct 11, 2009 at 4:10 PM, Willi Egger  wrote:
> Hi all,
>
> There might be a bug in the enumeration environment. First the enumeration
> definition contains the option location=top.
> When an enumeration item is started while there is already a figure placed
> left, then the  enumeration tag shows up as expected, however the text of
> the enumeration item starts at the left border of the text area.
>
> If the option location is set to location=left, then in the same condition
> as above, the enumeration tag shows up to the right of the enumeration text
> and if the text is long, the tag is also overwritten.
>
> I tested this with the version of Context of 2009-10-02.
>
> For testing please refer to the attached file.
yes, it looks strange even to me -- but I'm not very confident with \placefigure

-- 
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] Is it possible to put references format depending of mainlanguage? and other things

2009-10-12 Thread Taco Hoekwater
Hi,

Xan wrote:
> 
> This is a BAD new. I think it's important. It could be marked the
> difference (in the bibliographyc
> world) about ConTeXt and other systems. Unfortonately I have not enough
> knowledge for doing that so
> I depend of you ;-) Please, reconsider it. I think it will be a day of
> work for you (at least with
> preliminary version - not right-to-left languages).

Finding a free 'day of work' is a lot harder than you make it sound :)
but I will try to find the time.

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
___