[NTG-context] end footnotes before new chapter starts?

2009-09-18 Thread Steffen Wolfrum

Hi,


is there a way to end (flush) footnotes of a chapter before the next  
chapters starts?



Please have a look at this double-page spread below, please:

http://werksatz.com/attachments/spread.pdf



Footnote no. 37 should be the first footnote that is printed under the  
footnote line of the first page of the new chapter (right).


This is even more important/annoying when footnote numbering starts at  
1 with a new chapter!!




Steffen (at MkII)

___
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] [OT] Open Font Format

2009-09-18 Thread luigi scarso
ISO/IEC 14496-22:2009
Information technology -- Coding of audio-visual objects -- Part 22:
Open Font Format
http://standards.iso.org/ittf/PubliclyAvailableStandards/c052136_ISO_IEC_14496-22_2009(E).zip

From pdf:
NOTE This specification is based on the OpenType®ii font
format specification, and is technically equivalent to that
specification.



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


[NTG-context] fonts

2009-09-18 Thread Jörg Hagmann
The fonts (linlibertine and gentium) I installed (and which worked) on 
my ubuntu minimals don't work any more. I can't see any difference 
between the appropriate files on my mac (where they work) and the linux 
machine. Maybe somebody can point out the problem based on the message 
below -- I would prefer not to get reacquainted with the font mess (no 
time).

I updated the minimals and remade formats. I am using mkII.

The message is:

systems : end file pdfs at line 72
system  : cont-err loaded
(/home/tetrao/newcontext/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) 
){/home/tetrao/newcontext/tex/texmf/fonts/enc/dvips/base/8r.enc}{/home/tetrao

/newcontext/tex/texmf/fonts/enc/dvips/lm/lm-ec.enc}{/home/tetrao/newcontext/tex
/texmf/fonts/enc/dvips/base/texnansi.enc}/home/tetrao/newcontext/tex/texmf-loc
al/fonts/truetype/public/libertine/libertine-It.ttf

pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
/home/tetrao/newcontext/tex/texmf-local/fonts/truetype/public/libertine/libert
ine-Bd.ttf/home/tetrao/newcontext/tex/texmf-local/fonts/truetype/public/liber
tine/libertine-Re.ttf/home/tetrao/newcontext/tex/texmf-local/fonts/type1/publ
ic/cb/grmn1000.pfb/home/tetrao/newcontext/tex/texmf/fonts/type1/public/lm/lmr
o10.pfb/home/tetrao/newcontext/tex/texmf/fonts/type1/public/pxfonts/pxsy.pfb
/home/tetrao/newcontext/tex/texmf/fonts/type1/public/pxfonts/rpxmi.pfb/home/
tetrao/newcontext/tex/texmf/fonts/type1/public/pxfonts/rpxr.pfb
!pdfTeX error: pdftex (file uplr8a.pfb): cannot open Type 1 font file 
for readi

ng
== Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 2.115894

Thanks, Jörg
___
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] fonts

2009-09-18 Thread luigi scarso
 !pdfTeX error: pdftex (file uplr8a.pfb): cannot open Type 1 font file for
 readi
 ng
 == Fatal error occurred, no output PDF file produced!
 TeXExec | runtime: 2.115894

What is uplr8a.pfb ?
Is it on your fontpath ?
-- 
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] fonts

2009-09-18 Thread Jörg Hagmann
Thanks for the hint.  uplr8... are Palatino fonts, and I have palatino 
as the math-font in my typescript.
Copying them from the mac to the linux setup (where they have gone? with 
an update? -- my Mac version is old!) did the trick.


Thanks again, Jörg

luigi scarso wrote:

!pdfTeX error: pdftex (file uplr8a.pfb): cannot open Type 1 font file for
readi
ng
== Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 2.115894



What is uplr8a.pfb ?
Is it on your fontpath ?
  

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

2009-09-18 Thread Alain Delmotte

Hans Hagen a écrit :

Alain Delmotte wrote:


I have downloaded a great part of the documentation (59 files or so).
But if I understood well, there has been big changes between Mark II 
and Mark IV/Lua.

The documentation seems more linked to MkII.

Is mk.pdf the file to use (in conjonction with another?)?


mk is the development history of luatex / mkiv till version 0.50; it 
definitely shows some mkiv trickery but as we're mostly upward 
compatible the wiki might be a better place to start


I like cont-eni.pdf but I'd like to have it as print not to be seen 
on screen (old habit of work - or habit of work of old!!)


taco and i are thinking about a solution for providing printed manuals 
at some point


Thanks,

Alain


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
___


[NTG-context] \overrightarrow not working in mathmode in Metapost?

2009-09-18 Thread Matthijs Kooijman
Hi,

I've been trying to use the \overrightarrow command within a metapost graphic,
but it doesn't work. Math mode does work, for example \vec works like
expected. Outside of metapost, \overrightarrow works as expected.

To illustrate the problem, I've created the following simple testcase:

  \starttext
  \startMPcode
  draw btex $\vec{foo}$ etex;
  draw btex $\overrightarrow{foo}$ etex;
  \stopMPcode
  \stoptext

This gives the following error output:

  ! Undefined control sequence.
  \dodosmash [#1]-\edef \@@smash 
  {#1}\futurelet \nexttoken \dododosmash
  \relbar -\mathrel {\smash 
 -}
  \mtharrowfill ...inmuskip \thickmuskip \relax #8#5
\mkern -#1mu \cleaders
  \hb...
  \dodohandlemathoverarrow ...{\ialign {##\crcr #2#3
\crcr \noalign {\kern
  #1\n...
  \mathpalette ...\mathchoice {#1\displaystyle {#2}
}{#1\textstyle
  {#2}}{#1\sc...
  argument ...ex; draw btex $\overrightarrow {foo}
$ etex;
  ...
  l.5 \stopMPcode

It seems the \overrightarrow command uses \@@smash, which isn't defined when
running from metapost?

Is this expected? Is this a bug?

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


[NTG-context] Small caps problem/bug with some fonts

2009-09-18 Thread Mika Ritola
Hello all,

For some reason, the snippet below outputs 'ThOMAS' instead of 'THOMAS.'
This seems to be font dependent; at least Adobe Jenson Pro and Adobe
Garamond Pro produce 'Th,' while the other fonts that I've tried produce
'TH', as expected. I don't know whether the bug exists in the fonts
themselves or in the way they are handled by ConTeXt or the Simplefonts
module, or possibly some other part of the system. In any case, could you
suggest a work-around, please?

I'm using ConText version 2009.09.16 20:07 and Simplefonts version
2009.09.15.


\usemodule[simplefonts]
\setmainfont[Adobe Jenson Pro]

\starttext
{\sc Thomas}
\stoptext


Thanks in advance,

Mika
___
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] setting variable on cmd-line

2009-09-18 Thread Peter Münster
Hello,

I've a little feature request:
It would be nice, to have a command line option like --setvalue x=y or
similar for the context command to define a variable for the job.

Modes are already very nice, but often I need just one value for
conditional compiling a document instead of many binary switches.

Perhaps the context --arguments option is what I'm looking for, but I
didn't find how to use it.

Another option would be, to make the name of the result-file
(context --result=...) available, for example as \resultname.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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] \overrightarrow not working in mathmode in Metapost?

2009-09-18 Thread Hans Hagen

Aditya Mahajan wrote:


\let\normaloverrightarrow\overrightarrow
\unexpanded\def\overrightarrow{\normaloverrightarrow}


ok, i made them all unexpandable


-
  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] Small caps problem/bug with some fonts

2009-09-18 Thread Hans Hagen

Derek CORDEIRO wrote:


\usemodule[simplefonts]


Question for wolfgang ... do you enable node mode?

in basemode, it might be that ligatures are loaded after smallcaps (and 
base mode is static) and then it's the order of features in the font 
that determines what happens,


if so, then maybe we should disable ligatures in the smallcaps 
featureset definition (as i don't expect many smallcaps ligs anyway and 
it might be less confusing)


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] Small caps problem/bug with some fonts

2009-09-18 Thread Hans Hagen

Derek CORDEIRO wrote:


That does not work for me at all. The following does work with generating
the same ThOMAS


another test:

\definefontfeature[default]  [default]  [mode=node]
\definefontfeature[smallcaps][smallcaps][mode=node]
\definefontfeature[oldstyle] [oldstyke] [mode=node]

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] Small caps problem/bug with some fonts

2009-09-18 Thread Hans Hagen

Barry Schwartz wrote:

Hans Hagen pra...@wxs.nl skribis:
could it be a bug in the font? i.e. a Th ligature showing up in 
smallcaps? if so, then simplefonts should disable ligatures in smallcaps


I'm looking at AGaramondPro-Regular in fontforge and it has the lookup
for small caps well above the lookup for ligatures. The software must
be reading the lookup table out of order.


no, it's just that basemode gets two features and replacement and 
ligatures are both applied due to the definition of the smallcaps 
featureset, so it's expected behaviour


- either adapt the definition of the smallcaps featureset (i'll do that 
in the next beta)
- or switch to nodemode (in your case nodemode applies smallcaps before 
ligatures)


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] Small caps problem/bug with some fonts

2009-09-18 Thread Derek CORDEIRO
On Fri, Sep 18, 2009 at 11:31 PM, Hans Hagen pra...@wxs.nl wrote:

 Derek CORDEIRO wrote:

  That does not work for me at all. The following does work with generating
 the same ThOMAS


 another test:

 \definefontfeature[default]  [default]  [mode=node]
 \definefontfeature[smallcaps][smallcaps][mode=node]
 \definefontfeature[oldstyle] [oldstyle] [mode=node]


This works well too.

Regards,
Derek
___
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] Small caps problem/bug with some fonts

2009-09-18 Thread Barry Schwartz
Hans Hagen pra...@wxs.nl skribis:
 Barry Schwartz wrote:
  Hans Hagen pra...@wxs.nl skribis:
  could it be a bug in the font? i.e. a Th ligature showing up in 
  smallcaps? if so, then simplefonts should disable ligatures in smallcaps
  
  I'm looking at AGaramondPro-Regular in fontforge and it has the lookup
  for small caps well above the lookup for ligatures. The software must
  be reading the lookup table out of order.
   

I should have said lookup list table.

 
 no, it's just that basemode gets two features and replacement and 
 ligatures are both applied due to the definition of the smallcaps 
 featureset, so it's expected behaviour

The font is unambiguous about it, though. Are you sure the software
isn't performing the feature list in order rather than lookup list? Or
is the software performing substitutions in its own ad hoc order?

Now I _make_ opentype fonts with small caps and ligatures and so want
the software to do what I tell it (except when it was I who made the
error).  :)


___
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] Small caps problem/bug with some fonts

2009-09-18 Thread Wolfgang Schuster


Am 18.09.2009 um 19:57 schrieb Hans Hagen:


Question for wolfgang ... do you enable node mode?


No.

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] Small caps problem/bug with some fonts

2009-09-18 Thread Hans Hagen

Barry Schwartz wrote:


If base mode uses the traditional TeX mechanism for ligatures, I don't
see any way the font can be blamed.


sure

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] Small caps problem/bug with some fonts

2009-09-18 Thread Barry Schwartz
Hans Hagen pra...@wxs.nl skribis:
 Barry Schwartz wrote:
 
  If base mode uses the traditional TeX mechanism for ligatures, I don't
  see any way the font can be blamed.

Ant does the same thing, I believe, using the OT tables and heuristics
to run the TeX processor. That's okay, as long as the results aren't
blamed on the font. :)


___
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] Small caps problem/bug with some fonts

2009-09-18 Thread Barry Schwartz
Hans Hagen pra...@wxs.nl skribis:
 but even then, if a font is not clear about issues, then one can get 
 unwanted side effects (the frac feature for instance is often quite 
 bugged and can only be applied selectively)

Yeah, I think trying to be fancy with contextual substitutions is a
bit like getting drunk. I'm not even sure why there was a frac tag
when it was originally intended to be converted to numr and dnom
tags.

(I just looked at
http://www.microsoft.com/typography/otspec160/features_fj.htm#frac
to see what it says nowadays and now want to go get drunk.)



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

2009-09-18 Thread Barry Schwartz
Please tell me this isn't in a FAQ. :) Is there support for ActualText
tags so that searching and extraction will work with OpenType fonts
and Unicode? If so, do discretionary hyphens get treated as 00AD
instead of 002D?

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