Re: [NTG-context] tt, bold

2010-05-01 Thread Wolfgang Schuster

Am 30.04.10 16:46, schrieb R. Bastian:

Hello,

for printing python scripts, i wish that the code to be \tt and
the reserved word \bold. They are but so lightly that the difference
is quasi not visible.

The normal text is [sansserif, 10 pt].

  Is there a solution?
   


Use another font which has a better contrast between regular and bold.

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

2010-05-01 Thread Wolfgang Schuster

Am 30.04.10 11:56, schrieb Philipp Gesang:

Better indeed, because it's shorter. Which one should be wikified? Shall
we wait until everybody's back from Poland and Hans dubs one of the
solutions official?
   


1. I found know a working solution without \setupalign or \startalignment

\setupnotedefinition[footnote][location=right,align=flushright,hang=margin]
\starttext
a\footnote{blabla}\par
b\footnote{blablablablablablablablablablablablablablablabla}\par
c\footnote{blabla\input knuth\par}\par
\stoptext

2. I can reproduce the odd results without footnotes

\setuppapersize[A4][A3,landscape]
\defineenumeration[test][location=right,align=flushright]
\showframe

\starttext

\vbox
  {\starttest bla\stoptest
   \starttest blablabla\stoptest
   \starttest \input knuth \stoptest}

\setupenumerations[hang=margin]

\vbox
  {\starttest bla\stoptest
   \starttest blablabla\stoptest
   \starttest \input knuth \stoptest}

\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] tt, bold

2010-05-01 Thread R. Bastian
On Sat, 01 May 2010 09:53:58 +0200
Wolfgang Schuster  scribit:

> Am 30.04.10 16:46, schrieb R. Bastian:
> > Hello,
> >
> > for printing python scripts, i wish that the code to be \tt and
> > the reserved word \bold. They are but so lightly that the difference
> > is quasi not visible.
> >
> > The normal text is [sansserif, 10 pt].
> >
> >   Is there a solution?
> >
> 
> Use another font which has a better contrast between regular and bold.

Yes. The contrats of the tex fonts cmtt10 & cmttb10 is good (for me :). Bat, 
due to the
Minimal installation, context can not found this fonts which exists in the
texlive tree (from 2007) - i use them with plain tex.


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


-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org
http://www.soundsurvey.org.uk/


___
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] tt, bold

2010-05-01 Thread Wolfgang Schuster

Am 01.05.10 11:25, schrieb R. Bastian:

Yes. The contrats of the tex fonts cmtt10&  cmttb10 is good (for me :). Bat, 
due to the
Minimal installation, context can not found this fonts which exists in the
texlive tree (from 2007) - i use them with plain tex.
   


That's the best i can do with the minimals and Latin Modern.

To be honest, use another font when you want to set your whole
document in a sans serif style.

\starttypescript [mono] [latinmodern-light]
\definefontsynonym [Mono] [LMTypewriter-Light]
\definefontsynonym [MonoBold] [LMTypewriter-Dark]
\definefontsynonym [MonoItalic]   [LMTypewriter-LightOblique]
\definefontsynonym [MonoSlanted]  [LMTypewriter-DarkOblique]
\definefontsynonym [MonoBoldItalic]   [LMTypewriter-DarkOblique]
\definefontsynonym [MonoBoldSlanted]  [LMTypewriter-Light]
\definefontsynonym [MonoCaps] [LMTypewriter-Light]
\definefontsynonym [MonoCapsSlanted]  [LMTypewriter-Light]
\stoptypescript

\definetypeface [mainface] [rm] [serif] [modern][default]
\definetypeface [mainface] [ss] [sans]  [modern][default]
%\definetypeface [mainface] [tt] [mono]  [modern-light]  [default] % 
no bold style, why?

\definetypeface [mainface] [tt] [mono]  [latinmodern-light] [default]
\definetypeface [mainface] [mm] [math]  [modern][default]

\setupbodyfont[mainface]

\starttext
\rm\tf regular \bf bold\par
\ss\tf regular \bf bold\par
\tt\tf regular \bf bold\par
\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] Font surprise from the Polish gurus

2010-05-01 Thread Mojca Miklavec
There's a slightly bigger surprise font update in the minimals. Enjoy!

(ConTeXt support still to come ... hopefully today ...)

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] redefine word "Figure" for a specific language

2010-05-01 Thread Fabio Tiriticco
Hi all,
this is my first post here, and only because I couldn't find an answer in
the database.
I am using ConTeXt for an italian document (I used LaTeX years ago for my
thesis and I like ConTeXt much better!)
I would like to redefine the word used in figure captions. The default
english is "Figure".
If I switch to

\mainlanguage[it]

the word becomes "Fig."
How can I arbitrarily decide what to show there?

thanks for the attention,
Fabio
___
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] Small bug in Italian hyphenation

2010-05-01 Thread Giovanni Salmeri
I'm using ConTeXt Mk IV and I've found a small problem with the Italian
hyphenation. Sequences like "dell'impossibile" are hyphenated
"dell'im-pos-si-bi-le" instead of the correct
"del-l'im-pos-si-bi-le" (i.e. the first hyphen is omitted, which is
sometimes annoying). In the list it.comp.software.tex I was told to add
\lccode`\'=`\' in my text: in fact, it works perfectly, but I suppose
there is something to be corrected in the ConTeXt files. Could someone
tell me which file and how?

Thank you very much in advance.

-- 
Giovanni Salmeri
http://mondodomani.org/pers/salmeri/
___
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
___