Re: [NTG-context] How to make all heads \ss?

2013-02-22 Thread Wolfgang Schuster

Am 22.02.2013 um 08:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 Hello,
 
 is there a way how to change all heads style, e.g. to sans?
 
 This doesn't work for me:
 
 
 \setupheads[style=\ss]
 
 \starttext
  \section{Abc}
 
  Def
 \stoptext
 
 
 TIA.

This doesn’t work because chapter, section etc. have a individual style
which is used instead of the global setting.

\setuphead[chapter][style=\ssc]
\setuphead[section][style=\ssa]

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] pgfplots in newest beta

2013-02-22 Thread Jaroslav Hajtmar

Hello all.
I downloaded the current version of ConTeXt standaone and translated 
quite complex and complicated case that uses modules pgfplots and tikz. 
Compilation was successful!
It seems now that everything is in order. Given that currently use these 
modules, so I will continue testing.

Thanks very much for the patch.
Thanks to all the others for their interest about facilitate repairs and 
testing.


Best regards,

Jaroslav Hajtmar

Dne 22.2.2013 8:29, Mojca Miklavec napsal(a):

On Wed, Feb 20, 2013 at 4:08 PM, Emanuele Sacco wrote:

I have the same problem.

2013/2/15 Malte Harder

Hi list,

I've got a problem with the latest beta and pgfplots. It already
happens when the module is loaded and also with a minimal file testing
pgfplots. Output is attached below. Is this is a known problem that
has a workaround or will be fixed in the future?

Not a big problem for me, I guess I'll just downgrade to a working
version in the meantime.

Best,
Malte

The author of pgfplots fixed the problem. Please test and report if
there are any other issues.

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
___



___
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] How to make all heads \ss?

2013-02-22 Thread Devendra Ghate


On 02/22/2013 01:31 PM, Wolfgang Schuster wrote:

Am 22.02.2013 um 08:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:


Hello,

is there a way how to change all heads style, e.g. to sans?

This doesn't work for me:


\setupheads[style=\ss]

\starttext
  \section{Abc}

  Def
\stoptext


TIA.

This doesn’t work because chapter, section etc. have a individual style
which is used instead of the global setting.

\setuphead[chapter][style=\ssc]
\setuphead[section][style=\ssa]

Wolfgang


A slightly more verbose alternative which I have been using is:

\definehead
[chapter]
[section]

\setuphead
 [chapter]
 [section]
 [style=\ss]

\setuphead
 [chapter]
 [style=\tfb]

\setuphead
 [section]
 [style=\tfx]

\starttext
 \chapter{Chapter}
 \section{Section}
\stoptext

Is this not recommended?

Regards,
Devendra






___
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] pgfplots in newest beta

2013-02-22 Thread Emanuele Sacco
Thanks

es


2013/2/22 Jaroslav Hajtmar hajt...@gyza.cz

 Hello all.
 I downloaded the current version of ConTeXt standaone and translated quite
 complex and complicated case that uses modules pgfplots and tikz.
 Compilation was successful!
 It seems now that everything is in order. Given that currently use these
 modules, so I will continue testing.
 Thanks very much for the patch.
 Thanks to all the others for their interest about facilitate repairs and
 testing.

 Best regards,

 Jaroslav Hajtmar

 Dne 22.2.2013 8:29, Mojca Miklavec napsal(a):

  On Wed, Feb 20, 2013 at 4:08 PM, Emanuele Sacco wrote:

 I have the same problem.

 2013/2/15 Malte Harder

 Hi list,

 I've got a problem with the latest beta and pgfplots. It already
 happens when the module is loaded and also with a minimal file testing
 pgfplots. Output is attached below. Is this is a known problem that
 has a workaround or will be fixed in the future?

 Not a big problem for me, I guess I'll just downgrade to a working
 version in the meantime.

 Best,
 Malte

 The author of pgfplots fixed the problem. Please test and report if
 there are any other issues.

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




-- 
Al mondo ci sono 10 tipi di persone: quelli che conoscono il sistema
binario e quelli che non lo conoscono.
___
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] || missing in iwona?

2013-02-22 Thread Mikael P. Sundqvist
With the latest discussion about the || in mind, I notice that I cannot
get it in iwona.

\stupbodyfont[iwona]
\starttext
 $\fenced[doublebar]{v}$

$\Vert v\Vert$

$||v||$
\stoptext

Does it mean that the glyph is missing in the font?

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


Re: [NTG-context] || missing in iwona?

2013-02-22 Thread luigi scarso
On Fri, Feb 22, 2013 at 12:33 PM, Mikael P. Sundqvist mic...@gmail.com wrote:
 With the latest discussion about the || in mind, I notice that I cannot
 get it in iwona.

 \stupbodyfont[iwona]
 \starttext
  $\fenced[doublebar]{v}$

 $\Vert v\Vert$

 $||v||$
 \stoptext

 Does it mean that the glyph is missing in the font?

 /Mikael

\enabletrackers[fonts.missing]
\setupbodyfont[iwona]
\starttext
 $\fenced[doublebar]{v}$

$\Vert v\Vert$

$||v||$
\stoptext

My log file says:

Missing character: There is no ‖ (U+2016) in font Iwona-Regular!
Missing character: There is no ‖ (U+2016) in font Iwona-Regular!
Missing character: There is no ‖ (U+2016) in font Iwona-Regular!

--
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] [***SPAM***] Question about current ConTeXt with XeTeX

2013-02-22 Thread hwitloc

I just read in contextgarden.net the following:
  Note that XeTeX uses mkii and LuaTeX uses mkiv ; in principle mkii is frozen 
so new features and improvements will only happen in mkiv.

  I use the ConTeXt which comes in TEXLIVE 2012, which I assume uses Mark IV.  
Does that mean that I can not use this version of ConTeXt with XeteX which also 
comes packaged in TEXLIVE?

Regards
___
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] [***SPAM***] Question about current ConTeXt with XeTeX

2013-02-22 Thread Marco Patzer
On 2013–02–22 hwit...@gmail.com wrote:

   I use the ConTeXt which comes in TEXLIVE 2012, which I assume uses Mark IV. 
  Does that mean that I can not use this version of ConTeXt with XeteX which 
 also comes packaged in TEXLIVE?

You can use MkII with XeTeX as follows:

  context --xetex file.tex

Marco


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] Question about current ConTeXt with XeTeX

2013-02-22 Thread Mojca Miklavec
On Fri, Feb 22, 2013 at 12:25 PM,  hwit...@gmail.com wrote:

 I just read in contextgarden.net the following:
   Note that XeTeX uses mkii and LuaTeX uses mkiv ; in principle mkii is 
 frozen so new features and improvements will only happen in mkiv.

   I use the ConTeXt which comes in TEXLIVE 2012, which I assume uses Mark IV.

ConTeXt in TL 2012 provides both Mark II and IV. There is no plan to
kick MkII out of TeX Live.

  Does that mean that I can not use this version of ConTeXt with XeteX which 
 also comes packaged in TEXLIVE?

Of course you can use it. It is indeed true that ConTeXt uses MkII for
XeTeX and that MkII it is frozen, but nothing prevents you from using
XeTeX with ConTeXt. Any of the following commands should work:
texexec --xtx filename[.tex]
texexec --xetex filename[.tex]
context --xetex filename[.tex]

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] How to make all heads \ss?

2013-02-22 Thread Philipp Gesang
Hi Devendra!

···date: 2013-02-22, Friday···from: Devendra Ghate···

 A slightly more verbose alternative which I have been using is:
 
 \definehead
 [chapter]
 [section]
 
 \setuphead
  [chapter]
  [section]
  [style=\ss]
 
 \setuphead
  [chapter]
  [style=\tfb]
 
 \setuphead
  [section]
  [style=\tfx]
 
 \starttext
  \chapter{Chapter}
  \section{Section}
 \stoptext
 
 Is this not recommended?

With

\definehead[chapter][section]

you set the structurelevel of \section to that of \chapter,
essentially creating a synonym with a slightly different style.
This is guaranteed to mess up your lists (e.g. toc). To verify
that, execute this snippet:

\definehead[chapter][section]
\starttext
\chapter{foo} \section{bar} \chapter{baz}
\stoptext

Observe that \section and \chapter now share a counter.

Btw. to avoid confusion better create your own set of macros
(\definehead[myexperimentalsection][section]) instead of
overriding pre-defined functionality.

Hth
Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgpaq2sZ6nzX0.pgp
Description: PGP 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] [***SPAM***] Question about current ConTeXt with XeTeX

2013-02-22 Thread hwitloc

Thanks for the helpful information.
I didn't know tha MkII was included in the distribution or about the --xetex 
option.

Darel

Marco Patzer home...@lavabit.com wrote:
 On 2013–02–22 hwit...@gmail.com wrote:
 
I use the ConTeXt which comes in TEXLIVE 2012, which I assume uses Mark 
  IV.  Does that mean that I can not use this version of ConTeXt with XeteX 
  which also comes packaged in TEXLIVE?
 
 You can use MkII with XeTeX as follows:
 
   context --xetex file.tex
 
 Marco
 ___
___
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] || missing in iwona?

2013-02-22 Thread Hans Hagen

On 2/22/2013 12:49 PM, luigi scarso wrote:

On Fri, Feb 22, 2013 at 12:33 PM, Mikael P. Sundqvist mic...@gmail.com wrote:

With the latest discussion about the || in mind, I notice that I cannot
get it in iwona.

\stupbodyfont[iwona]
\starttext
  $\fenced[doublebar]{v}$

$\Vert v\Vert$

$||v||$
\stoptext

Does it mean that the glyph is missing in the font?

/Mikael


\enabletrackers[fonts.missing]
\setupbodyfont[iwona]
\starttext
  $\fenced[doublebar]{v}$

$\Vert v\Vert$

$||v||$
\stoptext

My log file says:

Missing character: There is no ‖ (U+2016) in font Iwona-Regular!
Missing character: There is no ‖ (U+2016) in font Iwona-Regular!
Missing character: There is no ‖ (U+2016) in font Iwona-Regular!


so we need to add en entry to math-ttv.lua

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

[NTG-context] MetaPost Function Grapher

2013-02-22 Thread Troy Henderson
The MetaPost output from my Function Grapher

http://www.tlhiv.org/mpgraph/

is now available in ConTeXt format.  This can be illustrated by choosing a
graph type and selecting an example from one of the Example buttons.  Once
the graph is drawn, the ConTeXt source can be downloaded using the
Download drop-down box.  Simply executing `context mpgraph.tex` should
produce the same graph viewed on the website in PDF.  If you see any bugs,
feel free to let me know.

Troy Henderson
___
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] Question about current ConTeXt with XeTeX

2013-02-22 Thread d.henman

Thanks for the clear and detailed explanation.  It helped clear up the 
difference, or lak thereof between the -xtxx anf --xetex options for the 
different scripts/programs.


Mojca Miklavec mojca.miklavec.li...@gmail.com wrote:

 On Fri, Feb 22, 2013 at 12:25 PM,  hwit...@gmail.com wrote:
 
  I just read in contextgarden.net the following:
Note that XeTeX uses mkii and LuaTeX uses mkiv ; in principle mkii is 
  frozen so new features and improvements will only happen in mkiv.
 
I use the ConTeXt which comes in TEXLIVE 2012, which I assume uses Mark 
  IV.
 
 ConTeXt in TL 2012 provides both Mark II and IV. There is no plan to
 kick MkII out of TeX Live.
 
   Does that mean that I can not use this version of ConTeXt with XeteX which 
  also comes packaged in TEXLIVE?
 
 Of course you can use it. It is indeed true that ConTeXt uses MkII for
 XeTeX and that MkII it is frozen, but nothing prevents you from using
 XeTeX with ConTeXt. Any of the following commands should work:
 texexec --xtx filename[.tex]
 texexec --xetex filename[.tex]
 context --xetex filename[.tex]
 
 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
___