[NTG-context] Multiple pleas for help (long)

2010-04-26 Thread Scott Steele
Hullo, all. I've been trying for 3 months now to get my last 2 years' worth
of journal entries satisfactorily typeset for printing on lulu.com. This is
my first major project using Context (with the Xetex engine—the current
procedures required by Pdftex to set up and manage fonts are too
intimidating for me (I {\em did} try it.)) as I'm no longer in school and
had typeset the preceding year's worth of entries in Latex. I started to use
(xe)Latex again this time but gave up in frustration with all of the
predefined formatting, which I've moved away from as I've read more of
Robert Bringhurst.

Anyway, I have a number of problems.

I apologize for putting them all into one message and for failing to find
solutions elsewhere on the site. I've looked around a great deal, but am
hampered in doing so by my limiting of my internet time with an {\sc ems}
PowerCop (otherwise, I'd be on Wikipedia until they decided to lock me
away). (I do my writing, editing, and typesetting on a little
internet-crippled netbook with CrunchBang and Vim.)

I'll include my current preämble information at the end of this message in
case it is useful in addressing any of my issues. If they're addressed
elsewhere, I'd be thrilled with links. If they're not, I'd greatly
appreciate any help.

I've found solutions to a number of previous problems, but here are all that
I believe are in the way of my finishing this project:

1
How do I make bulleted lists not have lines between items in the list?

2
Is it possible to push the bullets for bulleted lists into the margin (and
then have the text of each item start at the same level of indentation as
normal text)? Also, given my target printing medium, this would require
alteration of the space between the bullet mark and its text—how do I alter
this and the glyph used as the bullet mark?

3
Is it possible to alter the way footnotes are displayed? I might want to
have new footnotes follow previous ones with a 3-em space rather than
starting a new line in the footer. And if I go that route, I'd need a way to
pull the footer number in from the margin.

4
How can I adjust the formatting settings for the frontmatter (title page,
table of contents) and backmatter (colophon, appendices, index). In general,
I need to be able to set whether page numbers are used and what kind and
positioning of the text on the page. In particular, how do I change the
formatting for items in the table of contents (and what glyph/spacing go
between the item's title and corresponding page number as well as how all of
those elements are positioned)?

5
How can I have either unnumbered sections, or subjects that appear in the
table of contents?

6
Does Xetex or Context have a facility for positioning accents over letters
when those particular combinations are not in the font? (Or should I just go
ahead and do this manually in Fontforge?)

7
Is there a built-in equivalent of the \fancybreak function from Latex? I
think I know now how to put something like it together manually but don't
want go the amateur route if there's something more polished available.

8
Since this is just a journal, I have used simple emoticons (don't laugh!). I
tweaked a vector smiley from Wikimedia to get a frowny and slashy, and they
work well except for when they end up on the first (printed) text line of a
page. I have one page that has a subject title on the grid but that is
followed by a (logical) line with a smiley that ends up on its first printed
line. This printed line and all of the rest of the text on the page
(including another subject title) sit several points (approx) lower than
where they should (so that the grid lines bisect the bowls of all the
lower-case a's). There is another page that does not start with a subject
title but directly with a printed line containing an emoticon, and it has
exactly the same problem as the first page, with the text sitting just low
enough that the grid lines bisect the bowls of the lower-case a's. Pages
with emoticons on them do not exhibit this problem when the emoticon is not
on the first printed line, and all lines remain correctly positioned on the
grid. You can see below how I'm putting in the emoticons.


Many apologies for those answers that I failed to find, and thanks reading
the whole message,

Scott


See my current preämble below:

\version[final]

\definepapersize[pocket][width=4.25in,
height=6.875in]

\setuppapersize[pocket][pocket]

\setuplayout[location=middle,
width=0.815\paperwidth,
rightmargindistance=0in,
 leftmargindistance=0in,
height=middle,
margin=0.08\paperwidth,
 backspace=0.115\paperwidth,
marking=off,
grid=yes,
 topspace=0.018889\paperheight,
header=0.04\paperheight,
footer=0.04\paperheight,
 bottomspace=0.038889\paperheight]

\setuppagenumbering[alternative=doublesided,
location={footer}]

\setupinterlinespace[top=0.0] % `top=0.0' gets rid of un

Re: [NTG-context] [pdftex] Problem: testing MkIV on pdftex-t manual source

2010-04-21 Thread Taco Hoekwater


Richard Chan wrote:
> Thanks - that worked for the \THANH macro - now I have a new error 
> 
> 
> structure   : pdftexprimitive @ level 5 : 0.0.7.15.1 -> \Syntax
> {\Tex {\pdfelapsedtime }} \Whatever {read||only integer}
> ! Undefined control sequence.
> l.4258 ...\PDFTEX\ has run for \the\pdfelapsedtime

We can't fix that. The pdftex manual uses pdftex specific features
that only exist in pdftex, not in luatex.

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] [pdftex] Problem: testing MkIV on pdftex-t manual source

2010-04-20 Thread Taco Hoekwater

Hi,

Reinhard Kotucha wrote:
> 
> And why Martin Schr\"oder instead of Martin Schröder?  The last time I
> wrote \"o instead of ö in a document was in 1994, just before LaTeX-2e
> was released.  But both, LaTeX and Context, support UTF-8 now.  It
> allows you to have text written in Vietnamese, Greek, Arabic, Chinese,
> Devanagari... in one and the same TeX source file.

The first version of the pdftex manual dates from 1996 or so, at a
time when sending 8-bit files over the net was far from reliable. And
why go back to change a definition that works (well, did work, until
now)?

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] [pdftex] Problem: testing MkIV on pdftex-t manual source

2010-04-20 Thread Reinhard Kotucha
On 20 April 2010 Wolfgang Schuster wrote:

 > Am 20.04.10 05:09, schrieb Richard Chan:
 > > I'm new to all this stuff - does MkIV build the pdftex manual?
 > >
 > > I ran into this problem running ConTeXt minimals on the pdftex 1.4
 > > manual sources
 > > context --mode=screen --result=TESTING pdftex-t:
 > >
 > >    nh
 > > l.689 \PDFTEX\ is maintained by \THANH
 > >, Martin Schr\"oder, Hans Hagen,
 > > Taco
 > > ?
 > >
 > > I could build the manual using texexec.
 > >
 > Can you replace in the s-abr-01.tex file which is in the same folder as
 > the manual the defintion for \THANH with this one
 > 
 > \def\THANH{H\agrave n Th\ecircumflexacute\ Th\agrave n} % Hàn Thế Thành

This is definitely better than \llap{\raise 0.5ex\hbox 

The \kern/\raise macros worked fine in the good old times when nothing
else but Computer Modern was available.

What you are proposing makes sense if you are writing macros which are
supposed to work with any input encoding.  But within a particular
document you already know which input encoding you are using.  If it's
UTF-8, you don't need any macro at all.

I recently revised the VnTeX documentation (written in LaTeX).  UTF-8
is used as an input encoding there and whenever I had to write Thành's
name, I just typed "Hàn Thế Thành" instead of using a macro.

And why Martin Schr\"oder instead of Martin Schröder?  The last time I
wrote \"o instead of ö in a document was in 1994, just before LaTeX-2e
was released.  But both, LaTeX and Context, support UTF-8 now.  It
allows you to have text written in Vietnamese, Greek, Arabic, Chinese,
Devanagari... in one and the same TeX source file.

Anyway, whenever I see code like ...\llap{\raise 0.5ex\hbox..., the
first thing which comes to my mind is that more than 40 years ago
people entered the surface of the moon, and I'm wondering in which
world *we* are living. 

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] [pdftex] Problem: testing MkIV on pdftex-t manual source

2010-04-20 Thread Wolfgang Schuster

Am 20.04.10 05:09, schrieb Richard Chan:

I'm new to all this stuff - does MkIV build the pdftex manual?

I ran into this problem running ConTeXt minimals on the pdftex 1.4
manual sources
context --mode=screen --result=TESTING pdftex-t:

   nh
l.689 \PDFTEX\ is maintained by \THANH
   , Martin Schr\"oder, Hans Hagen,
Taco
?

I could build the manual using texexec.
   

Can you replace in the s-abr-01.tex file which is in the same folder as
the manual the defintion for \THANH with this one

\def\THANH{H\agrave n Th\ecircumflexacute\ Th\agrave n} % Hàn Thế Thành

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Grid typesetting, colums and vertical spacing

2010-04-20 Thread Peter Rolf
Hello Jan,

Am 20.04.2010 14:11, schrieb Jan Pohanka:
> 
> Hello,
> 
> I'm trying to typeset on the grid, but I also need to reduce vertical
> spacing around headings. Unfortunately when i specify the 'before/after'
> setting for head, grid typesetting fails.
> Is there any option to make \blank more flexible?
> (I'm using MKII)
> 

see

http://www.pragma-ade.com/general/manuals/details.pdf

and (maybe outdated example)

http://archive.contextgarden.net/message/20051226.174723.f5c32d5c.en.html


Best wishes, Peter

> example:
> 
> 
> \setupoutput[pdftex]
> 
> \setuppapersize[A4,landscape][A4,landscape]
> \setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm,
>  width=middle,height=middle,margin=0cm,header=0cm]
> 
> \setupbodyfont[10pt]
> 
> \mainlanguage[cz]
> \enableregime[utf8]
> 
> \setuppagenumbering[location=]
> 
> \setuphead[section][style={\bf}]
> \setuphead[section][before={\blank[halfline,flexible]}] % not working well
> % \setuphead[section][after={\blank[halfline,flexible]}] % not working well
> 
> 
> \starttext
> 
> \setuplayout[grid=yes] \showgrid
> \definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work
> 
> \startcolumnset[my]
> 
> \section{Pokus}
> \input knuth
> \input knuth
> \subsection{Pokus 2}
> \input knuth
> \input knuth
> \input knuth
> \subsection{Pokus 3}
> \input knuth
> 
> \stopcolumnset
> 
> \stoptext
> 
> 
> greetings
> Jan
> 
> 

___
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] Grid typesetting, colums and vertical spacing

2010-04-20 Thread Jan Pohanka


Hello,

I'm trying to typeset on the grid, but I also need to reduce vertical  
spacing around headings. Unfortunately when i specify the 'before/after'  
setting for head, grid typesetting fails.

Is there any option to make \blank more flexible?
(I'm using MKII)

example:


\setupoutput[pdftex]

\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm,
 width=middle,height=middle,margin=0cm,header=0cm]

\setupbodyfont[10pt]

\mainlanguage[cz]
\enableregime[utf8]

\setuppagenumbering[location=]

\setuphead[section][style={\bf}]
\setuphead[section][before={\blank[halfline,flexible]}] % not working well
% \setuphead[section][after={\blank[halfline,flexible]}] % not working well


\starttext

\setuplayout[grid=yes] \showgrid
\definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work

\startcolumnset[my]

\section{Pokus}
\input knuth
\input knuth
\subsection{Pokus 2}
\input knuth
\input knuth
\input knuth
\subsection{Pokus 3}
\input knuth

\stopcolumnset

\stoptext


greetings
Jan


--
Ing. Jan Pohanka
Department of Measurement
Faculty of Electrical Engineering
Czech Technical University
Technická 2, 16627 Praha 6
tel. 224352058
email: poha...@fel.cvut.cz
___
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] Grid typesetting, colums and vertical spacing

2010-04-19 Thread Honza Pohanka

Hello,

I'm trying to typeset on the grid, but I also need to reduce vertical  
spacing around headings. Unfortunately when i specify the 'before/after'  
setting for head, grid typesetting fails.

Is there any option to make \blank more flexible?
(I'm using MKII)

example:


\setupoutput[pdftex]

\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm,
 width=middle,height=middle,margin=0cm,header=0cm]

\setupbodyfont[10pt]

\mainlanguage[cz]
\enableregime[utf8]

\setuppagenumbering[location=]

\setuphead[section][style={\bf}]
\setuphead[section][before={\blank[halfline,flexible]}] % not working well
% \setuphead[section][after={\blank[halfline,flexible]}] % not working well


\starttext

\setuplayout[grid=yes] \showgrid
\definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work

\startcolumnset[my]

\section{Pokus}
\input knuth
\input knuth
\subsection{Pokus 2}
\input knuth
\input knuth
\input knuth
\subsection{Pokus 3}
\input knuth

\stopcolumnset

\stoptext


greetings
Jan


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/

___
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] lua, footnotes, interaction

2010-04-17 Thread Hans Hagen

On 17-4-2010 9:20, Philipp Gesang wrote:

Hi Peter, hi all!


On 2010-04-17<08:52:05>, Peter Münster wrote:

On Fri, Apr 16 2010, Philipp Gesang wrote:


I'd naively expect \track#1 to behave identically regardless of
interaction.  How do I make it interaction-proof


Sorry, I had forgotten to answer your main-question:

\def\foottrack#1{\expanded{\footnote{\ctxlua{track.simple("#1")

Thanks very much, this does it!


and, if possible, how do I interaction-proof macros in general?


I don't know, but I suppose \expanded{} can help in most cases.


Adding that one to my “try first”-list seems reasonable. There's a macro
\expanded defined in syst-aux.mkiv but it mentions certain “recent TeXs”
that have it builtin as a primitive -- which one am I using in mkiv?
The LuaTeXbook mentions an extra primitive “\expanded” taken from
pdfTeX. Are they equivalent?


no, we had \expanded (and \protected and \unexpanded and ...) long 
before they showed up as primitives


when \expanded was added, it was agreed that that name could be used 
even if it clashed with context internals; ok, it add confusion for 
users who use low level code, but as we always have \normalexpanded in 
context it's no big deal; when in doubt, use \normal* for primitives (or 
\primitive\expanded)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] lua, footnotes, interaction

2010-04-17 Thread Philipp Gesang
Hi Peter, hi all!


On 2010-04-17 <08:52:05>, Peter Münster wrote:
> On Fri, Apr 16 2010, Philipp Gesang wrote:
> 
> > I'd naively expect \track#1 to behave identically regardless of
> > interaction.  How do I make it interaction-proof
> 
> Sorry, I had forgotten to answer your main-question:
> 
> \def\foottrack#1{\expanded{\footnote{\ctxlua{track.simple("#1")
Thanks very much, this does it!

> > and, if possible, how do I interaction-proof macros in general?
> 
> I don't know, but I suppose \expanded{} can help in most cases.  

Adding that one to my “try first”-list seems reasonable. There's a macro
\expanded defined in syst-aux.mkiv but it mentions certain “recent TeXs”
that have it builtin as a primitive -- which one am I using in mkiv?
The LuaTeXbook mentions an extra primitive “\expanded” taken from
pdfTeX. Are they equivalent?

Thanks a lot for your help!


Philipp


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

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


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] RSFS Font

2010-04-13 Thread Otared Kavian

On 13 avr. 2010, at 04:13, Troy Henderson wrote:

> I'm trying to follow
> 
> http://wiki.contextgarden.net/rsfs
> 
> to get a script L in math mode (to denote Laplace Transform) but to no
> avail.  I followed the code in the first section, but I get the
> following compilation error.  Any help is appreciated.
> 
> Troy
> 

Hi Troy,

The following works fine for me in mkii, but not in mkiv since, as you observe, 
the command 
\purefamily
seems to have disappeared from mkiv:

%%%
\starttypescript [math] [modern,computer-modern,latin-modern,ams,palatino] 
[size]
 \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt][mm][mc=rsfs10 sa 1]
 \definebodyfont [8pt,7pt] [mm] [mc=rsfs7 sa 1]
 \definebodyfont [6pt,5pt,4pt] [mm] [mc=rsfs5 sa 1]
\stoptypescript

\definefamilysynonym [default] [scriptfamily] [mc]
\def\scr{\fam\purefamily{scriptfamily}} % To use ${\scr ABC}$
\def\script#1{{\scr#1}} % To use $\script{ABC}$
\definetypeface [modern] [mm] [math] [modern] [ams] [encoding=texnansi]
\setupbodyfont[reset,modern,14.4pt]

\starttext
\input knuth

${\scr ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

$\sum_{\scr ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

\startformula
\sum_{j \in \scr M} {\scr L}_{j} = {\scr P}.
\stopformula

\stoptext
%%%

Best regards: OK

> ---
> 
> context foo.tex
> MTXrun | run 1: luatex
> --fmt="/opt/context-minimals/tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/formats/cont-en"
> --lua="/opt/context-minimals/tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/formats/cont-en.lui"
> --backend=pdf "./foo.tex"
> This is LuaTeX, Version beta-0.52.0-2010031622
> \write18 enabled.
> (/home/thenders/classes/2010/spring/ma304/foo.tex
> 
> ConTeXt  ver: 2010.03.30 18:56 MKIV  fmt: 2010.3.31  int: english/english
> 
> system  : cont-new loaded
> (/opt/context-minimals/tex/texmf-context/tex/context/base/cont-new.tex
> systems : beware: some patches loaded from cont-new.tex
> (/opt/context-minimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
> system  : cont-fil loaded
> (/opt/context-minimals/tex/texmf-context/tex/context/base/cont-fil.tex
> loading : ConTeXt File Synonyms
> )
> system  : cont-sys loaded
> (/opt/context-minimals/tex/texmf-local/tex/context/user/cont-sys.tex
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-def.mkiv)
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-lua.tex)
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-siz.tex
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-siz.mkiv))
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-otf.tex
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-otf.mkiv)))
> system  : foo.top loaded
> (foo.top)
> fonts   : preloading latin modern fonts
> (/opt/context-minimals/tex/texmf-local/tex/context/luc/type-luc.tex){/opt/context-minimals/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/opt/context-minimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
> bodyfont: 12pt rm is loaded
> language: language en is active
> {/opt/context-minimals/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
> systems : begin file foo.tex at line 16
> ! Undefined control sequence.
> \scr ->\fam \purefamily
>{scriptfamily}
> l.18 ${\scr
>ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
> ?
> ___
> 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
> ___

%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 aveue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: otared.kav...@math.uvsq.fr



___
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] RSFS Font

2010-04-12 Thread Troy Henderson
I'm trying to follow

http://wiki.contextgarden.net/rsfs

to get a script L in math mode (to denote Laplace Transform) but to no
avail.  I followed the code in the first section, but I get the
following compilation error.  Any help is appreciated.

Troy

---

context foo.tex
MTXrun | run 1: luatex
--fmt="/opt/context-minimals/tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/formats/cont-en"
--lua="/opt/context-minimals/tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/formats/cont-en.lui"
--backend=pdf "./foo.tex"
This is LuaTeX, Version beta-0.52.0-2010031622
 \write18 enabled.
(/home/thenders/classes/2010/spring/ma304/foo.tex

ConTeXt  ver: 2010.03.30 18:56 MKIV  fmt: 2010.3.31  int: english/english

system  : cont-new loaded
(/opt/context-minimals/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/opt/context-minimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/opt/context-minimals/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys loaded
(/opt/context-minimals/tex/texmf-local/tex/context/user/cont-sys.tex
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-def.mkiv)
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-lua.tex)
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-siz.tex
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-siz.mkiv))
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-otf.tex
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : foo.top loaded
(foo.top)
fonts   : preloading latin modern fonts
(/opt/context-minimals/tex/texmf-local/tex/context/luc/type-luc.tex){/opt/context-minimals/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/opt/context-minimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
bodyfont: 12pt rm is loaded
language: language en is active
{/opt/context-minimals/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
systems : begin file foo.tex at line 16
! Undefined control sequence.
\scr ->\fam \purefamily
{scriptfamily}
l.18 ${\scr
ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
?
___
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] stopcolumns causes new page!!!?

2010-04-11 Thread Xan

Hi,

I attach a file. In page 7, when I put \stopcolumns, then automatically 
context create one new page. When I comment that, all is fine. See the 
mark "%here is the problem" for the exact position.


Please, CCme.

Thanks a lot,
Xan.
% interface=en output=pdftex
% texexec --mode=solucions nomfitxer.context per veure les solucions

% Regime
\enableregime[utf]

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

% 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


% 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 
[mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf 
http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}]

\useURL [link:toomates][{http://www.toomates.net}][] [{\tf 
http://www.toomates.net}]

\useURL [link:aubanell][{http://www.xtec.cat/\~{}aaubanel/}][] [{\tf 
http://www.xtec.cat/\~{}aaubanel/}]


% 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]
\setupbibtex[database=probabilitat,sort=author]
\setuppublications [alternative=ams,sorttype=bbl, criterium=all]% era 
criterium=cite per a llistar només els citats%
\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=0em]
\setupitemize[each][headstyle=bold]

% Mathematical packets
\usemodule[newmat]

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

% AMSTHM
\defineenumeration
  [exercici]
  
[text={\startcolor[middlecyan]Exercici\stopcolor},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 IES Binissalem. Dept. Orientació}][{\tfx 4t C MAT. 
Tema 4 - Probabilitat. \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{va-ria-bles}

% SPLIT
\def\startsplit
  {\startalign} % no number by default
\def\stopsplit
  {&\doalignNR[+][]\crcr % for a number on last line
   \stopalign}

% GROUP FOR FORMULAS WITH CASES.
\definemathmatrix[GROUP][left={\left\{\,}, 
right={\right.},align={left},style=\displaystyle,distance=0.2em]

\setupformulas[align=middle]
\setupitemize[each][margin=2em]

% Start the text
\starttext
% Títol

\startstandardmakeup

\bigskip
\bigskip
\bigskip
\bigskip
\bigskip
\bigskip
\startalignment[middle]

{\sc\switchtobodyfont[14pt] Unitat didàctica }\par 

\thinrule

{\switchtobodyfont[40pt] \bf \sc 
\startcolor[middleblue]Probabilitat\stopcolor}\par
\stopalignment


\vfill
\thinrule
\placefigure
  [force,none]
  [fig:latex-vs-context-version-etc]
  {Latex vs ConTeXt information}
  {\bTABLE[frame=off,align={middle,lohi}]
\bTR[align={middle,lohi}]
\bTD[align={middle,lohi}]{\switchtobodyfont[12pt]
{\sc Programa de Diversificació Curricular} }
\eTD
\eTR
\bTR
\bTD[align={lohi,middle}]
{\sc Versió: \currentdate}
\eTD
\eTR
\eTABLE
}




%\vfill
%\page[yes]
\stopstandardmakeup


% Format de marges
\setuplayout[topspace=1cm,margin=1cm,header=1cm,footer=0.6cm,width=fit,height=fit,backspace=1.5cm]

\completecontent
\page

% Introducció

Re: [NTG-context] code

2010-04-09 Thread R. Bastian
On Fri, 9 Apr 2010 14:32:08 +0200
luigi scarso  scribit:

> On Fri, Apr 9, 2010 at 1:35 PM, R. Bastian  wrote:
> > On Fri, 9 Apr 2010 11:27:38 +0200
> > luigi scarso  scribit:
> >
> >> On Fri, Apr 9, 2010 at 11:20 AM, R. Bastian  wrote:
> >> > Hello,
> >> >
> >> > how to translate in context the following plain tex:
> >> >
> >> > \font\fgras = cmbtt10
> >> > {\tt
> >> > {\obeylines
> >> > {\fgras def} ra():
> >> > \ \ \ \ a = 3
> >> > \ \ \ \ b = 4
> >> > }
> >> > }
> >> not a solution, but this works
> >>
> >> \starttext
> >> \font\fgras = lmmonolt10-bold.otf
> >> {\tt
> >> {\obeylines
> >> {\fgras def} ra():
> >> \ \ \ \ a = 3
> >> \ \ \ \ b = 4
> >> }
> >> }
> >> \stoptext
> >>
> >>
> >> --
> >> luigi
> >
> > thanks luigi, it compiles with 'context 2010.01.26' but:
> > - the "def" is not in bold
> "def" is bold (you can see it with  pdffonts) only it's loaded at
> 10pt, while body font is 12pt (I believe)

it is true - i saw it just after sending the mail.


> 
> > - context adds \n between every line.
> hmm, If I cut-and-paste to vim I see the same as pdf , ie no extra \n
> anyway you can play with interlinespace
> 

ok  \interlinespace works 
> \starttext
> \font\fgras = lmmonolt10-bold.otf at 12pt
> {\tt\setupinterlinespace[line=1ex]
> {\obeylines
> {\fgras def} ra():
> \ \ \ \ a = 3
> \ \ \ \ b = 4
> }
> }
> \stoptext
> 

but remains that every {\bf } introduces a white space;
how to force context to make a "backspace" ?

> 
> >
> > my 76 pages of Python code rewritten in plain tex by a python
> > script are "accetabile" (compile by pdftex) - so i will try to
> 
> thank you to remember me that I'm always on late with python pretty printer ..

it would be fine 
> -- 
> 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
> ___
> 


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


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] code

2010-04-09 Thread luigi scarso
On Fri, Apr 9, 2010 at 1:35 PM, R. Bastian  wrote:
> On Fri, 9 Apr 2010 11:27:38 +0200
> luigi scarso  scribit:
>
>> On Fri, Apr 9, 2010 at 11:20 AM, R. Bastian  wrote:
>> > Hello,
>> >
>> > how to translate in context the following plain tex:
>> >
>> > \font\fgras = cmbtt10
>> > {\tt
>> > {\obeylines
>> > {\fgras def} ra():
>> > \ \ \ \ a = 3
>> > \ \ \ \ b = 4
>> > }
>> > }
>> not a solution, but this works
>>
>> \starttext
>> \font\fgras = lmmonolt10-bold.otf
>> {\tt
>> {\obeylines
>> {\fgras def} ra():
>> \ \ \ \ a = 3
>> \ \ \ \ b = 4
>> }
>> }
>> \stoptext
>>
>>
>> --
>> luigi
>
> thanks luigi, it compiles with 'context 2010.01.26' but:
> - the "def" is not in bold
"def" is bold (you can see it with  pdffonts) only it's loaded at
10pt, while body font is 12pt (I believe)

> - context adds \n between every line.
hmm, If I cut-and-paste to vim I see the same as pdf , ie no extra \n
anyway you can play with interlinespace

\starttext
\font\fgras = lmmonolt10-bold.otf at 12pt
{\tt\setupinterlinespace[line=1ex]
{\obeylines
{\fgras def} ra():
\ \ \ \ a = 3
\ \ \ \ b = 4
}
}
\stoptext


>
> my 76 pages of Python code rewritten in plain tex by a python
> script are "accetabile" (compile by pdftex) - so i will try to

thank you to remember me that I'm always on late with python pretty printer ...
-- 
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] code

2010-04-09 Thread R. Bastian
On Fri, 9 Apr 2010 11:27:38 +0200
luigi scarso  scribit:

> On Fri, Apr 9, 2010 at 11:20 AM, R. Bastian  wrote:
> > Hello,
> >
> > how to translate in context the following plain tex:
> >
> > \font\fgras = cmbtt10
> > {\tt
> > {\obeylines
> > {\fgras def} ra():
> > \ \ \ \ a = 3
> > \ \ \ \ b = 4
> > }
> > }
> not a solution, but this works
> 
> \starttext
> \font\fgras = lmmonolt10-bold.otf
> {\tt
> {\obeylines
> {\fgras def} ra():
> \ \ \ \ a = 3
> \ \ \ \ b = 4
> }
> }
> \stoptext
> 
> 
> -- 
> luigi

thanks luigi, it compiles with 'context 2010.01.26' but:
- the "def" is not in bold
- context adds \n between every line.

my 76 pages of Python code rewritten in plain tex by a python
script are "accetabile" (compile by pdftex) - so i will try to 


> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
> 


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


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \bigl \bigr \big problems

2010-04-08 Thread Mikael Persson
On Thu, Apr 8, 2010 at 10:37 AM, Mikael Persson  wrote:
> On Thu, Apr 8, 2010 at 10:31 AM, Hans Hagen  wrote:
>> On 8-4-2010 7:40, Mikael Persson wrote:
>>
>>> Ok Hans, with the beta from yesterday the absolute values change size,
>>> but there are some problems still:
>>>
>>> 1) The absolute value bars are not just "straight lines" when using
>>> \big and friends, but som kind of line that is thicker in the middle.
>>> (zoom i on attached pdf)
>>
>> this is because lm has no such characters so they are made from the smaller
>> ones (extensible characters)
>>
>> in traditional lm this can go unniticed (depends a bit in the exact
>> definition but in mkii you will see two stacked | just not touching but in
>> mkiv we use overlap - which is custom in opentype anyway); so what you
>> observe is an artefact of the viewer - it might be that future versions of
>> luatex deal better with this as it relates somewhat with how things are
>> dealt with in the backend but you will observe similar effects in pdftex
>>
>> in an earlier version i used rules but then found out that the | has round
>> tops (ok, i could use pdf literals to draw lines but not today)
>>
>>> 2) The horizontal spacing in the \big version seems to be bigger than
>>> for the \bigl/\bigr version (and similar for \Big vs \Bigl/\Bigr). I'd
>>> expect the same spacing (the l and r are just there for the writer to
>>> easily see what is left and what is right).
>>
>> repaired .. (i also added \plainbigmathmode
>>
>>> 3) I'd expect that \| gives double bars, like the || one get from
>>> \Vert and not |. This is not so (see the attached file). Moreover, it
>>> is not possible to do \bigl\Vert right now to get a bigger ||.
>>
>> i've added double bars so this works:
>>
>> $\biggl\Vert x^n\biggr\Vert$
>> $\biggl{||} x^n\biggr{||}$
>> $\biggl|\biggl| x^n\biggr|\biggr|$
>>
>> there will be a new beta later today or tomorrow
>>
>> Hans

Thanks for you answer and explanation. Is there a reason why you do
not add \| to get double bars? This is the way it is done in LaTeX
(OK, not really an argument). I'm just curious.

Mikael
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \bigl \bigr \big problems

2010-04-08 Thread Hans Hagen

On 8-4-2010 7:40, Mikael Persson wrote:


Ok Hans, with the beta from yesterday the absolute values change size,
but there are some problems still:

1) The absolute value bars are not just "straight lines" when using
\big and friends, but som kind of line that is thicker in the middle.
(zoom i on attached pdf)


this is because lm has no such characters so they are made from the 
smaller ones (extensible characters)


in traditional lm this can go unniticed (depends a bit in the exact 
definition but in mkii you will see two stacked | just not touching but 
in mkiv we use overlap - which is custom in opentype anyway); so what 
you observe is an artefact of the viewer - it might be that future 
versions of luatex deal better with this as it relates somewhat with how 
things are dealt with in the backend but you will observe similar 
effects in pdftex


in an earlier version i used rules but then found out that the | has 
round tops (ok, i could use pdf literals to draw lines but not today)



2) The horizontal spacing in the \big version seems to be bigger than
for the \bigl/\bigr version (and similar for \Big vs \Bigl/\Bigr). I'd
expect the same spacing (the l and r are just there for the writer to
easily see what is left and what is right).


repaired .. (i also added \plainbigmathmode


3) I'd expect that \| gives double bars, like the || one get from
\Vert and not |. This is not so (see the attached file). Moreover, it
is not possible to do \bigl\Vert right now to get a bigger ||.


i've added double bars so this works:

$\biggl\Vert x^n\biggr\Vert$
$\biggl{||} x^n\biggr{||}$
$\biggl|\biggl| x^n\biggr|\biggr|$

there will be a new beta later today or tomorrow

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] lmmi12 missing in minimals

2010-04-07 Thread Mikael Persson
Dear list,

with a freshly updated minimals, lm math italic seems to have disappeared:

\starttext
$a=b$.
\stoptext

gives the attached result. The log is also attached, there is a warning:

LuaTeX warning (file lmmi12): Font lmmi12 at 600 not found

Best regards, Mikael


lmi.pdf
Description: Adobe PDF document
(/home/mickep/test/lmi.tex

ConTeXt  ver: 2010.03.30 18:56 MKIV  fmt: 2010.4.7  int: english/english

system  : cont-new loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-def.mkiv) (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-lua.tex) (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-siz.tex (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-otf.tex (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : lmi.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={
%	 "lmi.tex",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[inputfile=lmi.tex]
%	\setupsystem[\c!n=1,\c!m=1]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
(lmi.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
systems : begin file lmi.tex at line 1
{/home/mickep/ConTeXt/tex/texmf/fonts/map/pdftex/plain/pdftex.map}
!pages  : flushing realpage 1, userpage 1, subpage 1
systems : end file lmi.tex at line 3
system  : cont-err loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )
LuaTeX warning (file lmmi12): Font lmmi12 at 600 not found

mkiv lua stats : used config path  - /home/mickep/ConTeXt/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   - /tmp
mkiv lua stats : input load time   - 0.031 seconds
mkiv lua stats : stored bytecode data  - 93 modules, 53 tables, 146 chunks
mkiv lua stats : node list callback tasks  - 6 unique task lists, 6 instances (re)created, 275 calls
mkiv lua stats : cleaned up reserved nodes - 32 nodes, 9 lists of 1409
mkiv lua stats : node memory usage - 19 glue_spec
mkiv lua stats : used backend  - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns   - en:us:pat:exc:2
mkiv lua stats : startup time  - 0.471 seconds including runtime option file processing
mkiv lua stats : callbacks - direct: 425, indirect: 3681, total: 4106
mkiv lua stats : lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats : result saved in file  - lmi.pdf
mkiv lua stats : loaded fonts  - 32 files: lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats : fonts load time   - 0.267 seconds 
mkiv lua stats : luatex banner - this is luatex, version beta-0.60.0-2010040422
mkiv lua stats : control sequences - 30175 of 165536
mkiv lua stats : current memory usage  - 28 MB (ctx: 29 MB)
mkiv lua stats : runtime   - 1.084 seconds, 0 processed pages, 1 shipped pages, 0.923 pages/second

___
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] Courier font in TexLive

2010-04-06 Thread Tom
I'm using TextLive 2008.

ConTeXt  ver: 2008.05.21 15:21 MKII  fmt: 2009.7.8  int: english/english

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey




-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Mojca Miklavec
Sent: Tuesday, April 06, 2010 7:08 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Courier font in TexLive

On Tue, Apr 6, 2010 at 21:37, Tom wrote:
> The code that follows seems to work but gives me a warning:
> pdfTeX warning: pdftex.exe (file ec-urw-courier.map): cannot open font map
> file
> The PDF lists 3 embedded fonts: LMRoman10-Regular, LMSans10-Regular &
> NimbusMonL-Regu.
> Does NumbusMonl-Regu looks like Courier?

Which version of TeX Live are you using? With TL 2009 (or maybe I have
an updated version) I get TeX Gyre Cursor without any warning
(provided that I remove the first line that loads type-win). TG Cursor
does look like Courier.

Mojca

___
If your question is of interest to others as well, please add an entry to
the Wiki!

maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

___


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Courier font in TexLive

2010-04-06 Thread Mojca Miklavec
On Tue, Apr 6, 2010 at 21:37, Tom wrote:
> The code that follows seems to work but gives me a warning:
> pdfTeX warning: pdftex.exe (file ec-urw-courier.map): cannot open font map
> file
> The PDF lists 3 embedded fonts: LMRoman10-Regular, LMSans10-Regular &
> NimbusMonL-Regu.
> Does NumbusMonl-Regu looks like Courier?

Which version of TeX Live are you using? With TL 2009 (or maybe I have
an updated version) I get TeX Gyre Cursor without any warning
(provided that I remove the first line that loads type-win). TG Cursor
does look like Courier.

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] Courier font in TexLive

2010-04-06 Thread Tom
The code that follows seems to work but gives me a warning:
pdfTeX warning: pdftex.exe (file ec-urw-courier.map): cannot open font map
file
The PDF lists 3 embedded fonts: LMRoman10-Regular, LMSans10-Regular &
NimbusMonL-Regu. 
Does NumbusMonl-Regu looks like Courier?

\usetypescriptfile[type-win]
\usetypescript[courier]
\setupbodyfont[courier,tt,10pt]
\definetypeface[TeleType][tt][mono][courier][default][encoding=ec]
\usetypescriptfile[type-lucida]
\setupbodyfont[lucida,ss,18pt]
\definetypeface[TextFont][rm][serif][lucida][default][encoding=ec]
\switchtotypeface[TextFont][12pt,rm]
\starttext
\input knuth
\blank[big]
\switchtotypeface[TeleType][tt,10pt] 
\input knuth
\stoptext

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey






___
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] Error under Ubuntu Lnux

2010-04-03 Thread Alain Delmotte

Hi!

I installed Ubuntu 9.10 (in a VMWare Player under Windows)

I also installed the minimals and TeXworks (in the ConTeXt tree).

I run setuptex, TeXworks but then I get an error.
Here information:

This is LuaTeX, Version beta-0.50.0-2009122419
\write18 enabled.
(/home/alain/Documents/context/premier.tex
ConTeXt  ver: 2010.03.30 18:56 MKIV  fmt: 2010.4.1  int: english/english

.../...

For a simple source (created under Linux), here the source and the error:

% a comment

\starttext

This is some text!

\stoptext
--
.../...
fonts   : preloading latin modern fonts
{/home/alain/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/alain/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
bodyfont: 12pt rm is loaded
language: language en is active
{/home/alain/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
systems : begin file untitled-1.tex at line 3
error: ...text/tex/texmf-context/tex/context/base/spac-ver.lua:610: attempt to 
index field 'spec' (a nil value)
.
l.6 
   
? 
Process interrupted by user


For a longer source (from Windows):
fonts   : preloading latin modern fonts
{/home/alain/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/alain/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
bodyfont: 12pt rm is loaded
language: language en is active
{/home/alain/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
systems : begin file premier.tex at line 1
error: ...text/tex/texmf-context/tex/context/base/spac-ver.lua:848: attempt to 
index local 'ps' (a nil value)
.
\dosomelistelement ...\relax \fi }\hss }}\endgraf 
 \nointerlineskip \endgraf ...

\dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6}
 \global \utilitydonetrue 
\processlistofstructure ...\fi \fi \fi \endcsname 
 \ctxlua {structure.lists.p...

l.1 \processlistofstructure{section}{section}{1}
   
\placestructurelist ...ts.process("#1","#2","#3")}
 
\doplacecombinedlist ...dlistparameter \c!number }

 \doendoflist \stoplistrefe...
...
l.4 
   
? 
--


Any advice to solve this?

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


Re: [NTG-context] The ConTeXt book

2010-04-02 Thread John Haltiwanger
Ah, I was going to respond in an offlist email to Arthur that I am
available for help. My masters thesis, though evolved considerably
since I first submitted a vague description some months ago, is still
significantly focused on ConTeXt. I will necessarily be documenting
the means by which I overcome certain obstacles, achieve certain
effects, etc. This will appear through blog posts, and in the end may
or may not be typeset into a kind of "Excursion"-style PDF. All this
discussion of poor documentation at times brings fear into my
enthusiasm for this thesis. On the one hand I do not wish to rely on
mk.II, and on the other I've heard people say that any projects they
begin in mk.IV end up being written for mk.II for stability purposes.
It will be interesting to see how this plays out.

Anyway, just wanted to say that there was to be at least one more
individual offering help. Too bad it turns out to be a joke :/


Regards,
John Haltiwanger


On Fri, Apr 2, 2010 at 12:08 PM, Hans Hagen  wrote:
> On 2-4-2010 11:57, luigi scarso wrote:
>>
>> On Fri, Apr 2, 2010 at 11:49 AM, Arthur Reutenauer
>>   wrote:
>>>>
>>>> Good news - if it isn't an April hoax. :-)
>>>
>>>  Martin, you're so evil!  Don't ever ruin my jokes again -- I didn't
>>> ruin yours 3 years again (the one where you announced XPSTeX, and said
>>> Microsoft would embed pdfTeX in Word).  Fortunately people didn't pay
>>> too much attention to your mail :-]
>>>
>>>  To all: it was, indeed, an April Fool's joke I suggested to Hans and
>>> Taco.  Nobody has offered to pay anyone to write ConTeXt documentation
>>> yet, although several people have toyed with the idea of writing a
>>> ConTeXt book.  But, even with the incentive of money, time and
>>> motivation are also a problem.
>>>
>>>  And to the only one who offered help -- Luigi: gloria a te!  It's
>>> heartwarming to see truly sincere support.  I'm sorry I have nothing to
>>> provide for the moment, but maybe in the near future things will get
>>> moving?
>>>
>>>        Have a nice Good Friday everyone,
>>
>> So let's see this year what I have won;
>> Taco: ++ beers (one for last year...)
>> Hans: + beer
>> Arthur: + beer
>> Martin: 1/2 beer (* I * remember it)
>
> but that's a german size which is twice the dutch so ...
>
>> They are 4.5 beers for me --- a good motive to come bachoTeX...hmm..
>
> 5 then ... i'd better let you update the modules documentation then before
> you start drinking (there will be a current next week, so you have plenty of
> time)
>
> 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
> ___
>
___
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] The ConTeXt book

2010-04-02 Thread Hans Hagen

On 2-4-2010 11:57, luigi scarso wrote:

On Fri, Apr 2, 2010 at 11:49 AM, Arthur Reutenauer
  wrote:

Good news - if it isn't an April hoax. :-)


  Martin, you're so evil!  Don't ever ruin my jokes again -- I didn't
ruin yours 3 years again (the one where you announced XPSTeX, and said
Microsoft would embed pdfTeX in Word).  Fortunately people didn't pay
too much attention to your mail :-]

  To all: it was, indeed, an April Fool's joke I suggested to Hans and
Taco.  Nobody has offered to pay anyone to write ConTeXt documentation
yet, although several people have toyed with the idea of writing a
ConTeXt book.  But, even with the incentive of money, time and
motivation are also a problem.

  And to the only one who offered help -- Luigi: gloria a te!  It's
heartwarming to see truly sincere support.  I'm sorry I have nothing to
provide for the moment, but maybe in the near future things will get
moving?

Have a nice Good Friday everyone,

So let's see this year what I have won;
Taco: ++ beers (one for last year...)
Hans: + beer
Arthur: + beer
Martin: 1/2 beer (* I * remember it)


but that's a german size which is twice the dutch so ...


They are 4.5 beers for me --- a good motive to come bachoTeX...hmm..


5 then ... i'd better let you update the modules documentation then 
before you start drinking (there will be a current next week, so you 
have plenty of time)


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] The ConTeXt book

2010-04-02 Thread luigi scarso
On Fri, Apr 2, 2010 at 11:49 AM, Arthur Reutenauer
 wrote:
>> Good news - if it isn't an April hoax. :-)
>
>  Martin, you're so evil!  Don't ever ruin my jokes again -- I didn't
> ruin yours 3 years again (the one where you announced XPSTeX, and said
> Microsoft would embed pdfTeX in Word).  Fortunately people didn't pay
> too much attention to your mail :-]
>
>  To all: it was, indeed, an April Fool's joke I suggested to Hans and
> Taco.  Nobody has offered to pay anyone to write ConTeXt documentation
> yet, although several people have toyed with the idea of writing a
> ConTeXt book.  But, even with the incentive of money, time and
> motivation are also a problem.
>
>  And to the only one who offered help -- Luigi: gloria a te!  It's
> heartwarming to see truly sincere support.  I'm sorry I have nothing to
> provide for the moment, but maybe in the near future things will get
> moving?
>
>        Have a nice Good Friday everyone,
So let's see this year what I have won;
Taco: ++ beers (one for last year...)
Hans: + beer
Arthur: + beer
Martin: 1/2 beer (* I * remember it)
They are 4.5 beers for me --- a good motive to come bachoTeX...hmm..


-- 
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] The ConTeXt book

2010-04-02 Thread Arthur Reutenauer
> Good news - if it isn't an April hoax. :-)

  Martin, you're so evil!  Don't ever ruin my jokes again -- I didn't
ruin yours 3 years again (the one where you announced XPSTeX, and said
Microsoft would embed pdfTeX in Word).  Fortunately people didn't pay
too much attention to your mail :-]

  To all: it was, indeed, an April Fool's joke I suggested to Hans and
Taco.  Nobody has offered to pay anyone to write ConTeXt documentation
yet, although several people have toyed with the idea of writing a
ConTeXt book.  But, even with the incentive of money, time and
motivation are also a problem.

  And to the only one who offered help -- Luigi: gloria a te!  It's
heartwarming to see truly sincere support.  I'm sorry I have nothing to
provide for the moment, but maybe in the near future things will get
moving?

Have a nice Good Friday everyone,

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


Re: [NTG-context] beta: math problem (mkiv)

2010-03-30 Thread Peter Rolf
fixed in latest beta. Thanks Hans!

MTXrun | current version: 2010.03.30 18:56
This is LuaTeX, Version beta-0.53.0-2010032921 (rev 3561)

Am 30.03.2010 14:07, schrieb Peter Rolf:
> Hi,
> 
> I just tried the latest beta and run into this error...
> 
> [..]
> (C:/tmp/context/tex/texmf-context/tex/context/user/cont-sys.rme
> (C:/tmp/context/
> tex/texmf-context/tex/context/base/type-def.mkiv)
> (C:/tmp/context/tex/texmf-cont
> ext/tex/context/base/type-lua.tex)
> (C:/tmp/context/tex/texmf-context/tex/context
> /base/type-siz.tex
> (C:/tmp/context/tex/texmf-context/tex/context/base/type-siz.m
> kiv)) (C:/tmp/context/tex/texmf-context/tex/context/base/type-otf.tex
> (C:/tmp/co
> ntext/tex/texmf-context/tex/context/base/type-otf.mkiv)))
> system  : math.top loaded
> (math.top)
> fonts   : preloading latin modern fonts
> !fonts  : goodie file 'lm-math.lfg' is not found
> !define font: font with name LMMath7-Regular is not found
> !define font: unknown font LMMath7-Regular, loading aborted
> !define font: unable to define LMMath7-Regular as \*modern7ptmmmr33*
> !define font: font with name LMMath9-Regular is not found
> !define font: unknown font LMMath9-Regular, loading aborted
> !define font: unable to define LMMath9-Regular as \*modern9ptmmmr22*
> !define font: font with name LMMath12-Regular is not found
> !define font: unknown font LMMath12-Regular, loading aborted
> !define font: unable to define LMMath12-Regular as \*modern12ptmmmr11*
> bodyfont: 12pt rm is loaded
> language: language en is active
> {C:/tmp/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
> systems : begin file math at line 1
> ! Math error: parameter \Umathquad\displaystyle is not set.
> l.3 $\downarrow$
> 
> ?
> 
> 
> 
> test is simply
> 
> \starttext
> $\downarrow$
> \stoptext
> 
> 
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
> 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] beta: math problem (mkiv)

2010-03-30 Thread Peter Rolf
Hi,

I just tried the latest beta and run into this error...

[..]
(C:/tmp/context/tex/texmf-context/tex/context/user/cont-sys.rme
(C:/tmp/context/
tex/texmf-context/tex/context/base/type-def.mkiv)
(C:/tmp/context/tex/texmf-cont
ext/tex/context/base/type-lua.tex)
(C:/tmp/context/tex/texmf-context/tex/context
/base/type-siz.tex
(C:/tmp/context/tex/texmf-context/tex/context/base/type-siz.m
kiv)) (C:/tmp/context/tex/texmf-context/tex/context/base/type-otf.tex
(C:/tmp/co
ntext/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : math.top loaded
(math.top)
fonts   : preloading latin modern fonts
!fonts  : goodie file 'lm-math.lfg' is not found
!define font: font with name LMMath7-Regular is not found
!define font: unknown font LMMath7-Regular, loading aborted
!define font: unable to define LMMath7-Regular as \*modern7ptmmmr33*
!define font: font with name LMMath9-Regular is not found
!define font: unknown font LMMath9-Regular, loading aborted
!define font: unable to define LMMath9-Regular as \*modern9ptmmmr22*
!define font: font with name LMMath12-Regular is not found
!define font: unknown font LMMath12-Regular, loading aborted
!define font: unable to define LMMath12-Regular as \*modern12ptmmmr11*
bodyfont: 12pt rm is loaded
language: language en is active
{C:/tmp/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
systems : begin file math at line 1
! Math error: parameter \Umathquad\displaystyle is not set.
l.3 $\downarrow$

?



test is simply

\starttext
$\downarrow$
\stoptext


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


Re: [NTG-context] status of node.write

2010-03-24 Thread Hans Hagen

On 24-3-2010 15:20, luigi scarso wrote:

On Wed, Mar 24, 2010 at 2:02 PM, Michail Vidiassov  wrote:

Dear Luigi and All,

On Wed, 24 Mar 2010, luigi scarso wrote:


Hans provided me the skeleton -- like yours u3d files --- and I must
rewrite a 2nd article to implement the mkiv way.


And where the mkiv way is to be studued?
What kinds of inclusion not only work, but are implemented
in the modern way and so are fit to be emulated?
Is node.write mkiv way or not yet?

  Sincerely, Michail

As I wrote, I quite don't understand well this area.
For now I can say that the mkiv way is a mix of lua and tex, while
the latex/mkii/pdftex tex way is described in flashmovie.sty
Also Adobe Supplement to the ISO 32000 base version 1.7 extensione
level 3 is the guideline.

I much prefear to code by myself without ask for Hans now,
it's a way to understand this aspect that I don't manage well.


it is already coded .. see back-u3d.mkiv for the interface

when given examples of something that does not work i can repair it

mkii/sty files are of no use here as things need to fit into the context 
user interface


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] status of node.write

2010-03-24 Thread luigi scarso
On Wed, Mar 24, 2010 at 2:02 PM, Michail Vidiassov  wrote:
> Dear Luigi and All,
>
> On Wed, 24 Mar 2010, luigi scarso wrote:
>
>> Hans provided me the skeleton -- like yours u3d files --- and I must
>> rewrite a 2nd article to implement the mkiv way.
>
> And where the mkiv way is to be studued?
> What kinds of inclusion not only work, but are implemented
> in the modern way and so are fit to be emulated?
> Is node.write mkiv way or not yet?
>
>                      Sincerely, Michail
As I wrote, I quite don't understand well this area.
For now I can say that the mkiv way is a mix of lua and tex, while
the latex/mkii/pdftex tex way is described in flashmovie.sty
Also Adobe Supplement to the ISO 32000 base version 1.7 extensione
level 3 is the guideline.

I much prefear to code by myself without ask for Hans now,
it's a way to understand this aspect that I don't manage well.


-- 
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] overlays not working

2010-03-22 Thread luigi scarso
On Sun, Mar 21, 2010 at 10:44 AM, ARCOR  wrote:
> Hello context gurus,
> while learning about page design, I used Hans Hagen's sample file named 
> "Simple
> Cover Page" from the wiki as a starting point. But it does not work. The
> overlay will not show up. The text itself is typeset properly. What I found
> out:
>
> Source:
> http://wiki.contextgarden.net/Simple_Cover_Page saved as "test.tex".
>
> Procedure:
> 1       using TeX Live 2009             texexec --xtx test.tex          No 
> overlay, text ok
> 2       using TeX Live 2009             texexec --pdf test.tex          No 
> overlay, text ok
> 3       using online engine on live.contextgarden.net (pdfTeX)  No overlay, 
> text ok
> 4       using online engine on live.contextgarden.net (XeTeX)   No overlay, 
> text ok
> 5       using ConTeXt minimals  context test.tex                        All 
> working just fine

6  using ConTeXt minimals  texexec test.tex                        All
working just fine
-- 
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] overlays not working

2010-03-22 Thread ARCOR
Hello context gurus,
while learning about page design, I used Hans Hagen's sample file named "Simple 
Cover Page" from the wiki as a starting point. But it does not work. The 
overlay will not show up. The text itself is typeset properly. What I found 
out:

Source:
http://wiki.contextgarden.net/Simple_Cover_Page saved as "test.tex".

Procedure:
1   using TeX Live 2009 texexec --xtx test.tex  No 
overlay, text ok
2   using TeX Live 2009 texexec --pdf test.tex  No 
overlay, text ok
3   using online engine on live.contextgarden.net (pdfTeX)  No overlay, 
text ok
4   using online engine on live.contextgarden.net (XeTeX)   No overlay, 
text ok
5   using ConTeXt minimals  context test.texAll 
working just fine

System:
ubuntu 9.10 (karmic koala) amd64, TeX Live 2009 without any modifications

The only successful procedure was (5) with the most current ConTeXt-minimals 
distribution and therefore using the Mk IV version. Is the file not suitable 
for Mk II? Is something wrong with Mk II in TeX Live 2009?

What am I doing wrong here?

Best regards,
Michael Ewe, Germany
___
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] Table of contents

2010-03-21 Thread Mari Voipio
Hello!


On Sun, Mar 21, 2010 at 11:18 AM, Alain Delmotte
 wrote:
> 2) If I define my own header (like in ConTeXt an excursion: 5. Headers) and
> so, for example, replacing \section by \myheader, which has a section level,
> the table of content is empty!

I have a working system like that in several of my docs (all similar,
though) - but if I recall correctly (won't have access to the files
until tomorrow), it only works in ConTeXt MkII, which is one of the
main reasons that I still use that version for almost all of my work.


If you put

%engine=pdftex

in the beginning of the file in question and then run ConTeXt (check
that it really uses MkII for that run), does the TOC appear?



Mari
(one of these days I'll get around to installing working ConTeXt on my
home computer(s), too...)
___
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] Problem in sorting bibtex entries

2010-03-18 Thread Mikael Persson
Dear Taco and list,

I have a problem (with the latest minimals) sorting bibtex entries:

Consider the following example:

% bibbug.tex
\usemodule[bib]

\setuppublications[
sorttype=bbl,
]

\setupbibtex[
database=mp,
]

\starttext
See~\cite{resi3,resi4} and also~\cite{resi2,resi1}.

\placepublications[criterium=all]
\stoptext
% end of bibbug.tex

I get an eror:
! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83:
attempt to compare two nil values
stack traceback:
...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: in
function <...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:80>
[C]: in function 'sort'
...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:93: in function 
'flush'
:1: in main chunk.
\typesetpubslist ...hacks.flush("\@@pbsorttype ")}
  \doendoflist
\dodoplacepublications ...sttrue \typesetpubslist
  \inpublistfalse \endgroup ...
l.14 \placepublications[criterium=all]

If I uncomment the sorttype=bbl line, it compiles.

Attached is the tex file, the log file, and my bib file.

Best regards, Mikael


bibbug.tex
Description: TeX document
(/home/mickep/Dropbox/documents/fonttest/bibbug.tex

ConTeXt  ver: 2010.03.12 19:49 MKIV  fmt: 2010.3.18  int: english/english

system  : cont-new loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-def.mkiv) (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-lua.tex) (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-siz.tex (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-otf.tex (/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : bibbug.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={
%	 "bibbug.tex",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[inputfile=bibbug.tex]
%	\setupsystem[\c!n=1,\c!m=1]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
(bibbug.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
(/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/m-obsolete.tex
systems : skipping obsolete module
)
system  : module bib loaded
publications: wrote a new auxiliary file cont-en.aux
systems : begin file bibbug.tex at line 11
! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: attempt to compare two nil values
stack traceback:
	...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: in function <...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:80>
	[C]: in function 'sort'
	...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:93: in function 'flush'
	:1: in main chunk.
\typesetpubslist ...hacks.flush("\@@pbsorttype ")}
  \doendoflist 
\dodoplacepublications ...sttrue \typesetpubslist 
  \inpublistfalse \endgroup ...
l.14 \placepublications[criterium=all]
  
? 
fonts   : resetting map file list
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/home/mickep/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{/home/mickep/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : 

Re: [NTG-context] What do you miss in ConTeXt?

2010-03-15 Thread Hans Hagen

On 15-3-2010 14:53, Mojca Miklavec wrote:

By the way, XeTeX also breaks, but in a different way. "Računalne
mreže" becomes "RaÄ“unalne mreže". Same option also doesn't do
anything.

MkIV works nicely, and I know I should probably be using that, but
LaTeX with hyperref can do unicode bookmarks in both XeTeX and pdfTeX,
so it would be really cool if ConTeXt would be able to do it as well.


Hm, i wonder what goes wrong, so can you make a test file? I was under the
impression that context could do it before latex if only because it was used
to test the<>  entries when that feature was added to pdftex so maybe
soemthing got lost (it might also be that some ecodings work better than
others, so let's assume utf)


I figured out that loading "\input spec-tst.mkii" before
\setupinteraction[state=start] works as expected in MKII (but then -
the backward compatibility is broken as well since one would have to
load the "tex" version of that file in past). Loading it after doesn't
have any influence.

It would be really nice if there was some more elegant way to use
UTF-8 in bookmarks than \input spec-tst.mkii.


i'll merge the tst code into the other spec files

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] What do you miss in ConTeXt?

2010-03-15 Thread Mojca Miklavec
>> By the way, XeTeX also breaks, but in a different way. "Računalne
>> mreže" becomes "RaÄ“unalne mreže". Same option also doesn't do
>> anything.
>>
>> MkIV works nicely, and I know I should probably be using that, but
>> LaTeX with hyperref can do unicode bookmarks in both XeTeX and pdfTeX,
>> so it would be really cool if ConTeXt would be able to do it as well.
>
> Hm, i wonder what goes wrong, so can you make a test file? I was under the
> impression that context could do it before latex if only because it was used
> to test the <> entries when that feature was added to pdftex so maybe
> soemthing got lost (it might also be that some ecodings work better than
> others, so let's assume utf)

I figured out that loading "\input spec-tst.mkii" before
\setupinteraction[state=start] works as expected in MKII (but then -
the backward compatibility is broken as well since one would have to
load the "tex" version of that file in past). Loading it after doesn't
have any influence.

It would be really nice if there was some more elegant way to use
UTF-8 in bookmarks than \input spec-tst.mkii.

For me the bookmarks in XeTeX seem to work fine.

Mojca

%%% only for pdftex
\enableregime
[utf-8]
\input spec-tst.mkii
%%%
\setupinteraction
[state=start]
\placebookmarks
[chapter,section,subsection]
[chapter,section]
\setupinteractionscreen
[option=bookmark]

\starttext

\section{Čisto prva}
\page
\section{še druga}
\page
\section{In žadnja}
\section{Računalne mreže}

\stoptext


bookmark.tex
Description: TeX document
___
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] What do you miss in ConTeXt?

2010-03-14 Thread Hans Hagen

On 14-3-2010 22:06, Vedran Miletić wrote:

Datuma 8. ožujka 2010. 15:36 Mojca Miklavec
  je napisao/la:

does

\PDFunicodetrue

help


No. (I remember there were some threads about that in past though, but
I don't remember the outcome.)

Mojca


It doesn't change anything.

By the way, XeTeX also breaks, but in a different way. "Računalne
mreže" becomes "RaÄ“unalne mreže". Same option also doesn't do
anything.

MkIV works nicely, and I know I should probably be using that, but
LaTeX with hyperref can do unicode bookmarks in both XeTeX and pdfTeX,
so it would be really cool if ConTeXt would be able to do it as well.


Hm, i wonder what goes wrong, so can you make a test file? I was under 
the impression that context could do it before latex if only because it 
was used to test the <> entries when that feature was added to pdftex so 
maybe soemthing got lost (it might also be that some ecodings work 
better than others, so let's assume utf)


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] What do you miss in ConTeXt?

2010-03-14 Thread Vedran Miletić
Datuma 8. ožujka 2010. 15:36 Mojca Miklavec
 je napisao/la:
>> does
>>
>> \PDFunicodetrue
>>
>> help
>
> No. (I remember there were some threads about that in past though, but
> I don't remember the outcome.)
>
> Mojca

It doesn't change anything.

By the way, XeTeX also breaks, but in a different way. "Računalne
mreže" becomes "RaÄ“unalne mreže". Same option also doesn't do
anything.

MkIV works nicely, and I know I should probably be using that, but
LaTeX with hyperref can do unicode bookmarks in both XeTeX and pdfTeX,
so it would be really cool if ConTeXt would be able to do it as well.

Regards,

-- 
Vedran Miletić
___
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 problem on windows

2010-03-13 Thread Mehdi Omidali
Yes they are the same problem. I replaced luatex.dll with of the latest 
version (.51) with the previous one (.50) and the problem disappeared, 
though the problem still exists for pdftex.dll. It seems that something 
is wrong with compilation of luatex and pdftex on windows.

MO
On 3/13/2010 4:06 PM, Helmut Schwertner wrote:

Am 13.03.2010 11:10, schrieb Mehdi Omidali:

Hi,
I have faced a problem during upgrade to the latest minimal. I have
attached a picture that explain the problem.
MO



Hello,

it seems to be the same problem how on my windows (win7 64 bit and 
winxp 32 bit).


On Wed, Mar 10, 2010 at 17:00, Helmut Schwertner wrote:
> > Hello,
> > I'm using contextminimals with win7 64bit. Since a few days i get the
> > following two messages when I try to update or to do a new install of
> > contextminimals.
> > The message (error report) for two times is:
> >
> > pdftex.exe – Einsprungpunkt nicht gefunden
> >
> > Der Prozedureinsprungpunkt „sfseek64“ wurde in der DLL 
„kpathsearch510.dll“

> > nicht gefunden.
> >
> > Context (mkiv) is working ; texexec (mkii) is broken.
> >
> > What can I do?
> >I need to ask Akira - I suspect that there are two incompatible
> >versions of the library with the same name.
> > Mojca

Thanks,

Helmut

eMail: helmut.schwert...@gmx.de
___ 

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] suggestions for context documentation

2010-03-09 Thread Victor Eijkhout

\startitem Even an old manual can quite well describe
functionality as much didn't change. It's only with \MKIV\ that
some compatibility is dropped and only for obscure features. Of
course I could trick users by regenerating a manual with a newer
date. I often use the excellent book \quote {\TEX\ by Topic} which
is already quite old and does not cover \ETEX, \PDFTEX, \LUATEX\
or whatever but what is told in it is still true. I never look at
it thinking it being old. \stopitem


Hans,

thanks for the compliments.

Let me point out that the source of TeX by Topic is available under  
the Gnu Public Documentation License, so anyone should feel free to  
add modern TeX additions to it. Personally I feel that the eTeX &  
pdTeX additions are mature enough that they could be added, of course  
with suitable markers to indicate their non-standardness. I don't have  
the time for this, but I'd welcome a collaboration with anyone that  
wants to invest the time.


Victor.

___
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] suggestions for context documentation

2010-03-08 Thread Hans Hagen

\usemodule
  [abr-01]

\setuplayout
  [width=middle,
   height=middle,
   footer=0cm,
   topspace=1.5cm]

\setupbodyfont
  [palatino]

\setupheader
  [state=high]

\setupwhitespace
  [big]

\starttext

Hi all,

As I was on the Dante 2010 meeting and as I could not access my
mail last week, today I ran into the long thread about
documentation. I will not reply to each mail but stick to this
summary. Now, I understand that there is a lack of documentation
but before one complains too loud about it, consider the
following:

\startitemize

\startitem We started with \CONTEXT\ in the early 90's and it went
public around 1995. So, we're 15 years down the road. Whatever
comment one has on the system, including its documentation, has to
be seen into this light: we're looking back at over 15 years of
development and ahead at quite some more. \stopitem

\startitem In all those years we've been writing a lot of code,
not only for our own use, but also for users. Just to mention a
few areas: specific language and font support is non trivial in
traditional \TEX\ and took quite some time and backends change and
being involved in the development also brings a price (in many
aspects). \stopitem

\startitem What started a system for our own use, is now used by
others as well, and this brings not only the responsibility to fix
bugs fast but also to monitor lists etc.\ Add to that quite some
involvement in \TEX\ user groups, conferences, writing articles
etc.\ In the process we also happen to come up with some manuals.
Just wonder for a while where I find the time to do my regular
work (the work that pays the bills). \stopitem

\startitem Even an old manual can quite well describe
functionality as much didn't change. It's only with \MKIV\ that
some compatibility is dropped and only for obscure features. Of
course I could trick users by regenerating a manual with a newer
date. I often use the excellent book \quote {\TEX\ by Topic} which
is already quite old and does not cover \ETEX, \PDFTEX, \LUATEX\
or whatever but what is told in it is still true. I never look at
it thinking it being old. \stopitem

\startitem As one can visually get all kind of output and as
typographical elements can interfere the ultimate manual would
show $n!$ variants and become quite unreadable. There is no easy
way out of this. For other languages there's a lot of code
googlable but I find myself always writing from scratch as each
case seems to be different. Of course printed manuals can be of
help (the \LUA\ book being a very good example of a manual) but
writing one takes time. \stopitem

\startitem More documentation would not help all users. Some are
better of with a simple manual and some occasional help on the
list. I've been using all kind of programming languages and the
fact that some have huge (auto generated) documentation systems is
no guarantee that they can be used. I find myself quite often just
look in the source to see what is (not) happening and then
probably feel as confused as users looking into \CONTEXT\ sources.
\stopitem

\startitem There are quite some options that were never meant for
usage beyond our own, but as we ship the full product, they become
visible. No, they are not documented apart from the source. Yes,
if useful they should be documented but why by me? \stopitem

\startitem Any comparison with \LATEX\ documentation is useless.
One reason for starting to write \CONTEXT\ is that I didn't
understand the \LATEX\ book that well as well as that for proper
non English usage one had to patch unreadable code. When \CONTEXT\
came around the internet and mail were already replacing articles
and books. Just look at how the content in user group journals
changed from beginners explanations to more expert and niche
topics. Also, the fact that new books about \LATEX\ are still
written means that there is no perfect one yet. If you ever run
into one of the authors of the companions, just ask them how much
time it took \unknown\ close to a lifetime I bet. \stopitem

\startitem There was some comment on me being the only developer.
This might be true to a large extend but Taco, Wolfgang, Aditya,
Mojca, Luigi (I mention just a few currently active developers and
feel sorry for those I forget so feel free to amend me) know their
way around the source quite well and contribute patches too. We
don't have a formal team (as that would introduce the problem of
adding|/|removing active members and I like to be more informal
and users on the list know pretty well who are contributors.
\stopitem

\startitem There is no real cutting|-|out going on, it's just the
way it evolved. On the other hand, as I use the system myself I
would probably quit using it if anyone could push in code. It's
hard to keep \TEX\ doing what you want it to do and breaking it is
too easy due to interference. So, developers need some feeling
about what side effects can occur. Even then we see bugs creep in.

[NTG-context] MetaPost + format("%g",n)

2010-03-07 Thread Troy Henderson
This code compiles fine with plain MetaPost.

input graph;
beginfig(0);
   draw begingraph(1in,1in);
  setrange((0,0),(1,1));
  for n=auto.x:
 show format("%g",n);
  endfor;
   endgraph;
endfig;
end

However, this "ConTeXt translated" version errors in MKIV

\usemodule[graph]
\ctxlua{metapost.showlog=true}
\startMPpage
   draw begingraph(1in,1in);
  setrange((0,0),(1,1));
  for n=auto.x:
 show format("%g",n);
  endfor;
   endgraph;
\stopMPpage

See foo.log (attached).

Thoughts?

Troy
(foo.tex

ConTeXt  ver: 2010.03.02 12:34 MKIV  fmt: 2010.3.6  int: english/english

system  : cont-new loaded
(/opt/context-minimals/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/opt/context-minimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/opt/context-minimals/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys loaded
(/opt/context-minimals/tex/texmf-local/tex/context/user/cont-sys.tex 
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-def.mkiv) 
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-lua.tex) 
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-siz.tex 
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-siz.mkiv)) 
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-otf.tex 
(/opt/context-minimals/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : foo.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={
%"foo.tex",
%   }
%   \stopluacode
%   % process info
%   \setupsystem[inputfile=foo.tex]
%   \setupsystem[\c!n=1,\c!m=1]
%   % modes
%   % options (not that important)
%   \startsetups *runtime:options
%   \setupoutput[pdftex]
%   \stopsetups
%   % styles and modules
%   \startsetups *runtime:modules
%   \stopsetups
%   % done
%   \protect \endinput
%
%   end of optionfile
%
(foo.top)
fonts   : preloading latin modern fonts
(/opt/context-minimals/tex/texmf-local/tex/context/luc/type-luc.tex)
bodyfont: 12pt rm is loaded
language: language en is active
(/opt/context-minimals/tex/texmf-context/tex/context/base/m-graph.tex 
(/opt/context-minimals/tex/texmf-context/tex/context/base/m-graph.mkiv))
system  : module graph loaded
systems : begin file foo.tex at line 10
systems : auto \starttext..\stoptext
mplib   : initializing instance 'metafun' using format 'metafun'
mplib   : loading 'metafun.mp' from 
'/opt/context-minimals/tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/formats/cont-en-metafun.mem'
!mplib  : mp log: 
(/opt/context-minimals/tex/texmf/metapost/base/graph.mp)

!mplib  : mp terminal: ! Incomplete string token has been flushed.
<*> ... n=auto.x: show format("endfor; endgraph; ;
  


!mplib  : mp error: unknown, no error, terminal or log messages
!mplib  : mp terminal: [1]

!mplib  : mp error: unknown, no error, terminal or log messages
!mplib  : mp terminal: 

!mplib  : mp error: unknown, no error, terminal or log messages
!mplib  : mp terminal: 

!mplib  : mp error: unknown, no error, terminal or log messages
!mplib  : mp terminal: (Please type a command or say `end')

!mplib  : mp error: unknown, no error, terminal or log messages
!mplib  : mp terminal: ! Incomplete string token has been flushed.
<*> ... n=auto.x: show format("endfor; endgraph; ;
  


!mplib  : mp error: unknown, no error, terminal or log messages
!mplib  : mp terminal: [1]

!mplib  : mp error: unknown, no error, terminal or log messages
fonts   : resetting map file list
{/opt/context-minimals/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/opt/context-minimals/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/opt/context-minimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/opt/context-minimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/opt/context-minim

Re: [NTG-context] Using XeTeX results in: ! Undefined control sequence. \PDFversion ->1.\the \pdfminorversion

2010-03-06 Thread Nicola Vitacolonna
> Somewhere in my twists and turns to get Mark IV working today, it appears
> XeTeX has been broken.  Running `texexec --xtx' on any ConTeXt file results
> in:
> 
> ! Undefined control sequence.
> \PDFversion ->1.\the \pdfminorversion
> 
> All I've been able to find out is that these macros are something to do with
> PDFTeX.  I really don't know where to turn now.
> 
> I'm running:
> 
> XeTeX 3.1415926-2.2-0.9995.2 (Web2C 7.5.6)
> TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD
> MTXrun | current version: 2010.03.02 12:34

Hi, wondering whether this has a fix or is an open issue... I have exactly the 
same problem with the current ConTeXt Minimals.
Nicola

___
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] Embedding fonts

2010-03-06 Thread Martin Schröder
2010/3/6 Tom :
> My document was produced by pdfTeX-1.40.9, PDF version 1.5 and opens with
> Adobe Reader 8.1 or so it says. Is there a way to select a different PDF
> version (older) to be produced? Some printers I work with want PDFs to be

\pdfminorversion=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] MetaPost filesize

2010-03-06 Thread Peter Rolf
Am 06.03.2010 18:19, schrieb Troy Henderson:
> I updated my ConTeXt distro, and I'm still getting a similar filesize.
>  I've attached the new LOG file.
> 
no big differences, but see for yourself. i guess you also have to
update luatex then.

Peter
(surface.tex

ConTeXt  ver: 2010.03.02 12:34 MKIV  fmt: 2010.3.4  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  : surface.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={
%"surface",
%   }
%   \stopluacode
%   % process info
%   \setupsystem[inputfile=surface]
%   \setupsystem[\c!n=1,\c!m=1]
%   % modes
%   % options (not that important)
%   \startsetups *runtime:options
%   \setupoutput[pdftex]
%   \stopsetups
%   % styles and modules
%   \startsetups *runtime:modules
%   \stopsetups
%   % done
%   \protect \endinput
%
%   end of optionfile
%
(surface.top)
fonts   : preloading latin modern fonts
(r:/tex/texmf-context/tex/context/base/type-def.mkiv) 
(r:/tex/texmf-context/tex/context/base/type-lua.tex) 
(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 surface at line 6
mplib   : initializing instance 'metafun' using format 'metafun'
mplib   : loading 'metafun.mp' from 
'r:/tex/texmf-cache/luatex-cache/context/d0b787cd25b9175dc4eaa276af366360/formats/cont-en-metafun.mem'
floatblocks : 1 placed
fonts   : resetting map file list
{r:/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{r:/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{r:/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{r:/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{r:/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{r:/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{r:/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
!pages  : flushing realpage 1, userpage 1, subpage 1
systems : end file surface at line 8
 )
mkiv lua stats : used config path  - r:/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   - r:/tex/texmf-cache
mkiv lua stats : input load time   - 0.026 seconds
mkiv lua stats : stored bytecode data  - 181 modules, 49 tables, 230 chunks
mkiv lua stats : node list callback tasks  - 6 unique task lists, 4 instances 
(re)created, 295 calls
mkiv lua stats : cleaned up reserved nodes - 25 nodes, 9 lists of 1409
mkiv lua stats : node memory usage - 19 glue_spec
mkiv lua stats : used backend  - pdf (backend for directly 
generating pdf output)
mkiv lua stats : loaded patterns   - en:us:pat:exc:2
mkiv lua stats : startup time  - 0.421 seconds including runtime 
option file processing
mkiv lua stats : callbacks - direct: 455, indirect: 3711, 
total: 4166
mkiv lua stats : lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath 
calls, 0 cached calls
mkiv lua stats : result saved in file  - surface.pdf
mkiv lua stats : loaded fonts  - 32 files: lmmono12-regular.otf 
lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf 
lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf 
lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf 
lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm 
msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm 
lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm 
rm-lmr9.tfm
mkiv lua stats : fonts load time   - 0.227 seconds 
mkiv lua stats : metapost processing time  - 0.583 seconds, loading: 0.018 
s

Re: [NTG-context] Embedding fonts

2010-03-06 Thread Tom
I don't know what you mean by "look like." Unable to find documentation of
an option or command to embed (likely due to my looking in the wrong
documentation), I searched the message archive and found a discussion of
embedding fonts with Mark-IV. This led me to believe that fonts may not
automatically embedded. After receiving your response, I looked at the
properties of the PDF I created and found that the fonts are indeed
embedded. I also transferred my PDF to another computer and, even though the
PDF includes fonts not on that computer, the proper fonts were displayed.
However, in 2-up view, odd-numbered pages display on the left on the other
computer where they display on the right on mine. Both systems have Adobe
Reader 8.1.2. I haven't found the option to set to get the document to
display properly on the other computer.

My document was produced by pdfTeX-1.40.9, PDF version 1.5 and opens with
Adobe Reader 8.1 or so it says. Is there a way to select a different PDF
version (older) to be produced? Some printers I work with want PDFs to be
produced to earlier specs.

Thanks, 

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey




-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Mojca Miklavec
Sent: Saturday, March 06, 2010 1:54 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Embedding fonts

On Sat, Mar 6, 2010 at 05:33, Tom wrote:
> Printers that I deal with want the PDFs to have the fonts embedded. The
PDFs
> that Texlive produces don't appear to have their fonts embedded and I
can't
> find what option I must set or routine that must be run to embed the
fonts.

They are embded by default. How does your document look like?

Mojca

___
If your question is of interest to others as well, please add an entry to
the Wiki!

maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

___


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-04 Thread James Fisher
On Thu, Mar 4, 2010 at 7:10 AM, luigi scarso  wrote:

> On Thu, Mar 4, 2010 at 3:35 AM, James Fisher 
> wrote:
>
> > - In my humble opinion, TeXies need to get out of the habit of
> > 'self-documenting' TeX using TeX itself.  TeX is not some replacement for
> > all markup, it's for producing beautiful books (OK, and some
> presentations);
> I think that "self-documenting" in TeX is 20year olds now --- it
> started with Latex209 ,I believe.
>
>

> So, thoughts?
> Yes from http://sphinx.pocoo.org/
> "Sphinx is a tool that makes it easy to create intelligent and
> beautiful documentation"
> but I believe that ConTeXt is better
>
> "* Output formats: HTML (including Windows HTML Help) and LaTeX,
> for printable PDF versions"
> Are you suggesting to use LaTeX to document ConTeXt source ?
>
>
lol; I thought this might come up.  I have a couple of replies to that:

(1) First and most important: I'm not suggesting that we use TeX to document
things at all.  I'm suggesting that ConTeXt documentation should be
accessible to newcomers in the same format as 99% of all other projects:
good old HTML.  On the web (which you are), HTML is king.  TeX and PDFs are
no replacement for the interconnected power of the web.  When I want a quick
piece of information in <10 seconds, I do not want to consult a
hand-collected folder of PDFs, or google for it and wait the age for a PDF
to load.  That kind of feeling, I guess, is the reason that the
contextgarden wiki exists.  But nor is Mediawiki is really not the most
appropriate way to document a project.  Wikis are messy and unstructured.
They don't lend themselves well to the hierarchical kind of structure
appropriate for representing a codebase.  So I'm suggesting that ConTeXt be
documented using a typical established documentation system.

(2) The docutils codebase (which manages reStructuredText) is modularized
extremely well.  Output formats can be written with a minimum of effort.
The docutils document tree looks a lot like XML, and as such making ConTeXt
output possible is just doing the standard XML-to-TeX conversion.  I have in
fact, while using ConTeXt, been writing a crude docutils ConTeXt writer
(though quite a way to go).


>
> About model of development: one developer is not so strange afterall .
>
> In other situations maybe this is not adequate, in this situation
> actually it's the best choice
> (where for my experience "actually" goes
> from   10year ago until now).
>
> For example mkii is frozen while mkiv is at 50%, if we consider that
> luatex 0.50 is at 50%, and luatex 1.0 will be 100%:
> btw mkiv is really usable, not in some fuzzy alpha state (frozen is
> not a bad word : tex is frozen from ~1990, pdftex is "cold", ie
> changes a little, luatex is "hot")
>
>
I'm not sure what your point is here.  That user contribution leads to
'featuritis'?  I totally understand that being 'frozen' is not a bad thing;
it effectively means 'having reached a state of perfection for the defined
task' -- I don't think this has a connection with having one developer.
More developers == faster rate of approach to the limit of perfection.


>
> This model doesn't imply that you cannot contribute to the code base
> but only that all contributions need to be  validate (and possible
> rejected) and integrate by developer,.
> You can also contribute with third part modules, but they are not in
> base code and in case of conflicts code base wins.
>
>
Sure thing -- revision control doesn't hinder that at all.  If Hans doesn't
want to merge someone else's changes to his (authoritative) copy of the
repo, then he doesn't have to.  DVCS != chaos.


> There is no need for a public dcvs : for mkiv there is always one beta
> version, the last one.
> Errors will be fixed in next beta. This imply that you must be
> prepared to patch your macros/stylesheets
> to match with last version
>

This sounds circular to me: there's always one beta version *because*
there's no revision control.


> Patrick thinks
> that a public git is a good idea and me too, but
> one can always manage his personal dcvs --- which is a good idea to
> understand code evolution on a particularly subject
> (I believe the Arthur has an historical archive )
>
>
Sure, I do it for my pithy projects.  All that I've learned is that I could
even less do without it if my projects were large, like ConTeXt.


> For comparison, luatex  project is developed in "traditional" manner:
> svn, bug tracker,  manual (in context mkii ): the code base is in C
> with target CWEB .
>
>
Mm, well, I kinda have the same opinions towards luatex documentation.


Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread luigi scarso
On Thu, Mar 4, 2010 at 3:35 AM, James Fisher  wrote:

> - In my humble opinion, TeXies need to get out of the habit of
> 'self-documenting' TeX using TeX itself.  TeX is not some replacement for
> all markup, it's for producing beautiful books (OK, and some presentations);
I think that "self-documenting" in TeX is 20year olds now --- it
started with Latex209 ,I believe.


> So, thoughts?
Yes from http://sphinx.pocoo.org/
"Sphinx is a tool that makes it easy to create intelligent and
beautiful documentation"
but I believe that ConTeXt is better

"* Output formats: HTML (including Windows HTML Help) and LaTeX,
for printable PDF versions"
Are you suggesting to use LaTeX to document ConTeXt source ?


About model of development: one developer is not so strange afterall .

In other situations maybe this is not adequate, in this situation
actually it's the best choice
(where for my experience "actually" goes
from   10year ago until now).

For example mkii is frozen while mkiv is at 50%, if we consider that
luatex 0.50 is at 50%, and luatex 1.0 will be 100%:
btw mkiv is really usable, not in some fuzzy alpha state (frozen is
not a bad word : tex is frozen from ~1990, pdftex is "cold", ie
changes a little, luatex is "hot")


This model doesn't imply that you cannot contribute to the code base
but only that all contributions need to be  validate (and possible
rejected) and integrate by developer,.
You can also contribute with third part modules, but they are not in
base code and in case of conflicts code base wins.

There is no need for a public dcvs : for mkiv there is always one beta
version, the last one.
Errors will be fixed in next beta. This imply that you must be
prepared to patch your macros/stylesheets
to match with last version
Patrick thinks
that a public git is a good idea and me too, but
one can always manage his personal dcvs --- which is a good idea to
understand code evolution on a particularly subject
(I believe the Arthur has an historical archive )

For comparison, luatex  project is developed in "traditional" manner:
svn, bug tracker,  manual (in context mkii ): the code base is in C
with target CWEB .

You can think at luatex as low-level layer which development  is
driven by mkiv, a very high level layer,
which development is influenced by luatex itself (a sort of negative
feedback see http://en.wikipedia.org/wiki/Control_theory)


As I said
the language and its  semantic are particularly , almost unique.
Nothing strange that there is an  ad hoc model of development

-- 
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] Using XeTeX results in: ! Undefined control sequence. \PDFversion ->1.\the \pdfminorversion

2010-03-03 Thread James Fisher
Somewhere in my twists and turns to get Mark IV working today, it appears
XeTeX has been broken.  Running `texexec --xtx' on any ConTeXt file results
in:

! Undefined control sequence.
\PDFversion ->1.\the \pdfminorversion

All I've been able to find out is that these macros are something to do with
PDFTeX.  I really don't know where to turn now.

I'm running:

XeTeX 3.1415926-2.2-0.9995.2 (Web2C 7.5.6)
TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD
MTXrun | current version: 2010.03.02 12:34
___
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] Super- and sub-script in text mode, or, fonts in math mode

2010-03-03 Thread James Fisher
Hi Wolfgang,



Thanks, that gets me closer (though \highlow and \lowhigh result in
"undefined control sequence" here).

However, the superscripted text is not reduced in size at all.  This seems
to be XeTeX-specific, as using PDFTeX works fine.  The same issue arises
using \small{} in XeTeX, whether standing alone or in combination with
\high{}.

Some light could be shed on this by observing that *all* text produced by
XeTeX, when in comparison with PDFTeX, looks like has gone through \small.
I suppose this is possible as I note that \small can't be applied
recursively (i.e. \small{\small{x}} == \small{x} ).

Thoughts?



James


On Tue, Mar 2, 2010 at 10:02 PM, Wolfgang Schuster <
schuster.wolfg...@googlemail.com> wrote:

> Am 02.03.10 22:58, schrieb James Fisher:
>
>  Hi,
>>
>>
>> A minor problem: I'm trying to place superscripted text in the text body
>> -- things like '2^nd March'.  I can't see anything like 2{\sup nd}, so my
>> only known solution at the moment is math mode: $2^{nd}$.  Despite this not
>> being 'math', I don't really have an aversion to it.  However, there's a
>> problem with it: the superscripted text appears in italic Computer Modern.
>>  I'm using Gentium Book Basic as my body font, using XeTeX.  The Gentium
>> typeface is used perfectly everywhere, including the '2' in '2^nd', with the
>> exception of the superscripted text.
>>
>> So what solutions are to hand?  Is there either (1) super/sub commands in
>> text mode, or (2) a way of fixing this in math mode?
>>
>> (Also, would this be a problem with ConTeXt or with XeTeX?)
>>
> a\high{x}b\low{x}c\highlow{x}{y}d\lowhigh{x}{y}
>
> Wolfgang
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lucida Fonts with MKIV

2010-02-20 Thread Mojca Miklavec
hat it's not 100% compatible
encoding (the "rm" doesn't 100% correspond to the same glyphs in LM,
but it's rather a roman variant of "mi", so at least the brackets need
to be taken from somewhere else). Also, there are many extra glyphs
all over the place that should better be mapped to unicode if one
wants to use them.

>> I have fixed the typescripts, so that one doesn't need to generate any
>> additional files apart from those present on CTAN (and we can also add
>> them to minimals, but it might be nice to cooperate with Hans first to
>> prevent any name clashes). I'll send the typescripts once I figure out
>> some problems, but:
>
> ok, alternatively we could ship the texnansi-* and ec-* variants but who
> cares

For me it is the less files - the less problems. If some other files
are already considered "standard" and work out of the box, it would be
nice to use those. (Unless someone convinces Karl to ship a few extra
metrics, but you already said that he declined the idea.)

>> 1.) Hans, why does
>>      \definefontsynonym  [LucidaBright] [file:hlhr.pfb]
>> fail with the message below? (I can send a complete example off-list.)
>> How does one use pfb fonts then? Anyway, \definefontsynonym
>> [LucidaBright] [name:LucidaBright] works fine, so that's ok for now.
>> Using the accents in XeTeX would require extra tricks anyway, so
>> concentrating on pdftex and luatex seems reasonable.
>
> i have no clue ... but best test with the latest beta
>
> also, i did a fix in math-vfu (extra nil check) as some shapes seem to be
> missing
>
> even if it works, luatex can quit whem embedding the file (buglet) but that
> has been fixed by taco yesterday

I will check that (one needs to check the vectors anyway).

>> 2.) When reading typescripts for mkii with mkiv ("ec" encoding that is
>> based on virtual fonts), I don't get any accent at all, not even š and
>> ž that are part of texnansi encoding and are present in font. Why is
>> that?
>
> nu clue ... maybe because yandy only bothered about texnansi so we might as
> well stick to that

But š and ž *are* part of font and part of texnansi encoding.

>> 3.) When creating a devoted mkiv typescript, č is missing (and so are
>> ćđ, but I can live without the two of them as long as Nino is not
>> nearby :), however not being able to use č is a no-go for me.
>
> again, maybe the font is not complete
>
> i'm a little surprised as i'd suppose those virtual fonts to be ok
>
> we can still consider to use the texnansi-* and ec-* variants (texfont
> generated)

The virtual font *is* ok. It is MKIV that doesn't care about that virtual font.
In short:
- texnansi -> is tfm; all the glyphs are present in font
- ec -> is only vf; some glyphs are missing in font, but are composed in vf

Is there any way to get those composed glyphs out in mkiv?

>> I'll get to math later. At the moment I had to figure out how the
>> files are organized and how to use them without having to depend on
>> texfont.
>
> lucida was always different but afaik tug now ships them in default tex math
> encoding so the math-lbr vector is useless now

- almost default -
It's quite ok for the first approximation, but still needs some fixes.
If nothing else it offers way more glyphs than CM/LM.

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] Lucida Fonts with MKIV

2010-02-20 Thread Hans Hagen

On 20-2-2010 5:06, Mojca Miklavec wrote:


I don't know how Hans' metric files look like, but:
- texfont --ve=yandy ... doesn't do anything here
- texfont --ve=bh ... creates a bunch of files, however *not* the T1
files which are of crucial importance to me; T1 (=ec) is only
supported via virtual fonts. (And even then the character looks just
about terrible, but still better than not having it at all.)


afaik originally yand only shipped texnansi metrics

however, in context we have this texnansi-* naming scheme and for a 
while (as i used lucida often) i shipped the texnansi-* metrics


now, when yandy went out of business and tug took over, things changed 
and as the original tfm (math) metrics were no longer shipped we ended 
up in some deadlock: context supported the original fonts (present on 
machines of users) while tug didn't ship those 8 tfm files needed for math


so, at that point i simply gave up on lucida (i had my own texnansi-* + 
original math tfm files) as changing context would break existing lucida 
usage


interesting is that the lucida metrics (afaik) are not shipped with tex 
live so we cannot create a robust solution unless we ship with the 
minimale:


for mkiv (luatex):

- afm files (for mkiv)
- map file (can be small one)
- only some 8 math tfm files for mkiv

for mkii:

- map file
- tfm files (dunno which ones)
- vf files (dunno which ones)

for mkiv i already adapted the typescripts (in beta), for mkii we need 
different mappings



I have fixed the typescripts, so that one doesn't need to generate any
additional files apart from those present on CTAN (and we can also add
them to minimals, but it might be nice to cooperate with Hans first to
prevent any name clashes). I'll send the typescripts once I figure out
some problems, but:


ok, alternatively we could ship the texnansi-* and ec-* variants but who 
cares



1.) Hans, why does
  \definefontsynonym  [LucidaBright] [file:hlhr.pfb]
fail with the message below? (I can send a complete example off-list.)
How does one use pfb fonts then? Anyway, \definefontsynonym
[LucidaBright] [name:LucidaBright] works fine, so that's ok for now.
Using the accents in XeTeX would require extra tricks anyway, so
concentrating on pdftex and luatex seems reasonable.


i have no clue ... but best test with the latest beta

also, i did a fix in math-vfu (extra nil check) as some shapes seem to 
be missing


even if it works, luatex can quit whem embedding the file (buglet) but 
that has been fixed by taco yesterday



2.) When reading typescripts for mkii with mkiv ("ec" encoding that is
based on virtual fonts), I don't get any accent at all, not even š and
ž that are part of texnansi encoding and are present in font. Why is
that?


nu clue ... maybe because yandy only bothered about texnansi so we might 
as well stick to that



3.) When creating a devoted mkiv typescript, č is missing (and so are
ćđ, but I can live without the two of them as long as Nino is not
nearby :), however not being able to use č is a no-go for me.


again, maybe the font is not complete

i'm a little surprised as i'd suppose those virtual fonts to be ok

we can still consider to use the texnansi-* and ec-* variants (texfont 
generated)



I'll get to math later. At the moment I had to figure out how the
files are organized and how to use them without having to depend on
texfont.


lucida was always different but afaik tug now ships them in default tex 
math encoding so the math-lbr vector is useless now


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] Lucida Fonts with MKIV

2010-02-19 Thread Mojca Miklavec
Hello,

Here are some of my observations about Lucida fonts (font part for
now; math part comes later). I made a detailed check of files that are
present on CTAN.

I don't know how Hans' metric files look like, but:
- texfont --ve=yandy ... doesn't do anything here
- texfont --ve=bh ... creates a bunch of files, however *not* the T1
files which are of crucial importance to me; T1 (=ec) is only
supported via virtual fonts. (And even then the character looks just
about terrible, but still better than not having it at all.)

I have fixed the typescripts, so that one doesn't need to generate any
additional files apart from those present on CTAN (and we can also add
them to minimals, but it might be nice to cooperate with Hans first to
prevent any name clashes). I'll send the typescripts once I figure out
some problems, but:

1.) Hans, why does
 \definefontsynonym  [LucidaBright] [file:hlhr.pfb]
fail with the message below? (I can send a complete example off-list.)
How does one use pfb fonts then? Anyway, \definefontsynonym
[LucidaBright] [name:LucidaBright] works fine, so that's ok for now.
Using the accents in XeTeX would require extra tricks anyway, so
concentrating on pdftex and luatex seems reasonable.

2.) When reading typescripts for mkii with mkiv ("ec" encoding that is
based on virtual fonts), I don't get any accent at all, not even š and
ž that are part of texnansi encoding and are present in font. Why is
that?

3.) When creating a devoted mkiv typescript, č is missing (and so are
ćđ, but I can live without the two of them as long as Nino is not
nearby :), however not being able to use č is a no-go for me.

I'll get to math later. At the moment I had to figure out how the
files are organized and how to use them without having to depend on
texfont.

Mojca

-

Here's the error when using [file:something.pfb] as file name:

! LuaTeX error ...cida/tex/texmf-context/tex/context/base/font-def.lua:308:
attempt to call field '?' (a nil value)
stack traceback:
...cida/tex/texmf-context/tex/context/base/font-def.lua:308: in 
function 'read'
...cida/tex/texmf-context/tex/context/base/font-def.lua:585: in 
function 'read'
...cida/tex/texmf-context/tex/context/base/font-ctx.lua:367: in
function 'command_2'
:1: in main chunk.
\lowleveldefinefont ...lax , "\relativefontid " )}
  \edef \somefontspec {at \s...
\xxdododefinefont ...efont {#4}\newfontidentifier
  \fi \csname \newfontidenti...
\applyfontclassstrategies ...\fontsize \endcsname
  \else \expandafter \fontcl...
\synchronizefont ...lse \applyfontclassstrategies
  \fi \autofontsizefalse \if...
\rm ->\ifmmode \mathrm \else \normalrm
   \fi
\doswitchstyle ...e \csname \...@style@ #1\endcsname
  \edef \fontstyle {#1}\ifmm...
...
l.9 \setupbodyfont[lucida]

?
___
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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread commb07


 Original-Nachricht 
Betreff: Re: [NTG-context] \showmathcharacters problems with TeXlive
2009 on Win 7 64bit
Von: Hans Hagen 
An: mailing list for ConTeXt users  und
comm...@googlemail.com
Datum: 10.02.2010 16:41
> On 10-2-2010 15:47, comm...@googlemail.com wrote:
>> well, i got the minimals running by rerunnig first-setup.bat, it seems i
>> installed the first time with -current which has some problems (i
>> thought that'd be the stable one?).
>>
>> but the \showmathcharacters problems are still there, the table is empty
>> and i get
>> "pdfTeX warning: pdftex.exe: no GlyphToUnicode entry has been inserted
>> yet!"
>>
>> using this layout
>> "\setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit,
>> topspace=1cm, header=1cm, footer=1cm, height=fit]"
>> i also get
>> "! Dimension too large.
>> \setvsize ...l \vsize \nofcolumns \mcscratchdimen
>>\global \pagegoal
>> \vsize
>> \beginmulticolumns ...mnvsize \sethsize \setvsize
>>\showcomposition
>> \complexstartcolumns ...nstrue \beginmulticolumns
>>\fi \fi
>> \showmathcharacters ...\enccols ,\c!distance =2em]
>> \def
>> \dodefinemathsymbol ...
>> l.6 \showmathcharacters"
>>
>>
>> any ideas?
> 
> 
> can you post the complete test file?

sure, output pdf is in the attachment:
\mainlanguage[de]
\enableregime[windows]
\setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit, topspace=1cm,
header=1cm, footer=1cm, height=fit]

\starttext

\showmathcharacters

\stoptext

> 
> btw, the pdftex unicode warning is harmless

good to know, i thought the empty table had to do something with this
___
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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread Hans Hagen

On 10-2-2010 15:47, comm...@googlemail.com wrote:

well, i got the minimals running by rerunnig first-setup.bat, it seems i
installed the first time with -current which has some problems (i
thought that'd be the stable one?).

but the \showmathcharacters problems are still there, the table is empty
and i get
"pdfTeX warning: pdftex.exe: no GlyphToUnicode entry has been inserted yet!"

using this layout
"\setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit,
topspace=1cm, header=1cm, footer=1cm, height=fit]"
i also get
"! Dimension too large.
\setvsize ...l \vsize \nofcolumns \mcscratchdimen
   \global \pagegoal \vsize
\beginmulticolumns ...mnvsize \sethsize \setvsize
   \showcomposition
\complexstartcolumns ...nstrue \beginmulticolumns
   \fi \fi
\showmathcharacters ...\enccols ,\c!distance =2em]
\def
\dodefinemathsymbol ...
l.6 \showmathcharacters"


any ideas?



can you post the complete test file?

btw, the pdftex unicode warning is harmless

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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread commb07
well, i got the minimals running by rerunnig first-setup.bat, it seems i
installed the first time with -current which has some problems (i
thought that'd be the stable one?).

but the \showmathcharacters problems are still there, the table is empty
and i get
"pdfTeX warning: pdftex.exe: no GlyphToUnicode entry has been inserted yet!"

using this layout
"\setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit,
topspace=1cm, header=1cm, footer=1cm, height=fit]"
i also get
"! Dimension too large.
\setvsize ...l \vsize \nofcolumns \mcscratchdimen
  \global \pagegoal \vsize
\beginmulticolumns ...mnvsize \sethsize \setvsize
  \showcomposition
\complexstartcolumns ...nstrue \beginmulticolumns
  \fi \fi
\showmathcharacters ...\enccols ,\c!distance =2em]
   \def
\dodefinemathsymbol ...
l.6 \showmathcharacters"


any ideas?

___
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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-09 Thread commb07
hi

i'm on Win 7 64bit and have installed TeXlive 2009 today via the
net-installer.

i can process context-files, but have some problems:
i get "pdftex warning: pdftex.exe: no glyphtounicode entry has been
inserted yet" if i use the command \showmathcharacters, and the table in
the pdf is empty.
in a more complex file i get "! Dimension too large. .."-error
additionally on \showmathcharacters, table is empty as well.

tried to get a recent version of context by directing texlive manger to
"http://minimals.contextgarden.net/texlive/beta";, but no matter what i
try to update/install (by the way what should i do there?) , i get
"00texlive.installation not found, cannot read option
available_architectures.
TLPDB::setting: no available_architectures, returning empty list ...
Fertig.
Executing action install 00texlive.config
[1/1, ??:??/??:??] install: 00texlive.config [1k]
Downloading
  
http://minimals.contextgarden.net/texlive/beta/archive/00texlive.config.tar.xz
did not succeed, please retry."

i noticed that archives have the extension ".tar.lzma" on the server but
texlivemanager is looking for ".tar.xz", can i do anything about that?

if somebody had some hints what i could/should try/avoid, that would
help a lot..
___
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] Error using Minimal with TeXworks

2010-02-05 Thread Hans Hagen

On 5-2-2010 17:26, Alain Delmotte wrote:

Hi!

After a long time without having time to play with ConTeXt, I
reinstalled a new Minimals using the manual method with rsync, added
TeXworks in the proper folder.
Under Texworks, I also pointed to the bin folder of Context.

But when compiling a document, I get:
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known)
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'mtx-contexts.lua'
MTXrun | fileio: remembering file 'mtx-context.lua'
MTXrun | fileio: remembering file 'context.lua'
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

Any solution?


in texmf-context/context/data/texworks

you will find a complete setup for texworks

you can start texworks (on windows) with

mtxrun --script texworks --start

and it will be in context only mode then

it defaults to running luatex (mkiv) but will listen to the

% engine=pdftex

directive (such directives are handled by the texexec and context 
scripts so one can sort of tag the document as mkii/mkiv although this 
feature dates from the mkzero times)



Also, is it possible to run ConTeXt from MikTeX 2.8?


no clue .. there was a time that mojca showed me a working miktex

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] texexec --purge (was: Linux PPC64 & minimals)

2010-02-02 Thread Mojca Miklavec
On Tue, Feb 2, 2010 at 15:34, Mojca Miklavec wrote:
> On Tue, Feb 2, 2010 at 15:15, Roger Mason wrote:
>> Hi Mojca,
>>
>> texexec --purge simple.tex -> Output written on simple.pdf (1 page,
>> 28424 bytes).
>>
>> texexec simple.tex -> Output written on simple.pdf (1 page, 28424
>> bytes).
>>
>> The document is always produced correctly, but --purge does not do its
>> job and produces the errors listed in my original post.
>
> OK, that's reproducible here as well.

The problem goes away if I comment out the lines 2053 and 2054 of
tex.rb. I suspect that
 Kpse.runscript('ctxtools',rawbase,'--purge')   if getvariable('purge')
doesn't call the ctxtools script with proper quoting, so arguments are
interpreted as commands instead of being just arguments.

But I didn't inspect any further.

Mojca

texexec --verbose --purge besedilo

...

pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
Output written on besedilo.pdf (2 pages, 124469 bytes).
Transcript written on besedilo.log.
TeXUtil | parsing file besedilo.tui
TeXUtil | shortcuts : 398
TeXUtil | expansions: 308
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 1
TeXUtil | temporary files: 0
TeXUtil | commands: 29
TeXUtil | programs: 0
TeXUtil | tuo file saved
sh: version: command not found
sh: line 2: --bbeditinterface: command not found
sh: line 3: --brandfiles: command not found
sh: line 4: --contextversion: command not found
sh: line 5: --dependencies: command not found
sh: line 5: filenames]]: command not found
sh: line 6: --disarmutfbom: command not found
sh: line 7: --documentation: command not found
sh: line 8: --dpxmapfiles: command not found
sh: line 9: --jeditinterface: command not found
sh: line 10: --listentities: command not found
sh: line 11: --patternfiles: command not found
sh: line 12: --platformize: command not found
sh: line 13: --purgefiles: command not found
sh: line 14: --rawinterface: command not found
sh: line 15: --sciteinterface: command not found
sh: line 16: --touchcontextfile: command not found
sh: line 17: --updatecontext: command not found
sh: line 18: --purge: command not found
TeXExec | runtime: 5.496058
TeXExec | option 'purge' is set to 'true'
TeXExec | option 'verbose' is set to 'true'
TeXExec | option 'randomseed' is set to '132'
TeXExec | option 'filename' is set to 'besedilo.tex'
TeXExec | option 'mainlanguage' is set to 'standard'
TeXExec | option 'bodyfont' is set to 'standard'
TeXExec | option 'language' is set to 'standard'
TeXExec | option 'engine' is set to 'standard'
TeXExec | option 'distribution' is set to 'web2c'
TeXExec | option 'texformats' is set to 'en'
TeXExec | option 'mpsformats' is set to 'metafun'
TeXExec | option 'progname' is set to 'standard'
TeXExec | option 'interface' is set to 'standard'
TeXExec | option 'runs' is set to '8'
TeXExec | option 'backend' is set to 'standard'
located : context-tex-besedilo.ctx ->
scripts : ctxtools -> CtxTools | version 1.3.5 - 2004/2008 - PRAGMA ADE

CtxTools | --bbeditinterface  generate bbedit syntax files [--pipe]
CtxTools | --brandfiles   add context copyright notice [--force]
CtxTools | --contextversion   report context version
CtxTools | --dependencies analyze depedencies within context
[--save --compact --filter=[macros|filenames]] [filename]
CtxTools | --disarmutfbom remove utf bom [--force]
CtxTools | --documentationgenerate documentation [--type=] [filename]
CtxTools | --dpxmapfiles  convert pdftex mapfiles to dvipdfmx
[--force] [texmfroot]
CtxTools | --jeditinterface   generate jedit syntax files [--pipe]
CtxTools | --listentities create doctype entity definition from enco-uc.tex
CtxTools | --patternfiles generate pattern files [--all --xml
--utf8] [languagecode]
CtxTools | --platformize  replace line-endings [--recurse --force] [pattern]
CtxTools | --purgefiles   remove temporary files [--all --recurse]
[basename]
CtxTools | --rawinterface generate raw syntax files [--pipe]
CtxTools | --sciteinterface   generate scite syntax files [--pipe]
CtxTools | --touchcontextfile update context version
CtxTools | --updatecontextdownload latest version and remake
formats [--proxy]
___
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 bug - output is shifted about 0.5 cm left

2010-01-29 Thread luigi scarso
2010/1/28 Quiark :
> Hello,
>
> I couldn't find any note of this problem on the internet, so I'm reporting
> it.
I think because it's not a problem .

>
> In the latest ConTeXt, the output of any document is shifted somewhat to the
> left.
true from almost ten years
see page 37 of pdf cont-enp.pdf  3.3 page composition (the page of
pdf, not those printed on document)

> To reproduce: create a document with a few paragraphs of text. To make the
> problem more visible, use \showlayout. On the right side of the page, there
> is about 0.5 cm gap. When the PDF is opened in Inkscape, we can see that the
> lines produced by \showlayout are outside the page on the left side.
true and it's ok, because you are using the default
\setuppapersize[A4][A4]
Try
\setuppapersize[A4][A3]
\setuplayout[location=middle]
\showlayout
\starttext
\input knuth
\stoptext



>
> It happens on live.contextgarden.net as well as on my windows machine with
> the minimal context distribution.
true
> The problem does not occur in plain luatex.
here I don't understand you . Are you using context mkiv ?
> The problem happens with pdftex engine as well.
here too I have some problems . Are you using context mkii ?
> I tried viewing the PDF in multiple viewers.
>
> As this is an important problem, I suspect you are already aware of it, but
> I couldn't find any notice about it.
true   :-(  Maybe we will collect the answer here and then update the wiki
http://wiki.contextgarden.net/Layout

Of course... can be a bug .
-- 
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] Context bug - output is shifted about 0.5 cm left

2010-01-28 Thread Quiark

Hello,

I couldn't find any note of this problem on the internet, so I'm 
reporting it.


In the latest ConTeXt, the output of any document is shifted somewhat to 
the left.
To reproduce: create a document with a few paragraphs of text. To make 
the problem more visible, use \showlayout. On the right side of the 
page, there is about 0.5 cm gap. When the PDF is opened in Inkscape, we 
can see that the lines produced by \showlayout are outside the page on 
the left side.


It happens on live.contextgarden.net as well as on my windows machine 
with the minimal context distribution.

The problem does not occur in plain luatex.
The problem happens with pdftex engine as well.
I tried viewing the PDF in multiple viewers.

As this is an important problem, I suspect you are already aware of it, 
but I couldn't find any notice about it.


Roman Plášil

___
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] updating Minimals for MKIV

2010-01-23 Thread Aditya Mahajan

On Sat, 23 Jan 2010, Gour wrote:


On Fri, 22 Jan 2010 14:40:16 -0500 (EST)

"Aditya" == Aditya Mahajan  wrote:


Aditya> It is possible that the earlier build sometimes ended up
Aditya> creating a $HOME/texmf-cache directory as root. If that
Aditya> happened, you will need to forcably remove $HOME/texmf-cache
Aditya> before reinstalling the package.

I've removed  $HOME/texmf-cache and tried again (with bauerbill, yaourt
is becoming too buggy):


I have been testing with yaourt. I will check bauerbill to see if it is 
doing something different (it should not)



[r...@gaura-nitai gour] bb -Sy


Ah. I usually run with sudo which does not change $HOME.


context-minimals-git warning: context-minimals-git does not match any
package or group in sync db --> Searching for packages in AUR...
--> Loading AUR taurball data...
warning: about to
source /tmp/bauerbill/build/AUR/context-minimals-git/PKGBUILD view [v]
backup [b]  edit [e]  continue [ok]  abort [x]  ok --> an associated
install file was found for
context-minimals-git: 
/tmp/bauerbill/build/AUR/context-minimals-git/context-minimals-git.install
view [v]  backup [b]  edit [e]  continue [ok]  abort [x]  ok -->
Loading ABS taurball data... --> detected PKGDEST in /etc/makepkg.conf
--> Determining sizes of source files... --> Building
context-minimals-git... -->
Installing 
/var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg.tar.gz...
--> Running pacman: /usr/bin/sudo /usr/bin/pacman --cachedir
"/var/cache/pacman/pkg"
-U  /var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg.tar.gz
loading package data... checking dependencies... (1/1) checking for
file conflicts
[]
100% (1/1) upgrading context-minimals-git
[]
100% mktexlsr: Updating /opt/context-minimals/texmf/ls-R... mktexlsr:
Updating /opt/context-minimals/texmf-context/ls-R... mktexlsr:
Updating /opt/context-minimals/texmf-fonts/ls-R... mktexlsr:
Updating /opt/context-minimals/texmf-linux-64/ls-R... mktexlsr:
Updating /opt/context-minimals/texmf-local/ls-R... mktexlsr: Done.

 Here I had to presee Enter twice in order to continue


Strange. On my machine I do not need to do this.



generating tex format cont-en This is pdfTeX, Version 3.1415926-1.40.10
[...]
/opt/context-minimals/texmf-linux-64/web2c/pdftex/cont-en.fmt
[...]
/opt/context-minimals/texmf-linux-64/web2c/metafun.mem (486776)


This means that the formats are created correctly.


After that I run: luatools --generated


Is that a typo (--generate), or did your really type --generated?

Did you run source /opt/context-minimals/setuptex before that.



and attempt to typeset 'hello world example

\starttext
Hello World šŠ đĐ čČ ćĆ žŽ
\stoptext


gives:

[g...@gaura-nitai tmp] context lt.tex
MTXrun | warning: no format found, forcing remake (commandline driven)
MTXrun | running command: luatools --generate
LuaTools | fileio: variable SELFAUTOLOC set to /usr/bin


This is the wrong luatools!!! My guess is that you are not running

source /opt/context-minimals/setuptex

so the path is not reset and you are using luatools from texlive.


LuaTools | fileio: variable SELFAUTODIR set to /usr
LuaTools | fileio: variable SELFAUTOPARENT set to /
LuaTools | fileio: variable TEXMFCNF set to
{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}
LuaTools | fileio: loading /usr/share/texmf/web2c/texmf.cnf
LuaTools | fileio: preparing configuration for /usr/share/texmf/web2c


These are texlive paths. What does "which luatools" give? You should get

/opt/context-minimals/texmf-linux-64/bin/luatools

or

/opt/context-minimals/texmf-linux/bin/luatools

depending on whether you are running 64bit or 32bit architecture.


MTXrun | fatal error, return code: 1

So, something is still broken, either with the pkgbuild or with the
luatex itself?


There is something wrong with PKGBUILD because you still need to press 
enters during the installation. But once you do that, the installation 
should go on correctly. However, you are not running the minimals 
correctly.


Context-minimals is installed in parallel to texlive and as such does not 
add its binaries to the $PATH. This way, you can always run texlive. When 
you need to run the minimals, you need to execute


source /opt/context-minimals/setuptex

which sets some environment variables so that the minimal binaries are in 
$PATH. You always need to source setuptex before you use minimals. If you 
do not use texlive ever, you can add source /opt/context-minimals/setuptex 
to your .bashrc (or the rc file for whatever shell you use). If you invoke 
context from an editor, you can change the editor's startup scripts so 
that setuptex is sourced before the editor is started.


Aditya

Re: [NTG-context] Speed of texexec with Unicode TrueType Font

2010-01-23 Thread Taco Hoekwater


Bryant Eastham wrote:

All-

Apologies if the question should go to another list - let me know if
so.


The pdftex list would have been better, but I think I can answer
anyway.


I am using texexec with MSPMincho on a Japanese utf-8 document. I
followed the instructions and it appears to work well.



Texexec runs several passes, and on each pass spends a *long* time
integrating each font "page". I get many lines saying:

{/MSPMinchoXX.enc}</MSPMincho.ttf>

The time taken in this process is many times that of the rest of the
conversion. The resulting PDF font properties lists "MS-PMincho
(Embedded Subset), Type: TrueType, Encoding: Built-in" 75 times. I
imagine that I am glad that the whole font is not included (for file
size). However, during development it is painful to wait.


Large font support in pdftex is suboptimal: for each encoding block
of 256 characters, it has to reload and re-subset the complete ttf font.

It is unlikely this situation will ever improve, and the best option is
to switch to using one of the two new engines: xetex or luatex. This
will need different font commands from the ones you used for pdftex,
though.


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] updating Minimals for MKIV

2010-01-23 Thread Gour
On Fri, 22 Jan 2010 14:40:16 -0500 (EST)
>>>>>> "Aditya" == Aditya Mahajan  wrote:

Aditya> It is possible that the earlier build sometimes ended up
Aditya> creating a $HOME/texmf-cache directory as root. If that
Aditya> happened, you will need to forcably remove $HOME/texmf-cache
Aditya> before reinstalling the package.

I've removed  $HOME/texmf-cache and tried again (with bauerbill, yaourt
is becoming too buggy):

[r...@gaura-nitai gour] bb -Sy
context-minimals-git warning: context-minimals-git does not match any
package or group in sync db --> Searching for packages in AUR...
--> Loading AUR taurball data...
warning: about to
source /tmp/bauerbill/build/AUR/context-minimals-git/PKGBUILD view [v]
backup [b]  edit [e]  continue [ok]  abort [x]  ok --> an associated
install file was found for
context-minimals-git: 
/tmp/bauerbill/build/AUR/context-minimals-git/context-minimals-git.install
view [v]  backup [b]  edit [e]  continue [ok]  abort [x]  ok -->
Loading ABS taurball data... --> detected PKGDEST in /etc/makepkg.conf
--> Determining sizes of source files... --> Building
context-minimals-git... -->
Installing 
/var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg.tar.gz...
--> Running pacman: /usr/bin/sudo /usr/bin/pacman --cachedir
"/var/cache/pacman/pkg"
-U  /var/abs/local/gaur/context-minimals-git-20100122-1-x86_64.pkg.tar.gz
loading package data... checking dependencies... (1/1) checking for
file conflicts
[]
100% (1/1) upgrading context-minimals-git
[]
100% mktexlsr: Updating /opt/context-minimals/texmf/ls-R... mktexlsr:
Updating /opt/context-minimals/texmf-context/ls-R... mktexlsr:
Updating /opt/context-minimals/texmf-fonts/ls-R... mktexlsr:
Updating /opt/context-minimals/texmf-linux-64/ls-R... mktexlsr:
Updating /opt/context-minimals/texmf-local/ls-R... mktexlsr: Done.

 Here I had to presee Enter twice in order to continue

Should I create the cache path /root/texmf-cache? [yes|no] [no] 
Should I create the cache path /root/texmf-cache? [yes|no] [no] MTXrun
| kpse fallback with progname 'context' initialized in 0.01 seconds
TeXExec | using search method 'kpsewhich' TeXExec | updating file
database mktexlsr: Updating /opt/context-minimals/texmf/ls-R... 
mktexlsr: Updating /opt/context-minimals/texmf-context/ls-R... 
mktexlsr: Updating /opt/context-minimals/texmf-fonts/ls-R... 
mktexlsr: Updating /opt/context-minimals/texmf-linux-64/ls-R... 
mktexlsr: Updating /opt/context-minimals/texmf-local/ls-R... 
mktexlsr: Done.
TeXExec | using tex engine pdftex
TeXExec | using tex format
path /opt/context-minimals/texmf-linux-64/web2c/pdftex TeXExec |
generating tex format cont-en This is pdfTeX, Version 3.1415926-1.40.10
(Web2C 2009) (INITEX) \write18 enabled.

[...]


 Here I had to press Enter twice (again)!!!!

TeXExec | 
TeXExec | tex: 23/01/2010 08:56:16
> /opt/context-minimals/texmf-linux-64/web2c/pdftex/cont-en.fmt
> (7366567) TeXExec | mps: 23/01/2010 08:56:16
> > /opt/context-minimals/texmf-linux-64/web2c/metafun.mem (486776)
TeXExec | 
TeXExec | runtime: 2.726559056
  


Should I create the cache path /root/texmf-cache? [yes|no] [no] 
Should I create the cache path /root/texmf-cache? [yes|no] [no] MTXrun
| kpse fallback with progname 'context' initialized in 0.01 seconds
TeXExec | using search method 'kpsewhich' TeXExec | updating file
database mktexlsr: Updating /opt/context-minimals/texmf/ls-R... 
mktexlsr: Updating /opt/context-minimals/texmf-context/ls-R... 
mktexlsr: Updating /opt/context-minimals/texmf-fonts/ls-R... 
mktexlsr: Updating /opt/context-minimals/texmf-linux-64/ls-R... 
mktexlsr: Updating /opt/context-minimals/texmf-local/ls-R... 
mktexlsr: Done.
TeXExec | using tex engine xetex
TeXExec | using tex format
path /opt/context-minimals/texmf-linux-64/web2c/xetex TeXExec |
generating tex format cont-en This is XeTeX, Version
3.1415926-2.2-0.9995.2 (Web2C 7.5.6) (INITEX) \write18 enabled.


After that I run: luatools --generated and attempt to typeset 'hello
world example 

\starttext
Hello World šŠ đĐ čČ ćĆ žŽ
\stoptext


gives:

[g...@gaura-nitai tmp] context lt.tex 
MTXrun | warning: no format found, forcing remake (commandline driven)
MTXrun | running command: luatools --generate 
LuaTools | fileio: variable SELFAUTOLOC set to /usr/bin
LuaTools | fileio: variable SELFAUTODIR set to /usr
LuaTools | fileio: variable SELFAUTOPARENT set to /
LuaTools | fileio: variable TEXMFCNF set to
{$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}
LuaTools | fileio: loading /usr/share/texmf/web2c/texmf.cnf
LuaTools | fileio: preparing configuration for /usr/share/texmf/web2c
LuaTools | fileio: configuration saved
in 
/home/gour/luatex-cache/c

Re: [NTG-context] updating Minimals for MKIV

2010-01-22 Thread Gour
On Fri, 22 Jan 2010 13:53:11 -0500 (EST)
>>>>>> "Aditya" == Aditya Mahajan  wrote:

Aditya> This is the best compromise I could get for running MkIV in a
Aditya> multi-user environment. I do not ask the mtx-update script to
Aditya> generate the formats (the --make flag is missing), because this
Aditya> script is running as root. Generating the formats means that
Aditya> luatex-cache will be generated by root, and then a user will
Aditya> never be able to writing anything in the cache directory. So, I
Aditya> do not generate the formats during the update.  

Thank you for explanation.

Aditya> I generate the pdftex and xetex formats, and ask the user to
Aditya> run luatools --generate. When run for the first time, luatools
Aditya> --generate creates the $TEXMFCACHE directory. Since the command
Aditya> is run by the user, TEXMFCACHE is writable by the user.

Ahh, cool.

Aditya> Once luatools --generate is run, you can simply run "context
Aditya> filename". ConTeXt sees that the formats are wrong and
Aditya> regenerates them on the fly. The first luatools --generate is
Aditya> needed so that mtxrun can find the mtx-context script. (context
Aditya> is just a wrapper around mtx-context.lua).

Interesting...


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] updating Minimals for MKIV

2010-01-22 Thread Aditya Mahajan

On Fri, 22 Jan 2010, Aditya Mahajan wrote:

Currently something is going wrong in the installation script. Others have 
said

that you need to "press enter twice" to get it to run. My guess is that
something is trying to generate the luatools format, even though I have not
asked for it. I will investigate further why this is happening.


Can you test the latest version from AUR.

It is possible that the earlier build sometimes ended up creating a 
$HOME/texmf-cache directory as root. If that happened, you will need to 
forcably remove $HOME/texmf-cache before reinstalling the package.


For those who are interested, this is what was happening. If you set 
TEXMFCACHE to a non-existing directory and run texexec --make cont-en, it 
asks you if you want to create the TEXMFCACHE directory (even though it is 
not needed to create the format for pdftex). pacman hides this question 
(don't know why), so it appeared that the program had hung. If you pressed 
enter twice (answering texexec's questions as no), the install proceeded 
as expected. I am getting around this by creating an empty directory in 
/opt/context-minimals/tex/texmf-cache but setting the TEXMFCACHE to 
$HOME/texmf-cache:/opt/context-minimals/texmf-cache Thus, texexec is happy 
because it can /opt/context-minimals/texmf-cache exists, and when the user 
runs luatools --generate for the first time, $HOME/texmf-cache gets 
created with the owner as the user.


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] updating Minimals for MKIV

2010-01-22 Thread Aditya Mahajan

On Fri, 22 Jan 2010, Gour wrote:


On Fri, 22 Jan 2010 12:59:39 +0100

"Hans" == Hans Hagen  wrote:


Hans> if you download the minimals installer script from the garden and
Hans> run
Hans>
Hans>./first-update.sh --engine=luatex

Hmm, the build script does not run first-update.sh but it invokes the
following:

...
msg "Starting download or update of ConTeXt distribution"
$srcdir/bin/texlua $srcdir/bin/mtxrun --script
$srcdir/bin/mtx-update.lua  \ --platform=$_platform
--texroot=$srcdir/tex --engine=all --extras=all \ --context=beta
--update  --force || return 1

Maybe I should wait for Aditya to explain what is he doing...


This is the best compromise I could get for running MkIV in a multi-user 
environment. I do not ask the mtx-update script to generate the formats 
(the --make flag is missing), because this script is running as root. 
Generating the formats means that luatex-cache will be generated by root, 
and then a user will never be able to writing anything in the cache directory.

So, I do not generate the formats during the update.  In the post-install


post_install() {
 source /opt/context-minimals/setuptex
 mktexlsr
 texexec --make cont-en metafun
 texexec --make --xetex
 echo "*"
 echo "To use ConTeXt minimals run"
 echo ". /opt/context-minimals/setuptex"
 echo "To use MkIV run"
 echo "luatools --generate"
 echo "*****"
}



I generate the pdftex and xetex formats, and ask the user to run luatools
--generate. When run for the first time, luatools --generate creates the
$TEXMFCACHE directory. Since the command is run by the user, TEXMFCACHE is
writable by the user.

Once luatools --generate is run, you can simply run "context filename". ConTeXt
sees that the formats are wrong and regenerates them on the fly. The first
luatools --generate is needed so that mtxrun can find the mtx-context script.
(context is just a wrapper around mtx-context.lua).

Currently something is going wrong in the installation script. Others have said
that you need to "press enter twice" to get it to run. My guess is that
something is trying to generate the luatools format, even though I have not
asked for it. I will investigate further why this is happening.

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] new language and hyphenation

2010-01-20 Thread Mojca Miklavec
On Wed, Jan 20, 2010 at 17:23, Hans Hagen  wrote:
> On 20-1-2010 17:10, Mojca Miklavec wrote:
>>
>> On Wed, Jan 20, 2010 at 09:07, Marius wrote:
>>>
>>> The hyphenation patterns for lithuanian language are missing. So, how
>>> does one add a new language and hyphenation patterns for ConTeXt?
>>
>> In scripts/context/lua/mtx-patterns.lua Hans needs to add
>>
>>     { "la",  "hyph-la.tex",            "latin" },
>> [after this line]
>>     { "lt",  "hyph-lt.tex",            "lithuanian" },
>>     { "lv",  "hyph-lv.tex",            "latvian" },
>>
>> and regenerate the patterns (and double-checking that nothing broke in
>> the meantime). [You can also take hyph-lt.tex and copy it to
>> tex/context/patterns/lang-lt.pat as a temporary solution.]
>
> ok, generated, will be next beta, untested and unchecked of course

Thanks a lot.

>> Apart from that you need to submit translation for your language (see
>> lang-ger.tex and lang-bal.tex), or at least that would be very nice.
>> Some settings there are necessary if you want to enable the extra
>> patterns. There are some more things to be done, but you may start by
>> translating the strings and filling other holes in lang-bal.tex.
>
> patterns indeed won't work until we have an entry in lang0-.tex for
> lithuanian

But this needs to be done by Marius (or someone else). Before anyone
asks: l7x that needs to be used by Lithuanian in MKII is not supported
in ConTeXt yet, so maybe the sensible setting in lang-bal.tex would
be:

\installlanguage
  [\s!lt]
  [...
   \s!mapping=, % the correct setting is l7x for both
   \s!encoding=]

if that means that the patterns will be loaded in xetex/luatex and not
in pdftex at all. Alternatively we could add support. Latin Modern and
TeX Gyre both support it (added in 2007 to LM and fixed in 2009 for
TG; I thought that l7x was missing in most fonts).

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] [tex-live] difference texlive 2008, 2009

2010-01-09 Thread Lubos Kolouch
Hello,
(sorry for posting to wrong group first).

\setupoutput [pdftex]
\enableregime[utf]
\usetypescript   [modern][ec]
\setupbodyfont   [ss,10pt]
\mainlanguage[en]
\setuppapersize  [A4][A4]
\setupcolors [state=start]
\setuppagenumber [state=stop]

\starttext
\setupTABLE[background=color,backgroundcolor=white]

\bTABLE
\bTABLEbody
\bTR[topframe=off]
  \bTD[nr=4,width=100pt,frame=off] Languages \eTD
  \bTD[width=120pt,frame=off,rightfheight=32pt,align={right,low}] \
{\externalfigure[flcz.png] [width=20pt]} Czech, Slovak \eTD
  \bTD[width=240pt,frame=off,height=20pt,align={right,low}] native \eTD
\eTR

\bTR
  \bTD[align={right,low},height=20pt,frame=off] \
{\externalfigure[fluk.png] [width=20pt,align={right,low}]}\ English\eTD
  \bTD[align={right,low},height=20pt,frame=off] fluently
written/spoken\eTD
\eTR

\eTABLEbody
\eTABLE
\stoptext

Here is how it shows in 2008, ie. correctly :
http://farm5.static.flickr.com/4021/4258250861_30120b1923_o.png
Here is the "incorrect" 2009 document:
http://farm3.static.flickr.com/2713/4259008582_dc05e21324_o.png

Thank you for any hint,

Lubos

Taco Hoekwater, Sat, 09 Jan 2010 07:49:00 +0100:

> Lubos Kolouch wrote:
>> Hello,
>> 
>> I have a strange problem and I am not sure what causes it.
> 
> This is a context question, redirecting to the mailing list.
> 
> (we will still need a small test file, though)
> 
> Best wishes,
> Taco
> 
>> When I run texlive on one of my .tex files in Gentoo (texlive-2008),
>> 
>> \bTD[width=120pt,topframe=on,height=32pt,align={right,low}] \
>> {\externalfigure[flcz.png] [width=20pt]} Czech \eTD
>> 
>> the result is that I have the flag, then space and the word Czech
>> 
>> In Archlinux (texlive 2009) the text is behind the flag, ie. invisible
>> 
>> When I change  \ {\extern to for example xx \{\extern... , in both
>> versions it is correct, ie. xx flag Czech
>> 
>> Is that
>> - my file issue
>> - Archlinux issue
>> - texlive version difference issue
>> 
>> ?
>> 
>> Thank you for any hints...
>> 
>> Lubos
> 
> 
___
> If your question is of interest to others as well, please add an entry
> to the Wiki!
> 
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context webpage  :
> http://www.pragma-ade.nl / http://tex.aanhet.net archive  :
> http://foundry.supelec.fr/projects/contextrev/ wiki :
> http://contextgarden.net
> 
___


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Error when using external fonts

2010-01-07 Thread Vladimir Lomov
Hi.
Consider small example:

\usetypescriptfile[type-dejavu]
\usetypescript[dejavu]
%\usetypescript[cambria]

\setupbodyfont[dejavu,12pt]
%\setupbodyfont[cambria,12pt]
\starttext
This is default sample text.

Текст для пробы.
\stoptext


I run context from context-minimals but get error:
...skipped...
!load otf   : loading: /usr/share/fonts/TTF/DejaVuSerif.ttf (hash:
dejavuserif)
!load otf   : file size: 328908
!load otf   : enhancing ...
! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:1243:
attempt to get length of local 'splt' (a nil value)
stack traceback:
...text/tex/texmf-context/tex/context/base/font-otf.lua:1243: in
function 'enhancer'
...text/tex/texmf-context/tex/context/base/font-otf.lua:198: in
function 'enhance'
...text/tex/texmf-context/tex/context/base/font-otf.lua:260: in 
function 'load'
...text/tex/texmf-context/tex/context/base/font-otf.lua:1565: in
function 'otf_to_tfm'
...text/tex/texmf-context/tex/context/base/font-otf.lua:1781: in
function 'read_from_open_type'
...text/tex/texmf-context/tex/context/base/font-def.lua:476: in
function <...text/tex/texmf-context/tex/context/base/font-def.lua:456>
(tail call): ?
(tail call): ?
...text/tex/texmf-context/tex/context/base/font-def.lua:308: in 
function 'read'
...text/tex/texmf-context/tex/context/base/font-def.lua:585: in 
function 'read'
...text/tex/texmf-context/tex/context/base/font-ctx.lua:360: in
function 'command_2'
:1: in main chunk.
\lowleveldefinefont ...dimexpr \textface \relax )}
  \edef \somefontspec {at \s...
\xxdododefinefont ...efont {#4}\newfontidentifier
  \fi \csname \newfontidenti...
\applyfontclassstrategies ...\fontsize \endcsname
  \else \expandafter \fontcl...
\synchronizefont ...lse \applyfontclassstrategies
  \fi \autofontsizefalse \if...
\rm ->\ifmmode \mathrm \else \normalrm
   \fi
\doswitchstyle ...e \csname \...@style@ #1\endcsname
  \edef \fontstyle {#1}\ifmm...
...
l.5 \setupbodyfont[dejavu,12pt]

?
...skipped...
(log file produced by context --nonstopmode sample1.tex is attached).
Same for Cambria.

When I run context from TL2009 all works fine (I got pdf file with dejavu font).

---
WBR, Vladimir Lomov
(sample1.tex

ConTeXt  ver: 2010.01.05 16:47 MKIV  fmt: 2010.1.8  int: english/english

system  : cont-new loaded
(/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/usr/local/opt/texlive/context/tex/texmf-context/tex/context/user/cont-sys.rme (/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/type-lua.tex) (/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/type-tmf.tex (/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/type-siz.tex (/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/type-otf.tex (/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : sample1.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
%	\nonstopmode
%	% handy for special styles
%	\startluacode
%	document = document or { }
%	document.arguments={
%	 ["nonstopmode"]=true,
%	}
%	document.files={
%	 "sample1.tex",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[inputfile=sample1.tex]
%	\setupsystem[\c!n=1,\c!m=1]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
(sample1.top
)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
(/usr/local/opt/texlive/context/tex/texmf-context/tex/context/third/typescripts/type-dejavu.tex (/usr/local/opt/texlive/context/tex/texmf-context/tex/context/third/typescripts/type-dejavu.mkiv))
!load otf   : loading: /usr/share/fonts/TTF/DejaVuSerif.ttf (hash: de

Re: [NTG-context] The problem with structure of heads in MkIV

2009-12-31 Thread Tad Ashlock

Yanrui Li wrote:


2009/12/31 Tad Ashlock <mailto:taas...@cyberdude.com>>



The attached sample doesn't meet the original poster's criteria.
 It produces headings like "1.1 alpha" and "1.1.1 a" instead of
the requested "1 alpha" and "1.1 a".  Is there any way of
achieving this?  (Under "Part 1", of course.  That's the trick.)


Hi Tad,

The attached sample works ok for me. Can you give me your result which 
the sample prodeces?



--
Best regards,

Li Yanrui



They are attached as "test.tex" (the test input), "test.pdf" and 
"test.log".  Notice how the chapter numbers are "x.y" (where 'x' = 'Part 
#') instead of just "y" as originally requested.  I point this out 
because I've tried to get ConTeXt to do structure numbering like this in 
the past and have had to postpone it due to lack of time.


Thanks,
Tad
\starttext

\placelist[part,chapter,section,subsection][criterium=all]

\part{first}
\chapter{alpha}
\section{a}
\section{b}
\subsection{x}
\subsection{y}
\chapter{beta}

\part{second}
\chapter{gamma}
\section{a}
\section{b}
\subsection{x}
\subsection{y}
\chapter{delta}

\stoptext
(c:/pub/projects/psicc2/book/test.tex

ConTeXt  ver: 2009.12.30 20:27 MKIV  fmt: 2009.12.30  int: english/english

system  : cont-new loaded
(C:/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(C:/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(C:/context/tex/texmf-context/tex/context/user/cont-sys.rme 
(C:/context/tex/texmf-context/tex/context/base/type-lua.tex) 
(C:/context/tex/texmf-context/tex/context/base/type-tmf.tex 
(C:/context/tex/texmf-context/tex/context/base/type-tmf.mkiv)) 
(C:/context/tex/texmf-context/tex/context/base/type-siz.tex 
(C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) 
(C:/context/tex/texmf-context/tex/context/base/type-otf.tex 
(C:/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={
%["autopdf"]=true,
%   }
%   document.files={
%"c:/pub/projects/psicc2/book/test.tex",
%   }
%   \stopluacode
%   % process info
%   \setupsystem[inputfile=c:/pub/projects/psicc2/book/test.tex]
%   \setupsystem[\c!n=2,\c!m=3]
%   % 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 c:/pub/projects/psicc2/book/test.tex at line 1
fonts   : resetting map file list
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
!pages  : flushing realpage 1, userpage 1, subpage 1
structure   : part @ level 1 : 1 -> first
!pages  : flushing realpage 2, userpage 2
structure   : chapter @ level 2 : 1.1 -> alpha
structure   : section @ level 3 : 1.1.1 -> a
structure   : section @ level 3 : 1.1.2 -> b
structure   : subsection @ level 4 : 1.1.2.1 -> x
structure   : subsection @ level 4 : 1.1.2.2 -> y
!pages  : flushing realpage 3, userpage 3
structure   : chapter @ level 2 : 1.2 -> beta
!pages  : flushing realpage 4, userpage 4
structure   : part @ level 1 : 2 -> second
!pages  : flushing realpage 5, userpage 5
structure   : chapter @ level 2 : 2.1 -> 

[NTG-context] fonts with non latin file names

2009-12-30 Thread Wolfgang Schuster
Hi,

i have a problem when i use font which contain non ascii letters in the file 
name,
e.g. the filename of the Hirganino fonts on Mac OS X are a mixture or japanese 
and
latin letters but only the latin part is used to cache the font information.

In the following example

\definefontsynonym[Mincho][file:ヒラギノ明朝 Pro W3][features=default] % 
/Library/Fonts/ヒラギノ明朝 Pro W3.otf
\definefontsynonym[Gothic][file:ヒラギノ角ゴ Pro W3][features=default] % 
/Library/Fonts/ヒラギノ角ゴ Pro W3.otf
\starttext
\startlines
\definedfont[Mincho]Hiragino Mincho Pro
\definedfont[Gothic]Hiragino Kaku Gothic Pro
\stoplines
\stoptext

the font information is saved at each run in the font cache under the name 
'-pro-w3'.

fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
systems : begin file selectfont-13 at line 3
!load otf   : loading: /Library/Fonts/ヒラギノ明朝 Pro W3.otf (hash: -pro-w3)
!load otf   : file size: 11580728
!load otf   : enhancing ...
!load otf   : saving in cache: /Library/Fonts/ヒラギノ明朝 Pro W3.otf
!load otf   : loading: /Library/Fonts/ヒラギノ角ゴ Pro W3.otf (hash: -pro-w3)
!load otf   : file size: 9362284
!load otf   : enhancing ...
!load otf   : saving in cache: /Library/Fonts/ヒラギノ角ゴ Pro W3.otf
fonts   : resetting map file list
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/Users/wolf/ctx/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{/Users/wolf/ctx/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{/Users/wolf/ctx/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
!pages  : flushing realpage 1, userpage 1, subpage 1
systems : end file selectfont-13 at line 8
system  : cont-err loaded
(/Users/wolf/ctx/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Khaled Hosny
On Mon, Dec 28, 2009 at 02:44:20PM +0100, Manuel P. wrote:
> >>\def\quotebox#1#2
> >>{\blank
> >>\midaligned{\startbackground
> >>\quotation{\em #1} \crlf --#2
> >>\stopbackground}
> >>\blank}
> >>----
> >>
> >>- the above \quotebox command, in some cases, sends pdftex and luatex (MKII 
> >>and MKIV) to the moon with an infinite loop (100% CPU).
> >I guess this is a result of your own definition of the \quotebox macro which 
> >expects a space
> >at the end of the command, you should write (untested) instead:
> >
> >\define[2]\quotebox
> >   {\blank
> >\startalignment[middle]
> >\startbackground
> >\quotation{\em#1}\crlf--#2
> >\stopbackground
> >\stopalignment
> >\blank}
> >
> 
> A infinite loop with 100% cpu for some spaces? Well, I wasn't
> expecting this.

Well, that is how TeX works, not a ConTeXt issue here; your \quotebox
definition tells TeX to expect a space at the end of the macro, and it
was looking for it.

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Manuel P.

Il 27/12/2009 19.41, Wolfgang Schuster ha scritto:

You're wrong, MkIV supports colors by default while you have to enable it in 
MkII by yourself
for backwards compatibilities. The screen value for the background key could be 
used to set
a gray background where you could change the gray value with the 
backgroundscreen key but real
colored backgrounds are set with 'background=color,backgroundcolor=...'. In 
MkIV Hans made the
decision to break sometimes backward compatibility and one result of this was 
that background=color
is no longer supported because you could use backgroundcolor.

   


Yes, I'm wrong and I'm not surprised. I've said it clearly: I don't know 
ConTeXt as much as I need to use it correctly. Part of the problem is 
the documentation: it's difficult (for me) to navigate and know what 
works on what version, especially with very limited time to figure out 
everything.


Another "problem" is the "fluidity" of ConTeXt: it changes rapidly and 
the documentation is left behind. It's good because it responds very 
quickly to the real world and users needs, on the other hand it's bad 
because a new user has to be "in the club" for some time to figure out 
everything.




\setupcolors[state=start]
\setupbackground[background=screen]
\setupbackground[state=start]
\def\quotebox#1#2
{\blank
\midaligned{\startbackground
\quotation{\em #1} \crlf --#2
\stopbackground}
\blank}


- the above \quotebox command, in some cases, sends pdftex and luatex (MKII and 
MKIV) to the moon with an infinite loop (100% CPU).
 

I guess this is a result of your own definition of the \quotebox macro which 
expects a space
at the end of the command, you should write (untested) instead:

\define[2]\quotebox
   {\blank
\startalignment[middle]
\startbackground
\quotation{\em#1}\crlf--#2
\stopbackground
\stopalignment
\blank}

   


A infinite loop with 100% cpu for some spaces? Well, I wasn't expecting 
this.



You should try to play a while with ConTeXt without such a strict and shirt 
timeline as you had it this time.

Best regards,
Wolfgang
   


You are perfectly right, I've picked the wrong choice given this 
specific context and requirements.


--
Manuel P.

___
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] Thoughts on ConTeXt: ditched

2009-12-27 Thread Wolfgang Schuster

Am 27.12.2009 um 16:54 schrieb Manuel P.:

> ConTeXt is a good software. I was impressed with a manual typesetted with it 
> and decided to give it a try. After some small documents, despite my 
> ridicously small knowledge of it I decided to use ConTeXt for my thesis. Bad 
> move.
> 
> ConTeXt is beautiful because it's very configurable, for the most uses 
> doesn't need any external module (unlike LaTeX), and gives me more power on 
> the presentation of the document. But in a few days of work I've come to 
> realize that it's not suited for me and this project.
> 
> I've had some unpleasant surprises:
> - Bibliography doesn't work the way it should on MKIV. Unlike MKII.
> - MKIV, unlike MKII, doesn't setup any background color:

You're wrong, MkIV supports colors by default while you have to enable it in 
MkII by yourself
for backwards compatibilities. The screen value for the background key could be 
used to set
a gray background where you could change the gray value with the 
backgroundscreen key but real
colored backgrounds are set with 'background=color,backgroundcolor=...'. In 
MkIV Hans made the
decision to break sometimes backward compatibility and one result of this was 
that background=color
is no longer supported because you could use backgroundcolor.

> 
> \setupcolors[state=start]
> \setupbackground[background=screen]
> \setupbackground[state=start]
> \def\quotebox#1#2
>{\blank
>\midaligned{\startbackground
>\quotation{\em #1} \crlf --#2
>\stopbackground}
>\blank}
> 
> 
> - the above \quotebox command, in some cases, sends pdftex and luatex (MKII 
> and MKIV) to the moon with an infinite loop (100% CPU).

I guess this is a result of your own definition of the \quotebox macro which 
expects a space
at the end of the command, you should write (untested) instead:

\define[2]\quotebox
  {\blank
   \startalignment[middle]
   \startbackground
   \quotation{\em#1}\crlf--#2
   \stopbackground
   \stopalignment
   \blank}

> One reason for this is probably my very limited knowledge and experience with 
> ConTeXt. It's extremely configurable, and this is a plus. But on the other 
> hand if you don't know how to move, what to do, the system internals and how 
> any configuration affect the typesetting, a lot of thing won't work. And 
> worse, you won't know where to bump your head. I don't have time to read the 
> reference manual (I've already read the excursion) because the deadline is 
> too near, so I have to call defeat and go to the LaTeX camp. I've wasted days 
> of work, now I can't afford more of that.
> 
> It's a learning experience: don't use an "experimental" (new for me) tool for 
> an important job. Stick to the tried&tested ones, and use new stuff only in a 
> safe context (without a near hard deadline).
> 
> Maybe, in some future, I'll take again ConTeXt and try to learn it the proper 
> way. But for now, it's "fired".
> 
> For your patience, time and help: thanks to all of you!


You should try to play a while with ConTeXt without such a strict and shirt 
timeline as you had it this time.

Best regards,
Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Thoughts on ConTeXt: ditched

2009-12-27 Thread Manuel P.
ConTeXt is a good software. I was impressed with a manual typesetted 
with it and decided to give it a try. After some small documents, 
despite my ridicously small knowledge of it I decided to use ConTeXt for 
my thesis. Bad move.


ConTeXt is beautiful because it's very configurable, for the most uses 
doesn't need any external module (unlike LaTeX), and gives me more power 
on the presentation of the document. But in a few days of work I've come 
to realize that it's not suited for me and this project.


I've had some unpleasant surprises:
- Bibliography doesn't work the way it should on MKIV. Unlike MKII.
- MKIV, unlike MKII, doesn't setup any background color:


\setupcolors[state=start]
\setupbackground[background=screen]
\setupbackground[state=start]
\def\quotebox#1#2
{\blank
\midaligned{\startbackground
\quotation{\em #1} \crlf --#2
\stopbackground}
\blank}


- the above \quotebox command, in some cases, sends pdftex and luatex 
(MKII and MKIV) to the moon with an infinite loop (100% CPU).


One reason for this is probably my very limited knowledge and experience 
with ConTeXt. It's extremely configurable, and this is a plus. But on 
the other hand if you don't know how to move, what to do, the system 
internals and how any configuration affect the typesetting, a lot of 
thing won't work. And worse, you won't know where to bump your head. I 
don't have time to read the reference manual (I've already read the 
excursion) because the deadline is too near, so I have to call defeat 
and go to the LaTeX camp. I've wasted days of work, now I can't afford 
more of that.


It's a learning experience: don't use an "experimental" (new for me) 
tool for an important job. Stick to the tried&tested ones, and use new 
stuff only in a safe context (without a near hard deadline).


Maybe, in some future, I'll take again ConTeXt and try to learn it the 
proper way. But for now, it's "fired".


For your patience, time and help: thanks to all of you!

A little wish: I hope that when I'll return here there'll be good 
documentation (user-oriented) and a single (througly tested, see TDD/BDD 
approaches) reference implementation.


--
Manuel P.

___
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] Strange bib referencing behavior

2009-12-15 Thread Janneman

HI!

This is very strange . See attached minimal examples!

Thanks for help in advance!

/Janneman
\citation{*}
\bibstyle{cont-no}
\bibdata{test}
\setuppublicationlist[samplesize={Hul07},totalnumber=2]

\startpublication[k=Hultin2007,t=incollection,
a={{Hultin}},y=2007,
n=1,s=Hul07]
\artauthor[]{Eva}[E.]{}{Hultin}
\pubyear{2007}
\arttitle{Dialogiska klassrum eller deliberativa samtal - spelar det någon
  roll? en jämförelse mellan två normativa positioner i det samtida talet om
  skolans demokratiuppdrag}
\editor[]{Tomas}[T.]{}{Englund}
\title{Utbildning som kommunikation}
\city{Göteborg}
\pages{383 - 397}
\pages{383 - 397}
\pubname{Daidalos}
\stoppublication

\startpublication[k=2005tmo,t=book,
a={{Bergstr{\"o}m}},y=2005,
n=2,s=Ber05]
\author[G{\"o}ran~Bor{\'e}us]{Kristina}[K.]{}{Bergstr{\"o}m}
\pubyear{2005}
\title{Textens mening och makt : metodbok i samh{\"a}llsvetenskaplig text- och
  diskursanalys}
\isbn{91-44-04274-4}
\city{Lund}
\pubname{Studentlitteratur}
\edition{2., [omarb.] uppl.}
\keywords{Samh{\"a}llsvetenskap -- metodik Textanalys Diskursanalys}
\stoppublication

@INCOLLECTION{Hultin2007,
  author = {Hultin, Eva},
  title = {Dialogiska klassrum eller deliberativa samtal - spelar det någon
	roll? En jämförelse mellan två normativa positioner i det samtida
	talet om skolans demokratiuppdrag},
  booktitle = {Utbildning som kommunikation},
  publisher = {Daidalos},
  year = {2007},
  editor = {Tomas Englund},
  pages = {383  - 397},
  address = {Göteborg},
  owner = {janerik},
  timestamp = {2009.12.15}
@BOOK{2005tmo,
  title = {Textens mening och makt : metodbok i samh{\"a}llsvetenskaplig text-
	och diskursanalys},
  publisher = {Studentlitteratur},
  year = {2005},
  author = {Bergstr{\"o}m, G{\"o}ran
	
	Bor{\'e}us, Kristina},
  address = {Lund},
  edition = {2., [omarb.] uppl.},
  isbn = {91-44-04274-4},
  keywords = {Samh{\"a}llsvetenskap -- metodik Textanalys Diskursanalys},
  owner = {sameman},
  timestamp = {2009.10.02}
}
This is BibTeX, Version 0.99c (TeX Live 2009)
The top-level auxiliary file: test.aux
The style file: cont-no.bst
Database file #1: test.bib
I was expecting a `,' or a `}'---line 14 of file test.bib
 : 
 : @BOOK{2005tmo,
(Error may have been on previous line)
I'm skipping whatever remains of this entry
You've used 2 entries,
2181 wiz_defined-function locations,
511 strings with 4014 characters,
and the built_in function-call counts, 818 in all, are:
= -- 15
> -- 14
< -- 4
+ -- 9
- -- 3
* -- 96
:= -- 92
add.period$ -- 3
call.type$ -- 2
change.case$ -- 3
chr.to.int$ -- 2
cite$ -- 2
duplicate$ -- 63
empty$ -- 76
format.name$ -- 21
if$ -- 105
int.to.chr$ -- 2
int.to.str$ -- 4
missing$ -- 2
newline$ -- 29
num.names$ -- 9
pop$ -- 90
preamble$ -- 1
purify$ -- 8
quote$ -- 0
skip$ -- 15
stack$ -- 0
substring$ -- 6
swap$ -- 18
text.length$ -- 2
text.prefix$ -- 2
top$ -- 0
type$ -- 13
warning$ -- 0
while$ -- 3
width$ -- 4
write$ -- 100
(There was 1 error message)
(test.tex

ConTeXt  ver: 2009.12.01 17:09 MKIV  fmt: 2009.12.1  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-lua.tex) (/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[inputfile=test.tex]
%	\setupsystem[\c!n=2,\c!m=2]
%	% 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  :

[NTG-context] Overfull \hbox in Every Footnote

2009-12-13 Thread Tad Ashlock
As you can see in the results of processing the ConTeXt code below, the 
footnote gives an "Overfull \hbox" warning.  And the overflow is always 
exactly 426.78743pt too wide (at least in my documents).


---
\starttext
A test\footnote{Just testing.} of footnotes.
\stoptext
---


Running `ConTeXt Full' on `test' with ``context --autopdf "test"''
This is LuaTeX, Version beta-0.46.0-2009112722
\write18 enabled.
(test.tex

ConTeXt  ver: 2009.12.03 00:41 MKIV  fmt: 2009.12.12  int: english/english

system  : cont-new loaded
(C:/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(C:/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(C:/context/tex/texmf-context/tex/context/user/cont-sys.rme 
(C:/context/tex/texmf-context/tex/context/base/type-lua.tex) 
(C:/context/tex/texmf-context/tex/context/base/type-tmf.tex 
(C:/context/tex/texmf-context/tex/context/base/type-tmf.mkiv)) 
(C:/context/tex/texmf-context/tex/context/base/type-siz.tex 
(C:/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) 
(C:/context/tex/texmf-context/tex/context/base/type-otf.tex 
(C:/context/tex/texmf-context/tex/context/base/type-otf.mkiv)))

system  : test.top loaded
(test.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
systems : begin file test at line 1

Overfull \hbox (426.78743pt too wide) in paragraph at lines 2--2
[]
fonts   : resetting map file list
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{C:/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
system  : xmp data not flushed (needs luatex upgrade)
!pages  : flushing page, realpage 1, userpage 1
systems : end file test at line 3
system  : cont-err loaded
(C:/context/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  - 
C:/context/tex/texmf/web2c/texmf.cnf

mkiv lua stats : used cache path   - C:/context/tex/texmf-cache
mkiv lua stats : input load time   - 0.016 seconds
mkiv lua stats : stored bytecode data  - 196 modules, 48 tables, 244 
chunks
mkiv lua stats : node list callback tasks  - 4 unique tasks, 3 created, 
26 calls

mkiv lua stats : cleaned up reserved nodes - 25 nodes, 9 lists of 1408
mkiv lua stats : node memory usage - 20 glue_spec, 2 dir
mkiv lua stats : used backend  - pdf (backend for directly 
generating pdf output)

mkiv lua stats : loaded patterns   - en:us:pat:exc:2
mkiv lua stats : startup time  - 0.438 seconds (including 
runtime option file processing)
mkiv lua stats : callbacks - direct: 542, indirect: 
3664, total: 4206

mkiv lua stats : interactive elements  - 0 references, 1 destinations
mkiv lua stats : loaded fonts  - 49 files: 
lmmono10-regular.otf lmmono12-regular.otf lmmono8-regular.otf 
lmmono9-regular.otf lmroman10-bold.otf lmroman10-regular.otf 
lmroman12-bold.otf lmroman12-regular.otf lmroman5-bold.otf 
lmroman5-regular.otf lmroman6-regular.otf lmroman7-bold.otf 
lmroman7-regular.otf lmroman8-regular.otf lmroman9-bold.otf 
lmroman9-regular.otf lmsans10-regular.otf lmsans12-regular.otf 
lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm 
eufm5.tfm eufm7.tfm msam10.tfm msam5.tfm msam7.tfm msbm10.tfm msbm5.tfm 
msbm7.tfm lmex10.tfm lmmi10.tfm lmmi12.tfm lmmi5.tfm lmmi7.tfm lmmi9.tfm 
lmmib10.tfm lmmib5.tfm lmmib7.tfm lmsy10.tfm lmsy5.tfm lmsy7.tfm 
lmsy9.tfm rm-lmr10.tfm rm-lmr12.tfm rm-lmr5.tfm rm-lmr7.tfm rm-lmr9.tfm

mkiv lua stats : fonts load time   - 0.547 seconds
mkiv lua stats : result saved in file  - cont-en.pdf
mkiv lua stats : luatex banner - this is luatex, version 
beta-0.46.0-2009112722

mkiv lua stats : control sequences - 29701 of 165536
mkiv lua stats : current mem

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-11 Thread Peter Rolf

Oliver Heins schrieb:

Hi Peter,

Peter Rolf  writes:

  

Oliver Heins schrieb:


Hello,

with color black overprinting is not working.  You can easily spot this
when you use the »Ausgabevorschau« (sorry, my acrobat is in german
locale, must be something with »preview« in english; located in the
»tools« menu) in acrobat and remove magenta and black from the preview.
Whilst under the region with the magenta colored text the picture gets
shown, in the region with the black colored text the text is cut out of
the picture, leaving white.

  
  

I think the visible 'knockedout' text on the picture is just another
acrobat bug. I manually checked the text and the OVP attributes are
correctly set. If you use the coloring mechanism (Ausgabenvorschau -> 
Farbwarnungen -> [x] Überdruck anzeigen), you will see that everything

looks ok.



Yes, I noticed that, too.  But to me it looks like it is first knocked
out in the pdf, and then the overprint flag is set.

  
Good point. In that case the text must be set twice, as knockout and 
overprint can't coexist. I have looked into the uncompressed mkii PDF 
(\nopdfcompression) and I can not see any obvious flaw. The parts are 
clearly separeted by '/GSknockout gs' and '/GSoverprint gs', the black 
text is not set twice.


Just an idea: the colorspace of the picture is RGB, the text is set in 
CMYK. Maybe the mixed color spaces mess up things here.




I made a document with scribus, which looks alright in acrobats preview:
http://www.sopos.org/olli/overprinting-scribus.pdf

  
Same here. The difference is, that the picture here is also set in CMYK. 
So this points to the 'colorspace mess' theory too ;)




So I doubt that this is a bug in acrobat, but in context or even in
pdftex/luatex.

  

you have to manually copy the hacker.jpg to your working directory
(under linux e.g. with cp $(kpsewhich hacker.jpg)
/path/to/your/working/directory) and change the path to make the
minimal example work under mark iv.
  

I noticed this too (no picture with mkiv). BOF = Bug Or Feature :)



Feature, as Taco kindly pointed out :-)

Regards,
 olli

  


___
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] Bug with overprinting in Mark II/IV?

2009-12-11 Thread Oliver Heins
Hi Peter,

Peter Rolf  writes:

> Oliver Heins schrieb:
>> Hello,
>>
>> with color black overprinting is not working.  You can easily spot this
>> when you use the »Ausgabevorschau« (sorry, my acrobat is in german
>> locale, must be something with »preview« in english; located in the
>> »tools« menu) in acrobat and remove magenta and black from the preview.
>> Whilst under the region with the magenta colored text the picture gets
>> shown, in the region with the black colored text the text is cut out of
>> the picture, leaving white.
>>
>>   
> I think the visible 'knockedout' text on the picture is just another
> acrobat bug. I manually checked the text and the OVP attributes are
> correctly set. If you use the coloring mechanism (Ausgabenvorschau -> 
> Farbwarnungen -> [x] Überdruck anzeigen), you will see that everything
> looks ok.

Yes, I noticed that, too.  But to me it looks like it is first knocked
out in the pdf, and then the overprint flag is set.

I made a document with scribus, which looks alright in acrobats preview:
http://www.sopos.org/olli/overprinting-scribus.pdf

So I doubt that this is a bug in acrobat, but in context or even in
pdftex/luatex.

>> you have to manually copy the hacker.jpg to your working directory
>> (under linux e.g. with cp $(kpsewhich hacker.jpg)
>> /path/to/your/working/directory) and change the path to make the
>> minimal example work under mark iv.
>
> I noticed this too (no picture with mkiv). BOF = Bug Or Feature :)

Feature, as Taco kindly pointed out :-)

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


[NTG-context] Bibliography help

2009-12-05 Thread Curiouslearn
Hi,

Is it possible to use .bib files that I had made for latex (it is a
bibtex database), with Context? Do I need to use the module bibltx for
these? When I compile my source code the Log window says, module
bibltx not found (log file is pasted below).

I tried the first example in the Bibliography article on Context
Garden with some small changes. That is, I tried the following.

\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=econbibTest]
\starttext
\section{Checking Bib}
See \cite[Bergstrom_Bagnoli(2005)] for monotonicity properties of
hazard rates of various standard distributions.
\completepublications[criterium=all]
\stoptext
@ARTICLE{Bergstrom_Bagnoli(2005),
  author = {Mark Bagnoli and Ted Bergstrom},
  title = {Log-concave Probability and its Applications},
  journal = {Economic Theory},
  year = {2005},
  volume = {26},
  pages = {445-469},
  timestamp = {2008.06.08}
}

I have attached the output.  I have reproduced the citation from the
bibtex file above to show what the bib file contains. Can someone
please point out where I am going wrong?

Thanks very much.


The following is the log:

This is LuaTeX, Version beta-0.46.0-2009112820
 \write18 enabled.
(BibTest.tex

ConTeXt  ver: 2009.11.27 21:24 MKIV  fmt: 2009.11.29  int: english/english

system  : cont-new loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-lua.tex)
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.mkiv))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.mkiv))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : BibTest.top loaded
(BibTest.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
system  : module bib loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/m-obsolete.texThis
is BibTeX, Version 0.99c (TeX Live 2009)
The top-level auxiliary file: BibTest.aux
The style file: cont-no.bst
Database file #1: econbibTest.bib

systems : skipping obsolete module
)
system  : module bibltx not found
publications: wrote a new auxiliary file cont-en.aux
systems : begin file BibTest at line 4
structure   : section @ level 3 : 0.0.1 -> Checking Bib
fonts   : resetting map file list
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
!pages  : flushing page, realpage 1, userpage 1
structure   : chapter @ level 2 : 0.1 -> \headtext {pubs}
publications: loading database from BibTest.bbl
(BibTest.bbl)
publications: warning: cite argument article-full is unknown on line 175
system  : xmp data not flushed (needs luatex upgrade)
!pages  : flushing page, realpage 2, userpage 2
systems : end file BibTest at line 8
system  : cont-err loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
)

system  : module bibltx not found

 
)
mkiv lua stats : used config path  -
/Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf;/Applications/ConTeXtMinimals/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   -
/Applications/ConTeXtMinimals/tex/texmf-cache
mkiv lua stats : input load time

Re: [NTG-context] url breaking

2009-12-04 Thread Hans Hagen

Hans Hagen wrote:

Mohamed Bana wrote:

Hi all,

a)  I've reported this before; I ca1n't seem to wrap long URLs across 
lines in XeTeX 


\useURL[doilink][http://dx.doi.org/10.1109/32.689404][][ 
<http://dx.doi.org/10..1109/32.689404][][>\hyphenatedurl{http://dx.doi.org/10.1109/32.689404}] 


\from[doilink]


in mkiv you probably don't need the \hyphenatedurl as is more clever

in pdftex your example works ok but not in xetex ... maybe something 
messy with catcodes or discretionaries ... weird


we have this (in mkii):

\def\dohyphenatedurlbefore#1{\discretionary{\hyphenatedurlseparator}{}{}\char#1\relax}%

if you change this to

\def\dohyphenatedurlbefore#1{\discretionary{!}{?}{*}\char#1\relax}%

you'll see that indeed something is inserted

so, something fishy in xetex; maybe a difference in disc handling due to 
 utf hyphenation? anyhow, we have to live with it


(so better use mkiv)

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] url breaking

2009-12-04 Thread Hans Hagen

Mohamed Bana wrote:

Hi all,

a)  I've reported this before; I ca1n't seem to wrap long URLs across 
lines in XeTeX 


\useURL[doilink][http://dx.doi.org/10.1109/32.689404][][ 
<http://dx.doi.org/10..1109/32.689404][][>\hyphenatedurl{http://dx.doi.org/10.1109/32.689404}]

\from[doilink]


in mkiv you probably don't need the \hyphenatedurl as is more clever

in pdftex your example works ok but not in xetex ... maybe something 
messy with catcodes or discretionaries ... weird


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] TeX as an eBook engine?

2009-12-02 Thread Hans Hagen

Otared Kavian wrote:

For those on the list who didn't see this thread on XeTeX mailing list:
How about ConTeXt and mkiv?


You mean runing on an iphone? First of all I cannot afford one so I have 
no clue about its performance. But most of all, it was a limited tex 
run, although fun to see, but no big macro packagem just something plain.


As Hartmut made pdftex run on similar gadgets I expect some day luatex 
to run on them as well but it has a real low priority. If one wants 
reflow, one should use html anyway.


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] problem with texmf-local on Vista

2009-12-02 Thread Christopher G D Tipper

Hi Mojca,

I recommend we wait until the issue with executables referenced in my 
previous post is resolved. We are talking about a problem with 
texexec.bat, and I have a feeling that texexec.exe may behave 
differently, once I can execute it. (Tell Hans to test it on Vista, as 
he seemed to jump to the conclusion that I was using XP).


However, my setups have been transferred directly from my iMac, and the 
test document compiles using gwTeX and an 18-month old version of Context.


Christopher

Mojca Miklavec wrote:

On Sun, Nov 29, 2009 at 23:20, Christopher G D Tipper wrote:

Hi,

I am a user of Context from the old days, and usually don't need much help
installing the software. However, I am needing to use Contextminimals for
the first time, as Miktex 2.8 has dropped Context support.

My problem is that I have a lot of my own setups and personal fonts and
Contextminimals seems to have some problem dealing with local setups. I am
using MkII by the way but these problems seem to exist in MkIV also.

I have a font, Univers, installed to texmf-local with texfont and Context
claims it cannot find the font definitions.

running texexec I get the following:

!pdfTeX error: pdftex.exe (file 8r-raw-punr8a): Font 8r-raw-punr8a at 432
not found
 ==> Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 10.311


Hello Christopher,

You may try one thing before starting the struggle with files. Can you
try to put all the files that you need in current directory (the one
from where you need to compile your document)? If that works then
there's indeed a problem with TeX trees. If not, there might even be a
problem with files themselves or with typescripts.

(It looks like you have used the files before, but an extra check
would not hurt.)

It could be that some map file is missing or has not been properly
generated. TeXfont might be a bit buggy.

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] latest beta and file mismatch problem

2009-12-02 Thread Bowen Alan C.
Mojca—

I am running a version of first-setup.sh that was downloaded from the garden on 
 November 28. Updating to the file available today makes no difference.

Alan

On Dec 2, 2009, at 07;04,16 , Mojca Miklavec wrote:

> On Wed, Dec 2, 2009 at 12:59, Bowen Alan C. wrote:
>> Mojca—
>> 
>> texmf-osx-intel reappears when the minimals are updated
> 
> If
>sysctl -n hw.cpu64bit_capable
> returns you 1 then it's quite possible that you are still using the
> old version of first-setup.sh.
> 
>> removing status-of-update.lua did not make a difference  (I am using MKII).
>> 
>> I have not installed TeXLive.
> 
> Sorry, I was misinterpreting the "pdfTeX 1.40" string and though it
> was reading "LuaTeX beta-0.40".
> 
> Mojca
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] latest beta and file mismatch problem

2009-12-02 Thread Bowen Alan C.
The outputs are:
uname -m
i386
echo $HOSTTYPE
x86_64
sysctl -n hw.cpu64bit_capable
1
echo $PATH

/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

ls /Applications/ConTeXtMinimals/tex/
mysetuptex  setuptex.cshtexmf-cache texmf-osx-64
setuptexsetuptex.tmftexmf-context   texmf-project
setuptex.battexmf   texmf-local

ls -l /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin
total 47488
-rwxr-xr-x  1 alancbowen  admin   195812 Aug 27 20:08 afm2pl
-rwxr-xr-x  1 alancbowen  admin   204116 Aug 27 20:08 afm2tfm
-rwxr-xr-x  1 alancbowen  admin   348252 Aug 27 20:08 bibtex
-rwxr-xr-x  1 alancbowen  admin   39 May  5  2009 context
-rwxr-xr-x  1 alancbowen  admin  1503396 Aug 27 20:08 dvipdfmx
-rwxr-xr-x  1 alancbowen  admin   224580 Aug 27 20:08 dvipos
-rwxr-xr-x  1 alancbowen  admin   492056 Aug 27 20:08 dvips
-rwxr-xr-x  1 alancbowen  admin34252 Aug 27 20:08 kpseaccess
-rwxr-xr-x  1 alancbowen  admin34284 Aug 27 20:08 kpsestat
-rwxr-xr-x  1 alancbowen  admin   179244 Sep  5 17:28 kpsewhich
-rwxr-xr-x  1 alancbowen  admin  6303832 Nov 29 04:56 luatex
-rwxr-xr-x  1 alancbowen  admin   231408 Nov 27 11:56 luatools
-rwxr-xr-x  1 alancbowen  admin   39 May  5  2009 metatex
-rwxr-xr-x  1 alancbowen  admin 6885 Jul 23 13:11 mktexlsr
-rwxr-xr-x  1 alancbowen  admin   560136 Nov  1 16:51 mpost
-rwxr-xr-x  1 alancbowen  admin   353560 Dec  1 09:04 mtxrun
-rwxr-xr-x  1 alancbowen  admin   43 Jul 19 15:11 mtxworks
-rwxr-xr-x  1 alancbowen  admin  2225728 Nov 29 04:56 pdftex
-rwxr-xr-x  1 alancbowen  admin   704816 Nov 29 04:56 pdftosrc
-rwxr-xr-x  1 alancbowen  admin   137860 Aug 27 20:08 pltotf
-rwxr-xr-x  1 alancbowen  admin   50 Nov 27 13:00 texexec
lrwxrwxrwx  1 alancbowen  admin6 Nov  1 17:06 texlua -> luatex
lrwxrwxrwx  1 alancbowen  admin6 Nov  1 17:06 texluac -> luatex
-rwxr-xr-x  1 alancbowen  admin   32 May  5  2009 texmfstart
-rwxr-xr-x  1 alancbowen  admin   216320 Aug 27 20:08 tftopl
-rwxr-xr-x  1 alancbowen  admin   135104 Nov 29 04:56 ttf2afm
-rwxr-xr-x  1 alancbowen  admin   249216 Aug 27 20:08 vftovp
-rwxr-xr-x  1 alancbowen  admin   162552 Aug 27 20:08 vptovf
-rwxr-xr-x  1 alancbowen  admin  1541072 Nov  1 16:51 xdvipdfmx
-rwxr-xr-x  1 alancbowen  admin  8192912 Nov  1 16:51 xetex

which pdftex
/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/pdftex
which context
/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/context
which texexec
/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texexec
kpsewhich context.tex

/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/context.tex
 
Alan

On Dec 2, 2009, at 06;55,07 , Mojca Miklavec wrote:

> On Wed, Dec 2, 2009 at 12:49, Bowen Alan C. wrote:
>> Thanks, Mojca.
>> With .bash_profile now reading .
>> /Applications/ConTeXtMinimals/tex/setuptex, I ran texexec --make --all
>> successfully. But I still could not process a .tex file: the error message
>> was
>> This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
>>  \write18 enabled.
>>  (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx)
>> kpathsea: Running mktexfmt cont-en.fmt
>> mktexfmt: No such file or directory
>> I can't find the format file `cont-en.fmt'!
>> TeXExec | runtime: 0.21928
>> So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec
>> --make --all. The error message is now
>> texexec: Command not found.
> 
> Can you please send the output of:
>> uname -m
>> echo $HOSTTYPE
>> sysctl -n hw.cpu64bit_capable
>> echo $PATH
>> ls /Applications/ConTeXtMinimals/tex/
>> ls -l /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin
>> which pdftex
>> which context
>> which texexec
>> kpsewhich context.tex
> 
> Mojca
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

___
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] latest beta and file mismatch problem

2009-12-02 Thread Mojca Miklavec
On Wed, Dec 2, 2009 at 12:59, Bowen Alan C. wrote:
> Mojca—
>
> texmf-osx-intel reappears when the minimals are updated

If
sysctl -n hw.cpu64bit_capable
returns you 1 then it's quite possible that you are still using the
old version of first-setup.sh.

> removing status-of-update.lua did not make a difference  (I am using MKII).
>
> I have not installed TeXLive.

Sorry, I was misinterpreting the "pdfTeX 1.40" string and though it
was reading "LuaTeX beta-0.40".

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] latest beta and file mismatch problem

2009-12-02 Thread Bowen Alan C.
Mojca—

texmf-osx-intel reappears when the minimals are updated

removing status-of-update.lua did not make a difference  (I am using MKII).

I have not installed TeXLive.

Alan
On Dec 2, 2009, at 03;16,40 , Mojca Miklavec wrote:

> On Tue, Dec 1, 2009 at 22:09, Bowen Alan C. wrote:
>> Hi, Otared,
>> Thanks for the tip. The first problem is that ./first-setup.sh installs both
>> files texmf-os-x and texmf-osx-intgel.
> 
> texmf-osx-intel should not be installed at all. What happens if you
> delete it? Does it appear again? Also try to remove the file
> status-of-update.lua as Hans suggested.
> 
>> The second is that I now get
>> This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
>>  \write18 enabled.
>>  (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx)
>> kpathsea: Running mktexfmt cont-en.fmt
>> mktexfmt: No such file or directory
>> I can't find the format file `cont-en.fmt'!
>> TeXExec | runtime: 0.10815
> 
> It looks like this is using the version from TeX Live.
> 
> Mojca
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] latest beta and file mismatch problem

2009-12-02 Thread Mojca Miklavec
On Wed, Dec 2, 2009 at 12:49, Bowen Alan C. wrote:
> Thanks, Mojca.
> With .bash_profile now reading .
> /Applications/ConTeXtMinimals/tex/setuptex, I ran texexec --make --all
> successfully. But I still could not process a .tex file: the error message
> was
> This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
>  \write18 enabled.
>  (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx)
> kpathsea: Running mktexfmt cont-en.fmt
> mktexfmt: No such file or directory
> I can't find the format file `cont-en.fmt'!
> TeXExec | runtime: 0.21928
> So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec
> --make --all. The error message is now
> texexec: Command not found.

Can you please send the output of:
> uname -m
> echo $HOSTTYPE
> sysctl -n hw.cpu64bit_capable
> echo $PATH
> ls /Applications/ConTeXtMinimals/tex/
> ls -l /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin
> which pdftex
> which context
> which texexec
> kpsewhich context.tex

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] latest beta and file mismatch problem

2009-12-02 Thread Bowen Alan C.
Thanks, Mojca.

With .bash_profile now reading . /Applications/ConTeXtMinimals/tex/setuptex, I 
ran texexec --make --all successfully. But I still could not process a .tex 
file: the error message was

This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
 \write18 enabled.
 (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx)

kpathsea: Running mktexfmt cont-en.fmt
mktexfmt: No such file or directory
I can't find the format file `cont-en.fmt'!
TeXExec | runtime: 0.21928

So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make 
--all. The error message is now

texexec: Command not found.

Alan

On Dec 2, 2009, at 03;13,46 , Mojca Miklavec wrote:

> On Tue, Dec 1, 2009 at 17:13, Bowen Alan C. wrote:
>> Mocja—
>> I see that I have two texexecs in my Minimals now:
>> one in
>> ConTeXtMinimals/tex/texmf-osx-intel/bin
>> the other in
>> ConTeXtMinimals/tex/texmf-osx-64/bin
>> Which one is the right one?
> 
> The second one.
> 
>> I should add that when my .bash_profile has
>> . /Applications/ConTeXtMinimals/tex/setuptex
>> /Applications/ConTeXtMinimals/tex/
>> I cannot compile any file because of the mismatch between format and base
>> files.
> 
> This is because you need to regenerate the formats (texexec --make
> --all). Please send the log if this fails to help.
> 
>> If I change my .bash_profile to
>> . /Applications/ConTeXtMinimals/tex/setuptex
>> /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin
>> as suggested in
> 
> No, that's not been suggested. You may not use the second argument
> that way. If you read carefully again you'll see that there are **two
> different recipes**. You need to use just one of them.
> 
>> When you want to use context, you need to initialize the tree by typing:
> 
> [first recipe]
>>  . /Applications/ConTeXtMinimals/tex/setuptex
>> in your shell or add
> 
> [second recipe]
>>  "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin"
>> to PATH variable if you want to set it permanently.
>> This can usually be done in .bashrc, .bash_profile
>> (or whatever file is used to initialize your shell).
> 
>> I get the error message
>> The argument "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" is not a
>> valid TEXROOT path.
>> (There is no file
>> "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex")
> 
> Yes, that makes sense. Since
> /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is NOT the root of
> distribution. That's just the PATH to your binaries.
> 
> Just go with the first approach (the one that reports mismatching
> formats at the moment), run
>texexec --make --all
> and send the log if it fails to 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
> ___

___
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] problem with texmf-local on Vista

2009-12-02 Thread Mojca Miklavec
On Sun, Nov 29, 2009 at 23:20, Christopher G D Tipper wrote:
> Hi,
>
> I am a user of Context from the old days, and usually don't need much help
> installing the software. However, I am needing to use Contextminimals for
> the first time, as Miktex 2.8 has dropped Context support.
>
> My problem is that I have a lot of my own setups and personal fonts and
> Contextminimals seems to have some problem dealing with local setups. I am
> using MkII by the way but these problems seem to exist in MkIV also.
>
> I have a font, Univers, installed to texmf-local with texfont and Context
> claims it cannot find the font definitions.
>
> running texexec I get the following:
>
> !pdfTeX error: pdftex.exe (file 8r-raw-punr8a): Font 8r-raw-punr8a at 432
> not found
>  ==> Fatal error occurred, no output PDF file produced!
> TeXExec | runtime: 10.311

Hello Christopher,

You may try one thing before starting the struggle with files. Can you
try to put all the files that you need in current directory (the one
from where you need to compile your document)? If that works then
there's indeed a problem with TeX trees. If not, there might even be a
problem with files themselves or with typescripts.

(It looks like you have used the files before, but an extra check
would not hurt.)

It could be that some map file is missing or has not been properly
generated. TeXfont might be a bit buggy.

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] latest beta and file mismatch problem

2009-12-02 Thread Mojca Miklavec
On Tue, Dec 1, 2009 at 22:09, Bowen Alan C. wrote:
> Hi, Otared,
> Thanks for the tip. The first problem is that ./first-setup.sh installs both
> files texmf-os-x and texmf-osx-intgel.

texmf-osx-intel should not be installed at all. What happens if you
delete it? Does it appear again? Also try to remove the file
status-of-update.lua as Hans suggested.

> The second is that I now get
> This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
>  \write18 enabled.
>  (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx)
> kpathsea: Running mktexfmt cont-en.fmt
> mktexfmt: No such file or directory
> I can't find the format file `cont-en.fmt'!
> TeXExec | runtime: 0.10815

It looks like this is using the version from TeX Live.

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] latest beta and file mismatch problem

2009-12-01 Thread Otared Kavian

On 1 déc. 2009, at 22:09, Bowen Alan C. wrote:

> Hi, Otared,
> 
> Thanks for the tip. The first problem is that ./first-setup.sh installs both 
> files texmf-os-x and texmf-osx-intgel. The second is that I now get
> 
> This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
>  \write18 enabled.
>  (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx)
> 
> kpathsea: Running mktexfmt cont-en.fmt
> mktexfmt: No such file or directory
> I can't find the format file `cont-en.fmt'!
> TeXExec | runtime: 0.10815
> 
> when I compile as file with both or with either one alone.
> 
> Alan
> 

Hi Alan,

It doesn't matter if first-setup.sh, or setuptex, whichever, installs two 
directories 
/tex/texmf-osx-64/bin 
and 
/tex/texmf-osx-intel/bin
in the folder where you have first-setup.sh. As far as I am concerned, running 
Mac OS X 10.6.2, I even removed manually the folder /tex/texmf-osx-intel/bin, 
and everything works fine.

Something which seems strange to me is the line you have in your .bash_profile 
which has:
. /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/

this seems unorthodox… In any case this 
/Applications/ConTeXtMinimals/tex/
should not be there and you should remove it.

In order to locate the problem, you may remove this line and then in a Terminal 
window issue the command:
source /Applications/ConTeXtMinimals/tex/setuptex
(Using source is better than the"." in my humble opinion). 
Next issue the command
which context
in order to see what binary context is going to be executed when you typeset a 
file. 
Finally, assuming that you have the right context binary, typeset a test file, 
named for instance myfile.tex, by issuing the command:
context myfile.tex
in the directory where myfile.tex is present.

Good luck: OK

___
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] latest beta and file mismatch problem

2009-12-01 Thread Bowen Alan C.
Hi, Otared,

Thanks for the tip. The first problem is that ./first-setup.sh installs both 
files texmf-os-x and texmf-osx-intgel. The second is that I now get

This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
 \write18 enabled.
 (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx)

kpathsea: Running mktexfmt cont-en.fmt
mktexfmt: No such file or directory
I can't find the format file `cont-en.fmt'!
TeXExec | runtime: 0.10815

when I compile as file with both or with either one alone.

Alan

On Dec 1, 2009, at 15;38,29 , Otared Kavian wrote:

>>>> 
>>>> I see that I have two texexecs in my Minimals now:
>>>> one in
>>>> ConTeXtMinimals/tex/texmf-osx-intel/bin
>>>> the other in
>>>> ConTeXtMinimals/tex/texmf-osx-64/bin
>>>> 
>>>> Which one is the right one?
>> 
>> only mojca knows ... did you use the latest version of teh installer script?
> 
> Hi Alan,
> 
> If you are running Mac OS X 10.6.1 or later, the right folder (or directory) 
> is
> ConTeXtMinimals/tex/texmf-osx-64/bin
> 
> In any case you can test this just by changing the name of either of the 
> folders and try to typeset a file (you can change the name of the folder for 
> example in the Finder). Do you use TeXShop or any other GUI application?
> 
> A last point: at the beginning of the ConTeXt minimals, at one point I 
> installed the minimals in the /Application/ folder (directory) but had 
> constantly problems due to the rights of writing and executing, I think. Now 
> I have the Minimals in another place and everything works fine.
> 
> Good luck!
> 
> Best regards: OK
> ___
> 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] problem with texmf-local on Vista

2009-11-30 Thread Christopher G D Tipper




Message: 2
Date: Mon, 30 Nov 2009 10:33:00 +0100
From: Hans Hagen 
To: mailing list for ConTeXt users 
Subject: Re: [NTG-context] problem with texmf-local on Vista
Message-ID: <4b13914c.1000...@wxs.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Christopher G D Tipper wrote:

Hi,

I am a user of Context from the old days, and usually don't need much 
help installing the software. However, I am needing to use 
Contextminimals for the first time, as Miktex 2.8 has dropped Context 
support.


My problem is that I have a lot of my own setups and personal fonts and 
Contextminimals seems to have some problem dealing with local setups. I 
am using MkII by the way but these problems seem to exist in MkIV also.


I have a font, Univers, installed to texmf-local with texfont and 
Context claims it cannot find the font definitions.


running texexec I get the following:

!pdfTeX error: pdftex.exe (file 8r-raw-punr8a): Font 8r-raw-punr8a at 
432 not found

 ==> Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 10.311

ConTeXt Full finished at Sun Nov 29 21:58:36

Then from command prompt, I type:
C:\Users\Christopher>kpsewhich 8r-raw-punr8a.tfm
c:/context/texmf-local/fonts/tfm/adobe/univers/8r-raw-punr8a.tfm

C:\Users\Christopher>context --version
MTXrun | main context file: 
c:/context/texmf-context/tex/context/base/context.te

x
MTXrun | current version: 2009.10.27 16:35

How do I get Context to recognise the local setup?


can you check the TEXMF variable?

>
> there should be texmf-local as well as texmf-fonts and texmf-project
>
> (i normally put fonts in texmf-fonts)

This is set in several places, and I can never tell which takes precedence.

But User Environment variable TEXMF is set to:
{%HOME%\Library\texmf,c:\context\texmf,c:\context\texmf-local,c:\context\texmf-context,c:\context\texmf-mswin}

Then we have C:\context\texmf\web2c\texmf.cnf with the following line:
TEXMF = 
{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFOS,!!$TEXMFEXTRA,!!$TEXMFMAIN}


Then we have C:\context\texmf-context\web2c\context.cnf with the 
following line:
TEXMF = 
{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFEXTRA,!!$TEXMFMAIN}


Then we have C:\context\texmf-local\web2c\texmf.cnf with the following line:
TEXMF = 
{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFOS,!!$TEXMFEXTRA,!!$TEXMFMAIN}


Note I am also trying to use TEXMFHOME, but this problem also exists and 
fixing one may fix both.


Christopher



-
   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] problem with texmf-local on Vista

2009-11-30 Thread Hans Hagen

Christopher G D Tipper wrote:

Hi,

I am a user of Context from the old days, and usually don't need much 
help installing the software. However, I am needing to use 
Contextminimals for the first time, as Miktex 2.8 has dropped Context 
support.


My problem is that I have a lot of my own setups and personal fonts and 
Contextminimals seems to have some problem dealing with local setups. I 
am using MkII by the way but these problems seem to exist in MkIV also.


I have a font, Univers, installed to texmf-local with texfont and 
Context claims it cannot find the font definitions.


running texexec I get the following:

!pdfTeX error: pdftex.exe (file 8r-raw-punr8a): Font 8r-raw-punr8a at 
432 not found

 ==> Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 10.311

ConTeXt Full finished at Sun Nov 29 21:58:36

Then from command prompt, I type:
C:\Users\Christopher>kpsewhich 8r-raw-punr8a.tfm
c:/context/texmf-local/fonts/tfm/adobe/univers/8r-raw-punr8a.tfm

I know this is not strictly relevant to MkII, but for comparison:
C:\Users\Christopher>luatools --expand-path TEXMFLOCAL
c:/context/texmf-local

Also
C:\Users\Christopher>texexec --version
TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

C:\Users\Christopher>context --version
MTXrun | main context file: 
c:/context/texmf-context/tex/context/base/context.te

x
MTXrun | current version: 2009.10.27 16:35

How do I get Context to recognise the local setup?


can you check the TEXMF variable?

there should be texmf-local as well as texmf-fonts and texmf-project

(i normally put fonts in texmf-fonts)

-
  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] problem with texmf-local on Vista

2009-11-29 Thread Christopher G D Tipper

Hi,

I am a user of Context from the old days, and usually don't need much 
help installing the software. However, I am needing to use 
Contextminimals for the first time, as Miktex 2.8 has dropped Context 
support.


My problem is that I have a lot of my own setups and personal fonts and 
Contextminimals seems to have some problem dealing with local setups. I 
am using MkII by the way but these problems seem to exist in MkIV also.


I have a font, Univers, installed to texmf-local with texfont and 
Context claims it cannot find the font definitions.


running texexec I get the following:

!pdfTeX error: pdftex.exe (file 8r-raw-punr8a): Font 8r-raw-punr8a at 
432 not found

 ==> Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 10.311

ConTeXt Full finished at Sun Nov 29 21:58:36

Then from command prompt, I type:
C:\Users\Christopher>kpsewhich 8r-raw-punr8a.tfm
c:/context/texmf-local/fonts/tfm/adobe/univers/8r-raw-punr8a.tfm

I know this is not strictly relevant to MkII, but for comparison:
C:\Users\Christopher>luatools --expand-path TEXMFLOCAL
c:/context/texmf-local

Also
C:\Users\Christopher>texexec --version
TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

C:\Users\Christopher>context --version
MTXrun | main context file: 
c:/context/texmf-context/tex/context/base/context.te

x
MTXrun | current version: 2009.10.27 16:35

How do I get Context to recognise the local setup?

Christopher


___
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] setupsystem command with an example

2009-11-16 Thread Curiouslearn
Thanks Taco. I am not sure, why it does not work for me. I am copying
and pasting the log file. Could please someone take a look and let me
know what the problem might be.

Thanks.
**
This is LuaTeX, Version beta-0.43.0-2009081911
 \write18 enabled.
(Test_setupsystem.tex

ConTeXt  ver: 2009.10.27 16:35 MKIV  fmt: 2009.10.28  int: english/english

system  : cont-new loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/user/cont-sys.rme
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-tmf.mkiv))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-siz.mkiv))
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.tex
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : Test_setupsystem.top loaded
(Test_setupsystem.top)
fonts   : preloading latin modern fonts
bodyfont    : 12pt rm is loaded
language    : language en is active
systems : begin file Test_setupsystem at line 3
fonts   : resetting map file list
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1]
systems : end file Test_setupsystem at line 12
system  : cont-err loaded
(/Applications/ConTeXtMinimals/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  -
/Applications/ConTeXtMinimals/tex/texmf-local/web2c/texmf.cnf;/Applications/ConTeXtMinimals/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   -
/Applications/ConTeXtMinimals/tex/texmf-cache
mkiv lua stats : input load time   - 0.030 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, 21 calls
mkiv lua stats : cleaned up reserved nodes - 24 nodes, 9 lists of 1408
mkiv lua stats : node memory usage - 20 glue_spec, 2 dir
mkiv lua stats : used backend  - pdf (backend for directly
generating pdf output)
mkiv lua stats : loaded patterns   - en:us:pat:exc:2
mkiv lua stats : startup time  - 0.561 seconds (including
runtime option file processing)
mkiv lua stats : callbacks - direct: 470, indirect:
3547, total: 4017
mkiv lua stats : loaded fonts  - 29 files:
lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf
lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf
lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf
lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf
eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm
msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm
lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm
mkiv lua stats : fonts load time   - 0.321 seconds
mkiv lua stats : result saved in file  - Test_setupsystem.pdf
mkiv lua stats : luatex banner - this is luatex, version
beta-0.43.0-2009081911
mkiv lua stats : control sequences - 29458 of 165536
mkiv lua stats : current memory usage  - 30 MB (ctx: 31 MB)
mkiv lua stats : runtime   - 1.172 seconds, 0
processed pages, 1 shipped pages, 0.853 pages/second
MTXrun | run 1: luatex
--fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
--lua="/Applications/ConTeXtMinimals/t

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