Re: [NTG-context] How to get rid of space around itemize?

2008-09-25 Thread Hans Hagen
Mojca Miklavec wrote:
 Hello,
 
 I'm trying to remove space before (and after) items in the following
 example, but the only way I have managed to do that was by using
 \vskip-\lineheight, which I'm not particulary proud of. Any ideas?
 
 \setupwhitespace
   [big]
 \setupitemize
   [joinedup]

[joinedup,nowhite]

 \setuplayout
   [grid=yes]
 \showgrid
 
 \starttext
 
 How to reduce the space here?
 \startitemize
 \item a
 \item b
 \stopitemize
 And here?
 
 \stoptext
 
 Thanks a lot,
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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___


-- 

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


[NTG-context] math font size in captions (and other places)

2008-09-25 Thread Mikael Persson
Dear all,

I want small caption texts in a document. However, neither of the
following two alternatives work:

%
%\setupcaptions[style=small]
\setupcaptions[style=\tfx]

\starttext
\placefigure[here][none]{Some math $x=y$}{Dummy figure}
\stoptext
%

In both cases the text is small, but math font is not changed. I can
solve this by doing a \switchtobodyfont in the caption, but I'd like
to do it only once and for all. I guess I have the same problem in all
environments where there is a style= parameter. (For now, I also would
like to set it in \setupmarginblocks.

I've tested this both on mkii and mkiv and with updated (minimal) ConTeXt.

Best regards, Mikael Persson

PS Any progress in getting the fourier (utopia+fourier) fonts to work
in the new minimals? I miss that combination of fonts. I did not get
the reason of why it is not included anymore.
___
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] tex still popular

2008-09-25 Thread Hans Hagen
Hi,

i just ran across http://viennateng.com/scrapbook/ (topline looks very 
texie to me); ok, she has a background in computer science and somehow 
the tex syntax got burned in

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


Re: [NTG-context] Clickable Subsections in TOC

2008-09-25 Thread holzminister
Hi,

that's a pity. Does anyone know a workaround?

I tried the following code with Luatex:


\setupcolors[state=start]
\setupinteraction[state=start]

\def\ListCommand#1#2#3%
{\tfx\color[darkgreen]{\textbullet\ #2 #3}\quad}

\setuplist
[subsection]
[alternative=none,
command=\ListCommand]

\starttext
\placelist[subsection]

\dorecurse{10}{\subsection{Hello world!}}

\stoptext


But that doesn't break lines at the end. Everything is ut into one
single line ...

Best regards,
Eyke

2008/9/24 Taco Hoekwater [EMAIL PROTECTED]:
 holzminister wrote:
 Hi!

 Nobody an idea?

 It seems that interaction=all is currently not supported by
 alternative d.

 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
 ___

___
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] Fun with Bibtex

2008-09-25 Thread Matthias Wächter
On 9/24/2008 11:01 PM, Peter Daum wrote:
 Hi all
 
 I'm using Taco's Bibtex module and got some problems with it.
 
 \setupbibtex[database=xx,sort=author]
 \setuppublications[alternative=apa-de,refcommand=authoryear,monthconversion=month]
 \placepublications[criterium=all]
 
 ... works fine. The references list contains only publications referenced in 
 the document.
 
 Unfortunately, I was forced to use a special bst file, since I needed to 
 change the fields of the entrytype misc. As I didn't find a way to make 
 ConTeXt or texexec aware of this new file living in my document's directory, 
 I deleted the database parameter, customised the aux file and ran bibtex by 
 myself.
 
 The problem is, that, with the new method, only a very small subset of the 
 referenced publication makes it into the list. If I add criterium=all to 
 the setuppublications command, I get the whole database, whether the pub is 
 referenced or not.
 
 Any ideas?

After reading t-bib.tex:

[…]
\def\setupbibtex{\dosingleempty\dosetupbibtex}

\def\dosetupbibtex[#1]%
  {\let\@@pbdatabase\empty
   \let\@@pbsort\empty
   \getparameters[\??pb][#1]%
   \expanded{\processaction[\@@pbsort]}
[  \v!no=\def\bibstyle{cont-no},
   \v!author=\def\bibstyle{cont-au},
\v!title=\def\bibstyle{cont-ti},
\v!short=\def\bibstyle{cont-ab},
  \s!default=\def\bibstyle{cont-no},
  \s!unknown=\def\bibstyle{cont-no}]%
   \ifx\@@pbdatabase\empty\else \writeauxfile \fi}

[…]

I would suggest you put your .bst into, say, cont-my.bst and issue
the command

\def\bibstyle{cont-my}

right after executing \setupbibtex

- Matthias
___
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] Bibliography: comments not ignored any more

2008-09-25 Thread Taco Hoekwater

Hi,

 From the change section at the top of t-bib:

%D \item Attempt to fix percent signs in bbl files. As a side-effect,
%D   this prohibits comments in \tex{startpublication} blocks!
%D   (17/4/2008)


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] math font size in captions (and other places)

2008-09-25 Thread Taco Hoekwater


Mikael Persson wrote:
 
 In both cases the text is small, but math font is not changed. I can
 solve this by doing a \switchtobodyfont in the caption, 

You can put the \switchtobodyfont in the style argument:

   \setupcaptions[style={\switchtobodyfont[small]}]

or you could redefine 'small':

   \def\bodyfontsmall{\switchtobodyfont[small]}
   \definealternativestyle [small] [\bodyfontsmall] []

(untested)

If redefinition doesn't work, you have to define a new alternative
style

   \definealternativestyle [MySmall] [\bodyfontsmall] []

but then you would have to go through the style changing
style=small to style=MySmall etc.

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] Fun with Bibtex

2008-09-25 Thread Taco Hoekwater


Matthias Wächter wrote:
 
 I would suggest you put your .bst into, say, cont-my.bst and issue
 the command

 \def\bibstyle{cont-my}
 
 right after executing \setupbibtex

That won't work, the .aux file is written by \writeauxfile.
But you could replace the whole \setupbibtex command with this:

   \unprotect
   \def\@@pbdatabase{..your bib file ..}
   \def\bibstyle{cont-my}
   \writeauxfile
   \protect

To the original poster: I have no way of knowing what goes wrong.
You're basically saying:

   I altered stuff but now it doesn't work anymore!

Well, there is nothing I can do about that.

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] Fun with Bibtex

2008-09-25 Thread Taco Hoekwater


Matthias Wächter wrote:
 On 9/25/2008 10:07 AM, Taco Hoekwater wrote:
 Matthias Wächter wrote:
 I would suggest you put your .bst into, say, cont-my.bst and issue
 the command
 \def\bibstyle{cont-my}

 right after executing \setupbibtex
 That won't work, the .aux file is written by \writeauxfile.
 
 For whatever reason, the .aux file contained \bibstyle{cont-my} in
 my tests …
 
 But you could replace the whole \setupbibtex command with this:

\unprotect
\def\@@pbdatabase{..your bib file ..}
\def\bibstyle{cont-my}
\writeauxfile
\protect
 
 right. So the attached would be an appropriate long-term patch then?

Yes. I'll apply that, thanks

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] tex still popular

2008-09-25 Thread Jano Kula
Hans Hagen wrote:
 Hi,
 
 i just ran across http://viennateng.com/scrapbook/ (topline looks very 
 texie to me); ok, she has a background in computer science and somehow 
 the tex syntax got burned in

At Stanford. Makes sense.

Jano

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


Re: [NTG-context] who eats my spaces (was: chapter setup / table of contents)

2008-09-25 Thread Wolfgang Schuster

Am 27.04.2008 um 23:45 schrieb Henning Hraban Ramm:

 Coming back to my old thread.

 Here's my latest chapter setup:

 --- 8 ---

 \unprotect

 \resetvalue{\??sw\v!chapter}

 \startsetups chapter:list

 \def\\{{\ \nomarking{\nolist\crlf}}}


   \doiftextelse{\sectionworldparameter\c!author}
 {\expanded{\writetolist[\v!chapter]
   {\sectionworldparameter\c!author:\space
\sectionworldparameter\c!text}{}}}
 {\expanded{\writetolist[\v!chapter]
   {\sectionworldparameter\c!text}{}}}

   \doiftextelse{\sectionworldparameter\c!author}
 {\expanded{\writetolist[\v!chapter]
   {}{\sectionworldparameter\c!author:\space
\sectionworldparameter\c!title}}}
 {\expanded{\writetolist[\v!chapter]
   {}{\sectionworldparameter\c!title}}}

   \def\ChapterAuthor{%
   \doiftextelse%
   {\sectionworldparameter\c!author}%
   {\rm\tf\sectionworldparameter\c!author\crlf\vskip0.2em}
   {}%
   }
   \def\ChapterTitle{{\ss\bfb\sectionworldparameter\c!text}}
   \def\ChapterSubTitle{%
   \doiftextelse%
   {\sectionworldparameter\c!subtitle}%
   {\crlf\vskip0.3em\ss\bf\sectionworldparameter\c!subtitle}%
   {}%
   }

 \stopsetups

 \setupsectionworld
   [chapter]
   [setups={chapter:list},
author=]

 \def\ChapterCommand#1#2%
   {\vbox{\ChapterAuthor\ChapterTitle\ChapterSubTitle}}

 \let\ChapterAuthor\relax
 \let\ChapterTitle\relax
 \let\ChapterSubTitle\relax

 \protect

 \setupmarking[chapter][limittext={}]  

 \def\nocr{{\ \nomarking{\nolist\crlf}}}

\def\newlineinlist{\crlf}

 \starttext
 \startsectionworld[chapter][author=B. Rüssel, title=Consequences of
 the Brussels Declaration\\for German cultural politics]
 \input tufte
 \stopsectionworld
 \stoptext
 --- 8 ---

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] Bibliography: comments not ignored any more

2008-09-25 Thread Mojca Miklavec
On Thu, Sep 25, 2008 at 10:09 AM, Taco Hoekwater wrote:

 Hi,

  From the change section at the top of t-bib:

 %D \item Attempt to fix percent signs in bbl files. As a side-effect,
 %D   this prohibits comments in \tex{startpublication} blocks!
 %D   (17/4/2008)

Wow! (I should have read the sources next time, but the behaviour is
indeed astonishing. At least - I'm not used to non-working comments.)

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


Re: [NTG-context] \definecolor

2008-09-25 Thread Wolfgang Werners-Lucchini
  isn't there a three-parameter version of \definecolor ?
  It doesn't work.
  
  \setupcolors[state=start]
  \definecolor [MyBlue][blue][p=.2]
  \starttext
 \color[MyBlue]{Bla}
  \stoptext
 
 \definespotcolor (three args is too messy)

Ok! Then there are a lot of wiki-pages wrong.
Who is allowed to correct this?

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] \definecolor

2008-09-25 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote:
 isn't there a three-parameter version of \definecolor ?
 It doesn't work.

 \setupcolors[state=start]
 \definecolor [MyBlue][blue][p=.2]
 \starttext
\color[MyBlue]{Bla}
 \stoptext
 \definespotcolor (three args is too messy)
 
 Ok! Then there are a lot of wiki-pages wrong.
 Who is allowed to correct this?

you


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


Re: [NTG-context] math font size in captions (and other places)

2008-09-25 Thread Mikael Persson
Thank you Taco,

I did put \switchtobodyfont in the style argument and it worked like a charm.

Micke P

On Thu, Sep 25, 2008 at 10:01 AM, Taco Hoekwater [EMAIL PROTECTED] wrote:


 Mikael Persson wrote:

 In both cases the text is small, but math font is not changed. I can
 solve this by doing a \switchtobodyfont in the caption,

 You can put the \switchtobodyfont in the style argument:

   \setupcaptions[style={\switchtobodyfont[small]}]

 or you could redefine 'small':

   \def\bodyfontsmall{\switchtobodyfont[small]}
   \definealternativestyle [small] [\bodyfontsmall] []

 (untested)

 If redefinition doesn't work, you have to define a new alternative
 style

   \definealternativestyle [MySmall] [\bodyfontsmall] []

 but then you would have to go through the style changing
 style=small to style=MySmall etc.

 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
 ___

___
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] Descriptions ... I wish I understood them

2008-09-25 Thread Otared Kavian
On 24 sept. 08, at 20:45, Mojca Miklavec wrote:
 Hello,

 I have some weird problems with descriptions, but let's start at the
 beginning. (I have more problems with understanding how they work, but
 more about the rest later.)

 1.) How do I get some space between title and abc? (I currently
 put the space there manually.) If I set distance=1em, weird things
 start happening.


Hi Mojca,

I wish too…
At some point some years ago, I used descriptions such as yours and  
the only way
I could solve the problem of your abc too clsoe to title was to  
put an empty {}:

\definedescription
[ma]
[headstyle=bold,
 style=italic,
 align=left,
 location=left,
 width=fit,
 distance=0pt,
 margin=0pt,
 hang=2,
 indenting=never]
\starttext

\input tufte

\startma[Thm]{Conjecture 1}{} abc. \input knuth
\stopma

\input tufte
\blank

As mentioned in \in {}[Thm], we can show that\dots
\stoptext



 2.) What exactly does hang=1 do? I have no idea what it does there,
 but that was the only way to get the desired result, else everything
 gets indented. width=fit makes problems. With width=5cm everything is
 OK.


the hang parameter is the number of lines which are hang-indenting  
after the beginning of the description;
however  hang=0 means that all the description is hang-indenting.

Best regards: OK


 \definedescription
   [ma]
   [headstyle=bold,
style=italic,
align=left,
location=left,
width=fit,
distance=0pt,
margin=0pt,
hang=1,
indenting=never,
   ]
 \starttext

 \input tufte

 \startma{title} abc. \input tufte
 \stopma

 \input tufte

 \stoptext

 Thanks a lot,
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  : 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
___


Re: [NTG-context] Unicode characters

2008-09-25 Thread Wolfgang Schuster

Am 25.09.2008 um 17:05 schrieb Alan Stone:

 Hi,

 \starttext
  \char2217
 \blank
  \char278A
 \stoptext

 How to get the right output for the 2nd unicode character ? It's  
 blank.

You need a font with the character or use fallbacks.

@Hans: Shouldn't the output contain a notdef char.

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
___


[NTG-context] Unicode characters

2008-09-25 Thread Alan Stone
Hi,

\starttext
 \char2217
\blank
 \char278A
\stoptext

How to get the right output for the 2nd unicode character ? It's blank.

-- 
Best,
Alan

* ConTeXt  ver: 2008.09.16 19:49 MKIV  fmt: 2008.9.20  int: english/english
 (ConTeXt minimals installation)
* texexec --lua foo
* Ubuntu 8.04 Hardy Heron
___
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] Unicode characters

2008-09-25 Thread Hans Hagen
Wolfgang Schuster wrote:
 Am 25.09.2008 um 17:05 schrieb Alan Stone:
 
 Hi,

 \starttext
 \char2217
 \blank
 \char278A
 \stoptext

 How to get the right output for the 2nd unicode character ? It's  
 blank.
 
 You need a font with the character or use fallbacks.
 
 @Hans: Shouldn't the output contain a notdef char.

some day ...


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


Re: [NTG-context] How to get rid of space around itemize?

2008-09-25 Thread Mojca Miklavec
On Thu, Sep 25, 2008 at 8:07 AM, Hans Hagen wrote:
 Mojca Miklavec wrote:
 Hello,

 I'm trying to remove space before (and after) items in the following
 example, but the only way I have managed to do that was by using
 \vskip-\lineheight, which I'm not particulary proud of. Any ideas?

 \setupwhitespace
   [big]
 \setupitemize
   [joinedup]

 [joinedup,nowhite]

Wow! Interesting, thanks.

The following keywords are also still missing in xml:
  nofit
  fit
  margin
  columns
  text

Just one more question. Some time ago, I have a feeling that

\setupitemize
[paragraph]

was indeed working, so that one could get


This is a list:
- first
- second
- third

And a new paragraph started after that.
---

Now I have seen the
\startitemize[joinedup,nowhite,after]
in sources which does that, but I still don't quite understand the
paragraph keyword.

To my understanding (as described in the manual), one should need both
packed and joinedup in order to achive what joinedup does now, and
I have some fain momeries that that has been the case. Now it seem to
me as if joinedup would be doing did packed was supposed to do. But
I'm confused about all those options anyway.

Thanks again,
Mojca


 \setuplayout
   [grid=yes]
 \showgrid

 \starttext

 How to reduce the space here?
 \startitemize
 \item a
 \item b
 \stopitemize
 And here?

 \stoptext

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


[NTG-context] Fonts: Minimals v. Texlive 2007

2008-09-25 Thread Erich R Fickel
Thanks to everyone who helped me get the minimals installed.

I am having a little trouble. At my home computer, I have the Context 
installation for Ubuntu 7.04 from the sanjoy tex-live backports. At work 
I now have the minimals, --context=current, not beta. I expected that 
the output of these two systems would be nearly identical. They are not.

I do not use any special font handling. I let Context handle it all. I 
use whatever the default fonts are, and use \setupbodyfont only to set 
fontsize. The same source run on both machines produces slightly 
different margins and slightly different font sizes. The minimals are 
smaller (shorter) for the same font size (11 pt). I really would like to 
get the same output for both systems.

Can anyone help with this?

-Erich Fickel
___
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] How to get rid of space around itemize?

2008-09-25 Thread Hans Hagen
Mojca Miklavec wrote:
 On Thu, Sep 25, 2008 at 8:07 AM, Hans Hagen wrote:
 Mojca Miklavec wrote:
 Hello,

 I'm trying to remove space before (and after) items in the following
 example, but the only way I have managed to do that was by using
 \vskip-\lineheight, which I'm not particulary proud of. Any ideas?

 \setupwhitespace
   [big]
 \setupitemize
   [joinedup]
 [joinedup,nowhite]
 
 Wow! Interesting, thanks.
 
 The following keywords are also still missing in xml:
   nofit
   fit
   margin
   columns
   text
 
 Just one more question. Some time ago, I have a feeling that
 
 \setupitemize
 [paragraph]
 
 was indeed working, so that one could get

\startitemize[paragraph]
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
\stopitemize

\startitemize
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
\stopitemize

\page

\startitemize[packed]
 \item oeps
 \startitemize[packed]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[packed]
 \item oeps \item oeps
 \stopitemize
\stopitemize

\startitemize
 \item oeps
 \startitemize[packed]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[packed]
 \item oeps \item oeps
 \stopitemize
\stopitemize



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


Re: [NTG-context] \definecolor

2008-09-25 Thread Wolfgang Werners-Lucchini
  isn't there a three-parameter version of \definecolor ?
  It doesn't work.
 
  \setupcolors[state=start]
  \definecolor [MyBlue][blue][p=.2]
  \starttext
 \color[MyBlue]{Bla}
  \stoptext
  \definespotcolor (three args is too messy)
  
  Ok! Then there are a lot of wiki-pages wrong.
  Who is allowed to correct this?
 
 you

done

It is also wrong in 'msplit.pdf' for example
and in 'pdftools.rb'


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] How to get rid of space around itemize?

2008-09-25 Thread Mojca Miklavec
On Thu, Sep 25, 2008 at 6:56 PM, Hans Hagen wrote:
 Mojca Miklavec wrote:
 On Thu, Sep 25, 2008 at 8:07 AM, Hans Hagen wrote:
 Mojca Miklavec wrote:
 Hello,

 I'm trying to remove space before (and after) items in the following
 example, but the only way I have managed to do that was by using
 \vskip-\lineheight, which I'm not particulary proud of. Any ideas?

 \setupwhitespace
   [big]
 \setupitemize
   [joinedup]
 [joinedup,nowhite]

 Wow! Interesting, thanks.

 The following keywords are also still missing in xml:
   nofit
   fit
   margin
   columns
   text

 Just one more question. Some time ago, I have a feeling that

 \setupitemize
 [paragraph]

 was indeed working, so that one could get

 \startitemize[paragraph]
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
 \item oeps
 \startitemize[paragraph]
 \item oeps \item oeps
 \stopitemize
 \stopitemize

OK  I need some fresh air. paragraph indeed works (I knew I saw
it working), but only in the inner level (starting with the second
one) of itemize.

The first (outer) level indeed needs to be tuned with nowhite -
paragraph has only a partial effect of squeezing items, but does not
prevent whitespace. The desired effect only starts with inner items.

That has been completely confusing to me, but now I know how to use
properly it at least.

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


[NTG-context] French punctuation : tests

2008-09-25 Thread Olivier Guéry
Hello,

It seem's that there's some changes on the « frenchpunctuation front »
! Thank's.

I modified my test file and ad more precise rules to the wiki :
http://wiki.contextgarden.net/frenchpunctuation
I test it with luatex 0.29 and context 2008.09.21

* Strange bug : the space After the openning quote («) is twice bigger
than the one before the closing one (»). Look at test 3
* Wolfgang change the wiki about the compose word, but using this
(with the syntax compose||word) I get an endash (–) and not the normal
sign (-). Test 5
* There should't  be space between two sign. Test 2
* The space before the footnote sign is too big (it's clearer with
othe fonts). Test 4

As usual, if you need more information, just ask !

Cheers,
Olivier.

-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
http://nemolivier.blogspot.com


test-french-punctuation.tex
Description: TeX document


test-french-punctuation.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Descriptions ... I wish I understood them

2008-09-25 Thread Wolfgang Schuster

Am 24.09.2008 um 20:45 schrieb Mojca Miklavec:

 Hello,

 I have some weird problems with descriptions, but let's start at the
 beginning. (I have more problems with understanding how they work, but
 more about the rest later.)

 1.) How do I get some space between title and abc? (I currently
 put the space there manually.) If I set distance=1em, weird things
 start happening.

width=broad

See my second example (thanks to your example I was able to solve the  
first).

http://archive.contextgarden.net/message/20080130.152108.77e74a14.en.html

 2.) What exactly does hang=1 do? I have no idea what it does there,
 but that was the only way to get the desired result, else everything
 gets indented. width=fit makes problems. With width=5cm everything is
 OK.

http://www.ruhr-uni-bochum.de/www-rz/schwanbs/TeX/ - page 39

 \definedescription
   [ma]
   [headstyle=bold,
style=italic,
align=left,
location=left,
width=fit,
distance=0pt,
margin=0pt,
hang=1,
indenting=never,
   ]

\definedescription
   [pa]
   [headstyle=bold,
style=italic,
location=left,
width=broad,
hang=1]

 \starttext

 \input tufte

 \startma{title} abc. \input tufte
 \stopma

\pa{title} abc. \input tufte\par

 \input tufte

 \stoptext

Regards,
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] French punctuation : tests

2008-09-25 Thread Wolfgang Schuster

Am 25.09.2008 um 21:40 schrieb Olivier Guéry:

 Hello,

 It seem's that there's some changes on the « frenchpunctuation front »
 ! Thank's.

 I modified my test file and ad more precise rules to the wiki :
 http://wiki.contextgarden.net/frenchpunctuation
 I test it with luatex 0.29 and context 2008.09.21

 * Strange bug : the space After the openning quote («) is twice bigger
 than the one before the closing one (»). Look at test 3
 * Wolfgang change the wiki about the compose word, but using this
 (with the syntax compose||word) I get an endash (–) and not the normal
 sign (-). Test 5
 * There should't  be space between two sign. Test 2
 * The space before the footnote sign is too big (it's clearer with
 othe fonts). Test 4


Point 3:

\definehspace[fr][quote][\zeropoint]

\installlanguage
   [fr]
   [leftquote=\upperleftdoublesixquote,
rightquote=\upperrightdoubleninequote,
leftquotation=\leftguillemot,
rightquotation=\rightguillemot]

Point 4:

\definehspace[fr][footnote][.1667\emspaceamount]

\definehspace[footnote][\hspaceamount\currentlanguage{footnote}]

\setupfootnotes[textcommand={\hspace[footnote]\nobreak\high}]

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
___