[NTG-context] Troubles with columnsets and MacTeX 2009

2009-11-15 Thread No?
Hi,

I've been having issues with columns and \start(stop)bodymatter statements
since I updated MacTeX to 2009.

Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed)
version, and which crashes on MacTeX 2009.

In both cases, the code was compiled using TeXShop in "ConTeXT" mode. This
was tested on another Mac and the results are the same.

Note that if you comment out the \start(stop)bodymatter statements in the
TeX code, it actually compiles, but the text is missing (that is, only the
titles of the sections show up in the PDF!).

In the end:
# Scenario 1: MacTeX 2008: everything is fine
# Scenario 2: MacTeX 2008, *bodymatter statements commented out: everything
is fine
# Scenario 3: MacTeX 2009: code won't compile. Error message listed below
# Scenario 4: MacTeX 2009, *bodymatter statements commented out: compilation
OK, but no text in the PDF except for the section titles

I am running Snow Leopard, and I have been using MacTeX for ages, and up to
now, everything was fine with ConTeXT.

I would really appreciate help! I hope the information I included is
sufficient.

Thank you very much!
Nauhaie

### TeX code ###

\useencoding[ffr]
\mainlanguage[fr]
\enableregime[utf-8]

\definecolumnset[deuxcolonnes][n=2,balance=yes,distance=26pt]
\starttext

\startbodymatter


\startcolumnset[deuxcolonnes]

\section{Introduction}

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

\stopcolumnset

\section{Annexes}

\startcolumnset[deuxcolonnes]

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

\stopcolumnset

\stopbodymatter
\stoptext


### Error returned with MacTeX 2009 ###

MTXrun | kpse fallback with progname 'context' initialized in 0.13 seconds
TeXExec | processing document 'rapport_spectroscopie_optique.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file rapport_spectroscopie_optique.top
TeXExec | using randomseed 96
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
 (/usr/local/texlive/2009/texmf/web2c/natural.tcx)
entering extended mode
(./rapport_spectroscopie_optique.tex

ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2009.11.13  int: english/english

system  : cont-new loaded
(/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-new.mkii))
system  : cont-fil loaded
(/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys loaded
(/usr/local/texlive/2009/texmf-config/tex/context/user/cont-sys.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-tmf.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-tmf.mkii))
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-siz.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-siz.mkii))
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-one.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-one.mkii)))
system  : rapport_spectroscopie_optique.top loaded
(./rapport_spectroscopie_optique.top)
bodyfont: 12pt rm is loaded
language: patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2
us->
ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3
da->ec:ec->6->2:2
 sv->ec:ec->7->2:2 gb->ec:ec->8->2:2 fr->texnansi:texnansi->9->2:2
fr->ec:ec->1
0->2:2 es->ec:ec->11->2:2 ca->ec:ec->12->2:2 it->texnansi:texnansi->13->2:2
it-
>ec:ec->14->2:2 la->ec:ec->15->2:2 pt->texnansi:texnansi->16->2:2
pt->ec:ec->17
->2:2 ro->ec:ec->18->2:2 pl->pl0:pl0->19->2:2 pl->ec:ec->20->2:2
pl->qx:qx->21-
>2:2 cs->il2:il2->22->2:2 cs->ec:ec->23->2:2 sk->il2:il2->24->2:2
sk->ec:ec->25
->2:2 hr->ec:ec->26->2:2 sl->ec:ec->27->2:2 tr->ec:ec->28->2:2
agr->agr:agr->30
->2:2 fi->ec:ec->31->2:2 hu->ec:ec->32->2:2 ru->t2a:t2a->34->2:2
uk->t2a:t2a->3
5->3:3 loaded
specials: dvips loaded
syst

[NTG-context] enabling pdftex's microtypographic features with variant old style figures

2009-11-12 Thread Oliver Heins
With the help of Patrick's otfinstall I've installed a font for use with
pdftex/mark ii.  this works fine so far, but i want to use the
microtypographic features not only for the base font, but for the old
style figures variant, too.

\usetypescriptfile[type-corporate]
\usetypescript[corporate]

\setupfontsynonym[Serif][handling=pure]
\setupfontsynonym[Sans][handling=pure]

\definetypeface[corporate][rm][serif][corporate][default][encoding=texnansi]
\definetypeface[corporate][ss][sans][corporate][default][encoding=texnansi]
\definetypeface[corporate][tt][mono][modern]  [default][rscale=1.12]
\definetypeface[corporate][mm][math][iwona]   [default][rscale=1.02]

\setupfonthandling[hz][min=25,max=25,step=5]
\usetypescript[sans][hanging][normal]   % this creates the 'handling' synonyms
\usetypescript[serif][hanging][normal]  % this creates the 'handling' synonyms
\usetypescript[sans][hz][quality]   % this creates the 'handling' synonyms
\usetypescript[serif][hz][quality]  % this creates the 'handling' synonyms
\setupbodyfont[corporate,ss,10pt]
%\Var[osf]

This works for normal figures, but when I switch to osf with \Var[osf]
there is no protrusion nor font expansion.

TIA,
 olli

-- 
Oliver Heins he...@sopos.orghttp://oliverheins.net/
http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8
http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___
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] Math setup with Times (Termes)

2009-11-12 Thread Hans Hagen

Mojca Miklavec wrote:


What are we talking about? Do you mean the old virtual fonts (.vf
files) or mkiv's virtual fonts or something completely different?


What You Don't Want To Know:

a virtual font is just a regular font but has references to other fonts 
instead, like


char 1 -> font x, char 10 (or dvi commands instead)

and then it can has kerning etc within its own set

tex itself only sees characters as things with dimensions and a few 
properties and when typesetting the paragraph uses info from the font 
with respect to kerning and ligature building


now, traditional tex has only tfm files and when virtual fonts were 
introduced the engine was not adapted at all; so, a virtual font still 
has a tfm file (with characters etc)


however, when the font is being used in the backend, an extra lookup 
takes place and when a vf file is found, information from that file is 
used for embedding (in pdftex); of course dvi postprocessors also look 
at that file


so we have:

tfm  -> tfm used by frontend and backend
tfm + vf -> tfm used by frontend, vf used by backend

on top of that a map file will point from fontname to real name (pfb) 
and this is why in a map file you don't see the virtual font names at 
all, as it's the names inside the vf that matter


so say that we have:

a.tfm + a.vf

but internally

a.vf -> font b, c, d (or further chained)

then b, c, d need to be resolved to real names

as there is no checking going on and as the tfm file has no info about 
itself being virtual you can imagine that interesting side effects can 
take place when an old (unknown of) vf lays around ... it will kick in 
at backend time (this is why the texfont script does a clean up)


in luatex we have integrated these mechanisms, so internally a font can 
have virtual properties (a few more than original tex)


however, by default luatex acts like tex, so users won't notice; as 
luatex has the backend integrated, at some point it will need the vf and 
mkiv will happily fulfill that request


but ... and this is the catch ... in mkiv we use (1) opentype, (2) type 
1 and (3) traditional tex fonts


(1) is not related to virtual fonts but we can (and do) extend fonts 
internally using virtual technology


(2) in pdftex tfm/vf files are used but mkiv does not look at those 
files but uses afm files directly (right from the start)


(3) the only place in mkiv where tex metric files are still used is in 
math as we need the additional (math specific) info


as it makes no sense to keep supporting the old math fonts while open 
type variant sare under way, i decided to stick to unicode math and as a 
result we need to use virtual font technology to make that unicode variant


for the lm fonts, this is mostly done and as they have no virtual (vf 
based) fonts it's transparent


for tx/px however, as they use virtual fonts, it gets hairy what file to 
load; technically there is no obstacle but i've chosen to stay away from 
the tfm/vf mess and use just the natural tfm variants (i.e. the ones 
that match the pfb) and therefore we might need a few extra vectors (and 
maybe font files) in math-vfu that map to the right slots; using the 
vf's as well would complicate matters and it's not worth the trouble


so, what we need to do is to figure out teh few missing files/vectors, 
add them, and then let users fill in the gaps in vectors


are you still there?

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


Re: [NTG-context] Define tex macro on the context command line

2009-11-12 Thread Hans Hagen

Aditya Mahajan wrote:

On Wed, 11 Nov 2009, John Devereux wrote:


Hi,

Is it possible to define a tex macro on the context command line (MkII)?

For example:

 texexec manual.tex --define Title "X99 Operators Manual"

so that

 \Title

would expand to the appropriate text?


You can do that with pdftex command,

pdftex -progname=context -fmt=cont-en -translate-file=natural.tcx 
--output-format=pdf --8bit --jobname=filename

 "\\def\\Title{whatever} \\input filename"

but you loose all the goodies of texexec (multiple runs, running bibtex, 
sorting index, etc.)


Alternatively, it is possible to read from console during a tex run

\starttext
\immediate\write16{What is the title?}
\read16 to \Title
Title is \Title
\stoptext



\starttext

test: \env{whatever}

\stoptext

context --arguments="whatever=Test" ...


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


Re: [NTG-context] Define tex macro on the context command line

2009-11-11 Thread Aditya Mahajan

On Wed, 11 Nov 2009, John Devereux wrote:


Hi,

Is it possible to define a tex macro on the context command line (MkII)?

For example:

 texexec manual.tex --define Title "X99 Operators Manual"

so that

 \Title

would expand to the appropriate text?


You can do that with pdftex command,

pdftex -progname=context -fmt=cont-en -translate-file=natural.tcx 
--output-format=pdf --8bit --jobname=filename

 "\\def\\Title{whatever} \\input filename"

but you loose all the goodies of texexec (multiple runs, running bibtex, 
sorting index, etc.)


Alternatively, it is possible to read from console during a tex run

\starttext
\immediate\write16{What is the title?}
\read16 to \Title
Title is \Title
\stoptext


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] [ppchtex] \writestatus: Undefined control sequence

2009-11-04 Thread Taco Hoekwater

Hi,

luigi scarso wrote:
>> This pdftex warning can be ignored. It used to be present in luatex as
>> well, but it was removed in version 0.37.0.
> OK -- but what does it means ?

To the best of my knowledge, it only means that no ToUnicode values
have been set up using \pdfglyphtounicode yet at the moment that pdftex
(or luatex for an 8-bit font) is writing some ToUnicode values for some
font to the pdf disk file. (in mkiv, such values can be set up via
pdfr-def.mkii)

The warning is not pointless per se, but special ToUnicode entries are
usually not needed at all for latin scripts (AR is smart enough to
solve common cases itself). That makes the warning a bit over the top,
and so I removed it in luatex to avoid confusing users.

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


Re: [NTG-context] [ppchtex] \writestatus: Undefined control sequence

2009-11-04 Thread luigi scarso
On Wed, Nov 4, 2009 at 11:06 AM, Taco Hoekwater  wrote:
>
>
> Taco Hoekwater wrote:
>>
>> Denis Bitouzé wrote:
>>> Le mercredi 04/11/09 à 10h20,
>>> luigi scarso  a écrit :
>>>
>>>> $ texexec  test-context
>>> It is OK for the MCE "Hello world" I gave earlier, except the following
>>> warning:
>>>
>>> pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
>>
>> This (luatex) warning can be ignored, and I will remove it from the next
>> release.
>
> Sorry, that was more than a bit confusing. What I meant to say was:
>
> This pdftex warning can be ignored. It used to be present in luatex as
> well, but it was removed in version 0.37.0.
OK -- but what does it means ?
-- 
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
___


Re: [NTG-context] [ppchtex] \writestatus: Undefined control sequence

2009-11-04 Thread Taco Hoekwater


Taco Hoekwater wrote:
> 
> Denis Bitouzé wrote:
>> Le mercredi 04/11/09 à 10h20,
>> luigi scarso  a écrit :
>>
>>> $ texexec  test-context
>> It is OK for the MCE "Hello world" I gave earlier, except the following
>> warning:
>>
>> pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
> 
> This (luatex) warning can be ignored, and I will remove it from the next
> release.

Sorry, that was more than a bit confusing. What I meant to say was:

This pdftex warning can be ignored. It used to be present in luatex as
well, but it was removed in version 0.37.0.

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


Re: [NTG-context] [ppchtex] \writestatus: Undefined control sequence

2009-11-04 Thread Taco Hoekwater


Denis Bitouzé wrote:
> Le mercredi 04/11/09 à 10h20,
> luigi scarso  a écrit :
> 
>> $ texexec  test-context
> 
> It is OK for the MCE "Hello world" I gave earlier, except the following
> warning:
> 
> pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!

This (luatex) warning can be ignored, and I will remove it from the next
release.

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


Re: [NTG-context] [ppchtex] \writestatus: Undefined control sequence

2009-11-04 Thread luigi scarso
On Wed, Nov 4, 2009 at 10:52 AM, Denis Bitouzé  wrote:
> Le mercredi 04/11/09 à 10h20,
> luigi scarso  a écrit :
>
>> $ texexec  test-context
>
> It is OK for the MCE "Hello world" I gave earlier, except the following
> warning:
>
> pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
>
> The same occurs with chemical formulas.
>
> So this seems to definitively be a TeX Live related problem: I will post
> on the relevant mailing list.
Can you also  post a small example with
with chemical formulas so
I can check  it with latest mkiv minimals ?

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


Re: [NTG-context] [ppchtex] \writestatus: Undefined control sequence

2009-11-04 Thread Denis Bitouzé
Le mercredi 04/11/09 à 10h20,
luigi scarso  a écrit :

> $ texexec  test-context

It is OK for the MCE "Hello world" I gave earlier, except the following
warning:

pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!

The same occurs with chemical formulas.

So this seems to definitively be a TeX Live related problem: I will post
on the relevant mailing list.

Thanks.
-- 
Denis


___
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] [ppchtex] \writestatus: Undefined control sequence

2009-11-03 Thread Denis Bitouzé
Hello everybody,

with a fresh TeX Live 2009 distribution, I cannot compile old files
because of \writestatus which seems to be undefined.

For instance:

\listfiles
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{etex}
\usepackage{m-pictex,m-ch-en}
\begin{document}
Hello World!
\end{document}

leads to the following log:

8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<8<
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live
2009) entering extended
mode
(./test.tex LaTeX2e
<2009/09/24> Babel  and hyphenation patterns for english,
usenglishmax, dumylang, noh yphenation, ancientgreek, ibycus, arabic,
basque, bulgarian, pinyin, farsi, fre nch, monogreek, greek, mongolian,
mongolian2a, russian, ukrainian, loaded.
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls Document
Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/inputenc.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/utf8.def
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/texlive/2009/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/local/texlive/2009/texmf-dist/tex/latex/context/m-pictex.sty
(/usr/local/texlive/2009/texmf-dist/tex/context/base/m-pictex.tex
(/usr/local/texlive/2009/texmf-dist/tex/generic/pictex/prepictex.tex)
(/usr/local/texlive/2009/texmf-dist/tex/generic/pictex/pictex.tex)
(/usr/local/texlive/2009/texmf-dist/tex/generic/pictex/postpictex.tex)))
(/usr/local/texlive/2009/texmf-dist/tex/latex/context/m-ch-en.sty
(/usr/local/texlive/2009/texmf-dist/tex/generic/context/m-ch-en.tex
(/usr/local/texlive/2009/texmf-dist/tex/generic/context/ppchtex.noc
(/usr/local/texlive/2009/texmf-dist/tex/context/base/supp-mis.mkii
loading : ConTeXt Support Macros / Miscellaneous (2004.10.26) )
(/usr/local/texlive/2009/texmf-dist/tex/context/base/syst-gen.mkii !
Undefined control sequence. l.4441
\writestatus {loading}{ConTeXt System Macros /
General} ?
s OK, entering
\scrollmode...

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.   
 ...

l.4441 \writestatus{l   
 oading}{ConTeXt System Macros / General}
) (/usr/local/texlive/2009/texmf-dist/tex/context/base/syst-fnt.mkii)
(/usr/local/texlive/2009/texmf-dist/tex/context/base/ppchtex.mkii
! Undefined control sequence.
 \writestatus  
{loading}{ConTeXt Chemical Macro's / 1996.3.1}
l.59 ...ing}{ConTeXt Chemical Macro's / 1996.3.1}}
  

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...

l.59 ...ing}{ConTeXt Chemical Macro's / 1996.3.1}}

! Undefined control sequence.
l.109   \writestatus
{ppchtex}{using PiCTeX}

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...

l.109   \writestatus{p
  pchtex}{using PiCTeX}
 (./test.aux)
[1{/usr/local/texlive/2009/texmf-var/fonts/map/pdftex/updmap/
pdftex.map}] (./test.aux)

 *File List*
 article.cls2007/10/19 v1.4h Standard LaTeX document class
  size10.clo2007/10/19 v1.4h Standard LaTeX file (size option)
inputenc.sty2008/03/30 v1.1d Input encoding file
utf8.def2008/04/05 v1.1m UTF-8 support for inputenc
   t1enc.dfu2008/04/05 v1.1m UTF-8 support for inputenc
  ot1enc.dfu2008/04/05 v1.1m UTF-8 support for inputenc
  omsenc.dfu2008/04/05 v1.1m UTF-8 support for inputenc
 fontenc.sty
   t1enc.def2005/09/27 v1.99g Standard LaTeX file
etex.sty1998/03/26 v2.0 eTeX basic definition package (PEB)
m-pictex.sty2004/07/30 package wrapper for m-pictex.tex
m-pictex.tex
 m-ch-en.sty2004/07/30 package wrapper for m-ch-en.tex
 m-ch-en.tex
 ***

 )
(see the transcript file for additional
information){/usr/local/texlive/2009/te
xmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc} Output written on
test.pdf (1 page, 18434 bytes). Transcript written 

[NTG-context] compilation error in mkiv

2009-11-03 Thread Jörg Hagmann
Trying to compile a text with large sections taken from the html version 
of a paper, I got compilation errors. I then compiled paragraph by 
paragraph, until the first error occured. When I couldn't spot the 
problem, I added word after word, and then character after character.  
It worked (example) until:


... and, like Mottern, she was not deterred by the existe

After adding the next character ("n", by hand), compilation failed with:

structure   : subject @ level 3 : 0.0.0 -> Science by committee
[3.3][4.4]
! This can't happen (linebreak_tail).
l.59
   
I'm broken. Please show this to someone who can fix can fix


!  ==> Fatal error occurred, no output PDF file produced!

log attached

The font is junicode, I'm using my own typescript and haven't seen this 
before.

Mkiv, context version 2009.10.21 10:28

Thanks, Jörg
(gary.tex

ConTeXt  ver: 2009.10.21 10:28 MKIV  fmt: 2009.11.2  int: english/english

system  : cont-new loaded
(/Applications/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/Applications/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/Applications/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/Applications/context/tex/texmf-context/tex/context/user/cont-sys.rme 
(/Applications/context/tex/texmf-context/tex/context/base/type-tmf.tex 
(/Applications/context/tex/texmf-context/tex/context/base/type-tmf.mkiv)) 
(/Applications/context/tex/texmf-context/tex/context/base/type-siz.tex 
(/Applications/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) 
(/Applications/context/tex/texmf-context/tex/context/base/type-otf.tex 
(/Applications/context/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : gary.top loaded
%
%   begin of optionfile
%
%   % runtime options files (command line driven)
%   \unprotect
%   % special commands, mostly for the ctx development team
%   % feedback and basic job control
%   % handy for special styles
%   \startluacode
%   document = document or { }
%   document.arguments={
%   }
%   document.files={
%"gary.tex",
%   }
%   \stopluacode
%   % process info
%   \setupsystem[\c!n=1,\c!m=1]
%   \setupsystem[\c!type=unix]
%   % modes
%   % options (not that important)
%   \startsetups *runtime:options
%   \setupoutput[pdftex]
%   \stopsetups
%   % styles and modules
%   \startsetups *runtime:modules
%   \stopsetups
%   % done
%   \protect \endinput
%
%   end of optionfile
%
(gary.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
(/Applications/context/tex/texmf-local/tex/context/myscripts/junicode-en.tex 
(/Applications/context/tex/texmf-local/tex/context/myscripts/type-jhjunicode.tex))
system  : module ancientgreek loaded
(/Applications/context/tex/texmf-local/tex/context/third/greek/t-ancientgreek.tex
 
(/Applications/context/tex/texmf-local/tex/context/third/greek/t-ancientgreek.mkiv
loading : module ancientgreek
(/Applications/context/tex/texmf-local/tex/context/third/greek/type-agr.tex 
(/Applications/context/tex/texmf-local/tex/context/third/greek/type-agr.mkiv
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental

systems : begin file gary at line 3
structure   : title @ level 2 : 0.0 -> The Soft Science of Dietary Fat
otf process | missing cache for lookup kp_l_5_s of type gpos_contextchain in 
font 67 (Junicode-Regular)
otf process | missing cache for lookup kp_l_5_s of type gpos_contextchain in 
font 68 (Junicode-Regular)
otf process | missing cache for lookup kp_l_5_s of type gpos_contextchain in 
font 41 (Junicode-Regular)
fonts   : resetting map file list
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/origin

[NTG-context] (beta) figurelibrary broken

2009-11-03 Thread Peter Rolf

Hi,

test file is again test-001.tex from contexttest. Log attached.

MTXrun | current version: 2009.11.02 21:31
This is LuaTeX, Version beta-0.44.0-2009110309

Best wishes, Peter
(test-001.tex

ConTeXt  ver: 2009.11.02 21:31 MKIV  fmt: 2009.11.3  int: english/english

system  : cont-new loaded
(r:/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(r:/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(r:/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys loaded
(r:/tex/texmf-context/tex/context/user/cont-sys.tex)
system  : test-001.top loaded
%
%   begin of optionfile
%
%   % runtime options files (command line driven)
%   \unprotect
%   % special commands, mostly for the ctx development team
%   % feedback and basic job control
%   % handy for special styles
%   \startluacode
%   document = document or { }
%   document.arguments={
%["autopdf"]=true,
%   }
%   document.files={
%"test-001",
%   }
%   \stopluacode
%   % process info
%   \setupsystem[\c!n=1,\c!m=1]
%   \setupsystem[\c!type=windows]
%   % modes
%   % options (not that important)
%   \startsetups *runtime:options
%   \setupoutput[pdftex]
%   \stopsetups
%   % styles and modules
%   \startsetups *runtime:modules
%   \stopsetups
%   % done
%   \protect \endinput
%
%   end of optionfile
%
(test-001.top)
fonts   : preloading latin modern fonts
(r:/tex/texmf-context/tex/context/base/type-tmf.tex 
(r:/tex/texmf-context/tex/context/base/type-tmf.mkiv)) 
(r:/tex/texmf-context/tex/context/base/type-siz.tex 
(r:/tex/texmf-context/tex/context/base/type-siz.mkiv)) 
(r:/tex/texmf-context/tex/context/base/type-otf.tex 
(r:/tex/texmf-context/tex/context/base/type-otf.mkiv))
bodyfont: 12pt rm is loaded
language: language en is active
systems : begin file test-001 at line 7
! LuaTeX error r:/tex/texmf-context/tex/context/base/lxml-xml.lua:107: attempt 
to index field '?' (a nil value)
stack traceback:
r:/tex/texmf-context/tex/context/base/lxml-xml.lua:107: in function 

(tail call): ?
r:/tex/texmf-context/tex/context/base/grph-inc.lua:861: in function 
'find'
r:/tex/texmf-context/tex/context/base/grph-inc.lua:887: in function 
'locate'
r:/tex/texmf-context/tex/context/base/grph-inc.lua:898: in function 
'identifier'
r:/tex/texmf-context/tex/context/base/grph-inc.lua:565: in function 
'identify'
:1: in main chunk.
\calculateexternalfigure ...a {figures.identify()}
  \ifconditional \testextern...
\dodoplaceexternalfigure ...[][#1][#2][#3][#4][#5]
  \popmacro \textunderscore ...
\doexternalfigure ...value {\??ef \??ef #1}[#3]}}}
  \globallet \currentresourc...
 
   \externalfigure 
l.9 \externalfigure[info] \externalfigure
 [lens] \externalfigure[star-g]
? 
! Emergency stop.
\calculateexternalfigure ...a {figures.identify()}
  \ifconditional \testextern...
\dodoplaceexternalfigure ...[][#1][#2][#3][#4][#5]
  \popmacro \textunderscore ...
\doexternalfigure ...value {\??ef \??ef #1}[#3]}}}
  \globallet \currentresourc...
 
   \externalfigure 
l.9 \externalfigure[info] \externalfigure
 [lens] \externalfigure[star-g]
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-02 Thread Vnpenguin
On Mon, Nov 2, 2009 at 09:20, Peter Münster  wrote:
> On Sun, Nov 01 2009, Vnpenguin wrote:
>
>> > a) (dangerous; I would not do it) install a more recent version of
>> > libc on your machine
>>
>> It's NOT possible.
>
> Hello Vnpenguin,
>
> Why not?
>

In our production environment, only RHEL & CentOS are used, and all
installations are up-to-date with main stream distribution. So an
update of glibc is not authorized.
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-02 Thread Peter Münster
On Sun, Nov 01 2009, Vnpenguin wrote:

> > xetex
> xetex: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
> (required by xetex)

Hello,

Here, I don't know how to help. I've these packages on my system:

libstdc++33-3.3.3
libstdc++33-devel-3.3.3
libstdc++41-devel-4.1.3_20080612
libstdc++43-devel-4.3.3_20080904
libstdc++44-4.4.0_20090519
libstdc++-devel-4.3

But I don't know how to select the library for building xetex...

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


Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-02 Thread Peter Münster
On Sun, Nov 01 2009, Vnpenguin wrote:

> > a) (dangerous; I would not do it) install a more recent version of
> > libc on your machine
> 
> It's NOT possible.

Hello Vnpenguin,

Why not?


> > b) we need to set up some virtual machine with an old linux and
> > compile binaries there or find someone else with a reasonably old
> > 64-bit linux server

I could set up such a system, but not immediately (in a few weeks probably).

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


Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Peter Münster
On Sun, Nov 01 2009, Mojca Miklavec wrote:
> >
> >> pdftex
> > pdftex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by pdftex)
> >
> > Any help for this problem ?
> 
> This is weird. Peter - did you upgrade your linux in the meantime by
> any chance? (The update dates back to 17th October.)

Hello,

Indeed, I've updated my glibc accidentally¹ on 5th October
from 2.9 to 2.10.

So all binaries, that I've built after this date are affected by this
problem (dependency on GLIBC_2.7). Example for luatex:

~/minimals/bin/linux-64/current/luatex> ldd -v beta-0.4[34].0/luatex
beta-0.43.0/luatex:
linux-vdso.so.1 =>  (0x7fffb6384000)
libm.so.6 => /lib64/libm.so.6 (0x7f65e6474000)
libc.so.6 => /lib64/libc.so.6 (0x7f65e611b000)
/lib64/ld-linux-x86-64.so.2 (0x7f65e66ca000)

Version information:
beta-0.43.0/luatex:
ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6
libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6
libm.so.6 (GLIBC_2.2.5) => /lib64/libm.so.6
/lib64/libm.so.6:
libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6
/lib64/libc.so.6:
ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
beta-0.44.0/luatex:
linux-vdso.so.1 =>  (0x7dfff000)
libm.so.6 => /lib64/libm.so.6 (0x7f53c4dbb000)
libc.so.6 => /lib64/libc.so.6 (0x7f53c4a62000)
/lib64/ld-linux-x86-64.so.2 (0x7f53c5011000)

Version information:
beta-0.44.0/luatex:
ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
libm.so.6 (GLIBC_2.2.5) => /lib64/libm.so.6
libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6
libc.so.6 (GLIBC_2.7) => /lib64/libc.so.6
libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6
/lib64/libm.so.6:
libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6
/lib64/libc.so.6:
ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2


I've just downgraded my glibc to 2.9 and I'm now rebuilding metapost,
luatex and pdftex. We will see in about 1 hour, if this solves the problem.

Cheers, Peter


Note 1: I only wanted to update my glib, so I've done a
' zypper up "*glib*" '.

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


Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Reinhard Kotucha
On 1 November 2009 Mojca Miklavec wrote:

 > Vnpenguin, what kernel is running on your OS?
 > 
 > If we set up a virtual machine for compiling binaries - does anyone
 > have a suggesting what OS to take, so that it will remain compatible
 > with as many x86_64 processors as possible? (Apparently glibc and
 > kerner are the deciding factors; but it needs to have support for
 > 64-bit machines that are not as old as it seems after all.)
 > 
 > Reinhard - what linux are you using for TL?

# uname -a
Linux zaphod 2.6.20-gentoo-r8 #1 SMP Mon Apr 14 01:07:33 CEST 2008 x86_64 AMD 
Athlon(tm) 64 X2 Dual Core Processor 4800+ AuthenticAMD GNU/Linux

But please note that the binaries for this platform were provided by
Peter Breitenlohner this year.  His system is even older than mine.
It's better to ask him if you need the details (peb at mppmu.mpg.de).

BTW, the glibc is much more important than the kernel.  And maybe the
version of gcc matters, too.  

Regards,
  Reinhard

-- 

Reinhard Kotucha  Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover  mailto:reinhard.kotu...@web.de

Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Vnpenguin
On Sun, Nov 1, 2009 at 21:45, Mojca Miklavec
 wrote:
> Vnpenguin, what kernel is running on your OS?

The current kernel is:

> uname -r
2.6.18-164.2.1.el5


> If we set up a virtual machine for compiling binaries - does anyone
> have a suggesting what OS to take, so that it will remain compatible
> with as many x86_64 processors as possible? (Apparently glibc and
> kerner are the deciding factors; but it needs to have support for
> 64-bit machines that are not as old as it seems after all.)

If you would like to put ConTeXt in industrial/business world you can
not ignore RHEL & CentOS :-)


Thanks,
-- 
http://vnoss.org
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Mojca Miklavec
Vnpenguin, what kernel is running on your OS?

If we set up a virtual machine for compiling binaries - does anyone
have a suggesting what OS to take, so that it will remain compatible
with as many x86_64 processors as possible? (Apparently glibc and
kerner are the deciding factors; but it needs to have support for
64-bit machines that are not as old as it seems after all.)

Reinhard - what linux are you using for TL?

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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Vnpenguin
On Sun, Nov 1, 2009 at 21:33, Martin Schröder  wrote:
> 2009/11/1 Vnpenguin :
>> Correction: CentOS 5.4 was released on 21-Oct-2009. So it's not so
>> "old" at all :-)
>
> Sorry, but it is. It's a free version of RHEL5, which was initially
> released in 2007.
> http://en.wikipedia.org/wiki/Centos
>
> It you want something modern, use e.g. Fedora.
>

Yes, I see. But in our production environment, we use only RHEL & CentOS.

Thanks
-- 
http://vnoss.org
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Martin Schröder
2009/11/1 Vnpenguin :
> Correction: CentOS 5.4 was released on 21-Oct-2009. So it's not so
> "old" at all :-)

Sorry, but it is. It's a free version of RHEL5, which was initially
released in 2007.
http://en.wikipedia.org/wiki/Centos

It you want something modern, use e.g. Fedora.

Best
   Martin
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Mojca Miklavec
On Sun, Nov 1, 2009 at 21:10, Vnpenguin wrote:
> On Sun, Nov 1, 2009 at 19:59, Mojca Miklavec wrote:
>
>> Apparently it means that CentOS uses something like a
>> several-years-span-back-in-time libc library and you cannot do much
>> about it. That's no problem in general since you would not take a
>> suse-compiled firefox and take the binary to your CentOS.
>
> Hey, CentOS 5.4 just released on 21-Oct-2009 :-) If I have problem
> with ConTeXt on CentOS 5.4 so all users of RHEL 5.4 are the same: they
> can not!

Yes, I have noticed.

People often reply to come to mailing list saying "I have installed
the brand new Ubuntu" and yet they have something like 4-year-old
ConTeXt.

This is nothing bad. It's just a bad luck in this particular case, but
we'll solve it.

>> c) you would need to compile the binaries for minimals on regular basis
>
> Howto do this ? Is there any guide ?

Not really. Just the first line of
http://wiki.contextgarden.net/ConTeXt_Minimals/Implementation
that says
 svn co http://svn.contextgarden.net/minimals-src/build-binaries
and then you need to run the script build-binaries (but it will fail
since you don't have the rights yet).

You may try to run ./update-binaries.sh first and then compile pdftex
to start with (it returns warnings, but feel free to ignore them; the
binary should nevertheless be there). We can create you an account,
but we need to talk first just to agree on the building schedule.

> If it's not possible with ConTeXt minimal distro, maybe I'll go for TeXlive.

Are you planning to use MKII (pdftex) or MKIV (unicode and opentype
fonts with luatex)? In TeX Live the MKIV support is hardly usable, but
feel free to go testing TeX Live. You may install TL 2009 in a really
minimalistic way. (Almost the same size as minimals, and in completely
isolated folder.)

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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Vnpenguin
>
> Hey, CentOS 5.4 just released on 21-May-2009 :-) If I have problem
> with ConTeXt on CentOS 5.4 so all users of RHEL 5.4 are the same: they
> can not!
>

Correction: CentOS 5.4 was released on 21-Oct-2009. So it's not so
"old" at all :-)
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Vnpenguin
On Sun, Nov 1, 2009 at 19:59, Mojca Miklavec
 wrote:
> On Sun, Nov 1, 2009 at 19:24, Vnpenguin wrote:
>> On Sun, Nov 1, 2009 at 18:50, Mojca Miklavec wrote:
>>> On Sun, Nov 1, 2009 at 18:00, Vnpenguin wrote:
>>>>
>>>> pdftex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by 
>>>> pdftex)
>>>>
>>>> glibc.i686                                               2.5-42
>>>>
>>>> Any help for this problem ?
>>>
>>> Yes, the easy answer would be "upgrade your linux", but we probably
>>> want the binaries to run on slightly older machines as well.
>>
>> My box CentOS 5.4 with all updates. What do you mean "upgrade" ?
>
> Hello,
>
> Apparently it means that CentOS uses something like a
> several-years-span-back-in-time libc library and you cannot do much
> about it. That's no problem in general since you would not take a
> suse-compiled firefox and take the binary to your CentOS.

Hey, CentOS 5.4 just released on 21-May-2009 :-) If I have problem
with ConTeXt on CentOS 5.4 so all users of RHEL 5.4 are the same: they
can not!

> You are the first user that has complained so far (most probably
> because you are the first user to try ConTeXt on CentOS). There are
> several options:
> a) (dangerous; I would not do it) install a more recent version of
> libc on your machine

It's NOT possible.

> b) we need to set up some virtual machine with an old linux and
> compile binaries there or find someone else with a reasonably old
> 64-bit linux server

...

> c) you would need to compile the binaries for minimals on regular basis

Howto do this ? Is there any guide ?

> d) since LuaTeX works fine, just stick to MKIV (MKII is highly
> unsuitable for writing Vietnamese anyway :) :) :)
> e) Reinhard was trying to convince me to typeset some of his
> Vietnamese documents in ConTeXt back in May. Those test documents have
> revealed quite some bugs in font setups in ConTeXt MKII. If Reinhard
> still neeeds fixed Vietnamese in ConTeXt MKII, we'll gladly give him
> svn account to commit 64-bit linux binaries for minimals, so that he
> doesn't get out of "the art of compiling TeX binaries exercise"
> between the long breaks in TeX Live releases.

I setup ConTeXt to test some things at work, nothing to see with vietnamese yet.

If it's not possible with ConTeXt minimal distro, maybe I'll go for TeXlive.

Thanks

-- 
http://vnoss.org
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Mojca Miklavec
On Sun, Nov 1, 2009 at 19:24, Vnpenguin wrote:
> On Sun, Nov 1, 2009 at 18:50, Mojca Miklavec wrote:
>> On Sun, Nov 1, 2009 at 18:00, Vnpenguin wrote:
>>>
>>> pdftex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by pdftex)
>>>
>>> glibc.i686                                               2.5-42
>>>
>>> Any help for this problem ?
>>
>> Yes, the easy answer would be "upgrade your linux", but we probably
>> want the binaries to run on slightly older machines as well.
>
> My box CentOS 5.4 with all updates. What do you mean "upgrade" ?

Hello,

Apparently it means that CentOS uses something like a
several-years-span-back-in-time libc library and you cannot do much
about it. That's no problem in general since you would not take a
suse-compiled firefox and take the binary to your CentOS.

You are the first user that has complained so far (most probably
because you are the first user to try ConTeXt on CentOS). There are
several options:
a) (dangerous; I would not do it) install a more recent version of
libc on your machine
b) we need to set up some virtual machine with an old linux and
compile binaries there or find someone else with a reasonably old
64-bit linux server
c) you would need to compile the binaries for minimals on regular basis
d) since LuaTeX works fine, just stick to MKIV (MKII is highly
unsuitable for writing Vietnamese anyway :) :) :)
e) Reinhard was trying to convince me to typeset some of his
Vietnamese documents in ConTeXt back in May. Those test documents have
revealed quite some bugs in font setups in ConTeXt MKII. If Reinhard
still neeeds fixed Vietnamese in ConTeXt MKII, we'll gladly give him
svn account to commit 64-bit linux binaries for minimals, so that he
doesn't get out of "the art of compiling TeX binaries exercise"
between the long breaks in TeX Live releases.

I suggest you to go for D, at least for a moment. The rest highly
depends on you. E is not to be taken too seriously.

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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Vnpenguin
On Sun, Nov 1, 2009 at 19:30, Martin Schröder  wrote:
> 2009/11/1 Vnpenguin :
>> My box CentOS 5.4 with all updates. What do you mean "upgrade" ?
>
> What glibc-version do you have? rpm -qi glibc?


# yum list installed glibc\*
Excluding Packages in global exclude list
Finished
Installed Packages
glibc.i686   2.5-42
  installed
glibc.x86_64  2.5-42
   installed


# rpm -qi glibc
Name: glibcRelocations: (not relocatable)
Version : 2.5   Vendor: CentOS
Release : 42Build Date: Thu 03 Sep
2009 02:19:32 AM CEST
Install Date: Mon 26 Oct 2009 10:15:57 AM CET  Build Host:
builder10.centos.org
Group   : System Environment/Libraries   Source RPM: glibc-2.5-42.src.rpm
Size: 11658002 License: LGPL
Signature   : DSA/SHA1, Thu 01 Oct 2009 02:40:46 AM CEST, Key ID
a8a447dce8562897
Summary : The GNU libc libraries.
Description :
The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.
Name: glibcRelocations: (not relocatable)
Version : 2.5   Vendor: CentOS
Release : 42Build Date: Thu 03 Sep
2009 02:56:59 AM CEST
Install Date: Mon 26 Oct 2009 10:16:12 AM CET  Build Host:
builder16.centos.org
Group   : System Environment/Libraries   Source RPM: glibc-2.5-42.src.rpm
Size: 12629247 License: LGPL
Signature   : DSA/SHA1, Thu 01 Oct 2009 02:40:45 AM CEST, Key ID
a8a447dce8562897
Summary : The GNU libc libraries.
Description :
The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.


Thanks
-- 
http://vnoss.org
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Martin Schröder
2009/11/1 Mojca Miklavec :
> Or maybe I was too fast. I don't find the exact timeline of libc
> development, so I have no idea how old your linux is. I thought that
> this failure was recent, but apparently it's not (the garden most
> probably has libc-2.8). For 32-bit linux we try to be *very* backward
> compatible. For 64-bit Peter most probably has the oldest linux OS
> running on 64-bit processor in the community.
>
> You are the first one with something older. The problem is that either:
> - we need to find someone that will compile the binaries on old-enough linux
> - or, if you have a chance to figure out how to upgrade to something
> that supports at least 2.7

2.7 is quite new, and 2.8 is very new. My SUSE 10.3 (which is now two
years old and will be upgraded soon) has 2.6.1.

Best
   Martin
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Martin Schröder
2009/11/1 Vnpenguin :
> My box CentOS 5.4 with all updates. What do you mean "upgrade" ?

What glibc-version do you have? rpm -qi glibc?

Best
   Martin
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Martin Schröder
2009/11/1 Hans Hagen :
> Martin Schröder wrote:
>> No, they are simply build on old systems. Ask Peter. :-)
>
> ah, so they're static binaries

Mostly. glibc is not statically linked.

> ldd Master/bin/x86_64-linux/pdftex
libm.so.6 => /lib64/libm.so.6 (0x2b1771708000)
libc.so.6 => /lib64/libc.so.6 (0x2b177195b000)
/lib64/ld-linux-x86-64.so.2 (0x2b17714eb000)

Best
Martin
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Vnpenguin
On Sun, Nov 1, 2009 at 18:50, Mojca Miklavec
 wrote:
> On Sun, Nov 1, 2009 at 18:00, Vnpenguin wrote:
>>
>> pdftex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by pdftex)
>>
>> glibc.i686                                               2.5-42
>>
>> Any help for this problem ?
>
> Yes, the easy answer would be "upgrade your linux", but we probably
> want the binaries to run on slightly older machines as well.
>

My box CentOS 5.4 with all updates. What do you mean "upgrade" ?

Q
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Hans Hagen

Martin Schröder wrote:

2009/11/1 Hans Hagen :

Martin Schröder wrote:

Indeed. Btw: The binaries from TL run on SUSE 10.1 (which has glibc
2.4).

ah, so maybe you can learn mojca a few tricks then; does this mean that tex
live binaries have some built in magic that checks for libs?


No, they are simply build on old systems. Ask Peter. :-)


ah, so they're static binaries

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


Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Vnpenguin
On Sun, Nov 1, 2009 at 18:48, Mojca Miklavec
 wrote:
> I forgot to ask: does only pdftex cause problems or also metapost,
> luatex, xetex? It might help to know which of these programs still
> work.
>

> mpost
mpost: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by mpost)


> luatex
This is LuaTeX, Version beta-0.43.0-2009081914
 \write18 enabled.
**
(I used Ctrl+C to exit here)

> xetex
xetex: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
(required by xetex)

My box is CentOS x86_64 5.4 with all updates.

Thanks
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Martin Schröder
2009/11/1 Hans Hagen :
> Martin Schröder wrote:
>> Indeed. Btw: The binaries from TL run on SUSE 10.1 (which has glibc
>> 2.4).
>
> ah, so maybe you can learn mojca a few tricks then; does this mean that tex
> live binaries have some built in magic that checks for libs?

No, they are simply build on old systems. Ask Peter. :-)

Best
Martin
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Martin Schröder
2009/11/1 Mojca Miklavec :
> I'm sweating ... trying to download Sarge DVD on this extra-slow
> connection. And then you remind me that I have a big cartoon box of
> original SuSE 7.2 right below my desk. (Maybe I should start
> considering throwing away a few things like this one, though it seems
> to come handy from time to time when one least expects it.)

I tested with 10.1 (which still had 2.4).

> (The only problem is that I'm not yet sure if SVN has already been
> developed at the time when SuSE 7 has been released.)

Probably not. :-)

Best
   Martin
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Mojca Miklavec
On Sun, Nov 1, 2009 at 19:03, Martin Schröder wrote:
> 2009/11/1 Mojca Miklavec:
>> Yes, the easy answer would be "upgrade your linux", but we probably
>> want the binaries to run on slightly older machines as well.
>
> Indeed. Btw: The binaries from TL run on SUSE 10.1 (which has glibc
> 2.4).

I'm sweating ... trying to download Sarge DVD on this extra-slow
connection. And then you remind me that I have a big cartoon box of
original SuSE 7.2 right below my desk. (Maybe I should start
considering throwing away a few things like this one, though it seems
to come handy from time to time when one least expects it.)

(The only problem is that I'm not yet sure if SVN has already been
developed at the time when SuSE 7 has been released.)

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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Hans Hagen

Martin Schröder wrote:

2009/11/1 Mojca Miklavec :

Yes, the easy answer would be "upgrade your linux", but we probably
want the binaries to run on slightly older machines as well.


Indeed. Btw: The binaries from TL run on SUSE 10.1 (which has glibc
2.4).


ah, so maybe you can learn mojca a few tricks then; does this mean that 
tex live binaries have some built in magic that checks for libs?


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


Re: [NTG-context] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Mojca Miklavec
On Sun, Nov 1, 2009 at 18:47, Mojca Miklavec wrote:
> On Sun, Nov 1, 2009 at 18:00, Vnpenguin wrote:
>> Hi,
>> Just installed minimal on CentOS x86_64. The installation is ok, but
>> when I try pdftex, there is error:
>>
>>> pdftex
>> pdftex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by pdftex)
>>
>> Any help for this problem ?
>
> This is weird. Peter - did you upgrade your linux in the meantime by
> any chance? (The update dates back to 17th October.)

Or maybe I was too fast. I don't find the exact timeline of libc
development, so I have no idea how old your linux is. I thought that
this failure was recent, but apparently it's not (the garden most
probably has libc-2.8). For 32-bit linux we try to be *very* backward
compatible. For 64-bit Peter most probably has the oldest linux OS
running on 64-bit processor in the community.

You are the first one with something older. The problem is that either:
- we need to find someone that will compile the binaries on old-enough linux
- or, if you have a chance to figure out how to upgrade to something
that supports at least 2.7

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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Martin Schröder
2009/11/1 Mojca Miklavec :
> Yes, the easy answer would be "upgrade your linux", but we probably
> want the binaries to run on slightly older machines as well.

Indeed. Btw: The binaries from TL run on SUSE 10.1 (which has glibc
2.4).

Best
   Martin
___
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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Mojca Miklavec
On Sun, Nov 1, 2009 at 18:00, Vnpenguin wrote:
>
> pdftex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by pdftex)
>
> glibc.i686                                               2.5-42
>
> Any help for this problem ?

Yes, the easy answer would be "upgrade your linux", but we probably
want the binaries to run on slightly older machines as well.

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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Mojca Miklavec
I forgot to ask: does only pdftex cause problems or also metapost,
luatex, xetex? It might help to know which of these programs still
work.

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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Mojca Miklavec
On Sun, Nov 1, 2009 at 18:00, Vnpenguin wrote:
> Hi,
> Just installed minimal on CentOS x86_64. The installation is ok, but
> when I try pdftex, there is error:
>
>> pdftex
> pdftex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by pdftex)
>
> Any help for this problem ?

This is weird. Peter - did you upgrade your linux in the meantime by
any chance? (The update dates back to 17th October.)

I can roll back, but I don't know to which version. Are you familiar
with svn? Can you try to figure out what version works OK for you?

svn co http://svn.contextgarden.net/minimals/bin/tex/linux-64/current/pdftex

and then you need to navigate back in time with

svn log
svn up -r 510 (or any other version)

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] ConTeXt Minimal: error pdftex on CentOS x86_64

2009-11-01 Thread Vnpenguin
Hi,
Just installed minimal on CentOS x86_64. The installation is ok, but
when I try pdftex, there is error:

> pdftex
pdftex: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by pdftex)

> yum list installed glibc*
Loaded plugins: fastestmirror, priorities
Excluding Packages in global exclude list
Finished
Installed Packages
glibc.i686   2.5-42
  installed
glibc.x86_64 2.5-42
  installed
glibc-common.x86_64  2.5-42
  installed
glibc-devel.x86_64   2.5-42
  installed
glibc-headers.x86_64 2.5-42
  installed

I have both glibc.i686 & glibc.x86_64 on my box.

Any help for this problem ?

Thanks in advance,

-- 
http://vnoss.org
___
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] ntg-context Digest, Vol 64, Issue 107

2009-10-31 Thread Mojca Miklavec
On Fri, Oct 30, 2009 at 23:40, Michael Green wrote:
> Mojca Miklavec wrote:
>
> They released a patch for this problem in April 2009. Specifically, they
>
> patched the binary files dvips and pdftex
>
> Have these patches been applied to the versions of dvips and pdftex in the
>
> minimals?
>
> Not for dvips for a simple reason. It's not in minimals. The sources
> for minimals contain the latest stable pdftex branch (that's returning
> errors during compilation at the moment).
>
> That's curious. There's a file called dvips in my
> minimals-context/tex/temf-osx-intel/bin/
> It seems to be dated 9/17/07

Sorry. In that case I take my word back. It may be in minimals, but I
would be surprised if it worked at all. (Maybe I just forgot to kick
it out to obsolete.)

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] ntg-context Digest, Vol 64, Issue 107

2009-10-30 Thread Michael Green

Mojca Miklavec wrote:

They released a patch for this problem in April 2009. Specifically,  
they

patched the binary files dvips and pdftex

Have these patches been applied to the versions of dvips and pdftex  
in the

minimals?


Not for dvips for a simple reason. It's not in minimals. The sources
for minimals contain the latest stable pdftex branch (that's returning
errors during compilation at the moment).


That's curious. There's a file called dvips in my minimals-context/tex/ 
temf-osx-intel/bin/


It seems to be dated 9/17/07

The version of pdftex is newer than the patched one: July 22 2009 vs.  
March 31 2009. I'm going to assume it's OK.


Taco Hoekwater wrote:



Question: is this still a problem for luatex 0.44? (Please say no).


I applied a patch tagged 'Melissa O'Neill' on March 22 (included as
of luatex-0.36.0), which I think is the one this is about.

Best wishes,
Taco



That looks right. 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
___


Re: [NTG-context] pdfs with boxes instead of letters

2009-10-30 Thread Mojca Miklavec
On Fri, Oct 30, 2009 at 22:41, Michael Green wrote:
>
> One other question. which pdftex shows that it's in the minimal distribution
>
> They released a patch for this problem in April 2009. Specifically, they
> patched the binary files dvips and pdftex
>
> Have these patches been applied to the versions of dvips and pdftex in the
> minimals?

Not for dvips for a simple reason. It's not in minimals. The sources
for minimals contain the latest stable pdftex branch (that's returning
errors during compilation at the moment).

The exact pdftex version depends on whether some particular maintainer
has already recompiled the binaries or not, but you can check on
http://svn.contextgarden.net/minimals/bin/tex/ if curious. In case of
Mac that's SVN #578, while the version in repository is #581.

> If not, is there any reason why I shouldn't substitute these
> patched versions for the ones in the minimals?

They may be older than the ones in minimals (and they will be
overwritten if you don't put them to the right place). I don't know
any details about LuaTeX. (I would assume that Taco did apply the
patch, but I don't know details.)

> Source for the patch:
> http://www.tug.org/mactex/fontcache/
> http://www.tug.org/mactex/fontcache/patchedbinaries.tar.gz

Mojca

PS: I admire the discovery of the bug, but some PDFs that Mathematica
generates manage to crash even Safari when trying to attach the
document and many of my own (manually generated) EPS images are pure
crap when viewed with Preview ... TeX seems innocent in comparison ...
:)
___
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] pdfs with boxes instead of letters

2009-10-30 Thread Michael Green

On Oct 30, 2009, Oliver Buerschaper wrote:


Well, if your engine is pdftex (from an unpatched TeXLive 2008) then
chances are you're running into the nasty (TM) font cache bug:

http://www.tug.org/mactex/fontcache/

Oliver


One other question. which pdftex shows that it's in the minimal  
distribution


They released a patch for this problem in April 2009. Specifically,  
they patched the binary files dvips and pdftex


Have these patches been applied to the versions of dvips and pdftex in  
the minimals? If not, is there any reason why I shouldn't substitute  
these patched versions for the ones in the minimals?


Thanks.

mjg

Source for the patch:
http://www.tug.org/mactex/fontcache/
http://www.tug.org/mactex/fontcache/patchedbinaries.tar.gz
___
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] pdfs with boxes instead of letters

2009-10-30 Thread Michael Green

On Oct 30, 2009, Oliver Buerschaper wrote:


> I seem to have spoken too soon. The very next document I prepared
> had the same boxes-rather-than-letters problem.
>
> That said, I cleared the font caches again and, after restarting,
> the document looked correct. Perhaps this is a coincidence. Or
> perhaps there is something amiss with the way my computers are
> caching fonts. Sigh.

Well, if your engine is pdftex (from an unpatched TeXLive 2008) then
chances are you're running into the nasty (TM) font cache bug:

http://www.tug.org/mactex/fontcache/

Oliver


The symptoms seem right: strange, unpredictable display problems with  
Apple's pdf software but not Adobe's. And it's not just pdftex,  
apparently. They say that luatex is affected too. That's primarily  
what I use. So we have both known symptoms (sort of - they're vague)  
and an allegedly known cause. Perhaps we have a diagnosis.


Here is Dick Koch, "A Fix for the Corrupt Font Cache Bug"

http://www.tug.org/mactex/fontcache/Font-Cache-Bugfix.pdf

The “corrupt font cache bug” on OS X has been traced by Melissa  
O’Neill to a bug in  pdftex, present in that program since 2004.  
The incorrect code is also used in other  programs, notably dvips,  
luatex, and metapost.  …


The code containing the pdftex bug was used with little change in  
modern versions of  dvips, so fixing the bug in dvips was not  
difficult. However, it wasn’t so easy to find the  corresponding  
code in luatex and metapost. Instead of waiting for decisive fixes  
in these  programs, we decided to just release the fixed pdftex and  
dvips. This should fix the bug  for most users. Notice that pdftex  
is used when typesetting in “pdftex” mode and dvips  is used when  
typesetting in “TeX and DVI” mode. XeTeX does not have the bug.


And in another document, "Looking over the Debugger’s Shoulders ",  
Koch summarizes what they discovered this way:


http://www.tug.org/mactex/fontcache/Debugging.pdf

Two bugs contributed to the problem. First, pdftex, dvips, luatex,  
and metapost were  not correctly subsetting certain fonts. And  
second, a large number of fonts contained  subroutines which did not  
conclude with a RETURN command. Many of these were  created with the  
utility mmpfb, which has been patched.


Question: is this still a problem for luatex 0.44? (Please say no).

If not, perhaps I should clean my caches and use only MkII/XeTeX.

Even then, I gather that old documents created with luatex will still  
be little time bombs (see Appendix, below). I guess I have to delete  
all pdfs made by luatex and regenerate them as needed. That's a lot of  
documents.


"Nasty" is right. Oy.

mjg

Appendix: Koch's explanation of why the font cache might become  
corrupt seemingly for no reason at all.


http://www.tug.org/mactex/fontcache/Font-Cache-Bugfix.pdf

When GUI programs display pdf files,  they call Apple’s internal  
pdf routines. In turn, these routines call Apple’s font routines  
to  construct bitmaps for the outline fonts. These Apple routines  
store the bitmaps in a font  cache to speed up future display. For  
reasons unknown until recently, this font cache can  become corrupt;  
this is “triggered” by displaying a defective pdf file. After  
that trigger,  display problems persist for all files. To fix the  
problem, the font cache needs to be rebuilt,  as happens when the  
machine is rebooted. Adobe Acrobat does not use Apple’s pdf  
display  routines, so it is immune to the bug. ...


Once you install the repaired pdftex and dvips binaries, pdf files  
created by these programs  will not contain damaged fonts and thus  
won’t trigger the bug. But unfortunately, your old pdf files may  
still be damaged. In addition, users on other platforms won’t have  
the  repaired binaries for some time, so pdf files sent by  
colleagues may still be damaged and  trigger the bug. That is why  
you may still experience the bug from time to time until the  TeX  
world catches up.


It isn’t even necessary to display an old damaged pdf file to  
trigger the bug, because Apple’s  QuickLook software and the  
software in Finder which gives a miniature version of the first   
page in the file browser can trigger it. If you keep experiencing  
the bug after applying the  fix, you may need to retypeset files  
which you often open.


___
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] pdfs with boxes instead of letters

2009-10-30 Thread Oliver Buerschaper
I seem to have spoken too soon. The very next document I prepared  
had the same boxes-rather-than-letters problem.


That said, I cleared the font caches again and, after restarting,  
the document looked correct. Perhaps this is a coincidence. Or  
perhaps there is something amiss with the way my computers are  
caching fonts. Sigh.


Well, if your engine is pdftex (from an unpatched TeXLive 2008) then  
chances are you're running into the nasty (TM) font cache bug:


http://www.tug.org/mactex/fontcache/

Oliver 
___

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] Producing PDF x/1-a:2001 output.

2009-10-30 Thread John Culleton
On Friday 30 October 2009 12:03:33 luigi scarso wrote:
> On Fri, Oct 30, 2009 at 4:48 PM, John Culleton 
 wrote:
> > At least two commercial printers that I use prefer or insist on 
the
> > format PDF X/1-a:2001 output. The only way I have found to
> > produce such in TeX without a pass through Adobe Acrobat
> > Distiller or the shareware program Pstill is via the package
> > pdfx.sty
> > authored by  CV Radhakrishnan  and  Han The Thanh. This in 
turn
> > uses some other files such as xmpincl.sty.
> >
> > I wonder if this setup could be incorporated into some flavor 
of
> > Context?  Or even pdftex? I prefer not to live within the 
strictures
> > of pdflatex.
>
> is not Ghostscript  OK ?
> (I have seen
> http://www.ghostscript.com/pipermail/gs-devel/2009-
September/008566.html)
Yes, I started that thread also.  It seems that the spec can be met 
via Ghostscript. What is also needed is the internal labeling of the 
file as pdf X/1-a:2001, and some xml add-ins. 

The prepress staff will look at the file and if it is not labeled 
correctly run it through Distiller, which can degrade text and 
barcodes  by converting them to bitmaps.  LSI  handles hundreds 
of pdf cover files each week, many of which are out of spec. If it 
does not look  like X/1-a:2001 they will bitmap it, and in the 
process mess it up to a degree, or so I am told.  So getting the file 
within spec is necessary but it also has to look like it is in spec.  
Their Customer Service Rep specifically mentioned Ghostscript as 
producing non-acceptable pdf files. 

This is not the only hoop to be leapt through in dealing with LSI.
they have a limit on total ink coverage that is more restrictive 
than the usual formulation for CMYK rich black. They want only 
%240 total coverage so I cobbled up  CMYK 60,40,40,100 which 
adds up to 240%.  In brief, they are a royal pain. But they have a 
near-monopoly on POD printing for bookstores in the US and their 
pricing for Amazon beats anyone including Amazon's own subsidy 
Createspace.

Hans:
The needed files and the documentation for pdfx.sty are located 
here:
http://www.ctan.org/tex-archive/macros/latex/contrib/pdfx/

The files in the package include:

README




glyphtounicode-cmr.tex




manifest.txt




pdfa-1b.xmp




pdfx-1a.xmp




pdfx.pdf




pdfx.sty




small2e.pdf




small2e.tex




small2e.xmpdata





-- 
John Culleton
"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html
___
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] Producing PDF x/1-a:2001 output.

2009-10-30 Thread luigi scarso
On Fri, Oct 30, 2009 at 4:48 PM, John Culleton  wrote:
> At least two commercial printers that I use prefer or insist on the
> format PDF X/1-a:2001 output. The only way I have found to
> produce such in TeX without a pass through Adobe Acrobat
> Distiller or the shareware program Pstill is via the package
> pdfx.sty
> authored by  CV Radhakrishnan  and  Han The Thanh. This in turn
> uses some other files such as xmpincl.sty.
>
> I wonder if this setup could be incorporated into some flavor of
> Context?  Or even pdftex? I prefer not to live within the strictures
> of pdflatex.

is not Ghostscript  OK ?
(I have seen 
http://www.ghostscript.com/pipermail/gs-devel/2009-September/008566.html)
-- 
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
___


Re: [NTG-context] Producing PDF x/1-a:2001 output.

2009-10-30 Thread Hans Hagen

John Culleton wrote:
At least two commercial printers that I use prefer or insist on the 
format PDF X/1-a:2001 output. The only way I have found to 
produce such in TeX without a pass through Adobe Acrobat 
Distiller or the shareware program Pstill is via the package 
pdfx.sty 
authored by  CV Radhakrishnan  and  Han The Thanh. This in turn 
uses some other files such as xmpincl.sty.


I wonder if this setup could be incorporated into some flavor of 
Context?  Or even pdftex? I prefer not to live within the strictures 
of pdflatex. 


what exactly needs to be added then? if you can figure that out it's no 
bug deal to implement it (at least in mkiv as i don't want to touch mkii)


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


[NTG-context] Producing PDF x/1-a:2001 output.

2009-10-30 Thread John Culleton
At least two commercial printers that I use prefer or insist on the 
format PDF X/1-a:2001 output. The only way I have found to 
produce such in TeX without a pass through Adobe Acrobat 
Distiller or the shareware program Pstill is via the package 
pdfx.sty 
authored by  CV Radhakrishnan  and  Han The Thanh. This in turn 
uses some other files such as xmpincl.sty.

I wonder if this setup could be incorporated into some flavor of 
Context?  Or even pdftex? I prefer not to live within the strictures 
of pdflatex. 
-- 
John Culleton
"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html
___
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] Luatex 0.44.0 announcement

2009-10-29 Thread Mojca Miklavec
On Thu, Oct 29, 2009 at 10:35, Mojca Miklavec wrote:
> On Thu, Oct 29, 2009 at 00:42, Michael Green wrote:
>> On Oct 28, 2009, at 3:04 PM, Mojca Miklavec wrote:
>>
>>> Is there any Mac Tiger volunteer willing to test if binaries compiled
>>> on Snow Leopard work on Tiger? (No binaries are in minimals yet; I
>>> need some volunteer to test first.)
>>
>> I'm willing. I even think I'm able, assuming the testing isn't very
>> extensive.
>
> No, I just wanted to know if the binary works at all. I wanted to send
> you the binary off-list first, but here it is instead:
>    http://dl.contextgarden.net/misc/luatex
> once you download it you need to execute
>    chmod +x luatex
>    ./luatex
>
> All I want to know is if it works on Tiger, no extensive testing is needed.

Sorry, I guess that I need to repeat the exercise. Can you please try just if
http://dl.contextgarden.net/misc/hello
works. Luatex most probably won't work ... and I need to figure out
how to modify the building scripts. Apparently 10.6 compiles all the
binaries for 64-bit architecture by default despite the fact that it
claims to be i386.

Luatex building scripts would need to be modified, pdftex doesn't
cross-compile at all.

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] Dash missed in Windows' Times

2009-10-26 Thread Vyatcheslav Yatskovsky

Hello

In the latest mkiv beta, dash (--) is not replaced by proper symbol if I 
use standard Windows' Times New Roman. I get two hyphens instead.


Actually, ConTeXt complains a lot about missed unicode "points". Please, 
see log attached.


How to fix it?
Regards,
Vyatcheslav
(tupicin.tex

ConTeXt  ver: 2009.08.19 17:10 MKIV  fmt: 2009.10.27  int: english/english

system  : cont-new loaded
(c:/contextminimal/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(c:/contextminimal/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(c:/contextminimal/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(c:/contextminimal/texmf-context/tex/context/user/cont-sys.rme 
(c:/contextminimal/texmf-context/tex/context/base/type-tmf.tex 
(c:/contextminimal/texmf-context/tex/context/base/type-tmf.mkiv)) 
(c:/contextminimal/texmf-context/tex/context/base/type-siz.tex 
(c:/contextminimal/texmf-context/tex/context/base/type-siz.mkiv)) 
(c:/contextminimal/texmf-context/tex/context/base/type-otf.tex 
(c:/contextminimal/texmf-context/tex/context/base/type-otf.mkiv)))
system  : tupicin.top loaded
%
%   begin of optionfile
%
%   % runtime options files (command line driven)
%   \unprotect
%   % special commands, mostly for the ctx development team
%   % feedback and basic job control
%   % handy for special styles
%   \startluacode
%   document = document or { }
%   document.arguments={
%   }
%   document.files={
%"tupicin.tex",
%   }
%   \stopluacode
%   % process info
%   \setupsystem[\c!n=1,\c!m=1]
%   \setupsystem[\c!type=windows]
%   % modes
%   % options (not that important)
%   \startsetups *runtime:options
%   \setupoutput[pdftex]
%   \stopsetups
%   % styles and modules
%   \startsetups *runtime:modules
%   \stopsetups
%   % done
%   \protect \endinput
%
%   end of optionfile
%
(tupicin.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
system  : module tupicin-env loaded
(tupicin-env.tex (c:/contextminimal/texmf-context/tex/context/base/type-win.tex)
math virtual | unicode point U+0039F has no index 004F in vector tex-mr for 
font rtxr
math virtual | unicode point U+00391 has no index 0041 in vector tex-mr for 
font rtxr
math virtual | unicode point U+003A1 has no index 0052 in vector tex-mr for 
font rtxr
math virtual | unicode point U+00392 has no index 0042 in vector tex-mr for 
font rtxr
math virtual | unicode point U+003A4 has no index 0054 in vector tex-mr for 
font rtxr
math virtual | unicode point U+00395 has no index 0045 in vector tex-mr for 
font rtxr
math virtual | unicode point U+00396 has no index 005A in vector tex-mr for 
font rtxr
math virtual | unicode point U+00397 has no index 0048 in vector tex-mr for 
font rtxr
math virtual | unicode point U+003A7 has no index 0058 in vector tex-mr for 
font rtxr
math virtual | unicode point U+00399 has no index 0049 in vector tex-mr for 
font rtxr
math virtual | unicode point U+0039A has no index 004B in vector tex-mr for 
font rtxr
math virtual | unicode point U+00303 has no index 007E in vector tex-mr for 
font rtxr
math virtual | unicode point U+02147 has no index 0065 in vector tex-mr for 
font rtxr
math virtual | unicode point U+0039C has no index 004D in vector tex-mr for 
font rtxr
math virtual | unicode point U+02146 has no index 0064 in vector tex-mr for 
font rtxr
math virtual | unicode point U+0039D has no index 004E in vector tex-mr for 
font rtxr
math virtual | unicode point U+00302 has no index 005E in vector tex-mr for 
font rtxr
math virtual | unicode point U+02145 has no index 0044 in vector tex-mr for 
font rtxr
math virtual | unicode point U+1D438 has no index 0045 in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D458 has no index 006B in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D6E6 has no index 0045 in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D439 has no index 0046 in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D449 has no index 0056 in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D6E7 has no index 005A in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D43A has no index 0047 in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D45A has no index 006D in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D6E8 has no index 0048 in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D6F8 has no index 0058 in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D43B has no index 0048 in vector tex-mi for 
font rtxmi
math virtual | unicode point U+1D44B has no index 0058 in vector tex-mi for 
font rtx

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Jan-Erik Hägglöf
Here is a test and the attached output and also the path of where the 
fonts are placed in file font.dir and the output from mtxrun --script 
fonts list museo* in fonts.list



Janneman


Can you test what happens with a minimal file:

\definefont[testfont][name:museo700]

\starttext
\testfont \input knuth
\stoptext


Is there some changes neccessary in those files?


No. type-exljbris works fine here.

The only other thing that I can think of is probably something wrong 
with the PATH. Try running


mtxrun --script context 74.tex (rather than context 74.tex)

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
___
  




font.dir
Description: application/director
museo Museo 700 Bold  Museo700-Regular.otf
museo700bold  Museo 700 Bold  Museo700-Regular.otf
museoregular  Museo 700 Bold  Museo700-Regular.otf

(test.tex

ConTeXt  ver: 2009.10.21 10:28 MKIV  fmt: 2009.10.22  int: english/english

system  : cont-new loaded
(/home/sameman/ctx/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/sameman/ctx/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/home/sameman/ctx/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/home/sameman/ctx/tex/texmf-context/tex/context/user/cont-sys.rme (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-tmf.tex (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-siz.tex (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-otf.tex (/home/sameman/ctx/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : test.top loaded
%
%	begin of optionfile
%
%	% runtime options files (command line driven)
%	\unprotect
%	% special commands, mostly for the ctx development team
%	% feedback and basic job control
%	% handy for special styles
%	\startluacode
%	document = document or { }
%	document.arguments={
%	}
%	document.files={
%	 "test.tex",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[\c!n=1,\c!m=1]
%	\setupsystem[\c!type=unix]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
(test.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
systems : begin file test at line 3
define font | forced type otf of Museo700-Regular not found
define font | font with name Museo700-Regular is not found
define font | unknown font Museo700-Regular, loading aborted
define font | unable to define museo700 as \**testfont** (/home/sameman/ctx/tex/texmf-context/tex/context/sample/knuth.tex)
fonts   : resetting map file list
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/home/sameman/ctx/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{/home/sameman/ctx/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{/home/sameman/ctx/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1]
systems : end file test at line 5
system  : cont-err loaded
(/home/sameman/ctx/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )
mkiv lua stats : used config path  - /home/sameman/ctx/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   - /home/sameman/ctx/tex/texmf-cache
mkiv lua stats : input load time   - 0.050 seconds
mkiv lua stats : stored bytecode data  - 190 modules, 46 tables, 236 chunks
mkiv lua stats : node list callback tasks  - 4 unique tasks, 3 created, 20 cal

Re: [NTG-context] Spam:*****, Re: Page Numbering Hell

2009-10-25 Thread Hans Hagen

Bryant Eastham wrote:

[in addition to what others have said]


1. Should I use mkii or mkiv? If mkii, then what should I plan on as
schedule for upgrading?


if you plan to use context for a long time and want to be save with 
respect to fonts and encodings, i'd gamble on mkiv (here we use mkiv for 
everything but also run mkiv in projects that started year sago and have 
to run fo rmay years to come); in general it's no big deal to switch 
from mkii to mkiv later



2. Should I use context or texexec? As I understand, this is the same as
asking whether to use pdftex or luatex. It may also be related to the
mkii/mkiv issue, but I am less sure of that.


context is a lua script and mkiv needs that one; texexec targets at 
mkii; in principle you can use contet to run mkii as well, as it will 
just call texexec; i have no time now (nor much reason) to convert the 
bit of code that mkii needs to lua, otherwise texexec could be dropped


concerning the 35 docs with 100's of pages ... the more docs and pages, 
the more time you can spend on a proper style setup (and investigation); 
anyhow, we use mkiv for small docs (manuals) as well as for handling 
large collections for customers (tens of thousands of different pages, 
spread over hundreds of documents, to be assembled in any combination or 
subset) and so far it works out ok, even if it's beta


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


Re: [NTG-context] Page Numbering Hell

2009-10-23 Thread Taco Hoekwater
Hi,


Bryant Eastham wrote:
> 
> 1. Should I use mkii or mkiv? If mkii, then what should I plan on as
> schedule for upgrading?
> 2. Should I use context or texexec? As I understand, this is the same as
> asking whether to use pdftex or luatex. It may also be related to the
> mkii/mkiv issue, but I am less sure of that.

The (new) version of context that runs on luatex is called mkiv, the
(traditional) version that runs on pdftex as well as xetex is called
mkii.

There are two shell commands: texexec and context. Both of these
can run either mkii (pdftex or xetex) or mkiv (luatex), but they
have different defaults: 'texexec' defaults to mkii and 'context'
defaults to mkiv.

There are not a lot of core differences between mkii and mkiv, but
there are a few. The big thing on the user side is that mkiv is
totally based on Unicode and UTF-8, and knows how to do OpenType font
processing.

It follows that the commands that deal with input regimes and font
encodings are either stubs or missing, there is a slightly longer
list of differences here:

  http://wiki.contextgarden.net/MkIV_Differences

I hope that answers your question.

> 3. What *reference* material exists? I do not need a user guide. Right
> now it has been Google. However, the solutions most recently mentioned
> on the mailing lists seem to dead-end. I am fine with an answer of "see
> the source code" if that is really it.

The closest thing to a short reference is the command index
(texshow-web) at contextgarden:

  http://texshow.contextgarden.net/

However, this is a community effort with a slight lack of actual
community.

The cont-en[pi].pdf is Hans' context manual, which was originally
written in the nineties and is now slightly out of date.

The foundry.supelec.fr project (contextref/context-reference) is a
community attempt to update that manual.

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


Re: [NTG-context] Page Numbering Hell

2009-10-22 Thread Bryant Eastham
All:

Alan comments below on my "aggressive" post. I apologize if it was seen
that way. I am serious in my evaluation of ConTeXt, and my questions are
quite serious as well.

I cannot justify the effort in and cost of converting some 35 documents
(many hundreds of pages) into a new format without an evaluation of the
format and related tools.

So, to restate my questions (potentially less aggressively), and in view
of switching our entire technical documentation to ConTeXt:

1. Should I use mkii or mkiv? If mkii, then what should I plan on as
schedule for upgrading?
2. Should I use context or texexec? As I understand, this is the same as
asking whether to use pdftex or luatex. It may also be related to the
mkii/mkiv issue, but I am less sure of that.
3. What *reference* material exists? I do not need a user guide. Right
now it has been Google. However, the solutions most recently mentioned
on the mailing lists seem to dead-end. I am fine with an answer of "see
the source code" if that is really it.

And I would still love a short, working example based on previous
request.

-Bryant

-Original Message-
From: Alan BRASLAU [mailto:alan.bras...@cea.fr] 
Sent: Wednesday, October 21, 2009 10:01 AM
To: Bryant Eastham; ntg-context@ntg.nl
Subject: Re: [NTG-context] Page Numbering Hell

On Wednesday 21 October 2009 16:24:47 Bryant Eastham wrote:
> 
> However, I find it interesting that in your response there was not a
> single real answer to any of my direct questions, nor a working
example
> of what you admit should be a "simple matter".

I clearly wrote that I find the new structure code to be a bit
confusing, and invited "experts" to answer your specific questions
(also commented in my framework "example"):
> % missing setups to:
> % 1. frontmatter pagenumbering conversion=romannumerals
> % 2. bodymatter pagenumbering "chapter-page"
> % 3. reset pagenumber for each chapter
> % 4. add blank pages if necessary to start chapters on odd pages.
It should be simple, but I have not taken the time/not had the need
to look into this. Perhaps someone can easily fill this in
(that is if not put-off by the agressivity of the posting).

> However, I
> believe that my original statements, which boil down to "This thing
may
> be great, but it needs to be documented (or where is it documented?)",
> have been strengthened.

Look at http://wiki.contextgarden.net/Main_Page
the paragraph on Documentation, and,
in particular, the revision of the user manual.
I, too, feel the great need for the updated
manual. For this reason, I am trying to join
the effort to bring forward its revision
(to be done in my "spare time").
Writing good, complete documentation is hard!

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] Page Numbering Hell

2009-10-22 Thread Alan BRASLAU
On Wednesday 21 October 2009 18:52:21 Bryant Eastham wrote:
> 
> 1. Should I use mkii or mkiv? If mkii, then what should I plan on as
> schedule for upgrading?

I asked this question recently and was told that it was
probably pretty safe now to use mkiv, "as the developers
use mkiv themselves".

My experience is that mkiv is not totally stable,
but almost so. I try to use it for my production
as much as possible. For the core of the commands,
the two are interchangable and it is simply a question
of using the "context" script or the "texexec" script
(but don't include a
% output=pdftex
line in your source file!)
For specific differences, you can use
\doifmodeelse{mkiv}{ }{ } 

This also answers 2.

> 3. What *reference* material exists? I do not need a user guide. Right
> now it has been Google. However, the solutions most recently mentioned
> on the mailing lists seem to dead-end. I am fine with an answer of "see
> the source code" if that is really it.

Did you look at the "user guide"? It is a reference manual
http://www.pragma-ade.com/general/manuals/cont-eni.pdf
http://www.pragma-ade.com/general/manuals/cont-enp.pdf
The first is a "screen" version, the second a "paper" format.
(and called context-reference or contextref.pdf on the svn)

A rich source is:
http://www.pragma-ade.com/overview.htm
___
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 of First and Last Page

2009-10-20 Thread Bryant Eastham
All-

 

Sorry if this is simple - I have searched but not found an answer. New
to ConTeXt, not LaTeX.

 

Given:

 

% output=pdftex

% environment file

\setuppapersize[A4]

\setuplist[chapter,section][chapternumber=yes]

\setuppagenumbering[location={header,right},way=bysection,chapternumber=
yes]

\setupsectionblock[frontpart][page=no]

\setupsectionblock[bodypart][page=no]

\setupsectionblock[appendix][page=no]

\setupsectionblock[backpart][page=no]

\mainlanguage[en]

\starttext

\startfrontmatter

\completecontent

\stopfrontmatter

\startbodymatter

\chapter[ch1]{Chapter 1}

\section{Chapter 1/Section 1}

Text.

\page

Text.

\stopbodymatter

\stoptext

 

Questions:

1.   What controls the page number that appears above the table of
contents? It currently shows "1".

2.   Why does the page number on the last page not include the
chapter? It currently shows "2".

 

Reading over some past posts I can postulate that the page numbering is
being reset before the last page has been output. But no matter where I
put my "setuppagenumbering" command the first page and last page don't
seem to be affected. Better said, they are affected but not in the way I
would expect... J

 

What am I not seeing? Log file attached.

 

Thanks,

-Bryant

 

 

 

 

Panasonic Electric Works Laboratory of America - SLC Lab
4525 So. Wasatch Blvd., Suite 100, 84124
Salt Lake City, UT 84124



T 801.993.7124
F 801.993.7260
beast...@pewla.us.pewg.pansonic.com

Bryant Eastham
Chief Architect



 

 

***CONFIDENTIALITY NOTICE***: This e-mail and any attachments may
contain information which is confidential, proprietary, trade secret,
privileged or otherwise protected by law. The information is the
property of Panasonic Electric Works Laboratory of America, Inc., and is
solely intended for the named addressee (or a person responsible or
delivering it to the addressee). If you are not the intended recipient
of this message, you are not authorized to read, print, retain copy or
disseminate this message or any part of it. If you have received this
e-mail in error, please notify the sender and the Office of General
Counsel at generalcoun...@us.pewg.panasonic.com
<mailto:generalcoun...@us.pewg.panasonic.com>  immediately by return
e-mail and delete it from your computer.

 

<><><><>

problem.log
Description: problem.log
___
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] compiling cont-eni

2009-10-20 Thread luigi scarso
On Tue, Oct 20, 2009 at 10:04 AM, Shiv Shankar Dayal <
shivshankar.da...@gmail.com> wrote:

> >> I got another interesting point. Adobe Reader reports that the
> >> application which generated original cont-eni.pdf is TeX. But for my
> >> compiled cont-eni.pdf it is ConTeXt - 2009.10.2 13:14. Why it is
> >> different?
> >>
> > what about
> > $> pdfinfo cont-eni.pdf
> > ?
>
> For the original file it says "ConTeXt/www.pragma-ade.com/cont-en.tex"
> as creator. I wonder how is that possible. :)
>
>
# pdfinfo cont-eni.pdf
Title:
Subject:
Author: PRAGMA ADE: Hans Hagen/Ton Otten
Creator:ConTeXt/www.pragma-ade.com/cont-en.tex
Producer:   pdfTeX-0.14h
CreationDate:   Mon Nov 12 09:49:00 2001
Tagged: no
Pages:  369
Encrypted:  no
Page size:  907 x 680 pts
File size:  3441697 bytes
Optimized:  no
PDF version:1.3

Where is the problem ?

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


Re: [NTG-context] Simplest slides

2009-10-20 Thread R. Bastian
On Mon, 19 Oct 2009 15:31:49 -0400 (EDT)
Aditya Mahajan  scribit:

> On Mon, 19 Oct 2009, R. Bastian wrote:
> 
> > Hello,
> >
> > I downloaded the files "generic*** etc" and tried to install (following
> > the 'simpleslides.pdf'); it seemed to succeed. But the compilation
> > 'texexec generic ...tex' failed.
> >
> > So I tried same tests:
> > --
> > r...@kubuntu64:~/Context/Slides$ texexec generic-talk-15min-45min.tex
> > TeXExec | processing document 'generic-talk-15min-45min.tex'
> > TeXExec | no ctx file found
> > TeXExec | tex processing method: context
> > TeXExec | TeX run 1
> > TeXExec | writing option file generic-talk-15min-45min.top
> > TeXExec | using randomseed 822
> > TeXExec | tex engine: pdftex
> > TeXExec | tex format: cont-en
> > This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
> > \write18 enabled.
> > (/usr/local/texlive/2007/texmf-context/web2c/natural.tcx)
> > kpathsea: Running mktexfmt cont-en.fmt
> > tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not 
> > found.
> > fmtutil: config file `fmtutil.cnf' not found.
> > I can't find the format file `cont-en.fmt'!
> > TeXExec | runtime: 0.040151
> > r...@kubuntu64:~/Context/Slides$ find . -name "cont-en.fmt"
> > r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
> > "cont-en.fmt"
> > /usr/local/texlive/2007/texmf-cache/luatex-cache/context/fc4b4b59a4904326c19d982f9a3c28fe/formats/cont-en.fmt
> > /usr/local/texlive/2007/texmf-linux-64/web2c/xetex/cont-en.fmt
> > r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
> > "tcfmgr.map"
> > /usr/local/texlive/2007/texmf/texconfig/tcfmgr.map
> > r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
> > "fmtutil.cnf"
> > /usr/local/texlive/2007/texmf-var/web2c/fmtutil.cnf
> > /usr/local/texlive/2007/texmf/web2c/fmtutil.cnf
> > r...@kubuntu64:~/Context/Slides$ sudo mktexlsr
> > mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
> > mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
> > mktexlsr: Updating /var/lib/texmf/ls-R...
> > mktexlsr: Done.
> > -
> > Something is wrong ...
> >
> > Can you help me ?
> 
> You need to make the context format. Try
> 
> fmtutil-sys cont-en

r...@kubuntu64:~/Context$ fmtutil-sys cont-fr
fmtutil: fmtutil: unknown option `cont-fr'. Try fmtutil --help for help.

> 
> Or, since you already have the xetex and the luatex formats, you can use
> 
> context generic-talk*.tex
> 
> or
> 
> texexec --xetex generic-talk*.tex

r...@kubuntu64:~/Context$ texexec --xetex generic-talk*.tex
TeXExec | processing document 'generic-talk*.tex'
TeXExec | no ctx file found
TeXExec | nothing to process
TeXExec | runtime: 0.008959

I use mkII mnimals (from 2007, but installed 2009.05). I will
reinstall soon.

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


-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org


___
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] Simplest slides

2009-10-19 Thread Aditya Mahajan

On Mon, 19 Oct 2009, R. Bastian wrote:


Hello,

I downloaded the files "generic*** etc" and tried to install (following
the 'simpleslides.pdf'); it seemed to succeed. But the compilation
'texexec generic ...tex' failed.

So I tried same tests:
--
r...@kubuntu64:~/Context/Slides$ texexec generic-talk-15min-45min.tex
TeXExec | processing document 'generic-talk-15min-45min.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file generic-talk-15min-45min.top
TeXExec | using randomseed 822
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
\write18 enabled.
(/usr/local/texlive/2007/texmf-context/web2c/natural.tcx)
kpathsea: Running mktexfmt cont-en.fmt
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `cont-en.fmt'!
TeXExec | runtime: 0.040151
r...@kubuntu64:~/Context/Slides$ find . -name "cont-en.fmt"
r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
"cont-en.fmt"
/usr/local/texlive/2007/texmf-cache/luatex-cache/context/fc4b4b59a4904326c19d982f9a3c28fe/formats/cont-en.fmt
/usr/local/texlive/2007/texmf-linux-64/web2c/xetex/cont-en.fmt
r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
"tcfmgr.map"
/usr/local/texlive/2007/texmf/texconfig/tcfmgr.map
r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
"fmtutil.cnf"
/usr/local/texlive/2007/texmf-var/web2c/fmtutil.cnf
/usr/local/texlive/2007/texmf/web2c/fmtutil.cnf
r...@kubuntu64:~/Context/Slides$ sudo mktexlsr
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
-
Something is wrong ...

Can you help me ?


You need to make the context format. Try

fmtutil-sys cont-en

Or, since you already have the xetex and the luatex formats, you can use

context generic-talk*.tex

or

texexec --xetex generic-talk*.tex


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] Simplest slides

2009-10-19 Thread R. Bastian
Hello,
 
I downloaded the files "generic*** etc" and tried to install (following
the 'simpleslides.pdf'); it seemed to succeed. But the compilation
'texexec generic ...tex' failed.

So I tried same tests:
--
r...@kubuntu64:~/Context/Slides$ texexec generic-talk-15min-45min.tex
TeXExec | processing document 'generic-talk-15min-45min.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file generic-talk-15min-45min.top
TeXExec | using randomseed 822
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
 \write18 enabled.
 (/usr/local/texlive/2007/texmf-context/web2c/natural.tcx)
kpathsea: Running mktexfmt cont-en.fmt
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `cont-en.fmt'!
TeXExec | runtime: 0.040151
r...@kubuntu64:~/Context/Slides$ find . -name "cont-en.fmt"
r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
"cont-en.fmt"
/usr/local/texlive/2007/texmf-cache/luatex-cache/context/fc4b4b59a4904326c19d982f9a3c28fe/formats/cont-en.fmt
/usr/local/texlive/2007/texmf-linux-64/web2c/xetex/cont-en.fmt
r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
"tcfmgr.map"
/usr/local/texlive/2007/texmf/texconfig/tcfmgr.map
r...@kubuntu64:~/Context/Slides$ find /usr/local/texlive/2007/ -name 
"fmtutil.cnf"
/usr/local/texlive/2007/texmf-var/web2c/fmtutil.cnf
/usr/local/texlive/2007/texmf/web2c/fmtutil.cnf
r...@kubuntu64:~/Context/Slides$ sudo mktexlsr
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
-
Something is wrong ...

Can you help me ?
 
-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org


___
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] highlighting chars on a path

2009-10-19 Thread luigi scarso
On Mon, Oct 19, 2009 at 2:10 PM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> On Sun, Oct 18, 2009 at 21:11, Aurelien Giraud wrote:
> > Hello,
> >
> > I am new to ConTeXt and I have looked on the internet for a way to do
> > something special. Unfortunately I have not found any solution.
> >
> > I hope this is the right place for such a question. I apologise
> otherwise.
> >
> > I would like to highlight (e.g. put in bold, or change the color...) any
> > character on a page which sits on a chosen path. I would like to be able
> to
> > position for instance an invisible circle on a page and have all the
> > characters "in contact" with this circle change color so that the circle
> > become visible via these characters. Is it something I could do with
> > ConTeXt?
>
> If I remember well, there are in pdftex some primitives about (x,y)
positions of an object
in a page.
Maybe one can use these primitives to dissect a vbox
and analyze its nodelist to mark the glyph node that have x y such that

| (x-xc)^2 + (y-yc)^2 - r | ≤ 𝛜

where
(xc,yc) are the coordinate of the circle respect to the page
r >0 is the radius
𝛜 >0 is the tolerance

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


Re: [NTG-context] embed fonts

2009-10-17 Thread R. Bastian
On Sat, 17 Oct 2009 10:32:41 +0200
Taco Hoekwater  scribit:

> R. Bastian wrote:
> > Hello,
> > I send a little pdf made with Mk II and \setupbodyfont[sansserif, 10 pt]
> > to a friend. He could not read it.
> > 
> > Is there a way to control if the font has been embedded?
> 
> That cannot be the problem. Is the pdf is unreadable, something
> in your compilation process is wrong, and there should be some
> hint in the log. It would help if you posted the input and/or
> the log file.
> 
> Best wishes,
> Taco
> 
> ___

Here the source & log.

Is something wrong ?
Thnaks for your help.
-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=cont-en 2009.4.22)  13 OCT 2009 19:11
entering extended mode
 %&-line parsing enabled.
 (/usr/local/texlive/2007/texmf/web2c/natural.tcx)
**vorlage.tex emergencyend
(./vorlage.tex

ConTeXt  ver: 2007.01.12 15:56 MKII  fmt: 2009.4.22  int: english/english

language: language en is active
system  : cont-new loaded
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
\boislevel=\count210
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.mkii))
system  : cont-old loaded
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/usr/local/texlive/2007/texmf-dist/tex/context/user/cont-sys.rme
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials: tex,postscript,rokicki loaded
\openout3 = `vorlage.tui'.

system  : vorlage.top loaded
(./vorlage.top
specials: loading definition file tpd
(/usr/local/texlive/2007/texmf-dist/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/local/texlive/2007/texmf-dist/tex/context/base/spec-fdf.tex
\everygoto=\toks326
\PDFsymbolbox=\box157
\everyPDFxform=\toks327

(/usr/local/texlive/2007/texmf-dist/tex/context/base/spec-fdf.mkii))
specials: fdf loaded
\everyPDFximage=\toks328
\PDFcurrenttransparency=\count211
)
specials: fdf,tpd loaded
)
\openout0 = `vorlage-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems : system commands are disabled
system  : mark sujet defined [subject]
system  : mark sujetnumber defined [subjectnumber]
system  : mark masection defined [section]
system  : mark masectionnumber defined [sectionnumber]
(./vorlage.tuo) (./vorlage.tuo) (./vorlage.tuo) (./vorlage.tuo) (./vorlage.tuo)
(./vorlage.tuo) (./vorlage.tuo) (./vorlage.tuo) (./vorlage.tuo) (./vorlage.tuo)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/sort-def.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/sort-lan.tex)
(./vorlage.tuo) (./vorlage.tuo)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/pdfr-def.tex)
systems : begin file vorlage at line 27
\...@sl@\@@shortsectionnumber=\count212
title   : - Neue Methoden der Klangkonstruktion
fonts   : resetting map file list
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/original-empty.map
}
fonts   : using map file: texnansi-public-lm
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/texnansi-public-lm
.map}
fonts   : using map file: original-base
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: ec-public-lm
{/usr/local/texlive/2007/texmf-dist/fonts/map/pdftex/context/ec-public-lm.map}
fonts   : using map 

Re: [NTG-context] embed fonts

2009-10-16 Thread luigi scarso
On Fri, Oct 16, 2009 at 5:21 PM, Hans Hagen  wrote:

> luigi scarso wrote:
>
>>
>>
>> On Fri, Oct 16, 2009 at 3:34 PM, Thomas A. Schmitz <
>> thomas.schm...@uni-bonn.de <mailto:thomas.schm...@uni-bonn.de>> wrote:
>>
>>
>>If they fails,
>>then we must find a solution .
>>
>>
>>No, the mkii solution was on the level of the map-files (just use
>><>that is not applicable to mkiv.
>>
>> so "houston, we have a problem here" .
>> I think we need  Taco , or go tthrough luatex-ref.pdf .
>>
>
>

> it's no problem to provide that feature in mkiv, but i need some real
> string arguments as well as to be sure that i'll never be bothered by side
> effects of fonts not being in a pdf file
>
Fonts not included can sometimes speeds up things when you are coding, but I
never use this feature -- too much dangerous.
I never used full inclusion too, but it's a prepress job (and yes, I have a
prepress office);
there is also ghostscript that does this kind of distiller stuffs.
Full inclusion can be useful, at least to cover the same feature of pdftex.
(my 1cent)

-- 
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] \itemize[continue] problem

2009-10-10 Thread Piotr Kopszak
Hello list,

The following example from manual works fine with mk II but fails with
mkIV in recent minimals

\starttext
\startitemize[1,packed]
\head supported image formats in \PDFTEX \par
  \startitemize[a]
  \item png \item eps \item pdf
  \stopitemize
\head non supported image formats in \PDFTEX \par
  \startitemize[continue]
  \item jpg \item gif \item tif
  \stopitemize
\stopitemize
\stoptext

Piotr

-- 
http://okle.pl
___
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] Installing minimals

2009-10-09 Thread Alain Delmotte

Hi!

On the 16th of September I mentioned that I had problems to install the 
minimals.


Further, on my portable, the one I used during EuroTeX I could not 
connect to INTERNET anymore even after changing the connection parameters!!


I then decide to un-install the firewall program I use (COMODO -- which 
I disabled when I tried to install the minimals, but with no result) and...
everything is now OK: I could reconnect and more important install the 
minimals.


Still a problem using TeXworks: the synctex system is not working: 
neither adding -synctex=1 in Preferences or \synctex=1 at the start of 
the tex source.


Synctex appeared only in MikTeX 2.7 by a special (?) instruction in the 
pdftex (?) program.

Is synctex taken into account in context?

Alain


___
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] inserting pdf

2009-10-08 Thread Peter Rolf

Hi Mohamed!

Mohamed Bana schrieb:

hi folks,

assuming x.pdf has more than 1 page, this only inserts the first.  i'd 
like to insert all the pages.  how would i do that?




\filterpages[file.pdf][1:6][width=18cm]

see
http://wiki.contextgarden.net/Including_pages_from_PDF_document

for more details.


Best wishes,  Peter


startTEXpage
\externalfigure[x.pdf]
\stopTEXpage



\externalfigure[x.pdf][page=1-2]

doesn't work either.  I have to do;

\startTEXpage
\externalfigure[x.pdf][page=1]
\stopTEXpage

\startTEXpage
\externalfigure[x.pdf][page=2]
\stopTEXpage


I'm using

$ pdftex --version
pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7)

and whatever comes with texlive 2008.

regards,
Mohamed
___ 

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] inserting pdf

2009-10-08 Thread luigi scarso
On Thu, Oct 8, 2009 at 2:36 PM, Mohamed Bana wrote:

> hi folks,
>
> assuming x.pdf has more than 1 page, this only inserts the first.  i'd like
> to insert all the pages.  how would i do that?
>
> startTEXpage
> \externalfigure[x.pdf]
> \stopTEXpage
>
>
>
> \externalfigure[x.pdf][page=1-2]
>
> doesn't work either.  I have to do;
>
> \startTEXpage
> \externalfigure[x.pdf][page=1]
> \stopTEXpage
>
> \startTEXpage
> \externalfigure[x.pdf][page=2]
> \stopTEXpage
>
>
> I'm using
>
> $ pdftex --version
> pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7)
>
> and whatever comes with texlive 2008.
>
> regards,
> Mohamed
>
> ___
> 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
>
> ___
>

hmm maybe
\copypages

-- 
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] inserting pdf

2009-10-08 Thread Mohamed Bana

hi folks,

assuming x.pdf has more than 1 page, this only inserts the first.  i'd 
like to insert all the pages.  how would i do that?


startTEXpage
\externalfigure[x.pdf]
\stopTEXpage



\externalfigure[x.pdf][page=1-2]

doesn't work either.  I have to do;

\startTEXpage
\externalfigure[x.pdf][page=1]
\stopTEXpage

\startTEXpage
\externalfigure[x.pdf][page=2]
\stopTEXpage


I'm using

$ pdftex --version
pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7)

and whatever comes with texlive 2008.

regards,
Mohamed
___
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] Minimals

2009-10-06 Thread luigi scarso
On Tue, Oct 6, 2009 at 4:12 PM, Jörg Hagmann wrote:

>
>
> luigi scarso wrote:
>
>> hmm -- I don't have osx , I have linux --
>> what about
>> $> find minimals-beta -name  "*.fmt"
>> ?
>> Assuming minimals-beta as root dir, I have them only under the cache, ie
>>
>> ./tex/texmf-cache/luatex-cache/context/e2d590ed08d5bb7ce264a85c7599601d/formats
>>
>
> ./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/cont-en.fmt
>
> ./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/cont-nl.fmt
>
> ./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/mptopdf.fmt
>
> ./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/plain.fmt
> ./texmf-osx-intel/web2c/pdftex/cont-en.fmt
> ./texmf-osx-intel/web2c/pdftex/cont-nl.fmt
> ./texmf-osx-intel/web2c/pdftex/mptopdf.fmt
> ./texmf-osx-intel/web2c/xetex/cont-en.fmt
> ./texmf-osx-intel/web2c/xetex/cont-nl.fmt
>
>
ok put this in test.tex
 \starttext \input tufte \stoptext
Then delete  luatex-cache;
$> cd  ./tex/texmf-context/scripts/context/lua
$> context --generate
$> context --make

and try to
$>context test.tex

-- 
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] Minimals

2009-10-06 Thread Jörg Hagmann



luigi scarso wrote:

hmm -- I don't have osx , I have linux --
what about
$> find minimals-beta -name  "*.fmt"
?
Assuming minimals-beta as root dir, I have them only under the cache, ie
./tex/texmf-cache/luatex-cache/context/e2d590ed08d5bb7ce264a85c7599601d/formats

./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/cont-en.fmt
./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/cont-nl.fmt
./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/mptopdf.fmt
./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/plain.fmt
./texmf-osx-intel/web2c/pdftex/cont-en.fmt
./texmf-osx-intel/web2c/pdftex/cont-nl.fmt
./texmf-osx-intel/web2c/pdftex/mptopdf.fmt
./texmf-osx-intel/web2c/xetex/cont-en.fmt
./texmf-osx-intel/web2c/xetex/cont-nl.fmt

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] mkiv fails to load pdf image

2009-10-06 Thread Taco Hoekwater


zs wrote:
> On Mon, 5 Oct 2009 14:21:27 +0200
> Martin Schröder  wrote:
> 
>> 2009/10/5 Taco Hoekwater :
>>> Somehow this is related to the example.pdf, because using cow.pdf works
>>> just fine.
>> example.pdf has a /Group. And it works here in pdfTeX 1.50 & LaTeX.
>> Can LuaTeX handle pdf inclusion with transparency groups?
> 
> It was formerly able to handle it seamlessly for very long time, only recent 
> version cannot.

That means it is probably a regression caused by the backend rewrite.
I will create an item for this in the bug tracker.

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] mkiv fails to load pdf image

2009-10-06 Thread zs
On Mon, 5 Oct 2009 14:21:27 +0200
Martin Schröder  wrote:

> 2009/10/5 Taco Hoekwater :
> > Somehow this is related to the example.pdf, because using cow.pdf works
> > just fine.
> 
> example.pdf has a /Group. And it works here in pdfTeX 1.50 & LaTeX.
> Can LuaTeX handle pdf inclusion with transparency groups?

It was formerly able to handle it seamlessly for very long time, only recent 
version cannot.

Zdenek
___
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] mkiv fails to load pdf image

2009-10-05 Thread Taco Hoekwater

Hi,

Martin Schröder wrote:
> 2009/10/5 Taco Hoekwater :
>> Somehow this is related to the example.pdf, because using cow.pdf works
>> just fine.
> 
> example.pdf has a /Group. And it works here in pdfTeX 1.50 & LaTeX.
> Can LuaTeX handle pdf inclusion with transparency groups?

This could very well be the problem.

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] mkiv fails to load pdf image

2009-10-05 Thread Martin Schröder
2009/10/5 Taco Hoekwater :
> Somehow this is related to the example.pdf, because using cow.pdf works
> just fine.

example.pdf has a /Group. And it works here in pdfTeX 1.50 & LaTeX.
Can LuaTeX handle pdf inclusion with transparency groups?

Best
   Martin
___
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] framedtext in naturaltables

2009-10-02 Thread Xan

En/na Wolfgang Schuster ha escrit:


Am 30.09.2009 um 21:22 schrieb Xan:


Hi,

If I put 
\startframedtext[frame=off,background=screen,width=broad]\stopframedtext 
in naturaltable, then I get that framed text passes table and that it 
aligns at top.


Can you say me please how to get a right behaviour?


\startframedtext[location=top,frame=off,background=screen,width=\dimexpr\hsize-\itemgrouplistwidth\relax] 



or better

\defineframedtext
  [tableframed]
  [location=top,
   frame=off,
   background=color, % screen works only with mkii but color with mkii 
and mkiv

   backgroundcolor=gray
   width=\dimexpr\hsize-\itemgrouplistwidth\relax]

\bTD\starttableframed ... \stoptableframed\eTD

Wolfgang


It does not work:

duplicate reference [][fig:smiley-semblants] on page 3 (copia
-de-T1-Estructura-Externa-Terra-Roques-i-Minerals)
) (/usr/share/texmf/tex/context/base/pdfr-def.tex)
systems : begin file 
copia-de-T1-Estructura-Externa-Terra-Roques-i-Mine

rals at line 122
! Undefined control sequence.
\@@kdframedtextwidth ...size -\itemgrouplistwidth

\startlocalframed ...h {\framedparameter \c!width
 }\edef \localheight 
{\fram...


\dododostartframedtext ...#1][\c!strut =\v!no ,#3]
 \bgroup \let 
\\=\endgraf \...


  {
 ...expr \hsize -\itemgrouplistwidth ] {
 \bf \em Estructura 
interna...


\handleTBLcell ...{\bTBLCELL \TBLcharalign {#2}{#4
 }\eTBLCELL \inTBLcell 
{#1}...

...
l.257 \eTABLE
}
?


at least in MKII.


I attached the whole file.

Thanks a lot,
Xan.
% interface=en output=pdftex

% Regime
\enableregime[utf]

% Choose a font
\setupbodyfont [cmr,10pt]

% Be tolerant with paragraph building
\setuptolerance [horizontal,verytolerant,stretch]

% Choose a language, and associated hyphenation rules.
%\language [ca]
\mainlanguage[ca]

% Page number
\setuppagenumbering [location={footer}]

% Paper size
\setuppapersize [a4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
\setuplayout[topspace=1.5cm,margin=1.5cm,header=0.8cm,footer=1.5cm,width=fit,height=fit,backspace=1.7cm]


% Enable colors and activate hyperlinks
\setupcolors [state=start]
%\definecolor[lightBlue][r=0.5, g=0.5, b=1.0]
%\setupinteraction [state=start, color=lightBlue]
%\setupurl[style=small, space=yes]
\setupurl[space=yes]

% Enumerate the URLs
%\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki]

% Fonts
%% Chapters...
\setupheads[align=flushleft]
\setuphead[chapter][style={\tfd\bf}]
\setuphead[section][style={\ssbfc}, header=nomarking]
\setuphead[subsection][style={\ssbfb}]
\setuphead[subsubsection][style={\bfa}]
%\setuphead[section][textstyle=bold]

% Bibliography options
% BIBTEX
%\usemodule[bib]
%\usemodule[bibltx]
%\setupbibtex[database=funcions,sort=author]
%\setuppublications [alternative=ams,numbering=yes, sorttype=bbl, 
criterium=all]%
%\setupheadtext[ca][pubs=Referències]
%\setuppublicationlist[authoretallimit=3]
%\setuppublicationlist[authoretaltext={\it\  et al.}]
%\setuppublicationlist[authoretaldisplay=1]

%Indentation
\setupheads[indentnext=yes] 
\setupindenting[yes,small,first]

% Vertical spaces between paragraphs
\setupwhitespace[none]

%Itemize
\setupitemize[each][identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]

% Mathematical packets
%\usemodule[newmat]

% Modules
\usemodule[tikz]
\usetikzlibrary[mindmap,arrows,calc]
%\usetikzlibrary[trees]

% AMSTHM
\defineenumeration
  [exercici]
  
[text={Exercici},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,
stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,headstyle=\ss]

% Table of contents
%% dots between... and subsubsubsection are not listed
\setupcombinedlist[content][level=4,alternative=c] 
%% section = bold. % width= 10mm --> less space between num-letter
%% line break after section.
\setuplist[section][style=bold,width=10mm] 
\setuplist[section][before=\blank]
%% margin = 10 mm. Put the subsection just bottom section.
\setuplist[subsection][margin=10mm,width=10mm]
\setuplist[subsubsection][margin=20mm,width=10mm]
% Set "Índex" like "Índex de continguts"
\setupheadtext [ca] [content=Índex]

% Heads and footers
\setupfootertexts[{\tfx \pagenumber/\lastpage}]
\setupfooter[text][before=\hrule]
\setupheader[text][after=\hrule]
\setupheadertexts[{\tfx 4t DIVER CN. Tema 1 - Estructura Externa de la 
Terra}][{\tfx IES Binissalem. {\bf FULL 1}. \currentdate.}]

% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{subs-ti-tueix}
\hyphenation{pro-ble-ma}
\hyphenation{Ma-the-ma-tics}
\hyphenation{Ma-the-ma-ti-cal}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ció}
\hyphenation{

Re: [NTG-context] utf-8 math and xetex

2009-10-01 Thread Hans Hagen

Aditya Mahajan wrote:

Hi,

Utf-8 math input that works with pdftex (α, β, etc) does not work with 
xetex. Is this by design, or a recent bug?


Minimal example

\enableregime[utf-8]
\starttext $α β$ \stoptext


i have no plans of adding unicode math support to mkii for xetex , al 
least not on the short term; if it happens at all the relevant files 
will be generated by scripts


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] virtual fonts in luatex?

2009-10-01 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
> Hi all,
> 
> I'm running into a problem, but maybe not all hope is lost. For my Greek
> stuff, I will sometimes need a "dotbelowcomb" accent. Only very few
> fonts have that, but no problem, in mkiv, I can simply take that from a
> follback font:
> 
> \definefontfallback [GreekFallback] [name:texgyretermesregular] [0x0323]
> [force=no,check=no]
> 
> Now I would like to remap the exclam character to this dotbelowcom.

If it was me, I would go for an active character, as that seems the most
straightforward solution.

> Again, no problem: with a fea file, I can write a sub rule
> 
> sub exclam by dotbelowcomb

It is better to forget about fea files alltogether. Even when they
actually work, the interface is ugly.

> but I can't combine both approaches: if the font doesn't have the
> character, I get an error about "invalid glyph index." In good old
> pdftex, it was possible to define a virtual font for such occasions, and
> I seem to remember that there's something similar in mkiv, but I'm
> unsure how it can be done. Any pointers?

Mkiv has an interface for virtual math, but I am not sure whether that
also works for text fonts (not do I know how, if so). If it does not
yet but could be made to do so, then that would be a very useful
extension to the font fallbacks...

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
___


[NTG-context] virtual fonts in luatex?

2009-09-30 Thread Thomas A. Schmitz

Hi all,

I'm running into a problem, but maybe not all hope is lost. For my  
Greek stuff, I will sometimes need a "dotbelowcomb" accent. Only very  
few fonts have that, but no problem, in mkiv, I can simply take that  
from a follback font:


\definefontfallback [GreekFallback] [name:texgyretermesregular]  
[0x0323] [force=no,check=no]


Now I would like to remap the exclam character to this dotbelowcom.  
Again, no problem: with a fea file, I can write a sub rule


sub exclam by dotbelowcomb

but I can't combine both approaches: if the font doesn't have the  
character, I get an error about "invalid glyph index." In good old  
pdftex, it was possible to define a virtual font for such occasions,  
and I seem to remember that there's something similar in mkiv, but I'm  
unsure how it can be done. Any pointers?


Thanks, and all best

Thomas

___
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] utf-8 math and xetex

2009-09-28 Thread Aditya Mahajan

Hi,

Utf-8 math input that works with pdftex (α, β, etc) does not work with 
xetex. Is this by design, or a recent bug?


Minimal example

\enableregime[utf-8]
\starttext $α β$ \stoptext

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


Re: [NTG-context] mkiv vs. mkii

2009-09-26 Thread Taco Hoekwater


Hi Mika,

Mika Ritola wrote:


Could you explain what mode=node does? I've seen it mentioned many times but
I still don't know what its purpose is. I searched the ConTeXt site (using
the search box), and didn't find any other useful information on it except
that it affects kerning, but how? What are the advantages and disadvantages
of using it? When should you use it?


Mark IV has two font processing modes, 'base' and 'node'.

In base mode, the font metrics are transformed into a traditional
tfm-style table, which means that all kerning and ligaturing is
handled by the core luatex engine. This is very similar to the
processing that takes place mkii (pdftex). Its advantage is that
it is faster than node mode, but the disadvantage is that you do
not have access to any of the advanced features in opentype fonts.

In mode node, the font metrics is transformed into a table that
has no kerning nor ligatures at all, and the kerning and ligature
processing is handled by the mkiv lua code instead of the core engine.
The advantage is that you can do much more advanced stuff (for example,
node mode is required for on-the-fly feature changes, all non-trivial
ligature replacements, and for non-latin scripts) but the disadvantage
is that processing is slower.

Currently mkiv defaults to base mode except for the predefined
fontfeatureset 'arabic', but this may change in the future, IIRC.

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] old sidebar example

2009-09-25 Thread Piotr Kopszak
I realized it's a general hanging problem :(

\starttext
\placefigure[left,hang]{}{\externalfigure[hacker.jpg]}
\input zapf
\stoptext


P.

2009/9/25 Piotr Kopszak :
> Hello list,
>
> Is the a way to make the following example posted here:
> http://archive.contextgarden.net/message/20060321.134723.3a8e8ff3.en.html
> work with recent mkIV as it used to before?
>
> \setupoutput[pdftex]
> \setupcolors[state=start]
> \frenchspacing
> \tolerance = 1000
> \setuplayout[width=4in]
> \setupfloat
> [intermezzo]
> [
> leftmargindistance=-.8in,
> rightmargindistance=-.8in,
> default={outer,high}]
> \setupcaption[intermezzo][location=none]
>
> \defineframedtext
> [myohmy]
> [width=6cm,bodyfont=small,
> frame=off,
> backgroundcorner=round,
> backgroundradius=6pt,background=screen,backgroundscreen=.8]
> %\showframe
> \setupmarginblocks[
>    style=small,
>    width=5cm,
> before=\startmyohmy,
> after={\relax,\stopmyohmy},
> align=middle,
> ]
> \long\def\sidebar#1{\placeintermezzo{}{\startmyohmy #1 \relax\stopmyohmy}}
>
> \starttext
> \input ward
> \placeintermezzo{}{\startmyohmy\input dawkins \relax\stopmyohmy}
> \dorecurse{3}{\input knuth \par}
> \page[yes]
> \input ward
> \placeintermezzo{}{\input dawkins\relax}
> \page[yes]
> \input ward
>
> FOO
> \sidebar{%
> \input dawkins
>
> Additional text.
> }
> \dorecurse{3}{\input knuth \par}
>
>
> \stoptext
>
>
> Many thanks in advance
>
> Piotr
> --
> http://okle.pl
>



-- 
http://okle.pl
___
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] old sidebar example

2009-09-25 Thread Piotr Kopszak
Hello list,

Is the a way to make the following example posted here:
http://archive.contextgarden.net/message/20060321.134723.3a8e8ff3.en.html
work with recent mkIV as it used to before?

\setupoutput[pdftex]
\setupcolors[state=start]
\frenchspacing
\tolerance = 1000
\setuplayout[width=4in]
\setupfloat
[intermezzo]
[
leftmargindistance=-.8in,
rightmargindistance=-.8in,
default={outer,high}]
\setupcaption[intermezzo][location=none]

\defineframedtext
[myohmy]
[width=6cm,bodyfont=small,
frame=off,
backgroundcorner=round,
backgroundradius=6pt,background=screen,backgroundscreen=.8]
%\showframe
\setupmarginblocks[
style=small,
width=5cm,
before=\startmyohmy,
after={\relax,\stopmyohmy},
align=middle,
]
\long\def\sidebar#1{\placeintermezzo{}{\startmyohmy #1 \relax\stopmyohmy}}

\starttext
\input ward
\placeintermezzo{}{\startmyohmy\input dawkins \relax\stopmyohmy}
\dorecurse{3}{\input knuth \par}
\page[yes]
\input ward
\placeintermezzo{}{\input dawkins\relax}
\page[yes]
\input ward

FOO
\sidebar{%
\input dawkins

Additional text.
}
\dorecurse{3}{\input knuth \par}


\stoptext


Many thanks in advance

Piotr
--
http://okle.pl
___
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] buffer problem (mkii)

2009-09-24 Thread Peter Rolf

Hi Hans,

can you add an \unexpanded (as in mkiv) to the mkii definition of 
\getbuffer?


[buff-ini.mkii]
\unexpanded\def\getbuffer
 {\dodoubleempty\dogetbuffer}

Without it compilation breaks here somehow (error with my nested buffers).

No such problems with the \unexpanded definition. And before you ask: no 
minimal example yet and hopefully there is no need to generate one 
anymore ;)



[..]
fonts   : using map file: texnansi-microsoft-tahoma
{r:/tex/texmf-fonts/fonts/map/pdftex/context/texnansi-microsoft-tahoma.map})
(././flib/icons-shell32dll-32bit-48x48.xml) 
(././flib/icons-thunderbird.xml) <.

./include/icons/pdf-icon_24bpp-48x48.png>
figures : dimensions of pdf-icon_24bpp-48x48.png loaded from 
figurefile

itself
color   : themaintextcolor is not defined
[MP to PDF] (./window-mpgraph.2) [MP to PDF] (./window-mpgraph.3) [MP to 
PDF]

(./window-mpgraph.4)) [MP to PDF] (./window-mpgraph.5))
Runaway argument?
]\relax \global \advance \commalevel \minusone \setups 
[Window:box]\setups \ETC

.
! File ended while scanning use of \next2.

   \par
<*> window.tex
  \emergencyend
?
! Emergency stop.

   \par
<*> window.tex
  \emergencyend
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on window.log.
TeXExec | runtime: 3.9375




Best wishes,  Peter
___
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] itemize fail in mkiv

2009-09-23 Thread Hans Hagen

Jan-Erik Hägglöf wrote:

HI ALL!

When using following example in
ConTeXt  ver: 2009.09.21 17:39 MKII  fmt: 2009.9.21

\starttext
\startitemize[n,packed,broad]
\item first item
\item second item
\item third item
\stopitemize
\stoptext


ok, fixed in upcoming beta


it works as expected,  except for the mysterious warning
pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!


harmless. more a warning/reminder that taco and i should look into that 
(reporting) aspect of luatex some day


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
___


[NTG-context] itemize fail in mkiv

2009-09-23 Thread Jan-Erik Hägglöf

HI ALL!

When using following example in
ConTeXt  ver: 2009.09.21 17:39 MKII  fmt: 2009.9.21

\starttext
\startitemize[n,packed,broad]
\item first item
\item second item
\item third item
\stopitemize
\stoptext

it works as expected,  except for the mysterious warning
pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!

but in
ConTeXt  ver: 2009.09.21 17:39 MKIV  fmt: 2009.9.21  int: english/english


it results in following error:

fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
systems : begin file test at line 1
! Missing number, treated as zero.

  b
\@@opitemize1factor ->b
  road\empty \empty \empty
\calculatelistwidth ...titemparameter #1\c!factor
 >\zerocount \ifdim 
\itemgr...

\redostartitemgroup ...istwidth \currentitemlevel
 \ifdim 
\itemgrouplistwidth...

\dostartitemgroup ... {\dodostartitemgroup [#2][]}
 \fi

  \item
l.3 \item
 first item
? ^Z
[3]+  Stopped context test.tex

Regards

Janneman




___
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] bibtex referencelist doesn't show up with mkiv

2009-09-22 Thread Janneman
visning -- Kina
  Ekvationer}
\stoppublication

\startpublication[k=Klisinska2009tft,t=book,
a={{Klisińska}},y=2009,
n=4,s=Kli09]
\author[]{Anna}[A.]{}{Klisińska}
\pubyear{2009}
\title{The fundamental theorem of calculus : a case study into the didactic
  transposition of proof}
\isbn{978-91-86233-46-4}
\city{Lule{\aa}}
\pubname{Lule{\aa} Tekniska Universitet}
\note{Diss. Lule{\aa} : Lule{\aa} universitet, 2009}
\keywords{Matematikundervisning}
\stoppublication

\startpublication[k=Lantz-Andersson2009fie,t=book,
a={{Lantz-Andersson}},y=2009,
n=5,s=LA09]
\author[]{Annika}[A.]{}{Lantz-Andersson}
\pubyear{2009}
\title{Framing in educational practices : learning activity, digital technology
  and the logic of situated action}
\isbn{978-91-7346-654-7}
\city{G{\"o}teborg}
\pubname{Acta Universitatis Gothoburgensis}
\note{Diss. G{\"o}teborg : G{\"o}teborgs universitet, 2009}
\keywords{Utbildning via Internet Matematikundervisning -- gymnasieskolan
  Interaktiva multimedier}
\stoppublication

\startpublication[k=Långström2008msf,t=book,
a={{L{\aa}ngstr{\"o}m}},y=2008,
n=6,s=L{\aa}n08]
\author[]{Peder}[P.]{}{L{\aa}ngstr{\"o}m}
\pubyear{2008}
\title{Matematikelevers strategier f{\"o}r fel- och hj{\"a}lps{\"o}kning}
\isbn{978-91-7264-554-7}
\city{Ume{\aa}}
\pubname{Department of Mathematics and Mathematics Statistics, Ume{\aa}
  University}
\note{Licentiatavhandling Ume{\aa} : Ume{\aa} universitet, 2008}
\keywords{Matematikundervisning -- gymnasieskolan}
\stoppublication

\startpublication[k=Sumpter2009oao,t=book,
a={{Sumpter}},y=2009,
n=7,s=Sum09]
\author[]{Lovisa}[L.]{}{Sumpter}
\pubyear{2009}
\title{On aspects of mathematical reasoning : affect and gender}
\isbn{978-91-7264-791-6}
\city{Ume{\aa}}
\pubname{Department of Mathematics and Mathematical Statistics, Ume{\aa}
  Universitet}
\note{Diss. (sammanfattning) Ume{\aa} : Ume{\aa} universitet, 2009}
\keywords{Matematikundervisning -- gymnasieskolan Matematiskt t{\"a}nkande --
  genusaspekter}
\stoppublication

(test.tex

ConTeXt  ver: 2009.09.14 12:39 MKIV  fmt: 2009.9.14  int: english/english

system  : cont-new loaded
(/home/janerik/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/janerik/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/home/janerik/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/home/janerik/context/tex/texmf-context/tex/context/user/cont-sys.rme (/home/janerik/context/tex/texmf-context/tex/context/base/type-tmf.tex (/home/janerik/context/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/home/janerik/context/tex/texmf-context/tex/context/base/type-siz.tex (/home/janerik/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/home/janerik/context/tex/texmf-context/tex/context/base/type-otf.tex (/home/janerik/context/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : test.top loaded
%
%	begin of optionfile
%
%	% runtime options files (command line driven)
%	\unprotect
%	% special commands, mostly for the ctx development team
%	% feedback and basic job control
%	% handy for special styles
%	\startluacode
%	document = document or { }
%	document.arguments={
%	}
%	document.files={
%	 "test.tex",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[\c!n=1,\c!m=1]
%	\setupsystem[\c!type=unix]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
(test.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
system  : module bib loaded
(/home/janerik/context/tex/texmf-context/tex/context/base/m-obsolete.tex
systems : skipping obsolete module
)
system  : module bibltx loaded
(/home/janerik/context/tex/texmf-context/tex/context/bib/t-bibltx.tex)
publications: wrote a new auxiliary file cont-en.aux
publications: loading formatting style from bibl-apa
(/home/janerik/context/tex/texmf-context/tex/context/bib/bibl-apa.tex)
systems : begin file test at line 7
publications: loading database from test.bbl
(test.bbl)
fonts   : resetting map file list
{/home/janerik/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/home/janerik/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/home/janerik/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/home/janerik/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   

[NTG-context] letter module: Argument of \dodoubletestempty has an extra }

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

Here a minimal test file, to reproduce the problem with latest MKII:

% engine=pdftex
\usemodule[letter]
\starttext
\startletter
\subject{Test}
hello
\stopletter
\stoptext

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

2009-09-19 Thread Arthur Reutenauer
> Heiko Oberdiek wrote the accsupp package to use ActualText in LaTeX,
> why shouldn't it be then possible to use it in LuaTeX (and ConTeXt)?

  Right, you don't need additional engine support, you can use \pdfliteral in
pdfTeX, and in LuaTeX as well.  Heiko's package should be quite easy to port to
ConTeXt.

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


[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}

pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!


!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] First report on use

2009-09-17 Thread Alain Delmotte

Hi!

Patrick Gundlach a écrit :

Hello Alain,


C:\context>first-setup
'ruby' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.


looks like you're missing "ruby".

I'll do not need Ruby and I think it is not necessary for installations!




You need to install Ruby first (if you want to use pdfTeX or XeTeX).
Fetching files anyway.
rsync: failed to connect to contextgarden.net: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122) 
[receiver=3.0.2


As Vyatcheslav said: you're having problems connecting to 
contextgarden's rsync server. Perhaps you are behind a firewall?

I am not and I disabled all programs which could interfere.

But never mind (except for updating and for the general problem to have 
an installer working for everybody).


Thanks,

Alain


___
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] First report on use

2009-09-17 Thread Patrick Gundlach

Hello Alain,


C:\context>first-setup
'ruby' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.


looks like you're missing "ruby".



You need to install Ruby first (if you want to use pdfTeX or XeTeX).
Fetching files anyway.
rsync: failed to connect to contextgarden.net: Connection refused  
(111)
rsync error: error in socket IO (code 10) at clientserver.c(122)  
[receiver=3.0.2


As Vyatcheslav said: you're having problems connecting to  
contextgarden's rsync server. Perhaps you are behind a firewall?


Patrick

___
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] First report on use

2009-09-16 Thread Alain Delmotte

Hi!

After discovering some details of ConTeXt during EuroTeX2009 
I decided to try it.


First problem, already encountered during EuroTeX: installation.
On both of my machines the installation of the minimals failed.
See attached file.
For example: lines 13-14 rsync error, but at lines 26-30 it 
looks like it works, just a moment: after 30-35 I get 36-37 
= error again.

On lines 77-80 there is another type of error.

But I installed ConTeXt from a copy of what Mari had on her 
portable (this brings other questions, later); so it works 
for now.


But still in the error file, looking at lines 97-98 and 
99-100, for example, what is the installation program 
changing in my mikTeX installation?


---
Now for the working installation.
1) As it was taken from Mari machine, isn't there possible 
problems with parameters from her machine which are not the 
same on mine?

2) How can update and/or create new formats?

I am using ConTeXt with TeXworks; I did install a full copy 
of TeXworks (programs and dlls) in
C:\Programmes\ConTeXt\texmf-context\context\data\texworks 
and I issue the setuptex.bat command before to start the 
ConTeXt TeXworks. (You can see that I installed ConTeXt in a 
folder without spaces in the name: C:\Programmes\ConTeXt\.)


I am only using Mark IV, following the suggestion of Hans 
(for French,...)

So I didn't install Ruby.

OK the next questions will be about documentation, in 
another message.


Thanks very much for ConTeXt (and again for EuroTeX2009 - it 
was very good).


Regards,

Alain


Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Principal>cd c:\context

C:\context>first-setup
'ruby' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

You need to install Ruby first (if you want to use pdfTeX or XeTeX).
Fetching files anyway.

rsync: failed to connect to contextgarden.net: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122) [receiver=3.0.2
]
MTXrun | fileio: variable SELFAUTOLOC set to C:/context/bin
MTXrun | fileio: variable SELFAUTODIR set to C:/context
MTXrun | fileio: variable SELFAUTOPARENT set to C:
MTXrun | fileio: variable TEXMFCNF set to {$SELFAUTODIR,$SELFAUTOPARENT}{,{/shar
e,}/texmf{-local,.local,}/web2c}
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
MTXrun | using script: ./bin/mtx-update.lua

MTXrun | state: loaded
MTXrun | update: start
MTXrun | mtx update: running command: rsync -rpztlv --stats  contextgarden.net::
'minimals/current/bin/common/mswin/ minimals/current/bin/context/mswin/ minimals
/current/bin/metapost/mswin/ minimals/current/bin/man/ minimals/current/bin/xete
x/mswin/ minimals/current/bin/luatex/mswin/ minimals/current/bin/pdftex/mswin/'
'/cygdrive/C/context/tex/texmf-mswin'
MTXrun | run: rsync -rpztlv --stats  contextgarden.net::'minimals/current/bin/co
mmon/mswin/ minimals/current/bin/context/mswin/ minimals/current/bin/metapost/ms
win/ minimals/current/bin/man/ minimals/current/bin/xetex/mswin/ minimals/curren
t/bin/luatex/mswin/ minimals/current/bin/pdftex/mswin/' '/cygdrive/C/context/tex
/texmf-mswin'
rsync: failed to connect to contextgarden.net: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122) [receiver=3.0.2
]
MTXrun | mtx update: running command: rsync -rpztlv --stats  contextgarden.net::
'minimals/current/misc/setuptex/' '/cygdrive/C/context/tex/.'
MTXrun | run: rsync -rpztlv --stats  contextgarden.net::'minimals/current/misc/s
etuptex/' '/cygdrive/C/context/tex/.'
rsync: failed to connect to contextgarden.net: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122) [receiver=3.0.2
]
MTXrun | mtx update: running command: rsync -rpztlv --stats --delete contextgard
en.net::'minimals/current/context/beta/ minimals/current/context/img/' '/cygdriv
e/C/context/tex/texmf-context'
MTXrun | run: rsync -rpztlv --stats --delete contextgarden.net::'minimals/curren
t/context/beta/ minimals/current/context/img/' '/cygdrive/C/context/tex/texmf-co
ntext'
rsync: failed to connect to contextgarden.net: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122) [receiver=3.0.2
]
MTXrun | mtx update: running command: rsync -rpztlv --stats --delete contextgard
en.net::'minimals/current/base/tex/ minimals/current/base/metapost/ minimals/cur
rent/fonts/common/ minimals/current/fonts/other/ minimals/current/misc/web2c min
imals/current/base/xetex/ minimals/current/fonts/new/ minimals/current/fonts/new
/ minimals/current/fonts/old/' '/cygdrive/C/context/tex/texmf'
MTXrun | run: rsync -rpztlv --stats --delete contextgarden.net::'minimals/curren
t/base/tex/ minimals/current/base/metapost/ minimals

<    6   7   8   9   10   11   12   13   14   15   >