Re: [NTG-context] Euler with fallback

2014-03-03 Thread Sanjoy Mahajan
Aditya Mahajan adit...@umich.edu writes:

 This is to announce that the latest beta supports creating virtual math 
 fonts with fallback. The main test case is to use Euler font with missing 
 characters taken from Pagella but the mechanism is general and can be used 
 to replace a specific set of math glyphs from a font.

 This feature is not extensively tested. As such it will be useful if 
 everyone interested in math fallback mechanism could test this out and 
 report any bugs or inconsistencies.

One inconsistency or maybe bug is that text subscripts come out in Euler
instead of Palatino.  

Here's an example (using 2014.02.14 beta).  The Sun subscript using
_{\tf Sun} or _{\rm Sun} was in Palatino in the corresponding MkII
setup, but is in Euler now.  The workaround of an hbox with \tfxx or
\tfx doesn't get quite the right size.

\usetypescriptfile[euler]

\definetypeface [mainface] [rm] [serif] [pagella]  [default]
\definetypeface [mainface] [tt] [mono]  [dejavu]   [default]
[rscale=0.9]
\definetypeface [mainface] [mm] [math]  [pagellaovereuler] [default]

\setupbodyfont[mainface]

\appendtoks \rm \to \everymathematics
\setupmathematics[lcgreek=normal, ucgreek=normal]

\starttext

\placeformula\startformula
M_{\rm Sun}\quad M_{\hbox{\tfx Sun}} \quad M_{\hbox{\tfxx Sun}} \quad M_{\tf 
Sun}
\stopformula

\stoptext
___
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] Presentation template

2014-03-03 Thread Fabrice Couvreur
Hi,
I will try to rewrite some of my classes with ConTeXt. I would like to draw
inspiration from this model
http://www.pragma-ade.com/general/manuals/cont-eni.pdf
How to start ?
Is it possible to have the source code to understand ?
Thank you.
___
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] Trying to use my local otf math font by editing typescript

2014-03-03 Thread 罗晨星
Hi here.

I was trying to use my own math font in Mark IV, inside distribution TeX
Live 2013, using typescript, but failed.

The way I am thinking, I might use an fallback way. For most of the math
symbols, I would use the provided palatino stuff, but for MathRoman and
MathItalic, I'd like to use the same font as of normal text, let's say
Minion Pro. As I'm looking into a normal typescript file, I thought of a
few options:

First of all, just overwrite the Palatino typescript, like follows:

\starttypescript
\definefontsynonym [MathRoman] [name:minionproregular]
\definefontsynonym [MathItalic][name:minionproit]
\stoptypescript

It gives out Math error: parameter \Umathquad\displaystyle is not set ...

Another way I'm trying, is to use some fall back mode.

\starttypescript [math] [palatino]
\setups[font:fallback:math]
\definefontsynonym [MathRoman] [name:minionproregular]
\definefontsynonym [MathItalic][name:minionproit]
\stoptypescript

It also doesn't work. The result was same as the previous.

And I also tried

\starttypescript [math] [palatinofb]
\usetypescript[math][palatino]
\definefontsynonym [MathRoman] [name:minionproregular]
\definefontsynonym [MathItalic][name:minionproit]
\stoptypescript

This also makes no difference.

Inspired by
http://tex.stackexchange.com/questions/150566/minionpro-including-math-in-context,
I also tried the \definefallbackfamily, it turn out to be an undefined
control sequence.

In the main typescript, I uses

\definetypeface[MinionPro-Mixed][mm][math][palatino][default]

So I cannot find out how to fulfill my need. I guess there might because of
a missing map file, but for a roman font, do we need any? Since the
following serif definition works fine:

\definefontfeature[zh][mode=node,script=hang,lang=zhs]

\starttypescript [serif] [MinionPro-Mixed]
\definefontfallback[Serif]
 [name:minionproregular][0x-0x0400][force=yes]
\definefontfallback[SerifItalic][name:minionproit]
[0x-0x0400][force=yes]
\definefontfallback[SerifBold]  [name:minionprobold]
[0x-0x0400][force=yes]
\definefontfallback[SerifBoldItalic][name:minionproboldit]
[0x-0x0400][force=yes]
\definefontsynonym [Serif]
 [name:fzshusongz01][fallbacks=Serif] [features=zh]
\definefontsynonym [SerifItalic]
[name:fzheib01][fallbacks=SerifItalic] [features=zh]
\definefontsynonym [SerifBold] [name:fzheib01][fallbacks=SerifBold]
[features=zh]
\definefontsynonym [SeriBoldItalic]
[name:fzheib01][fallbacks=SerifBoldItalic] [features=zh]
\stoptypescript

As I've seen, normally, a fallback definition of typescript is used in
serif/sans/mono, but there comes no successfull example for fall back of
math font. Also, there is fall back for a font, but not an entire
typescript.

And build a new math font is obvious beyond my competent.

So how to deal with this problem? Is there a solution?

Regards,

南京大学 现代工程与应用科学学院 2013级
罗晨星
Luo Chenxing
—
chenxing@gmail.com
___
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] \starthanging and hangafter

2014-03-03 Thread Alan Bowen
Thanks, Thangalin. I did not know of \hangsidefloat and \movesidefloat and
can see that they will very useful in combination with \placefigure in the
body text, when I need text to flow over and below images at the side.

The problem is that \placefigure[right or left] does not work in footnotes.
I will start a new thread to see if I can get help with that. And when I
have a solution (a working example) I will post it to this current thread
so that you can put it on the wiki.

All best, Alan


On Sun, Mar 2, 2014 at 9:20 PM, Thangalin thanga...@gmail.com wrote:

 Hi Alan,

 From the archives:

 http://www.ntg.nl/pipermail/ntg-context/2006/015481.html

 The \hangsidefloat and \movesidefloat commands may prove useful.

 Once you have a simple working example, post it to this thread and
 I'll update the wiki.

 ___
 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] font handling

2014-03-03 Thread Herbert Voss

Can someone at least confirm this behaviour?

Herbert


Am 26.02.2014 14:31, schrieb Herbert Voss:

I used uo-to-date minimal:

\starttext
test
\stoptext

voss@shania:/opt/context pdffonts torus.pdf
name typeencodingemb sub uni object ID
 --- --- --- --- --- -
WGBVOX+LMRoman12-Regular CID Type 0C Identity-H  yes yes yes 18  0




\definefontfamily[Garamond][serif][Garamond Premier Pro]
\setupbodyfont[Garamond]
\starttext
test
\stoptext


voss@shania:/opt/context pdffonts torus.pdf
name   typeencoding   emb sub uni object ID
-- --- -- --- --- --- -
RTODGH+LatinModernMath-Regular CID Type 0C Identity-H yes yes yes 18  0

The Garamond is not found which is no real problem here, but
why do I get a math font here as default?

Herbert
___

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] \placefigure[right or left] failing in footnotes

2014-03-03 Thread Alan Bowen
The following does not work as it should:

setupexternalfigures[location={local,default}]

\starttext
text%
\footnote{\hangsidefloat[2]
\placefigure[right,none]{}
{\externalfigure[cow][width=.1\textwidth]}
\dorecurse{3}{\input ward}}

%for comparison
\hangsidefloat[2]
\placefigure[right,none]{}
{\externalfigure[cow][width=.1\textwidth]}
\dorecurse{3}{\input ward}%
 \stoptext

The text and image in the main body are as they should be.

But note that the first line of the footnote is blank and that, while the
image is placed as it should be, the text runs through it.

I am running ConTeXt  ver: 2014.02.14 17:07 MKIV beta.

Alan
___
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] Euler with fallback

2014-03-03 Thread Aditya Mahajan

On Mon, 3 Mar 2014, Sanjoy Mahajan wrote:


Aditya Mahajan adit...@umich.edu writes:


This is to announce that the latest beta supports creating virtual math
fonts with fallback. The main test case is to use Euler font with missing
characters taken from Pagella but the mechanism is general and can be used
to replace a specific set of math glyphs from a font.

This feature is not extensively tested. As such it will be useful if
everyone interested in math fallback mechanism could test this out and
report any bugs or inconsistencies.


One inconsistency or maybe bug is that text subscripts come out in Euler
instead of Palatino.

Here's an example (using 2014.02.14 beta).  The Sun subscript using
_{\tf Sun} or _{\rm Sun} was in Palatino in the corresponding MkII
setup, but is in Euler now.  The workaround of an hbox with \tfxx or
\tfx doesn't get quite the right size.


That is because in math mode, \rm is symonym with \mathrm etc. The 
standard way to write this is _{\text{Sun}}.


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] font handling

2014-03-03 Thread Hans Hagen

On 3/3/2014 3:39 PM, Herbert Voss wrote:

Can someone at least confirm this behaviour?


it's probably because math gets defined last (and also always because 
without math tex behaves bad) so what you see it the last set font


Hans



Herbert


Am 26.02.2014 14:31, schrieb Herbert Voss:

I used uo-to-date minimal:

\starttext
test
\stoptext

voss@shania:/opt/context pdffonts torus.pdf
name typeencodingemb sub uni object ID
 --- --- --- --- --- -
WGBVOX+LMRoman12-Regular CID Type 0C Identity-H  yes yes yes 18  0




\definefontfamily[Garamond][serif][Garamond Premier Pro]
\setupbodyfont[Garamond]
\starttext
test
\stoptext


voss@shania:/opt/context pdffonts torus.pdf
name   typeencoding   emb sub uni
object ID
-- --- -- --- --- ---
-
RTODGH+LatinModernMath-Regular CID Type 0C Identity-H yes yes yes
18  0

The Garamond is not found which is no real problem here, but
why do I get a math font here as default?

Herbert
___


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
___




--

-
  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] Trying to use my local otf math font by editing typescript

2014-03-03 Thread Hans Hagen

On 3/2/2014 3:36 PM, 罗晨星 wrote:

Hi here.

I was trying to use my own math font in Mark IV, inside distribution TeX
Live 2013, using typescript, but failed.

The way I am thinking, I might use an fallback way. For most of the math
symbols, I would use the provided palatino stuff, but for MathRoman and
MathItalic, I'd like to use the same font as of normal text, let's say
Minion Pro. As I'm looking into a normal typescript file, I thought of a
few options:


you need a real math font with real math parameters

Hans


-
  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] Euler with fallback

2014-03-03 Thread Sanjoy Mahajan
Aditya,

 Here's an example (using 2014.02.14 beta).  The Sun subscript using
 _{\tf Sun} or _{\rm Sun} was in Palatino in the corresponding MkII
 setup, but is in Euler now.  The workaround of an hbox with \tfxx or
 \tfx doesn't get quite the right size.

 That is because in math mode, \rm is symonym with \mathrm etc. The 
 standard way to write this is _{\text{Sun}}.

I agree about \rm.  However, _{\tf blah} once (in MkII) selected the
text font.  e.g.

\starttext
\placeformula\startformula
M_{\tf Sun}
\stopformula
\stoptext

Is the II-IV change in \tf semantics intended?  It's not hard to adjust
for by using 'sed'.  I raise the issue only in case the change is not
intended.

Actually, the example just as above (i.e. using modern fonts) works fine
works in MkII and MkIV.  It also works if \setupbodyfont[palatino] is
inserted as the first line.

It's fails only when using Palatino with Euler (at least, in the way
that I did it).

That data doesn't say what the right behavior is.  But it may help you
decide.

-Sanjoy
___
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] Trying to use my local otf math font by editing typescript

2014-03-03 Thread Aditya Mahajan

On Sun, 2 Mar 2014, 罗晨星 wrote:


Inspired by
http://tex.stackexchange.com/questions/150566/minionpro-including-math-in-context,
I also tried the \definefallbackfamily, it turn out to be an undefined
control sequence.


You need a newer version of ConTeXt (2013.12.20 or newer). Use context 
--version to find the version that you are using. The easiest way to 
update is to install context minimals.


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] \placefigure[right or left] failing in footnotes

2014-03-03 Thread Wolfgang Schuster

Am 03.03.2014 um 16:04 schrieb Alan Bowen bowenala...@gmail.com:

 The following does not work as it should:
 
 setupexternalfigures[location={local,default}]
 
 \starttext
 text%
 \footnote{\hangsidefloat[2]
   \placefigure[right,none]{}
   {\externalfigure[cow][width=.1\textwidth]}
   \dorecurse{3}{\input ward}}
  
 %for comparison
 \hangsidefloat[2]
 \placefigure[right,none]{}
   {\externalfigure[cow][width=.1\textwidth]}
   \dorecurse{3}{\input ward}%
  \stoptext
 
 The text and image in the main body are as they should be.
  
 But note that the first line of the footnote is blank and that, while the 
 image is placed as it should be, the text runs through it.

1. The vertical distance before and after floats can be changed with 
\setupfloat[spacebefore=…,spaceafter=…].

2. Some features like floats or columns don’t work or can be used only with 
limitations in footnotes.

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] \starthanging and hangafter

2014-03-03 Thread Wolfgang Schuster

Am 02.03.2014 um 21:19 schrieb Alan Bowen bowenala...@gmail.com:

 A follow up, if I may. 
 
 Unlike \starthanging..\stophanging which behaves in the same way in both body 
 text and footnotes, \placefigure does not. In footnotes, \olacefigure adds an 
 opening blank line and runs the text through the image. It does, however, 
 seem to place the image better. An example:
 
 \setupexternalfigures[location={local,default}]
 
 \starttext
 
 text text,%
 \footnote{
 \starthanging[location=right]
   {\externalfigure[cow][width=.1\textwidth]}
   \dorecurse{2}{\input ward}
   \stophanging}
  and more text%
 \footnote{\placefigure[right,none]{}
   {\externalfigure[cow][width=.1\textwidth]}
   \dorecurse{2}{\input ward}
   }
 
 \placefigure[right,none]{}
   {\externalfigure[cow][width=.1\textwidth]}
   \dorecurse{2}{\input ward}
 \stoptext
 
 If \placefigure worked in footnotes as it does in body text, that would be 
 good—though being able to place the image at the right but under the first 
 line or first two lines of the footnote would be ideal.
 
 Is there a way to get this outcome using either \starthanging..\stophanging 
 or \placefigure?

You need the \parshape to command to get this kind of output but AFAIK there is 
no user interface for this in context.

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] page numbering 'marginedge'

2014-03-03 Thread David Wooten
Hello all, trying to get page numbers in the outer margin edge of a 
double-sided document — marginedge as it is places the numbers to the inside 
margin edge, is there an opposite command?

Thanks,
David
___
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] page numbering 'marginedge'

2014-03-03 Thread Pablo Rodriguez
On 03/03/2014 07:37 PM, David Wooten wrote:
 Hello all, trying to get page numbers in the outer margin edge of a
 double-sided document — marginedge as it is places the numbers to the
 inside margin edge, is there an opposite command?

Hi David,

as far as I know, location=right is the option you want.

See minimal sample:

\setuppapersize[A6]
\setuppagenumbering[alternative=doublesided, location=right]
\starttext
\input knuth\page
\input zapf\page
\input ward
\stoptext

I hope it helps,


Pablo
-- 
http://www.ousia.tk
___
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] (again) bug with bidi direction and \about references

2014-03-03 Thread Pablo Rodriguez
Hi Hans,

sorry for telling again, but I’m afraid that the following sample shows
a serious buggy interaction between \setupdirections[bidi=on] and \about
references.

\setupdirections[bidi=on]
\starttext

\section[sectionone]{Section one}

As said in \dorecurse{5}
{\about[sectionone]\footnote{Body reference misplaced.}, }
\stoptext

Both \about and footnote references in body are misplaced.

It would be great, if you could fix this.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] \starthanging and hangafter

2014-03-03 Thread Alan Bowen
Thanks, Wolfgang--it does help to know when one is asking too much of
ConTeXt.

Alan


On Mon, Mar 3, 2014 at 11:28 AM, Wolfgang Schuster 
schuster.wolfg...@gmail.com wrote:


 Am 02.03.2014 um 21:19 schrieb Alan Bowen bowenala...@gmail.com:

 A follow up, if I may.

 Unlike \starthanging..\stophanging which behaves in the same way in both
 body text and footnotes, \placefigure does not. In footnotes, \olacefigure
 adds an opening blank line and runs the text through the image. It does,
 however, seem to place the image better. An example:

 \setupexternalfigures[location={local,default}]

 \starttext

 text text,%
 \footnote{
 \starthanging[location=right]
 {\externalfigure[cow][width=.1\textwidth]}
  \dorecurse{2}{\input ward}
 \stophanging}
  and more text%
 \footnote{\placefigure[right,none]{}
  {\externalfigure[cow][width=.1\textwidth]}
 \dorecurse{2}{\input ward}
 }

 \placefigure[right,none]{}
 {\externalfigure[cow][width=.1\textwidth]}
 \dorecurse{2}{\input ward}
 \stoptext

 If \placefigure worked in footnotes as it does in body text, that would be
 good--though being able to place the image at the right but under the first
 line or first two lines of the footnote would be ideal.

 Is there a way to get this outcome using either \starthanging..\stophanging
 or \placefigure?


 You need the \parshape to command to get this kind of output but AFAIK
 there is no user interface for this in context.

 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

 ___

___
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] \placefigure[right or left] failing in footnotes

2014-03-03 Thread Alan Bowen
Again, thanks.

My tests so far indicate that the only way to go in footnotes is with
\starthanging[location-right]...\stophanging--and to be happy with the output
as it is (which is quite nice, when all is said and done).

Alan


On Mon, Mar 3, 2014 at 11:24 AM, Wolfgang Schuster 
schuster.wolfg...@gmail.com wrote:


 Am 03.03.2014 um 16:04 schrieb Alan Bowen bowenala...@gmail.com:

 The following does not work as it should:

 setupexternalfigures[location={local,default}]

 \starttext
 text%
 \footnote{\hangsidefloat[2]
  \placefigure[right,none]{}
 {\externalfigure[cow][width=.1\textwidth]}
 \dorecurse{3}{\input ward}}

 %for comparison
 \hangsidefloat[2]
 \placefigure[right,none]{}
 {\externalfigure[cow][width=.1\textwidth]}
 \dorecurse{3}{\input ward}%
  \stoptext

 The text and image in the main body are as they should be.

 But note that the first line of the footnote is blank and that, while the
 image is placed as it should be, the text runs through it.


 1. The vertical distance before and after floats can be changed with
 \setupfloat[spacebefore=...,spaceafter=...].

 2. Some features like floats or columns don't work or can be used only
 with limitations in footnotes.

 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

 ___

___
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] tolerance only in notes

2014-03-03 Thread Pablo Rodriguez
Dear list,

which is the option to setup tolerance in notes?

Sorry, but tolerance doesn’t seem to be an option either in \setupnote
or \setupnotation.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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] tolerance only in notes

2014-03-03 Thread Aditya Mahajan
Use the align key: align=tolerant. 

Aditya

 On Mar 3, 2014, at 3:28 PM, Pablo Rodriguez oi...@gmx.es wrote:
 
 Dear list,
 
 which is the option to setup tolerance in notes?
 
 Sorry, but tolerance doesn’t seem to be an option either in \setupnote
 or \setupnotation.
 
 Many thanks for your help,
 
 
 Pablo
 -- 
 http://www.ousia.tk
 ___
 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] tolerance only in notes

2014-03-03 Thread Pablo Rodriguez
On 03/03/2014 09:53 PM, Aditya Mahajan wrote:
 Use the align key: align=tolerant. 

Many thanks for your help, Aditya.

Pablo


 On Mar 3, 2014, at 3:28 PM, Pablo Rodriguez oi...@gmx.es wrote:

 Dear list,

 which is the option to setup tolerance in notes?

 Sorry, but tolerance doesn’t seem to be an option either in \setupnote
 or \setupnotation.

 Many thanks for your help,


 Pablo


-- 
http://www.ousia.tk
___
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] Presentation template

2014-03-03 Thread Thangalin
Hi Fabrice,

I'm not sure what you mean by your classes -- do you mean
presentation material to help students?

Here are some links to get you started:

http://tex.stackexchange.com/questions/52841/where-to-find-the-source-code-to-the-context-manuals
https://foundry.supelec.fr/projects/contextman/
http://context.aanhet.net/svn/

If you are just starting out with ConTeXt, take a look at the following:

http://wiki.contextgarden.net/Manuals#First_manuals
http://wiki.contextgarden.net/ConTeXt,_an_excursion
___
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] Margin notes

2014-03-03 Thread S Barmeier
I am trying to compile a 2-year-old mkiv document with the latest beta
and am getting an error on the line

\inleft[style=bold,stack=continue]

Two years ago, stacking of margin notes was still experimental, so I'm
guessing something has changed since then. What is the correct way these
days to typeset margin notes?

Thank you,
Severin
___
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
___