[NTG-context] First report on use

2009-09-16 Thread Alain Delmotte

Hi!

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


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

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

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


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


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

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

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


I am only using Mark IV, following the suggestion of Hans (for French,...)
So I didn't install Ruby.

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

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

Regards,

Alain

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

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

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

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

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

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

Re: [NTG-context] overprinting

2009-09-16 Thread Peter Rolf

Hi Hans, hi all,

I use overprinting only for the texts  (not global). Most times the 
texts are stored in a \[h|v]box first, before they are added to the rest 
(offsets, background, whatever). So thinks look like this (very simplified):


\setbox\Textbox\hbox{\startoverprint Some text.\stopoverprint}

Overprinting should be activated only inside of this box. Sadly mkiv 
adds this attribute to most of the graphics with text. The first 
graphics is always OK, but the following graphics are overprinted as a 
whole.


I have compared the pdf of pdftex and luatex and the main difference is, 
that luatex 'optimizes' the overprinted texts by *grouping* them. 
Instead of two or more independent areas (one /GSoverprint ... 
/GSknockout for every text), like in mkii,


% pdftex
%
/GSoverprint gs % text 1
BT
/Fm?? first overprinted text
...
/GSknockout gs

/GSoverprint gs % text 2
BT
/Fm?? second overprinted text
...
/GSknockout gs
%


I get

% luatex
%
/GSoverprint gs % text 1 and 2
BT
/Fm?? first overprinted text
...
/Fm?? second overprinted text
...
/GSknockout gs
%


This is right from the point of overprinting, but the texts are still 
part of different graphics (rendering is done at different times). I 
guess this somehow corrupts the grouping. The first graphic in such a 
group is always OK, all following graphics are overprinted as a whole. I 
have tested this with more than two graphics (resulting in two multiple 
groups) and I get the same effect.


No minimal yet. Any thoughts?

Best wishes,  Peter



Hans Hagen schrieb:

Peter Rolf wrote:

Hans Hagen schrieb:

Peter Rolf wrote:

first tests show that there are still scope problems in mkiv (e.g. 
a complete button is set to overprint instead of the text only).

no clue yet, but i'm working on it...


sure, as overprint is not aware of any content so you need to use 
knockout then



mh, isn't \stopoverprint enabling knockout automatically?
or do i need a \ExtGState entry with knockout at the document level?
just started reading in the pdf reference manual...


it depends ... we have none: no entry at all, knockout: some nil 
entry, overprint: special entry


the thing is that when we have globally overprint on, we need s local 
knockout :


\startoverprint
  ... \bgroup ...
  \startknockout
...
  \stopknockout
  ... \egroup ...
\stopoverprint

is nicer than

\startoverprint
  ... \bgroup ...
  \stopoverprint
...
  \startoverprint
  ... \egroup ...
\stopoverprint

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___ 

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


maillist : ntg-context@ntg.nl / 
http://www.ntg.nl/mailman/listinfo/ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 






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

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


[NTG-context] overprinting

2009-09-13 Thread Peter Rolf

Hi,

overprinting is broken here. I used \dostartoverprint in the past, but 
this no longer works. What is the recommended way for overprinted text 
nowadays?


*EXAMPLE ATTACHED*

MTXrun | current version: 2009.09.12 14:44
This is LuaTeX, Version beta-0.43.0-2009090309
pdfTeX 3.1415926-1.40.10-2.2 (Web2C 2009)


Best wishes,  Peter
\ifnum\contextmarkmode=4
\def\dostartoverprint% yes... one of the category 'asking for trouble' :D
  {\ctxlua{overprints.enabled=true}}
\def\dostopoverprint%
  {\ctxlua{overprints.enabled=false}}
\fi

\starttext

\starttextoverprint Overprint \stoptextoverprint % fails in both marks
\dostartoverprint Overprint \dostopoverprint % fails in mkiv only

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

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


[NTG-context] index and LuaTeX

2009-09-11 Thread Bernd Militzer




Hello,

using
This is luatex, version beta-0.43.0-2009081911
ConTeXt  ver: 2009.09.09 14:31 MKIV  fmt: 2009.9.10  int:
english/english

The following code does not work like accepted,
the index is OK, but  for index "last" and "Militzer"
no interaction are possible !

% ---> snip
\setupcolors[state=start]
\setupinteraction[state=start]
%
\definestartstop[Vorgang] [before={\bgroup \startlines},
after={\stoplines \egroup \blank}] % Mark II and Mark IV
%
%\definestartstop[Vorgang] [before={\bgroup \startlines},
after={\stoplines \egroup \vspacing[medium,strong]
\vspacing[small,weak] }] % only Mark IV
%
%
\starttext
%
\startVorgang
   just a text \dots 
   \index[one]{one}\index[two]{two}\index[three]{three}
\stopVorgang
%
\startVorgang
   just a text \dots 
   \index[last]{last}\index[militzer]{Militzer+Bernd}
\stopVorgang
%
\page
\placeindex[alternative=A]
%
\stoptext
% <--- snip

What is wrong?

with 
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (format=cont-en
2009.9.10)  11 SEP 2009 12:18
ConTeXt  ver: 2009.09.09 14:31 MKII  fmt: 2009.9.10  int:
english/english
the example works.


Bernd






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

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


Re: [NTG-context] t-bit works with mkii but fails with mkiv

2009-09-11 Thread Taco Hoekwater


Hi,

Joshua Lee wrote:

Hi All,
I write a simple example to check the t-bib, it works fine with
pdftex, but fails with luatex. Attached files are the source and
output files. Thanks.


Please try the latest beta, Hans has made fixes in it so that it
should now work ok. Also, I want to say well done! for the nice
small testfile, that was a big help.

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

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


Re: [NTG-context] index and interaction

2009-09-08 Thread Willi Egger

Hi,

Bernds example does also not allow jumping back to page one in the  
ConTeXt version of 2009-08-30.


Willi
On Sep 9, 2009, at 8:21 AM, Bernd Militzer wrote:


Hi all!

using

pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2009.9.7  int: english/ 
english

or
This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.08.19 17:10 MKIV  fmt: 2009.9.7  int: english/ 
english


the following code does not work like accepted:

% ---> snip
\setupcolors[state=start]
\setupinteraction[state=start]
%
\starttext
\input tufte
\index[one]{one}\index[two]{two}\index[last]{last}
%
\page
\placeindex[alternative=A]
\stoptext
% <--- snip

The index is OK, but no interaction are possible !

zur Seite(null)

What is wrong?


Bernd



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


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


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

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


[NTG-context] index and interaction

2009-09-08 Thread Bernd Militzer

Hi all!

using

pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2009.9.7  int: english/english
or
This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.08.19 17:10 MKIV  fmt: 2009.9.7  int: english/english

the following code does not work like accepted:

% ---> snip
\setupcolors[state=start]
\setupinteraction[state=start]
%
\starttext
\input tufte
\index[one]{one}\index[two]{two}\index[last]{last}
%
\page
\placeindex[alternative=A]
\stoptext
% <--- snip

The index is OK, but no interaction are possible !

zur Seite(null)

What is wrong?


Bernd



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

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


Re: [NTG-context] status of minimals

2009-09-08 Thread Mohamed Bana
i think this is a bug.

system  : module HorizontalStripes loaded
(/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex
simpleslides: loading HorizontalStripes style


simpeslides is fetched when the minimals is downloaded

first-setup.sh;

...
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all --context=beta --texroot=$PWD/tex
--extras="*t-simplesides*,t-tikz"
$@

- Mohamed


2009/9/8 Aditya Mahajan 

> On Tue, 8 Sep 2009, Mohamed Bana wrote:
>
>  i'm also getting an a white background with and no bullet points with;
>>
>
> Is the file simpleslides-s-HorizontalStripes found? Check the log file.
>
>  \usemodule[simpleslides]
>> [style=HorizontalStripes,
>> color=blue]
>> ...
>> \startitemize
>> \item Demo.
>> \stopitemize
>>
>
> Normally, backgrounds only work if you specify a \SlideTitle.
>
> Aditya
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>


test.pdf
Description: Adobe PDF document


test.tex
Description: TeX document
(test.tex

ConTeXt  ver: 2009.08.30 12:25 MKIV  fmt: 2009.9.8  int: english/english

system  : cont-new loaded
(/home/mbana/context.beta/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/mbana/context.beta/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/home/mbana/context.beta/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/home/mbana/context.beta/tex/texmf-context/tex/context/user/cont-sys.rme (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-tmf.tex (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-siz.tex (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/home/mbana/context.beta/tex/texmf-context/tex/context/base/type-otf.tex (/home/mbana/context.beta/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",
%	}
%	\stopluacode
%	% process info
%	\setupsystem[\c!n=1,\c!m=1]
%	\setupsystem[\c!type=unix]
%	% modes
%	% options (not that important)
%	\startsetups *runtime:options
%	\setupoutput[pdftex]
%	\stopsetups
%	% styles and modules
%	\startsetups *runtime:modules
%	\stopsetups
%	% done
%	\protect \endinput
%
%	end of optionfile
%
(test.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
system  : module simpleslides loaded
(/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/t-simpleslides.tex
loading : module simpleslides
system  : module default loaded
(/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-default.tex
simpleslides: loading default style setup
color   : system all is global activated
)
system  : module HorizontalStripes loaded
(/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-s-HorizontalStripes.tex
simpleslides: loading HorizontalStripes style
system  : command NormalHeight is already defined
system  : command NormalWidth is already defined
system  : command PictureFrameHeight is already defined
system  : command PictureFrameWidth is already defined
)
system  : module default loaded
(/home/mbana/context.beta/tex/texmf-local/tex/context/third/simple-slides/simpleslides-f-default.tex
simpleslides: loading default font setup
fonts   : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: [fontclass][size][settings])
fonts   : beware: fontclass ignored (if needed use: [fontclass][size][settings])
))
systems : begin file test at line 16
fonts   : resetting map file list
{/home/mbana/context.beta/tex/texmf-context/fonts/map/pdftex/conte

Re: [NTG-context] [OT] Edit PDF manually

2009-09-08 Thread Hartmut Henkel
On Tue, 8 Sep 2009, Taco Hoekwater wrote:
> Oliver Buerschaper wrote:
> > > I'm sure that hartmut has done a presentation sometimes ago f,
> > > could be
> > > http://www.matexhu.org/eurotex2006/lectures/pdftex/hartmut-talk.pdf
> >
> > Wonderful! This is exactly the sort of thing I was looking for ...
> > is there more material similar in spirit? Hartmut? ;-)
>
> 'How does pdf really work' would make a nice Maps article as well
> (hint hint).

some hint? :-) such things need a quiet week, instead there are reviews
over reviews...

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

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


[NTG-context] CTAN update: Context

2009-09-08 Thread luigi scarso
http://www.mail-archive.com/ctan-...@dante.de/msg02462.html

Name of contribution: Context
Version number: 2009.08.19
Author's name: Taco Hoekwater
Location on CTAN: /macros/context/current
Summary description: The new 'current' context release
License type: gpl


Announcement text:
--
This is the new 'current' version of the ConTeXt zip files
from Pragma ADE. This version needs at least pdftex 1.40,
xetex 0.999, or luatex 0.43.



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

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


Re: [NTG-context] [OT] Edit PDF manually

2009-09-08 Thread Martin Schröder
2009/9/8 Oliver Buerschaper :
>> I'm sure that hartmut has done a presentation sometimes ago f, could be
>> http://www.matexhu.org/eurotex2006/lectures/pdftex/hartmut-talk.pdf
>
> Wonderful! This is exactly the sort of thing I was looking for ... is there
> more material similar in spirit? Hartmut? ;-)

Speaking about tools: Acrobat Pro (and some plugins to it) can do a
lot. With podofobrowser those in the know can do a lot. And I'm
shamelessly plugging my talk at EuroTeX 2009:
http://www.oneiros.de/tex/papers/eurotex2009-pdflibs.pdf

Did someone already mention that PDFs are not meant to be editable?
Use the source, Oliver. :-)

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

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


Re: [NTG-context] [OT] Edit PDF manually

2009-09-08 Thread Taco Hoekwater

Oliver Buerschaper wrote:

I'm sure that hartmut has done a presentation sometimes ago f, could be
http://www.matexhu.org/eurotex2006/lectures/pdftex/hartmut-talk.pdf


Wonderful! This is exactly the sort of thing I was looking for ... is 
there more material similar in spirit? Hartmut? ;-)


'How does pdf really work' would make a nice Maps article as well (hint 
hint).


Best wishes,
Taco


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

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


Re: [NTG-context] [OT] Edit PDF manually

2009-09-08 Thread Oliver Buerschaper
I'm sure that hartmut has done a presentation sometimes ago f, could  
be

http://www.matexhu.org/eurotex2006/lectures/pdftex/hartmut-talk.pdf


Wonderful! This is exactly the sort of thing I was looking for ... is  
there more material similar in spirit? Hartmut? ;-)


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

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


Re: [NTG-context] [OT] Edit PDF manually

2009-09-07 Thread Piotr Kopszak
Don't forget about pdftk vim plugin, otherwise you'll have to count
byte offsets on your fingers, or even better use qdf form with qpdf.
Maybe I'll publish a short tutorial on writing pdf by hand that I
started to write couple of months ago. AFAIK there isn't any (Please,
tell me I'm wrong).

Piotr

2009/9/7 luigi scarso :
> I'm sure that hartmut has done a presentation sometimes ago f, could be
> http://www.matexhu.org/eurotex2006/lectures/pdftex/hartmut-talk.pdf
>
>>
>>> pypdf is a python module at lowlevel.
>>> http://pybrary.net/pyPdf/
>>
>> This looks very interesting!
>>
>>
>>> As exercise, you can try to minimic pdffonts in python with pypdf
>>> (pdfs with ttf,otf,type1 etc )
>>
>> I'm afraid, I don't understand :-(
>>
> Under linux, xpdf comes with pdffonts, a cmd line tools that extracts fonts
> information from a pdf.
> You can try to mimic it with pyPdf, so your knowledge  can augment .
>
>
> --
> luigi
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>
>



-- 
http://okle.pl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] [OT] Edit PDF manually

2009-09-07 Thread luigi scarso
I'm sure that hartmut has done a presentation sometimes ago f, could be
http://www.matexhu.org/eurotex2006/lectures/pdftex/hartmut-talk.pdf


>
>
>  pypdf is a python module at lowlevel.
>> http://pybrary.net/pyPdf/
>>
>
> This looks very interesting!
>
>
>  As exercise, you can try to minimic pdffonts in python with pypdf
>> (pdfs with ttf,otf,type1 etc )
>>
>
> I'm afraid, I don't understand :-(
>
> Under linux, xpdf comes with pdffonts, a cmd line tools that extracts fonts
information from a pdf.
You can try to mimic it with pyPdf, so your knowledge  can augment .



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

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


Re: [NTG-context] defineenumeration and LuaTeX

2009-09-07 Thread luigi scarso
On Mon, Sep 7, 2009 at 4:44 PM, Bernd Militzer wrote:
> Hi all,
>
> \in[ref] does not work with
> LuaTeX, Version beta-0.43.0-2009081911
> ConTeXt  ver: 2009.08.30 12:25 MKIV  fmt: 2009.9.7  int: english/english
>
> % ---> snip
> %
> \defineenumeration[frage][location=inleft,text=,stopper=.,headstyle=bold]
> %
> %
> \starttext
> %
> Anzahl der Aufgaben: \in[last]
>
> \blank
> \startfrage[1]
> \dorecurse{3}{text text text \dots}
> \stopfrage
> %
> \startfrage[2]
> \dorecurse{3}{text text text \dots}
> \stopfrage
> %
> \startfrage[last]
> \dorecurse{3}{text text text \dots}
> \stopfrage
> %
> \stoptext
> %
> % < snip
>
> with:
> pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
> ConTeXt  ver: 2009.08.30 12:25 MKII  fmt: 2009.9.7  int: english/english
>
> \in[ref] works like accepted.

I see
"Anzahl der Aufgaben: 3"

(see att. it's small enough)

ConTeXt  ver: 2009.08.13 13:13 MKIV  fmt: 2009.8.19  int: english/english
This is LuaTeX, Version beta-0.43.0-2009081911
-- 
luigi


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


[NTG-context] defineenumeration and LuaTeX

2009-09-07 Thread Bernd Militzer

Hi all,

\in[ref] does not work with
LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.08.30 12:25 MKIV  fmt: 2009.9.7  int: english/english

% ---> snip
%
\defineenumeration[frage][location=inleft,text=,stopper=.,headstyle=bold]
%
%
\starttext
%
Anzahl der Aufgaben: \in[last]

\blank
\startfrage[1]
\dorecurse{3}{text text text \dots}
\stopfrage
%
\startfrage[2]
\dorecurse{3}{text text text \dots}
\stopfrage
%
\startfrage[last]
\dorecurse{3}{text text text \dots}
\stopfrage
%
\stoptext
%
% < snip

with:
pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
ConTeXt  ver: 2009.08.30 12:25 MKII  fmt: 2009.9.7  int: english/english

\in[ref] works like accepted.


Thanks for help


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

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


Re: [NTG-context] Problems with inner products

2009-09-05 Thread Mojca Miklavec
On Sat, Sep 5, 2009 at 02:10, Guilherme P. de Freitas wrote:
> Hi everybody,
>
> I am trying to define a command for inner products. I would like to
> type $\innerprod{x, y}$ and obtain in the output . Now, I
> defined
>
> \define[2]\innerprod
>  {\langle #1, #2 \rangle}

If you define it that way then you have to use
\innerprod{x}{y}+z

If you want to use it the way you described below then use just
\define[1]\innerprod
{\langle #1 \rangle}
or something like
\def\innerprod#1{\left\langle#1\right\rangle}

> but then, when I used the command, I got some weird behavior: the next
> character after "y" would "jump in" the inner product. For example,
> when writing
>
> $\innerprod{x, y} + z$
>
> I was hoping to obtain as an output
>
>  + z
>
> But I got as an output
>
>  z
>
> I am using the ConTeXt that came with MacTeX 2008 (I downloaded it a
> few days ago).

This doesn't prevent the fact that ConTeXt that came with it is old ;) :) :)

But keep using it as long as it works for you. If you will ever need
some kind of support (fixing a bug) then you'll probably need to
switch to a newer version of ConTeXt.

MacTeX 2009 is out already (for testing), but that doesn't make much
difference (last time when I checked ConTeXt has not been updated in
TeX Live yet ... and I wonder what exactly will be done; the version
of LuaTeX that comes with TeX Live is not compatible with current
version of ConTeXt; and pdftex version is considered history ... That
means that no matter what version of ConTeXt will be used for TL, it
will be either too old and unsupported or disfunctional.)

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


Re: [NTG-context] Intro to Luatex

2009-09-04 Thread John Culleton
On Saturday 29 August 2009 18:01:41 Idris Samawi Hamid ادريس 
سماوي حامد wrote:
> On Sat, 29 Aug 2009 15:35:33 -0600, John Culleton 

>
> wrote:
> > Luatex has a lot of features that Context doesn't. Where is 
the best
> > place to start learning about it?
>
> Category mistake: luatex is an engine, like pdftex and xetex :-)
>
> luatex is one of three official engines that context can use:
>
> MkII: pdftex,xetex
> MkIV: luatex
>
> MkII is frozen afaik: MkIV is the main development branch. 
Eventually MkIV
> will _be_ Context for all practical purposes.
>
> The most obvious thing MkIV gives you at the moment is 
advanced control of
> OpenType fonts. For developers, lua provides advanced 
scripting and
> extensibility. see also
>
> http://wiki.contextgarden.net/Mark_IV
> http://www.pragma-ade.com/general/manuals/mk.pdf
>
> Best wishes
> Idris

Simple question: using xetex style \font statements how do I get 
curly quotes from 
texexec --xtx book.tex?

Is the answer different for 
texexec --lua book.tex?


-- 
John Culleton
"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Intro to Luatex

2009-09-02 Thread luigi scarso
On Wed, Sep 2, 2009 at 3:50 PM, John Culleton wrote:
> On Monday 31 August 2009 13:37:04 luigi scarso wrote:
>> On Sat, Aug 29, 2009 at 11:35 PM, John
> Culleton wrote:
>> > Luatex has a lot of features that Context doesn't. Where is
> the best
>> > place to start learning about it?
>>
>> For example ?
>>
>> --
>> luigi
>
> It appears to me that there are significant changes to the font
> handling in Luatex.  There may be other changes.
Yes, unicode for example.
I believe that you are making a comparison between pdftex+context mkii
and luatex
It's wrong .
The right comparison is between pdftex+context mkii,
xetex+mkii,
luatex+mkiv



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

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


Re: [NTG-context] Intro to Luatex

2009-08-29 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Sat, 29 Aug 2009 15:35:33 -0600, John Culleton   
wrote:



Luatex has a lot of features that Context doesn't. Where is the best
place to start learning about it?


Category mistake: luatex is an engine, like pdftex and xetex :-)

luatex is one of three official engines that context can use:

MkII: pdftex,xetex
MkIV: luatex

MkII is frozen afaik: MkIV is the main development branch. Eventually MkIV  
will _be_ Context for all practical purposes.


The most obvious thing MkIV gives you at the moment is advanced control of  
OpenType fonts. For developers, lua provides advanced scripting and  
extensibility. see also


http://wiki.contextgarden.net/Mark_IV
http://www.pragma-ade.com/general/manuals/mk.pdf

Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] LuaTex choking on \definesynonyms?

2009-08-29 Thread Roland
Hi, sorry to get back to this so late but I still can't get it to work
with the latest updated ConTeXt Minimals. Am I using a wrong command?
Is the command already integrated in the latest Minimals? I can't seem
to find it in the setup-en.pdf file dated August 28th...

My minimal example:
 1  %\definesynonyms[abbreviation][abbreviations][\infull]
 2
 3  \starttext
 4  \abbreviation{VVV}{Bureau of Tourist Information}
 5  The Dutch \VVV\ can provide you with the tourist
 6  information on Hasselt.
 7  \completelistofabbreviations
 8  \stoptext

Output:
 1  This is LuaTeX, Version beta-0.43.0-2009081911
 2   \write18 enabled.
 3  (/Users/rs/Desktop/Dropbox/B/BerlinPaper/BookConTeXt/minimal.tex
 4
 5  ConTeXt  ver: 2009.08.28 14:44 MKIV  fmt: 2009.8.29  int:
english/english
 6
 7  system  : cont-new loaded
 8  
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
 9  systems : beware: some patches loaded from cont-new.tex
10  
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
11  system  : cont-fil loaded
12  
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
13  loading : ConTeXt File Synonyms
14  )
15  system  : cont-sys.rme loaded
16  
(/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)))
17  system  : minimal.top loaded
18  (minimal.top)
19  fonts   : preloading latin modern fonts
20  bodyfont: 12pt rm is loaded
21  language: language en is active
22  systems : begin file minimal at line 3
23  fonts   : resetting map file list
24  
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
25  fonts   : using map file: original-base
26  
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
27  fonts   : using map file: original-ams-base
28  
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
29  fonts   : using map file: original-ams-euler
30  
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
31  fonts   : using map file: original-public-lm
32  
{/Applications/ConTeXtMinimals/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
33  fonts   : using map file: lm-math
34  {/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-math.map}
35  fonts   : using map file: lm-rm
36  
{/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1]
37  structure   : chapter @ level 2 : 0.1 -> \headtext {abbreviations}
38  ! Missing } inserted.
39  
40  }
41  
42 \endgroup
43  \@@dodescriptionhandler ...escriptionheadtext {#1}
44
\iftrialtypesetting \else ...
45  \@@dostartdescription ...er \c!sample \endstrut }}
46
}\assignwidth \description...
47  \@@dostartdescriptionindeed ...dostartdescription
48\csname
@@description\curr...
49  \dodowithpar ...\bgroup \@@makedescription []{VVV}
50#1\@@stopdescription
51  ...
52  l.7 \completelistofabbreviations
53
54  ?
55  ! Emergency stop.
56  
57  }
58  
59 \endgroup
60  \@@dodescriptionhandler ...escriptionheadtext {#1}
61
\iftrialtypesetting \else ...
62  \@@dostartdescription ...er \c!sample \endstrut }}
63
}\assignwidth \description...
64  \@@dostartdescriptionindeed ...dostartdescription
65\csname
@@description\curr...
66  \dodowithpar ...\bgroup \@@makedescription []{VVV}
67#1\@@stopdescription
68  ...
69  l.7 \completelistofabbreviations
70
71  !  ==> Fatal error occurred, no output PDF file
produced!MTXrun | run 1: luatex
--fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
--lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f0

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Peter Rolf

Mojca Miklavec schrieb:

On Fri, Aug 28, 2009 at 16:22, Hans Hagen wrote:
  

pdftex and luatex process your file ok



OK, so it's again "my computer only" problem :) :) :)

Well, never mind then. If it works for you then it probably works on
at least a few more machines, or will start working with the next
major release at least. Thanks a lot for looking into it.

(I used the "thought-it-was-working" installation this time, not with
the old and broken one.)

  

color viewing is somewhat different, maybe because of some resource
initialization



I remember similar problem a while ago due to some transparency being
used on the same page (but at that time you said it was a bug in adobe
reader).

  

Hi Mojca,

wrong colors (or what is the problem here)?

Peter


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

  


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

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


Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Mojca Miklavec
On Fri, Aug 28, 2009 at 16:22, Hans Hagen wrote:
>
> pdftex and luatex process your file ok

OK, so it's again "my computer only" problem :) :) :)

Well, never mind then. If it works for you then it probably works on
at least a few more machines, or will start working with the next
major release at least. Thanks a lot for looking into it.

(I used the "thought-it-was-working" installation this time, not with
the old and broken one.)

> color viewing is somewhat different, maybe because of some resource
> initialization

I remember similar problem a while ago due to some transparency being
used on the same page (but at that time you said it was a bug in adobe
reader).

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


Re: [NTG-context] standard focus with interaction is not working

2009-08-24 Thread Khaled Hosny
On Mon, Aug 24, 2009 at 10:29:57PM +0200, Hans Hagen wrote:
> Khaled Hosny wrote:
>> \setupinteraction[focus=standard] has no effect, I get the usual "fit
>> page" mode instead. Works fine with MkII.
>>
>> Example:
>> \setupinteraction[state=start,focus=standard]
>> \starttext
>> \goto{Knuth}[knuth]
>> \page
>> \input knuth \textreference[knuth]{}
>> \stoptext
>
> in mkiv hypherlinks (annotations in general) are implemented rather  
> different thamn in mkii
>
> in mkii the mechanism evolved from dvi based hyperlinks (dviwindo) and  
> had a couple of features not supported by pdftex by default
>
> in mkiv all is handled by lua code (no pdf annotation primitives are  
> used); thsi means that we can do some more tricks than before; i  
> implemented support for views for lists but not for all other components  
> yet; after all, some of the view (focus) features make no sense for  
> references like the one in your example (future mkiv releases will  
> provide control over references areas)
>
> i added support for that key but keep in mind that this is rather viewer  
> dependent (an di have no time now to figure out viewer details)

Thanks.

>> A side note, I'm just wondering why "standard" isn't the default mode,
>> "fit page" is very annoying and distracts me while reading and I wonder
>> why anyone would need that in regular documents?
>
> because it always was that defaukt and because it's the way i like it (i  
> always have/had high res screens, 1600x1200 or 1920x1200, which is nice  
> for viewing whole pages

Not that common setup :) but as long as we have a way to use normal
focus for our poor setups it should be fine.


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


Re: [NTG-context] standard focus with interaction is not working

2009-08-24 Thread Hans Hagen

Khaled Hosny wrote:

\setupinteraction[focus=standard] has no effect, I get the usual "fit
page" mode instead. Works fine with MkII.

Example:
\setupinteraction[state=start,focus=standard]
\starttext
\goto{Knuth}[knuth]
\page
\input knuth \textreference[knuth]{}
\stoptext


in mkiv hypherlinks (annotations in general) are implemented rather 
different thamn in mkii


in mkii the mechanism evolved from dvi based hyperlinks (dviwindo) and 
had a couple of features not supported by pdftex by default


in mkiv all is handled by lua code (no pdf annotation primitives are 
used); thsi means that we can do some more tricks than before; i 
implemented support for views for lists but not for all other components 
yet; after all, some of the view (focus) features make no sense for 
references like the one in your example (future mkiv releases will 
provide control over references areas)


i added support for that key but keep in mind that this is rather viewer 
dependent (an di have no time now to figure out viewer details)



A side note, I'm just wondering why "standard" isn't the default mode,
"fit page" is very annoying and distracts me while reading and I wonder
why anyone would need that in regular documents?


because it always was that defaukt and because it's the way i like it (i 
always have/had high res screens, 1600x1200 or 1920x1200, which is nice 
for viewing whole pages


Hans

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

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread Wolfgang Schuster


Am 18.08.2009 um 22:09 schrieb John Culleton:


Also I find font handling easier in pdftex. Just a single
statement is needed.


Can you a bit more specific what do you mean with this sentence.


Well if I want bitstream charter roman at 11.2pts I can say
\font\rm bchr8r at 11.2pt
and I am done.

Or I can define something called \fontsize and make it the referent
for all my font statements:
\newdimen\fontsize
\fontsize=11.2pt
\baselineskip= 1.1\fontsize
\font\rm bchr8r at \fontsize
\font\bo bchbo8t at 1.1\fontsize
...and so on.  If I need the book a little longer I just change
\fontsize. I have even done tricks like this:
\fontfam=bch
\font\rm \fontfam r8r at \fontsize

Introducing a new font into TeX is never simple but I find it easier
if I  don't have to construct (and debug) an elaborate chain of
font synonyms.


Use XeTeX or LuaTeX and you have no problem to use the font you like.


It may be the luatex has made life simpler (or at least more
exciting!)  I will examine that prospect next. But right now I am
typesetting novels, memoirs and the like.  The fewer variables I
have to contend with the better.


In MkIV you can write the above as:

\usemodule[simplefonts][size=11.2pt]

\setmainfont[CharterBT]

and when you want to make a global change of the font size you can do  
this with


\setupsimplefonts[size=xxpt]

Wolfgang

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

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread John Culleton
On Tuesday 18 August 2009 03:30:36 pm Wolfgang Schuster wrote:
> Am 18.08.2009 um 21:29 schrieb John Culleton:
> > Also I find font handling easier in pdftex. Just a single
> > statement is needed.
>
> Can you a bit more specific what do you mean with this sentence.
>
> Wolfgang
>

Well if I want bitstream charter roman at 11.2pts I can say
\font\rm bchr8r at 11.2pt
and I am done. 

Or I can define something called \fontsize and make it the referent 
for all my font statements:
\newdimen\fontsize
\fontsize=11.2pt
\baselineskip= 1.1\fontsize
\font\rm bchr8r at \fontsize
\font\bo bchbo8t at 1.1\fontsize
...and so on.  If I need the book a little longer I just change 
\fontsize. I have even done tricks like this:
\fontfam=bch
\font\rm \fontfam r8r at \fontsize

Introducing a new font into TeX is never simple but I find it easier 
if I  don't have to construct (and debug) an elaborate chain of 
font synonyms. 

It may be the luatex has made life simpler (or at least more 
exciting!)  I will examine that prospect next. But right now I am 
typesetting novels, memoirs and the like.  The fewer variables I 
have to contend with the better. 

YMMV of course. 

-- 
John Culleton
Create Book Covers with Scribus/e-book $5.95
http://www.booklocker.com/books/4055.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread Wolfgang Schuster


Am 18.08.2009 um 21:29 schrieb John Culleton:

Also I find font handling easier in pdftex. Just a single statement  
is needed.


Can you a bit more specific what do you mean with this sentence.

Wolfgang

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

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread John Culleton
On Tuesday 18 August 2009 03:02:20 pm Mojca Miklavec wrote:
> On Tue, Aug 18, 2009 at 20:04, John Culleton wrote:
> > On Tuesday 18 August 2009 01:48:09 pm Thomas A. Schmitz wrote:
> >> You are using ConTeXt minimals. You are using texexec to
> >> generate the ConTeXt formats (cont-en.fmt etc.). Why would you
> >> expect a format file for pure pdftex to be produced?
> >
> > OK, so I can't use Context-minimals and still use pdftex.  I
> > discovered years ago that many plain pdftex files would work
> > with texexec because Context is really an elaborate set of
> > macros depending on pdftex.  I'll try texexec on my pdftex
> > oriented file and see if it works.  I do most of my work in
> > plain pdftex.
>
> pdftex should work just fine, but the format is not generated by
> default.
>
> You can use
> texexec --make plain
> but then you need to convince Hans to rename the format from
> plain.fmt to pdftex.fmt (or you need to rename it yourself), but
> unless you use some obscure packages (or fonts) then pdftex
> should work just fine. Maybe we would need to add some font map
> entries, but add you requests if you need them.
>
> Mojca

OK that works so far.  Thanks!

The reason I don't just use texexec for everything is that Iike to 
use eplain.tex and there is an obscure name conflict somewhere 
between eplain.tex and context.  Also I find font handling easier 
in pdftex. Just a single statement is needed.  
-- 
John Culleton
Create Book Covers with Scribus/e-book $5.95
http://www.booklocker.com/books/4055.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread Mojca Miklavec
On Tue, Aug 18, 2009 at 20:11, Thomas A. Schmitz wrote:
>
> 3. It should be easy to produce pdftex.fmt in the minimals; it just lacks a
> tool such as fmtutil. But you could try and copy over etex.ini for your
> texlive-installation and then run pdftex on it.

Oh ... I forgot about etex. Whenever I use plan I use it for extremely
simple things. But adding etex should be no big deal. I can do it, it
would only be nice to convince texexec (or context, I don't care) to
generate plain pdftex format with the proper name.

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread Mojca Miklavec
On Tue, Aug 18, 2009 at 20:04, John Culleton wrote:
> On Tuesday 18 August 2009 01:48:09 pm Thomas A. Schmitz wrote:
>
>> You are using ConTeXt minimals. You are using texexec to generate
>> the ConTeXt formats (cont-en.fmt etc.). Why would you expect a
>> format file for pure pdftex to be produced?
>
> OK, so I can't use Context-minimals and still use pdftex.  I
> discovered years ago that many plain pdftex files would work with
> texexec because Context is really an elaborate set of macros
> depending on pdftex.  I'll try texexec on my pdftex oriented file
> and see if it works.  I do most of my work in plain pdftex.

pdftex should work just fine, but the format is not generated by default.

You can use
texexec --make plain
but then you need to convince Hans to rename the format from plain.fmt
to pdftex.fmt (or you need to rename it yourself), but unless you use
some obscure packages (or fonts) then pdftex should work just fine.
Maybe we would need to add some font map entries, but add you requests
if you need them.

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread Thomas A. Schmitz


On Aug 18, 2009, at 8:04 PM, John Culleton wrote:


OK, so I can't use Context-minimals and still use pdftex.  I
discovered years ago that many plain pdftex files would work with
texexec because Context is really an elaborate set of macros
depending on pdftex.  I'll try texexec on my pdftex oriented file
and see if it works.  I do most of my work in plain pdftex.


I don't know enough about plain (pdf)TeX to be of much help, but just  
a few thoughts:


1. luatex does in fact produce a format file plain.fmt, and since  
luatex should be pretty compatible, this may be a start.


2. There is absolutely no problem in having TeXLive and the ConTeXT  
minimals installed side-by-side; I have it on all my computers, both  
OS X and linux. I have two files with setup commands which I source  
for using either system, and then I can have two terminal tabs/windows  
open and use  one or the other.


3. It should be easy to produce pdftex.fmt in the minimals; it just  
lacks a tool such as fmtutil. But you could try and copy over etex.ini  
for your texlive-installation and then run pdftex on it.


HTH

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

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread luigi scarso
>
> You are using ConTeXt minimals. You are using texexec to generate the
> ConTeXt formats (cont-en.fmt etc.). Why would you expect a format file for
> pure pdftex to be produced?
puff ... true .
I was confused with plain.fmt  

I'm getting older, nothing to say.

John, pdftex.fmt is a matter of something like
$> pdftex -ini  \\dump

You need a pdftex.tex , and there is not a pdftex.tex in minimals .

BTW why do you need pdftex if you have texexec ?
-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread John Culleton
On Tuesday 18 August 2009 01:48:09 pm Thomas A. Schmitz wrote:
> On Aug 18, 2009, at 6:15 PM, John Culleton wrote:
> > Tried to install context minimals including the steps
> > mktexlsr
> > texexec --make --all
> > No errors at this point.  But when I tried to run pdftex
> > I get the error message
> > I can't find the format file `pdftex.fmt!'
> >
> > That file is not anywhere in my personal directory. It is
> > however in my bigger texlive 2008 installation.
> > The set command shows:
> > TEXMFCACHE=/home/safer/context/tex/texmf-cache
> > TEXMFOS=/home/safer/context/tex/texmf-linux
> > TEXROOT=/home/safer/context/tex
> > so that part is OK.
> >
> > Any hints?
>
> You are using ConTeXt minimals. You are using texexec to generate
> the ConTeXt formats (cont-en.fmt etc.). Why would you expect a
> format file for pure pdftex to be produced?
>
> Thomas
> _
>__ If your question is of interest to others as
> well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context webpage  :
> http://www.pragma-ade.nl / http://tex.aanhet.net archive  :
> https://foundry.supelec.fr/projects/contextrev/ wiki :
> http://contextgarden.net
> _____
>__

OK, so I can't use Context-minimals and still use pdftex.  I 
discovered years ago that many plain pdftex files would work with 
texexec because Context is really an elaborate set of macros 
depending on pdftex.  I'll try texexec on my pdftex oriented file 
and see if it works.  I do most of my work in plain pdftex.  

-- 
John Culleton
Create Book Covers with Scribus/e-book $5.95
http://www.booklocker.com/books/4055.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread Thomas A. Schmitz


On Aug 18, 2009, at 6:15 PM, John Culleton wrote:


Tried to install context minimals including the steps
mktexlsr
texexec --make --all
No errors at this point.  But when I tried to run pdftex
I get the error message
I can't find the format file `pdftex.fmt!'

That file is not anywhere in my personal directory. It is however in
my bigger texlive 2008 installation.
The set command shows:
TEXMFCACHE=/home/safer/context/tex/texmf-cache
TEXMFOS=/home/safer/context/tex/texmf-linux
TEXROOT=/home/safer/context/tex
so that part is OK.

Any hints?


You are using ConTeXt minimals. You are using texexec to generate the  
ConTeXt formats (cont-en.fmt etc.). Why would you expect a format file  
for pure pdftex to be produced?


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

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread John Culleton
On Tuesday 18 August 2009 12:55:02 pm luigi scarso wrote:
> On Tue, Aug 18, 2009 at 6:15 PM, John 
Culleton wrote:
> > Tried to install context minimals including the steps
> > mktexlsr
> > texexec --make --all
> > No errors at this point.  But when I tried to run pdftex
> > I get the error message
> > I can't find the format file `pdftex.fmt!'
>
> Did you source setuptex ?
>
> Under linux I do
> . setuptext
> in tex dir

I set up the folloiwng in my .bashrc:
 source /home/safer/context/tex/setuptex

---which gave me the "set" values quoted before:
TEXMFCACHE=/home/safer/context/tex/texmf-cache
TEXMFOS=/home/safer/context/tex/texmf-linux
TEXROOT=/home/safer/context/tex


 Without that line I just default to my texlive installation.  There 
is no pdftex.fmt file in my context-minimal install, anywhere.


-- 
John Culleton
Create Book Covers with Scribus/e-book $5.95
http://www.booklocker.com/books/4055.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread Hans van der Meer
This is the install script I am using. It might be a starting point  
for you:

#!/bin/bash
CONTEXTVERSION="beta"
CONTEXTDIRECTORY=$HOME/TeX/context/$CONTEXTVERSION
rm -R $CONTEXTDIRECTORY
mkdir -p $CONTEXTDIRECTORY/tex
cd $CONTEXTDIRECTORY
ln -s $HOME/Library/texmf tex/texmf-local
#cp -R $HOME/Library/texmf/* tex/texmf-local
curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh
sh ./first-setup.sh >first-setup.log
cd tex
echo "installation context $CONTEXTVERSION minimals done"

Hans van der Meer




On 18 aug 2009, at 18:55, luigi scarso wrote:

On Tue, Aug 18, 2009 at 6:15 PM, John  
Culleton wrote:

Tried to install context minimals including the steps
mktexlsr
texexec --make --all
No errors at this point.  But when I tried to run pdftex
I get the error message
I can't find the format file `pdftex.fmt!'

Did you source setuptex ?

Under linux I do
. setuptext
in tex dir

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


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


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

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


Re: [NTG-context] Context-minimal installation problem.

2009-08-18 Thread luigi scarso
On Tue, Aug 18, 2009 at 6:15 PM, John Culleton wrote:
> Tried to install context minimals including the steps
> mktexlsr
> texexec --make --all
> No errors at this point.  But when I tried to run pdftex
> I get the error message
> I can't find the format file `pdftex.fmt!'
Did you source setuptex ?

Under linux I do
. setuptext
in tex dir

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

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


[NTG-context] Context-minimal installation problem.

2009-08-18 Thread John Culleton
Tried to install context minimals including the steps 
mktexlsr
texexec --make --all
No errors at this point.  But when I tried to run pdftex
I get the error message 
I can't find the format file `pdftex.fmt!'

That file is not anywhere in my personal directory. It is however in 
my bigger texlive 2008 installation.
The set command shows:
TEXMFCACHE=/home/safer/context/tex/texmf-cache
TEXMFOS=/home/safer/context/tex/texmf-linux
TEXROOT=/home/safer/context/tex
so that part is OK. 

Any hints? 

-- 
John Culleton
Create Book Covers with Scribus/e-book $5.95
http://www.booklocker.com/books/4055.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] find file in beta

2009-08-18 Thread Hans van der Meer

Just a typo. The map-files in my/the TeX-tree resides in
texmf-local/fonts/map/pdftex/context/(the-map-file)
In MKII it was functioning from there.

Retrieving the minimals fresh from the download site and subsequently  
installing them (see script below) does the trick. I conclude it must  
be some incantantion that updates the luatex trees.



#!/bin/bash
CONTEXTVERSION="beta"
CONTEXTDIRECTORY=$HOME/TeX/context/$CONTEXTVERSION
rm -R $CONTEXTDIRECTORY
mkdir -p $CONTEXTDIRECTORY/tex
cd $CONTEXTDIRECTORY
ln -s $HOME/Library/texmf tex/texmf-local
curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh
sh ./first-setup.sh >first-setup.log
cd tex
echo "installation context $CONTEXTVERSION minimals done"



On 18 aug 2009, at 13:30, Taco Hoekwater wrote:


Hans van der Meer wrote:

Using: the minimals beta distribution.
I have added a new map-file for the inclusion of pfb font files in  
the texmf-local tree: --/fonts/map/pdf/, where the other maps reside.
But luatex seems not to find it: luatools --find-file reports  
nothing.


You have to be more specific than this. My installation does not
have any directory matching /fonts/map/pdf/ at all.

Best wishes,
Taco


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

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


[NTG-context] Problems with cite (minimal example) (was Re: Buggy source code--> references disappears when I put sections and If I put subjects, \completecontent has void list.)

2009-08-18 Thread Xan
ax Forester and Krishnan Shankar",
title = "Snowflake groups, {{P}}erron-{{F}}robenius eigenvalues and isoperimetric spectra",
journal = "Geometry \& Topology",
volume = "13",
number = "1",
year = "2009",
note = ". Disponible a l'arXiv.org: 0608155v2."
}

@article{sapir-birget-rips,
author = "Mark Sapir and Jean-Camille Birget and Eliyahu Rips",
title = "Isoperimetric and isodiametric functions of groups",
journal = "Annals of Mathematics",
volume = "156",
number = "2",
year = "2002",
pages = "345-466",
note =". Disponible una versió preliminar a l'arXiv.org. 9811105v1"
}

@article{birget-et-al,
author = "Jean-Camille Birget and Alexander Y. Ol'shanski\u{i} and Eliyahu Rips and Mark Sapir",
title = "Isoperimetric functions of groups and computational complexity of the word problem",
journal = "Annals of Mathematics",
volume = "156",
number = "2",
year = "2002",
pages = "476-518"
}

@incollection{quenell,
author = "Gregory Quenell",
title = "Combinatorics of free-product graphs",
booktitle = "Geometry of the spectrum. 1993 Joint Summer Research Conference on Spectral Geometry, July 17-23, 1993, University of Washington, Seattle",
year = "1994",
publisher = "American Mathematical Society",
series = "Contemporary Mathematics",
editors = "Robert Brooks and Carolyn Gordon and Peter A. Perry",
volume = "173",
pages = "257-282"
}














@article{bridson,
 author = "Martin R. Bridson",
 title = "On the geometry of normal forms in discrete groups",
 journal = "Proceedings of the London Mathematical Society",
 year = "1993",
 volume = "67",
 pages = "595-616"
}

@article{riley,
author = "Tim R. Riley",
title = "The geometry of groups satisfying weak almost-convexity or weak geodesic-combability conditions",
journal = "Journal of Group Theory",
year = "2002",
volume= 5,
pages = "513-525"
}

@book{epstein,
 author = "Epstein, David B. A. and J. W. Cannon and D. F. Holt and S. V. F. Levy and M. S. Paterson and W. P. Thurston",
 title = "Word processing in groups",
 publishers="Jones and Barlett Publishers",
 year= "1992"
}


% interface=en output=pdftex
%\environment capcalera.context % Capçalera

% Regime
\enableregime[utf]

% Choose a font
\setupbodyfont [cmr,11pt] % 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}]

% White space between paragraphs
%\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % marge d'adalt
%margin=1.5cm, %marges dels costats
%header=1.0cm,%separació entre adalt i primera línia
%footer=1.0cm,%separació entre abaix i darrera línia
%width=fit,height=fit,backspace=2cm]



% Enable colors and activate hyperlinks
\setupcolors [state=start]
\definecolor[lightblue][r=0.5, g=0.5, b=1.0]
\setupurl[space=yes]


% Fonts
%% Chapters...
\setupheads[align=flushleft]
\setuphead[chapter][style={\bfd}]
\setuphead[section][style={\bfc}, header=nomarking]
\setuphead[subsection][style={\bfb}]
\setuphead[subsubsection][style={\bfa}]
%\setuphead[section][textstyle=bold]

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

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

% Vertical spaces between paragraphs
\setupwhitespace[small]

%Itemize
\setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]
%\setupitemize[a][right=),stopper=]

% Mathematical packets
%\usemodule[newmat]
%\usemodule[math-ams]

% Heads and footers
%\setupfootertexts[][{\tfxx \currentdate}]
%\setupfootertexts[\pagenumber/\lastpage]
%\setupfooter[text][before=\hrule]
%\setupheader[text][after=\hrule]
%\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx 
\jobname.\ConTeXt{}.\currentdate}]
%\setupheadertexts[][{\tfx \currentdate}]


% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\

Re: [NTG-context] Can I use pdftex and texexec with latest download.

2009-08-17 Thread Aditya Mahajan

On Mon, 17 Aug 2009, John Culleton wrote:


Been away from Context for a while so please bear with me.

I just downloaded context-minimal to my home directory using the
sh ./first-setup.sh
script. I want to use pdftex primarily and now and then regular
Context with texexec.  I note that the download has references to
luatex however, which I don't need/don't want to fool with.  Is
this download OK for my purposes or must I use another download
method?


Yes, simply source setuptex script and then texexec should work fine.

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

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


[NTG-context] Can I use pdftex and texexec with latest download.

2009-08-17 Thread John Culleton
Been away from Context for a while so please bear with me. 

I just downloaded context-minimal to my home directory using the 
sh ./first-setup.sh
script. I want to use pdftex primarily and now and then regular 
Context with texexec.  I note that the download has references to 
luatex however, which I don't need/don't want to fool with.  Is 
this download OK for my purposes or must I use another download 
method? 

-- 
John Culleton
Create Book Covers with Scribus/e-book $5.95
http://www.booklocker.com/books/4055.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] using overprint results in broken PDF

2009-08-16 Thread luigi scarso
On Sun, Aug 16, 2009 at 9:30 PM, Khaled Hosny  wrote:

> With the sample below, the resulting PDF will crash MuPDF, Adobe Reader
> will show an empty page (though in a longer document it shows a message
> saying the file is broken and just few pages are rendered while the rest
> is blank), Evince will open the file and show the text correctly but
> will give the following errors in the terminal:
>
> Error: ExtGState 'GSoverprint' is unknown
> Error: ExtGState 'GSknockout' is unknown
> 
>
> Rebeated several time.
>
> Sample:
>
> \setupcolors[overprint=yes]
> \starttext
> Hello \TeX.
> \stoptext
>
> ConTeXt version 2009.08.13 and 2009.08.16
>

Looks ok here with last mkiv stable and luatex beta-0.42.0-2009071723
If you have a mkiv beta, maybe you need last luatex trunk from svn .


# context --version && luatex --credits
MTXrun | main context file:
/opt/luatex/luatex-lunatic/minimals-git/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2009.07.17 17:23

This is LuaTeX, Version beta-0.42.0-2009071723

The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater.
LuaTeX merges and builds upon (parts of) the code from these projects:

tex   by Donald Knuth
etex  by Peter Breitenlohner, Phil Taylor and friends
omega by John Plaice and Yannis Haralambous
aleph by Giuseppe Bilotta
pdftexby Han The Thanh and friends
kpathsea  by Karl Berry, Olaf Weber and others
lua   by Roberto Ierusalimschy, Waldemar Celes,
 Luiz Henrique de Figueiredo
metapost  by John Hobby, Taco Hoekwater and friends.
xpdf  by Derek Noonburg (partial)
fontforge by George Williams (partial)

Some extensions to lua and additional lua libraries are used, as well as
libraries for graphic inclusion. More details can be found in the source.
Code development was sponsored by a grant from Colorado State University
via the 'oriental tex' project, the TeX User Groups, and donations.

Compiled with libpng 1.2.38; using libpng 1.2.38
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.02pl3

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

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


[NTG-context] ConTeXt Ver 2009.08.14 Crashes with \reference

2009-08-15 Thread Tad Ashlock
The following code causes the 2009.08.14 version of ConTeXt to crash (see
below).  But it works in the 2009.07.23 version of ConTeXt.
\setupinteraction[state=start]
\starttext
\reference[ref:UsersMan]{User's manual}
\input tufte\par
User's manual~\at[ref:UsersMan]
\stoptext
=
> This is LuaTeX, Version beta-0.42.0-2009071712
>  \write18 enabled.
> (test.tex
>
> ConTeXt  ver: 2009.08.14 10:48 MKIV  fmt: 2009.8.14  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-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 2
> (C:/context/tex/texmf-context/tex/context/sample/tufte.tex)
> 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}
> ! LuaTeX error ...text/tex/texmf-context/tex/context/base/node-ref.lua:47:
attempt to call upvalue 'list_dimensions' (a nil value)
> stack traceback:
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:47: in function
'dimensions'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:71: in function
'inject_range'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:302: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
'inject_area'
>  ...text/tex/texmf-context/tex/context/base/node-ref.lua:299: in function
<...text/tex/texmf-context/tex/context/base/node-ref.lua:279>
>  (tail call): ?
>  :14: in function
<:10>
>  (tail call): ?
>  (tail call): ?
>  :1: in main chunk.
> \finalizeshipoutbox ..._page(tex.box[\number #1])}
>
> \actualshipout ...0\hbox {#1}\finalizeshipoutbox 0
>   \setbox \scratchbox
\hbox ...
> \myshipout ...\@@ppmethod }\gobbleoneargument {#1}
>   \setnextrealpageno
\afters...
> \dofinaloutput ...hbox {\vbox {\dopagebody #1#2}}}
>   \the \everyaftershipout
\a...
> \finalou

[NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-08 Thread Jose Augusto
Hi all,

A few weeks ago I reported a problem with ruby 1.9.1, which
was solved by removing the offending .tui line (Mojca and Hans
AFAIR). The problem was related with the existence of non-ascii
chars in the .tui file. Sadly it strikes again, now when chars with
accents appear in titles (sections, subsections, etc...).

The  parsing of the line signaled below in the end of this message, from a
.tui file,
fails in ruby 1.9.1, but not in ruby 1.8.7. The error which is returned is
also shown.
If I remove the chars with accents from the section title all goes well. I'm
using
Mkii (--context=current).

One of  the advantages of ruby 1.8 over 1.8 is tht it is 3 times faster...
However, ruby made lots of changes in string manipulation and storing
when moving from 1.8 to 1.9, and that must be the source of the problem.

I tracked the error to texutil.rb, line 1035:

when /^c (.*)$/o then @plugins.reader('MyCommands', [$1])

but then i got lost in the Classes/Modules jungle :-) in that script.
Perhaps it is this this procedure, in line 403 of texutil.rb, which triggers
the error?

def MyCommands::reader(logger,data)
@@commands.push(data.shift+data.collect do |d| "\{#{d}\}"
end.join)
end

Thx for your support in advance.

If I can help in the solution of the problem please direct me in the task. I
have some
experience with ruby (I started using it when the 1st pickaxe book edition
was
published, around 2001) and with perl. But not with Lua :-)... Although I
read
alraedy quite a lot of Roberto's Lua book, I didn't started coding in Lua
yet :-)

Kind Regards

J. Augusto

##TUI file and trigered error   ###

## .tui snippet

c \mainreference{}{a}{2--0-1-1-0-0-0-0--1}{1}{1.1}
>>>>>>c \listentry{subsection}{3}{1.1.1}{Title with accents:
Ãçê}{2--0-1-1-1-0-0-0--1}{1}
c \mainreference{}{b}{2--0-1-1-1-0-0-0--1}{1}{1.2}

### error

pdfTeX warning: pdftex.exe: no GlyphToUnicode entry has been inserted yet!
Output written on test1.pdf (1 page, 72793 bytes).
Transcript written on test1.log.
TeXUtil | parsing file test1.tui
TeXUtil | fatal error in parsing test1.tui
TeXUtil | check loading of file 'test1', begin/end problem
TeXUtil | shortcuts : 169
TeXUtil | expansions: 308
#
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] LuaTex choking on \definesynonyms?

2009-08-04 Thread Kevin D. Robbins
Hi Roland,

Hans (or someone else) added abbreviation as a standard synonym in the file
strc-syn.mkiv<http://source.contextgarden.net/tex/context/base/strc-syn.mkiv?search=abbreviations>.
You no longer need to separately define abbreviation with \definesynonym in
order to use \abbeviation{VVV}{Bureau of Tourist Information}.

Kevin

On Sun, Aug 2, 2009 at 8:08 AM, Roland wrote:

> Hi all,
>
> LuaTex doesn't seem to like the \definesynonyms command. The following
> works fine in PDFtex:
>
> 1  \definesynonyms[abbreviation][abbreviations][\infull]
> 2
> 3  \starttext
> 4  \abbreviation{VVV}{Bureau of Tourist Information}
> 5  The Dutch \VVV\ (\infull{VVV}) can provide you with the tourist
> 6  information on Hasselt.
> 7
> 8  \stoptext
>
>
> ...but when compiling with Luatex, I get the errors as below. On Mac
> OS X with an updated ConTeXt/Luatex minimals installation.
>
> The abbreviations aren't essential in my current document but I guess
> somebody might want to look into this?
>
> Thanks
> Roland
>
>
> 1  This is LuaTeX, Version beta-0.42.0-2009071723
> 2   \write18 enabled.
> 3  (/Users/rs/Desktop/Dropbox/C/ConTeXt_sandbox/sandbox.tex
> 4
> 5  ConTeXt  ver: 2009.07.23 20:11 MKIV  fmt: 2009.8.2  int:
> english/english
> 6
> 7  system  : cont-new loaded
> 8
>  
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
> 9  systems : beware: some patches loaded from cont-new.tex
>10
>  
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
>11  system  : cont-fil loaded
>12
>  
> (/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
>13  loading : ConTeXt File Synonyms
>14  )
>15  system  : cont-sys.rme loaded
>16
>  
> (/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)))
>17  system  : sandbox.top loaded
>18  (sandbox.top)
>19  fonts   : preloading latin modern fonts
>20  bodyfont: 12pt rm is loaded
>21  language: language en is active
>22  ! Use of \doassignsometextprefixnop doesn't match its definition.
>23  \doassignsometextprefix ...sometextprefixyes \fi {
>24#1}
>25  \dododosetupsometextprefix ...nsometextprefix {#1}
>26[#2,,]
>27  \next1 #1,->\dodosetupsometextprefix {#1}
>28   \doprocesscommaitem
>29  \doprocesscommalist ...item \gobbleoneargument #1,
>30]\relax
> \global \advance \...
>31  \dosetupsometextprefix ...dodosetupsometextprefix
>32\fi
>33  
>34 \setvalue
>35  ...
>36  l.2
>37
>38
>39  ? ! Too many }'s.
>40  \doassignsometextprefix ...etextprefixyes \fi {#1}
>41
>42  \dododosetupsometextprefix ...nsometextprefix {#1}
>43[#2,,]
>44  \next1 #1,->\dodosetupsometextprefix {#1}
>45   \doprocesscommaitem
>46  \doprocesscommalist ...item \gobbleoneargument #1,
>47]\relax
> \global \advance \...
>48  \dosetupsometextprefix ...dodosetupsometextprefix
>49\fi
>50  
>51 \setvalue
>52  ...
>53  l.2
>54
>55
>56  ? systems : begin file sandbox at line 3
>57  ! Missing } inserted.
>58  
>59  }
>60  
>61 \endgroup
>62  l.5 The Dutch \VVV\ (\infull{VVV}
>63   ) can provide you with the tourist
>64  ?
>65  ! Emergency stop.
>66  
>67  }
>68  
>69 \endgroup
>70  

[NTG-context] LuaTex choking on \definesynonyms?

2009-08-04 Thread Roland
Hi all,

LuaTex doesn't seem to like the \definesynonyms command. The following
works fine in PDFtex:

 1  \definesynonyms[abbreviation][abbreviations][\infull]
 2
 3  \starttext
 4  \abbreviation{VVV}{Bureau of Tourist Information}
 5  The Dutch \VVV\ (\infull{VVV}) can provide you with the tourist
 6  information on Hasselt.
 7
 8  \stoptext


...but when compiling with Luatex, I get the errors as below. On Mac
OS X with an updated ConTeXt/Luatex minimals installation.

The abbreviations aren't essential in my current document but I guess
somebody might want to look into this?

Thanks
Roland


 1  This is LuaTeX, Version beta-0.42.0-2009071723
 2   \write18 enabled.
 3  (/Users/rs/Desktop/Dropbox/C/ConTeXt_sandbox/sandbox.tex
 4
 5  ConTeXt  ver: 2009.07.23 20:11 MKIV  fmt: 2009.8.2  int: english/english
 6
 7  system  : cont-new loaded
 8  
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.tex
 9  systems : beware: some patches loaded from cont-new.tex
10  
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
11  system  : cont-fil loaded
12  
(/Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-fil.tex
13  loading : ConTeXt File Synonyms
14  )
15  system  : cont-sys.rme loaded
16  
(/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)))
17  system  : sandbox.top loaded
18  (sandbox.top)
19  fonts   : preloading latin modern fonts
20  bodyfont    : 12pt rm is loaded
21  language    : language en is active
22  ! Use of \doassignsometextprefixnop doesn't match its definition.
23  \doassignsometextprefix ...sometextprefixyes \fi {
24    #1}
25  \dododosetupsometextprefix ...nsometextprefix {#1}
26    [#2,,]
27  \next1 #1,->\dodosetupsometextprefix {#1}
28   \doprocesscommaitem
29  \doprocesscommalist ...item \gobbleoneargument #1,
30    ]\relax
\global \advance \...
31  \dosetupsometextprefix ...dodosetupsometextprefix
32    \fi
33  
34     \setvalue
35  ...
36  l.2
37
38
39  ? ! Too many }'s.
40  \doassignsometextprefix ...etextprefixyes \fi {#1}
41
42  \dododosetupsometextprefix ...nsometextprefix {#1}
43    [#2,,]
44  \next1 #1,->\dodosetupsometextprefix {#1}
45   \doprocesscommaitem
46  \doprocesscommalist ...item \gobbleoneargument #1,
47    ]\relax
\global \advance \...
48  \dosetupsometextprefix ...dodosetupsometextprefix
49    \fi
50  
51     \setvalue
52  ...
53  l.2
54
55
56  ? systems : begin file sandbox at line 3
57  ! Missing } inserted.
58  
59  }
60  
61     \endgroup
62  l.5 The Dutch \VVV\ (\infull{VVV}
63   ) can provide you with the tourist
64  ?
65  ! Emergency stop.
66  
67  }
68  
69     \endgroup
70  l.5 The Dutch \VVV\ (\infull{VVV}
71   ) can provide you with the tourist
72  !  ==> Fatal error occurred, no output PDF file
produced!MTXrun | run 1: luatex
--fmt="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en"
--lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex-cache/context/3fc847143b06f084e10e73c8fbdf4ae2/formats/cont-en.lui"
--backend=pdf "/Users/rs/Desktop/Dropbox/C/ConTeXt_sandbox/sandbox.tex"
73  MTXrun | fatal error, return code: 1
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / 

[NTG-context] minimals not working

2009-08-04 Thread Hans van der Meer
I downloaded and installed the minimals. Running LuaTeX MKIV then  
hangs in TeXShop and must be aborted. Does someone knows what is amiss  
here?


I use the following runscript in TeXShop:
#!/bin/bash
export MINIMAL="$HOME/TeX/context/beta"
$MINIMAL/tex/setuptex
export PATH=$MINIMAL/tex/texmf-osx-ppc/bin:$PATH
export TEXMFCACHE="$MINIMAL/tex/texmf-cache"
context "$1"

Minimals:

Setting "/Users/hans/TeX/context/beta/tex" as TEXROOT.
This is LuaTeX, Version beta-0.42.0-2009071723
 \write18 enabled.
(reign.tex
ConTeXt  ver: 2009.07.23 20:11 MKIV  fmt: 2009.8.3  int: english/english
system  : cont-new loaded
(/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- 
new.tex

systems : beware: some patches loaded from cont-new.tex
(/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- 
new.mkiv))

system  : cont-fil loaded
(/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- 
fil.tex

loading : ConTeXt File Synonyms
)
system  : cont-sys loaded
(/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/cont- 
sys.tex)

system  : reign.top loaded
(reign.top)
fonts   : preloading latin modern fonts
(/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/type- 
tmf.tex (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/ 
base/type-tmf.mkiv)) (/Users/hans/TeX/context/beta/tex/texmf-context/ 
tex/context/base/type-siz.tex (/Users/hans/TeX/context/beta/tex/texmf- 
context/tex/context/base/type-siz.mkiv)) (/Users/hans/TeX/context/beta/ 
tex/texmf-context/tex/context/base/type-otf.tex (/Users/hans/TeX/ 
context/beta/tex/texmf-context/tex/context/base/type-otf.mkiv)) (/ 
Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/type- 
luc.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/ 
user/type-mti.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/ 
context/user/type-psc.tex

Process aborted

Old version that runs to completion:

(reign.tex
ConTeXt  ver: 2008.10.31 13:58 MKIV  fmt: 2008.12.17  int: english/ 
english

language   : language en is active
system : cont-new loaded
(/usr/local/texlive/texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/texmf-local/tex/context/base/cont-new.mkiv) (/usr/ 
local/texlive/texmf-local/tex/context/base/cont-mtx.tex))

system : cont-fil loaded
(/usr/local/texlive/texmf-local/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/Users/hans/Library/texmf/tex/context/user/cont-sys.tex)
bodyfont   : 12pt rm is loaded
specials   : pdftex loaded
system : reign.top loaded
(reign.top) (/usr/local/texlive/texmf-local/tex/context/base/type- 
tmf.tex) (/usr/local/texlive/texmf-local/tex/context/base/type- 
siz.tex) (/usr/local/texlive/texmf-local/tex/context/base/type- 
otf.tex) (/Users/hans/Library/texmf/tex/context/user/type-luc.tex)

bodyfont   : style fx (fax) defined
bodyfont   : style ssit (sansitalic) defined
bodyfont   : style tts (monosans) defined
(/Users/hans/Library/texmf/tex/context/user/type-mti.tex) (/Users/hans/ 
Library/texmf/tex/context/user/type-psc.tex) (/Users/hans/Library/ 
texmf/tex/context/user/math-luc.tex

etcetera

Hans van der Meer





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

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


[NTG-context] how to get minimals working?

2009-08-04 Thread Hans van der Meer
I downloaded and installed the minimals. Running LuaTeX MKIV then  
hangs in TeXShop and must be aborted. Does someone knows what is amiss  
here?


I use the following runscript in TeXShop:
#!/bin/bash
export MINIMAL="$HOME/TeX/context/beta"
$MINIMAL/tex/setuptex
export PATH=$MINIMAL/tex/texmf-osx-ppc/bin:$PATH
export TEXMFCACHE="$MINIMAL/tex/texmf-cache"
context "$1"

Minimals:

Setting "/Users/hans/TeX/context/beta/tex" as TEXROOT.
This is LuaTeX, Version beta-0.42.0-2009071723
 \write18 enabled.
(reign.tex
ConTeXt  ver: 2009.07.23 20:11 MKIV  fmt: 2009.8.3  int: english/english
system  : cont-new loaded
(/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- 
new.tex

systems : beware: some patches loaded from cont-new.tex
(/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- 
new.mkiv))

system  : cont-fil loaded
(/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/cont- 
fil.tex

loading : ConTeXt File Synonyms
)
system  : cont-sys loaded
(/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/cont- 
sys.tex)

system  : reign.top loaded
(reign.top)
fonts   : preloading latin modern fonts
(/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/base/type- 
tmf.tex (/Users/hans/TeX/context/beta/tex/texmf-context/tex/context/ 
base/type-tmf.mkiv)) (/Users/hans/TeX/context/beta/tex/texmf-context/ 
tex/context/base/type-siz.tex (/Users/hans/TeX/context/beta/tex/texmf- 
context/tex/context/base/type-siz.mkiv)) (/Users/hans/TeX/context/beta/ 
tex/texmf-context/tex/context/base/type-otf.tex (/Users/hans/TeX/ 
context/beta/tex/texmf-context/tex/context/base/type-otf.mkiv)) (/ 
Users/hans/TeX/context/beta/tex/texmf-local/tex/context/user/type- 
luc.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/context/ 
user/type-mti.tex) (/Users/hans/TeX/context/beta/tex/texmf-local/tex/ 
context/user/type-psc.tex

Process aborted

Old version that runs to completion (albeit refusing to resize  
externalfigures):


(reign.tex
ConTeXt  ver: 2008.10.31 13:58 MKIV  fmt: 2008.12.17  int: english/ 
english

language   : language en is active
system : cont-new loaded
(/usr/local/texlive/texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/texmf-local/tex/context/base/cont-new.mkiv) (/usr/ 
local/texlive/texmf-local/tex/context/base/cont-mtx.tex))

system : cont-fil loaded
(/usr/local/texlive/texmf-local/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/Users/hans/Library/texmf/tex/context/user/cont-sys.tex)
bodyfont   : 12pt rm is loaded
specials   : pdftex loaded
system : reign.top loaded
(reign.top) (/usr/local/texlive/texmf-local/tex/context/base/type- 
tmf.tex) (/usr/local/texlive/texmf-local/tex/context/base/type- 
siz.tex) (/usr/local/texlive/texmf-local/tex/context/base/type- 
otf.tex) (/Users/hans/Library/texmf/tex/context/user/type-luc.tex)

bodyfont   : style fx (fax) defined
bodyfont   : style ssit (sansitalic) defined
bodyfont   : style tts (monosans) defined
(/Users/hans/Library/texmf/tex/context/user/type-mti.tex) (/Users/hans/ 
Library/texmf/tex/context/user/type-psc.tex) (/Users/hans/Library/ 
texmf/tex/context/user/math-luc.tex

etcetera

Hans van der Meer




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

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


[NTG-context] I can't change startitemize[n]--> startitemize[1]

2009-07-23 Thread Xan

Hi Hans,

First of all, thank you very much for helping in the above problem.
Can you solve this now ? ;-)

When I change startitemize[n] to startitemize[1] in line 394 I get this 
error:


! Argument of \dodoregister has an extra }.

   \par

  }
\doattributes ...name #1...@ea \endcsname \fi {#4}
 \dostopattributes
\dolistitem ...evel \c!style \c!color {\listitem }
 \fi \fi 
}\ifconditional \f...


\complexdoitemgroupitem ...obreak \fi \dolistitem
 \relax \ifconditional 
\pac...


  $
l.395 \item $
\pi(x^{-1}) = \pi(x)^{-1}$ per a tot $x \in X$.
? x


Why?

I attach the source file and log file.
This is a long file, I know, but I don't know why with 'n' works and '1' 
does not.



Thanks in advance,
Xan.

PS: Please, CCme.
% interface=en output=pdftex
%\environment capcalera.context % Capçalera

% Regime
\enableregime[utf]

% Choose a font
\setupbodyfont [cmr,11pt] % 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}]

% White space between paragraphs
%\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % marge d'adalt
%margin=1.5cm, %marges dels costats
%header=1.0cm,%separació entre adalt i primera línia
%footer=1.0cm,%separació entre abaix i darrera línia
%width=fit,height=fit,backspace=2cm]



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

% Enumerate the URLs
%\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki]
%\useURL[nagorko-pdf][http://www.math.bgu.ac.il/~barakw/probseminar/nagorko/slides.pdf][][http://www.math.bgu.ac.il/\~{}barakw/\quad\quad\quad\quad
 probseminar/nagorko/slides.pdf]
%\useURL[govern-me][http://sgtrelinst.caib.es/llibrestil/00index.html][][http://sgtrelinst.caib.es/llibrestil/00index.html]
%\useURL[context-manual-pdf][http://www.pragma-ade.com/general/manuals/cont-eni.pdf][][http://www.pragma-ade.com/general/manuals/
 cont-eni.pdf]
%\useURL [contextgarden] [{http://www.contextgarden.net}]

%\useURL 
[mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf 
http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}]


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

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

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

% Vertical spaces between paragraphs
\setupwhitespace[small]

%Itemize
\setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]
%\setupitemize[a][right=),stopper=]

% Mathematical packets
\usemodule[newmat]
\usemodule[math-ams]

% Heads and footers
\setupfootertexts[][{\tfxx \currentdate}]
%\setupfootertexts[\pagenumber/\lastpage]
%\setupfooter[text][before=\hrule]
%\setupheader[text][after=\hrule]
%\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx 
\jobname.\ConTeXt{}.\currentdate}]
%\setupheadertexts[][{\tfx \currentdate}]


% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ció}
\hyphenation{cor-res-po-nents}
\hyphenation{pa-rells}
\hyphenation{ge-ne-rat}

% Modules
\usemodule[tikz]
\usemodule[pgfmath]
\usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings]
%\usetikzlibrary[trees]



% AMSTHM equivalent
%% Exercici
\defineenumeration
  [exercici]
  
[text={Problema},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,
stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,before={\bgroup\startframedtext[background=screen,frame=off,width=broad]},after={\stopframedtext\egroup}]

%% Lema 
\defineenumeration
  [lema]
  [text={Lema}, % Què es mostra
   before={\blank[big]}, % abans de lema, un bigskip
   after={\blank

Re: [NTG-context] I can't put footnote

2009-07-23 Thread Xan
/base/sort-lan.mkii))
(/usr/share/texmf/tex/context/base/pdfr-def.tex)
publications: file prova.bbl not found, waiting for bibtex
systems : begin file prova at line 231
! Undefined control sequence.
\currentdescriptionnumber ... \currentdescription 
  \??dd \c!number \endcsname 
\@@ddresetsubsubsubnumber ...entdescriptionnumber 
  }\resetnumber [\v!sub \v!s...

\@@ddresetsubsubnumber ...b \v!sub \c!number }{#1}
  \resetnumber [\v!sub \v!su...

\@@ddresetsubnumber ...!sub \v!sub \c!number }{#1}
  \resetnumber [\v!sub \@@de...

\@@ddsetnumber ... \s!reset \v!sub \c!number }{#1}
  \setnumber [\@@description...

\footnote ->\setnote 
 [\v!footnote ]
l.234 a\footnote
{A}
? x
 
Here is how much of TeX's memory you used:
 11536 strings out of 57878
 228693 string characters out of 558687
 4753175 words of memory out of 5684965
 50568 multiletter control sequences out of 1+5
 166057 words of font info for 74 fonts, out of 120 for 2000
 199 hyphenation exceptions out of 8191
 48i,2n,59p,354b,509s stack positions out of 5000i,500n,6000p,20b,5000s
No pages of output.
PDF statistics:
 3 PDF objects out of 1000 (max. 8388607)
 1 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 131072)
 5 words of extra memory for PDF output out of 1 (max. 1000)

% interface=en output=pdftex
%\environment capcalera.context % Capçalera

% Regime
\enableregime[utf]

% Choose a font
\setupbodyfont [cmr,11pt] % 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}]

% White space between paragraphs
%\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % marge d'adalt
%margin=1.5cm, %marges dels costats
%header=1.0cm,%separació entre adalt i primera línia
%footer=1.0cm,%separació entre abaix i darrera línia
%width=fit,height=fit,backspace=2cm]



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

% Enumerate the URLs
%\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki]
%\useURL[nagorko-pdf][http://www.math.bgu.ac.il/~barakw/probseminar/nagorko/slides.pdf][][http://www.math.bgu.ac.il/\~{}barakw/\quad\quad\quad\quad probseminar/nagorko/slides.pdf]
%\useURL[govern-me][http://sgtrelinst.caib.es/llibrestil/00index.html][][http://sgtrelinst.caib.es/llibrestil/00index.html]
%\useURL[context-manual-pdf][http://www.pragma-ade.com/general/manuals/cont-eni.pdf][][http://www.pragma-ade.com/general/manuals/ cont-eni.pdf]
%\useURL [contextgarden] [{http://www.contextgarden.net}]

%\useURL [mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}]


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

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

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

% Vertical spaces between paragraphs
\setupwhitespace[small]

%Itemize
\setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]
%\setupitemize[a][right=),stopper=]

% Mathematical packets
\usemodule[newmat]
\usemodule[math-ams]

% Heads and footers
\setupfootertexts[][{\tfxx \currentdate}]
%\setupfootertexts[\pagenumber/\lastpage]
%\setupfooter[text][before=\hrule]
%\setupheader[text][after=\hrule]
%\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx \jobname.\ConTeXt{}.\currentdate}]
%\setupheadertexts[][{\tfx \currentdate}]


% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ció}
\hyphenation{cor-res-po-nents}
\hyphenation{pa-rells}
\hyphenation{ge-ne-rat}

% Modu

Re: [NTG-context] I can't put footnote

2009-07-22 Thread Xan

En/na Hans Hagen ha escrit:

Xan wrote:


No, with the version line commented I get the same error:


i don't get that error so i need a smaller test file

Hans


I hope this serves you. Now I have another error. What fails???

Xan.

% interface=en output=pdftex
%\environment capcalera.context % Capçalera

% Regime
\enableregime[utf]

% Choose a font
\setupbodyfont [cmr,11pt] % 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}]

% White space between paragraphs
%\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % marge d'adalt
%margin=1.5cm, %marges dels costats
%header=1.0cm,%separació entre adalt i primera línia
%footer=1.0cm,%separació entre abaix i darrera línia
%width=fit,height=fit,backspace=2cm]



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

% Enumerate the URLs
%\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki]
%\useURL[nagorko-pdf][http://www.math.bgu.ac.il/~barakw/probseminar/nagorko/slides.pdf][][http://www.math.bgu.ac.il/\~{}barakw/\quad\quad\quad\quad
 probseminar/nagorko/slides.pdf]
%\useURL[govern-me][http://sgtrelinst.caib.es/llibrestil/00index.html][][http://sgtrelinst.caib.es/llibrestil/00index.html]
%\useURL[context-manual-pdf][http://www.pragma-ade.com/general/manuals/cont-eni.pdf][][http://www.pragma-ade.com/general/manuals/
 cont-eni.pdf]
%\useURL [contextgarden] [{http://www.contextgarden.net}]

%\useURL 
[mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf 
http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}]


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

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

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

% Vertical spaces between paragraphs
\setupwhitespace[small]

%Itemize
\setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]
%\setupitemize[a][right=),stopper=]

% Mathematical packets
\usemodule[newmat]
\usemodule[math-ams]

% Heads and footers
%\setupfootertexts[][{\tfx \currentdate}]
%\setupfootertexts[\pagenumber/\lastpage]
%\setupfooter[text][before=\hrule]
%\setupheader[text][after=\hrule]
%\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx 
\jobname.\ConTeXt{}.\currentdate}]
%\setupheadertexts[][{\tfx \currentdate}]


% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ció}
\hyphenation{cor-res-po-nents}
\hyphenation{pa-rells}
\hyphenation{ge-ne-rat}

% Modules
\usemodule[tikz]
\usemodule[pgfmath]
\usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings]
%\usetikzlibrary[trees]



% AMSTHM equivalent
%% Exercici
\defineenumeration
  [exercici]
  
[text={Problema},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,
stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,before={\bgroup\startframedtext[background=screen,frame=off,width=broad]},after={\stopframedtext\egroup}]

%% Lema 
\defineenumeration
  [lema]
  [text={Lema}, % Què es mostra
   before={\blank[big]}, % abans de lema, un bigskip
   after={\blank[big]}, % després de lema, un bigskip
   headstyle=bold, % Negreta per la capçaleras
   %between=\blank, % Entre Lemmes una línia en blanc
   titledistance=.5em, % espai entre número i parèntesis.
   textdistance=.5em, % espai entre ) i text
   stopper={.\space}, % Com acaba. Després de parèntesis un '.'
   location=serried,
   width=fit, % que ocupi tot l'espai
   style=italic, % estil del text
   title=yes, % si puc posar o no arguments opcionals
   titlestyle=bf, % estil del títol
   way=bytext, % enumerar en tot el document
   conversion=numbers,indenting=yes] % enumera amb arabic

%% Proposició, corol·laris, teoremes.
%% Comparteix els nombres amb lema
%% Si volem que vagin a p

[NTG-context] I can't put footnote

2009-07-22 Thread Xan

Hi,

Anyone could help me please. I attach a document with I have problems.
When I comment out the footnote in line 402, then I get an error.

Can anyone could see what happens?

Thanks in advance,
Xan.
% interface=en output=pdftex
%\environment capcalera.context % Capçalera

% Regime
\enableregime[utf]

% Choose a font
\setupbodyfont [cmr,11pt] % 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}]

% White space between paragraphs
%\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % marge d'adalt
%margin=1.5cm, %marges dels costats
%header=1.0cm,%separació entre adalt i primera línia
%footer=1.0cm,%separació entre abaix i darrera línia
%width=fit,height=fit,backspace=2cm]



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

% Enumerate the URLs
%\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki]
%\useURL[nagorko-pdf][http://www.math.bgu.ac.il/~barakw/probseminar/nagorko/slides.pdf][][http://www.math.bgu.ac.il/\~{}barakw/\quad\quad\quad\quad
 probseminar/nagorko/slides.pdf]
%\useURL[govern-me][http://sgtrelinst.caib.es/llibrestil/00index.html][][http://sgtrelinst.caib.es/llibrestil/00index.html]
%\useURL[context-manual-pdf][http://www.pragma-ade.com/general/manuals/cont-eni.pdf][][http://www.pragma-ade.com/general/manuals/
 cont-eni.pdf]
%\useURL [contextgarden] [{http://www.contextgarden.net}]

%\useURL 
[mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf 
http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}]


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

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

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

% Vertical spaces between paragraphs
\setupwhitespace[small]

%Itemize
\setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]
%\setupitemize[a][right=),stopper=]

% Mathematical packets
\usemodule[newmat]
\usemodule[math-ams]

% Heads and footers
%\setupfootertexts[][{\tfx \currentdate}]
%\setupfootertexts[\pagenumber/\lastpage]
%\setupfooter[text][before=\hrule]
%\setupheader[text][after=\hrule]
%\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx 
\jobname.\ConTeXt{}.\currentdate}]
%\setupheadertexts[][{\tfx \currentdate}]


% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ció}
\hyphenation{cor-res-po-nents}
\hyphenation{pa-rells}
\hyphenation{ge-ne-rat}

% Modules
\usemodule[tikz]
\usemodule[pgfmath]
\usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings]
%\usetikzlibrary[trees]



% AMSTHM equivalent
%% Exercici
\defineenumeration
  [exercici]
  
[text={Problema},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,
stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,before={\bgroup\startframedtext[background=screen,frame=off,width=broad]},after={\stopframedtext\egroup}]

%% Lema 
\defineenumeration
  [lema]
  [text={Lema}, % Què es mostra
   before={\blank[big]}, % abans de lema, un bigskip
   after={\blank[big]}, % després de lema, un bigskip
   headstyle=bold, % Negreta per la capçaleras
   %between=\blank, % Entre Lemmes una línia en blanc
   titledistance=.5em, % espai entre número i parèntesis.
   textdistance=.5em, % espai entre ) i text
   stopper={.\space}, % Com acaba. Després de parèntesis un '.'
   location=serried,
   width=fit, % que ocupi tot l'espai
   style=italic, % estil del text
   title=yes, % si puc posar o no arguments opcionals
   titlestyle=bf, % estil del títol
   way=bytext, % enumerar en tot el document
   conversion=numbers,indenting=yes] % enumera amb arabic

%% Proposició, corol·laris, teoremes.
%% Comparteix els nombres amb lema
%% Si volem que vagin a part, hem de posar 'number=propos

[NTG-context] Strange behaviour of startitemize[1]

2009-07-22 Thread Xan

Hi,

Sorry for perhaps silly question, but I receive and error for this code:

\subsubsubject{El problema de la paraula}

\startitemize[1]
\item $\pi(x^{-1}) = \pi(x)^{-1}$ per a tot $x \in X$.
\item Per a tota paraula $w = w_1 \ldots w_r$ sobre $X \cup X^{-1}$,
\startformula
\pi(w) = \pi(w_1) \cdots \pi(w_r) \in G.
\stopformula
\stopitemize

that in the first item should be one less $:

subsubsubject   : - El problema de la paraula
! Argument of \dodoregister has an extra }.

   \par

  }
\doattributes ...name #1...@ea \endcsname \fi {#4}
 \dostopattributes
\dolistitem ...evel \c!style \c!color {\listitem }
 \fi \fi 
}\ifconditional \f...


\complexdoitemgroupitem ...obreak \fi \dolistitem
 \relax \ifconditional 
\pac...


  $
l.237 \item $
\pi(x^{-1}) = \pi(x)^{-1}$ per a tot $x \in X$.
? x


The whole file is attached.


What's the problem. Sorry I don't see


Xan.
% interface=en output=pdftex
%\environment capcalera.context % Capçalera

% Regime
\enableregime[utf]

% Choose a font
\setupbodyfont [cmr,11pt] % 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}]

% White space between paragraphs
%\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
%\setuplayout[topspace=1.5cm, % marge d'adalt
%margin=1.5cm, %marges dels costats
%header=1.0cm,%separació entre adalt i primera línia
%footer=1.0cm,%separació entre abaix i darrera línia
%width=fit,height=fit,backspace=2cm]



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

% Enumerate the URLs
%\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki]
%\useURL[nagorko-pdf][http://www.math.bgu.ac.il/~barakw/probseminar/nagorko/slides.pdf][][http://www.math.bgu.ac.il/\~{}barakw/\quad\quad\quad\quad
 probseminar/nagorko/slides.pdf]
%\useURL[govern-me][http://sgtrelinst.caib.es/llibrestil/00index.html][][http://sgtrelinst.caib.es/llibrestil/00index.html]
%\useURL[context-manual-pdf][http://www.pragma-ade.com/general/manuals/cont-eni.pdf][][http://www.pragma-ade.com/general/manuals/
 cont-eni.pdf]
%\useURL [contextgarden] [{http://www.contextgarden.net}]

%\useURL 
[mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf 
http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}]


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

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

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

% Vertical spaces between paragraphs
\setupwhitespace[small]

%Itemize
\setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]
%\setupitemize[a][right=),stopper=]

% Mathematical packets
\usemodule[newmat]
\usemodule[math-ams]

% Heads and footers
%\setupfootertexts[][{\tfx \currentdate}]
%\setupfootertexts[\pagenumber/\lastpage]
%\setupfooter[text][before=\hrule]
%\setupheader[text][after=\hrule]
%\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx 
\jobname.\ConTeXt{}.\currentdate}]
%\setupheadertexts[][{\tfx \currentdate}]


% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ció}
\hyphenation{cor-res-po-nents}
\hyphenation{pa-rells}
\hyphenation{ge-ne-rat}

% Modules
\usemodule[tikz]
\usemodule[pgfmath]
\usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings]
%\usetikzlibrary[trees]



% AMSTHM equivalent
%% Exercici
\defineenumeration
  [exercici]
  
[text={Problema},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,
stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,before={\bgroup\startframedtext[background=screen,frame=off,width=broad]},after={\stopframedtext\eg

Re: [NTG-context] texexec ignores file order

2009-07-21 Thread Ben Barrowes
> On Tuesday 21 July 2009 03:55:48 luigi scarso wrote:
> On Mon, Jul 20, 2009 at 7:36 PM, Ben Barrowes  wrote:
> > This bug has just resurfaced. It was working, for a while, but is now
> > back.
> >
> > I a, on a fully updated mandriva 2009 system using texlive.
> >
> > Thanks,
> > bb
> >
> > Just for curiosity:
>
> can you try with these filenames :
> yujo_insurance000.pdf
> yujo_insurance001.pdf
> yujo_insurance002.pdf
> yujo_insurance003.pdf
>
>
> yujo_insurance012.pdf
> and so on ?
>

It seems texexec is rearranging things for us. If I have three files:

pabscan001.pdf
pabscan002.pdf
pabscan010.pdf

Both of these statements produce the same output:
texexec --pdfarrange --result=pabscana.pdf pabscan001.pdf pabscan010.pdf 
pabscan002.pdf
texexec --pdfarrange --result=pabscana.pdf pabscan001.pdf pabscan002.pdf 
pabscan010.pdf 

Namely, the order is interpreted as:
TeXExec | arranging file pabscan001.pdf
TeXExec | arranging file pabscan002.pdf
TeXExec | arranging file pabscan010.pdf



Here is the full output of
texexec --pdfarrange --result=pabscana.pdf pabscan001.pdf pabscan010.pdf 
pabscan002.pdf

TeXExec | arranging file pabscan001.pdf
TeXExec | arranging file pabscan002.pdf
TeXExec | arranging file pabscan010.pdf
TeXExec | processing document 'texexec'
TeXExec | no ctx file found
TeXExec | outputfile pabscana
TeXExec | tex processing method: context
TeXExec | writing option file texexec.top
TeXExec | using randomseed 489
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeXk, Version 3.141592-1.40.5 (Web2C 7.5.6)
 %&-line parsing enabled.
 (/usr/share/texmf/web2c/natural.tcx)
entering extended mode
(./texexec.tex

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

language: language en is active
system  : cont-new loaded
(/usr/share/texmf-texlive/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/share/texmf-texlive/tex/context/base/cont-new.mkii))
system  : cont-old loaded
(/usr/share/texmf-texlive/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/share/texmf-texlive/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys.rme loaded
(/usr/share/texmf-texlive/tex/context/user/cont-sys.rme
(/usr/share/texmf-texlive/tex/context/base/type-exa.tex)
(/usr/share/texmf-texlive/tex/context/base/type-syn.tex)
(/usr/share/texmf-texlive/tex/context/base/type-enc.tex)
(/usr/share/texmf-texlive/tex/context/base/type-siz.tex)
(/usr/share/texmf-texlive/tex/context/base/type-map.tex)
(/usr/share/texmf-texlive/tex/context/base/type-spe.tex)
(/usr/share/texmf-texlive/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials: tex,postscript,rokicki loaded
system  : texexec.top loaded
(./texexec.top
specials: loading definition file tpd
(/usr/share/texmf-texlive/tex/context/base/spec-tpd.tex
specials: loading definition file fdf
(/usr/share/texmf-texlive/tex/context/base/spec-fdf.tex
(/usr/share/texmf-texlive/tex/context/base/spec-fdf.mkii))
specials: fdf loaded
)
specials: fdf,tpd loaded
)
systems : system commands are disabled
(/usr/share/texmf-texlive/tex/context/base/sort-def.tex)
(/usr/share/texmf-texlive/tex/context/base/sort-lan.tex)
(/usr/share/texmf-texlive/tex/context/base/pdfr-def.tex)
systems     : begin file texexec at line 13
{/usr/share/texmf-texlive/fonts/map/pdftex/context/original-empty.map}{/usr/sha
re/texmf-texlive/fonts/map/pdftex/context/texnansi-public-lm.map}{/usr/share/te
xmf-texlive/fonts/map/pdftex/context/original-base.map}{/usr/share/texmf-texliv
e/fonts/map/pdftex/context/ec-public-lm.map}{/usr/share/texmf-texlive/fonts/map
/pdftex/context/ec-base.map}{/usr/share/texmf-texlive/fonts/map/dvips/lm/lm-ec.
map}{/usr/share/texmf-texlive/fonts/map/pdftex/context/8r-base.map}{/usr/share/
texmf-texlive/fonts/map/pdftex/context/t5-base.map}{/usr/share/texmf-texlive/fo
nts/map/pdftex/context/original-ams-base.map}{/usr/share/texmf-texlive/fonts/ma
p/pdftex/context/original-ams-euler.map}{/usr/share/texmf-texlive/fonts/map/pdf
tex/context/original-p

Re: [NTG-context] Two newbie questions about Texfont

2009-07-17 Thread Harrie Frericks
I've been looking into luatex and got it running now. However, i'm not sure
how to link a font that I want to use in my ConText documents to an actual
font file on my disk. For example, I have tried:

\definebodyfont[12pt][rm][
tf="c:\fonts\ITC Stone Serif\SR__.AFM"
]

It doesn't work, so I guess this approach is both naive and optimistic.

I also read the manual "Texfont explained" for clues, but that didn't help
either.

Could someone show me how to use type1 font files with Luatex without having
to go the TexFont route.

Thanks, Harrie.

On Tue, Jul 14, 2009 at 8:13 PM, Hans Hagen  wrote:

> Harrie Frericks wrote:
>
>> Now that I finally have Context running I'm trying to install a number of
>> type1 fonts. I've read the Texfont manual, but I couldn't find answers to
>> these questions:
>> 1. Can Texfont recursively process a font tree?
>>
>> I have a directory font tree like this:
>>
>> c:\fonts\type1\font-family1
>> c:\fonts\type1\font-family2
>> c:\fonts\type1\font-family3
>>
>> each font-family subdirectory has a number of .afm files. If I set
>> --sourcepath to c:\fonts\type1 can Texfont recurse all the subdirectories
>> of
>> the font families and locate and process the .afm files?
>>
>>
>> 2. Can Texfont handle .afm files with extensions in uppercase?
>>
>> Most of my type1 font files are in uppercase like: XYZ_.AFM   I can
>> only
>> get Texfont to process these files if I first rename them to lowercase,
>> like
>> XYZ_.AFM
>>
>
> since you're new to context you can consider skipping pdftex and moving on
> to either xetex or luatex (which uses context mkiv)
>
> for luatex/mkiv you don't need to mess around with fonts as this combo
> directly handles afm/pfb files so there is no need for creating tfm metrics
>
> Hans
>
>
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] generating figures lists

2009-07-15 Thread Piotr Kopszak
Silly me, there was a mismatch between pdftex and ConTeXt version (is
it possible that it was due to excessive use of --keep while updating
Minimals?). Promise to read error messages in the future. I installed
Minimals from scratch today and the list of figures is generated but
only in one flavour. "alternative" switch does not have any effect.
Neither  enumerating of file extensions on the command line. When I
ask only for *.jpg I'm getting all supported image files on the list
anyway. (And the file is huge, doesn't it resize images before
typesetting the list?)

Piotr

2009/7/13, Hans Hagen :
> Piotr Kopszak wrote:
>> Hello,
>>
>> How do we generate them with recent MInimals?
>>
>> texexec --figures=c --paperoffset=.5cm *.pdf *.png *.jpg
>
> does
>
> -- figures alternative=c
>
> work?
>
> --
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>   | www.pragma-pod.nl
> -
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
>


-- 
http://okle.pl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] ruby or perl or lua or ...

2009-07-14 Thread Hans Hagen

Mojca Miklavec wrote:

On Tue, Jul 14, 2009 at 21:09, ivo welch wrote:

hi hans---just curious.   do you plan conTeXt to use just one computer
language in the future?


(even though I'm not Hans ...)

No. At least TeX, lua and metapost will probably stay, so that already
adds to three languages :) :) :)

If talking about scripting (ruby, perl) ... in ideal world it should
all end up being lua only (until the next language comes to the
horizon), but there might not be enough motivation to rewrite *all*
the existing scripts, so some of the older scripts (texfont etc.) will
probably stay in ruby/perl for a while/forever unless somebody else
rewrites them or unless Hans will need them.


we'll see how many context+pdftex users are around in a few years from 
now; of course i'll have a few existing workflows that use pdftex (and 
probably for many years) but one seldom needs to generate fonts for that


actually yesterday i had to update a pdftex based style and generate 
tfm's for an ttf font and of course the font was so bugged that i needed 
fontforge to turn it into a proper pfb file with adobe encoding; the 
original had a completely messed glyph names; interesting is that 
mkiv/luatex works ok with that font but of course the unicode vector in 
the pdf will be flaky as well


Hans

--

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

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


Re: [NTG-context] ruby or perl or lua or ...

2009-07-14 Thread Hans Hagen

ivo welch wrote:

hi hans---just curious.   do you plan conTeXt to use just one computer
language in the future?


indeed. most useful script are already converted to lua (mtx-* files 
that run on top of mtxrun); the advantage is that mtxrun has a built in 
filedatabase handler (so we don't use kpsewhich at all) and is pretty fast


the only bit that is still depending on ruby is the index sorting that 
is built in texexec (used by pdftex and xetex) but i could not motivate 
myself to rewrite that bit


the luatx workflow only uses lua and uses luatex itself as lua 
interpreter so there are no dependencies


Hans


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

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


Re: [NTG-context] Two newbie questions about Texfont

2009-07-14 Thread Harrie Frericks
Thanks, Hans, I will look into that.
Harrie

On Tue, Jul 14, 2009 at 8:13 PM, Hans Hagen  wrote:

> Harrie Frericks wrote:
>
>> Now that I finally have Context running I'm trying to install a number of
>> type1 fonts. I've read the Texfont manual, but I couldn't find answers to
>> these questions:
>> 1. Can Texfont recursively process a font tree?
>>
>> I have a directory font tree like this:
>>
>> c:\fonts\type1\font-family1
>> c:\fonts\type1\font-family2
>> c:\fonts\type1\font-family3
>>
>> each font-family subdirectory has a number of .afm files. If I set
>> --sourcepath to c:\fonts\type1 can Texfont recurse all the subdirectories
>> of
>> the font families and locate and process the .afm files?
>>
>>
>> 2. Can Texfont handle .afm files with extensions in uppercase?
>>
>> Most of my type1 font files are in uppercase like: XYZ_.AFM   I can
>> only
>> get Texfont to process these files if I first rename them to lowercase,
>> like
>> XYZ_.AFM
>>
>
> since you're new to context you can consider skipping pdftex and moving on
> to either xetex or luatex (which uses context mkiv)
>
> for luatex/mkiv you don't need to mess around with fonts as this combo
> directly handles afm/pfb files so there is no need for creating tfm metrics
>
> Hans
>
>
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Two newbie questions about Texfont

2009-07-14 Thread Hans Hagen

Harrie Frericks wrote:

Now that I finally have Context running I'm trying to install a number of
type1 fonts. I've read the Texfont manual, but I couldn't find answers to
these questions:
1. Can Texfont recursively process a font tree?

I have a directory font tree like this:

c:\fonts\type1\font-family1
c:\fonts\type1\font-family2
c:\fonts\type1\font-family3

each font-family subdirectory has a number of .afm files. If I set
--sourcepath to c:\fonts\type1 can Texfont recurse all the subdirectories of
the font families and locate and process the .afm files?


2. Can Texfont handle .afm files with extensions in uppercase?

Most of my type1 font files are in uppercase like: XYZ_.AFM   I can only
get Texfont to process these files if I first rename them to lowercase, like
XYZ_.AFM


since you're new to context you can consider skipping pdftex and moving 
on to either xetex or luatex (which uses context mkiv)


for luatex/mkiv you don't need to mess around with fonts as this combo 
directly handles afm/pfb files so there is no need for creating tfm metrics


Hans


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

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


Re: [NTG-context] First time user trying to get Context to work

2009-07-13 Thread Harrie Frericks
The problem has been solved. It turned out Ruby is installed twice on my
computer. One is the regular download from www.ruby-lang.org, the other one
came with cygwin (which I wasn't aware of). The cygwin path string was
before the c:\ruby path string. When I moved the c:\ruby path before the
cygwin path Context worked correctly.
And this took me a full day of hacking. Sigh.

Thanks for all your help.

Harrie.

On Mon, Jul 13, 2009 at 10:22 AM, Hans Hagen  wrote:

> Harrie Frericks wrote:
>
>> Problem 2 (not-solved)
>>>
>>>> I'm getting the infamous error: I can't find the format file
>>>> `cont-en.fmt'!
>>>>  I searched this list and tried texexec --make --all  This doesn't solve
>>>> the
>>>> problem. The problem is located in this part of the output:
>>>>
>>>>  did you run 'setuptex' in the tex path first?
>>>
>>> Hans
>>>
>>>
>> Yes, I did. It makes no difference.
>>
>
>
> the ./pdftex suggests that your env vars are not set up; on unix make sure
> that you run
>
> . setuptex
>
> (with period)
>
>
> Hans
>
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] First time user trying to get Context to work

2009-07-13 Thread Harrie Frericks
I did some more debugging:
In the file kpse.rb I entered an exception object after line 274, like this:

unless done then
formatpaths.each do |fp|
fpp = fp.sub(/#{engine}\/*$/o,'')
begin
FileUtils.makedirs(fpp)
rescue => excobj
puts "#{excobj.class}:
#{excobj.message}" # false # maybe we don't have an path yet
end
if FileTest.directory?(fpp) &&
FileTest.writable?(fpp) then
# use this path

This generates the following output when running texexec --make --all

TeXExex | using tex engine pdftex
Errno::ENOENT: No such file or directory -
c:/context/tex/texmf-mswin/web2c/pdftex:c:
TeXExex | using tex format path ./pdftex
TeXExex | unable to make format due to lack of permissions
TeXExex | using mp engine mpost
Errno::ENOENT: No such file or directory -
c:/context/tex/texmf-mswin/web2c/:c:
TeXExex | using mps format path

Does this help in solving this problem?

Thanks,

Harrie

On Mon, Jul 13, 2009 at 10:22 AM, Hans Hagen  wrote:

> Harrie Frericks wrote:
>
>> Problem 2 (not-solved)
>>>
>>>> I'm getting the infamous error: I can't find the format file
>>>> `cont-en.fmt'!
>>>>  I searched this list and tried texexec --make --all  This doesn't solve
>>>> the
>>>> problem. The problem is located in this part of the output:
>>>>
>>>>  did you run 'setuptex' in the tex path first?
>>>
>>> Hans
>>>
>>>
>> Yes, I did. It makes no difference.
>>
>
>
> the ./pdftex suggests that your env vars are not set up; on unix make sure
> that you run
>
> . setuptex
>
> (with period)
>
>
> Hans
>
> -
>  Hans Hagen | PRAGMA ADE
>  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] First time user trying to get Context to work

2009-07-13 Thread Hans Hagen

Harrie Frericks wrote:

Problem 2 (not-solved)

I'm getting the infamous error: I can't find the format file
`cont-en.fmt'!
 I searched this list and tried texexec --make --all  This doesn't solve
the
problem. The problem is located in this part of the output:


did you run 'setuptex' in the tex path first?

Hans



Yes, I did. It makes no difference.



the ./pdftex suggests that your env vars are not set up; on unix make 
sure that you run


. setuptex

(with period)

Hans

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

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


Re: [NTG-context] First time user trying to get Context to work

2009-07-13 Thread Hans Hagen

Harrie Frericks wrote:


Suggestion: when running first-setup.bat this error is produced on the very
first line. However, since there is a lot of text scrolling down the screen
this error is easily overlooked. It may be a good idea to unset the RUBYOPT
variable in this .bat file. It may also be a good idea to unset (and
probably reset) this variable in the texexec.bat file before texlua is
called.


ok, another option is to do this in mtx-context.lua as that one can also 
start texexec, like:



if texexec ~= "" then
os.setenv("RUBYOPT","")
local command = string.format("ruby %s 
%s",texexec,environment.reconstruct_commandline(environment.arguments_after))

os.exec(command)
    end


so "context --pdftex ..." then should work


Problem 2 (not-solved)
I'm getting the infamous error: I can't find the format file `cont-en.fmt'!
 I searched this list and tried texexec --make --all  This doesn't solve the
problem. The problem is located in this part of the output:


did you run 'setuptex' in the tex path first?

Hans

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

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


[NTG-context] First time user trying to get Context to work

2009-07-13 Thread Harrie Frericks
This is my first post to the list. I'm a first time user and I'm very eager
to give Context a try. However, so far I've been unable to get Context to
work properly. Maybe someone can help. I'm using a standard Windows PC
running XP SP2. I'm using the minimals version. There are no other Tex
related packages on my system.
Problem 1 (solved):
Ruby error: no such file to load ubygems
Solution: this error is caused by the environment variable RUBYOPT. When it
is set, it is usually set to -rubygems. Unsetting this variable solves the
problem.
Suggestion: when running first-setup.bat this error is produced on the very
first line. However, since there is a lot of text scrolling down the screen
this error is easily overlooked. It may be a good idea to unset the RUBYOPT
variable in this .bat file. It may also be a good idea to unset (and
probably reset) this variable in the texexec.bat file before texlua is
called.

Problem 2 (not-solved)
I'm getting the infamous error: I can't find the format file `cont-en.fmt'!
 I searched this list and tried texexec --make --all  This doesn't solve the
problem. The problem is located in this part of the output:

TexExec | using tex engine pdftex
TexExec | using tex format path ./pdftex
TexExec | unable to make format due to lack of permissions
TexExec | using mp engine mpost
TexExec | using mps format path .
TexExec | generating mps format metafun

I then did some debugging on the tex.rb file and found the error is
generated in the following piece of code starting at line 646:

if texformats && texengine then
report("using tex engine #{texengine}")
texformatpath = if getvariable('local') then '.' else
Kpse.formatpath(texengine,true) end
# can be empty, to do
report("using tex format path #{texformatpath}")
Dir.chdir(texformatpath) rescue false
if FileTest.writable?(texformatpath) then

The last if fails and generates the error on line 679. I then checked for
file permissions in the c:\context directory tree and found no problems
there. My guess: the ./pdftex format path either doesn't exist or can't be
found by tex.rb and this generates the error. The ruby scripts of Context
are too large to do a full debug. I simply do not have the time for that.

So, after several hours of hacking I hope someone can solve this problem, so
I can finally give Context a try.

Regards,

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

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


Re: [NTG-context] Duotones with spot colors

2009-07-10 Thread Piotr Kopszak
Yes, but I don't arrive at expected results with pdftex either.

Piotr

2009/7/9 Hans Hagen :
> Piotr Kopszak wrote:
>>
>> I can't get it right with mkii and xetex either.
>
> forget about xetex; mkii uses a pdftex feature (access to resource dict)
>
>
> -
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>



-- 
http://okle.pl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Duotones with spot colors

2009-07-09 Thread Hans Hagen

Piotr Kopszak wrote:

I can't get it right with mkii and xetex either.


forget about xetex; mkii uses a pdftex feature (access to resource dict)


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

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


Re: [NTG-context] colo-hex

2009-07-09 Thread Peter Rolf

sorry, wrong version of test file. the right one is attached now.

Peter Rolf schrieb:

Hi,

there is a small bug in colo-hex, which leads to slightly wrong colors 
(at max. -0.390625%).

In line 41 of both mark related files there is

\newdimen\hexcolorfraction \hexcolorfraction=\dimexpr(1pt/256)
.
This should be 255 (#fractions) instead of 256 (#values); I made the 
same error a quite while ago. If I patch the files, I get the correct 
color in case of mark ii, but mark iv still gives the wrong one 
(remade the formats). Mh, strange.


Here the output of my beloved 'tabbyCalc' (result of operation is 
always in next line, which is then used for next operation):


1/255
0,0039215686*255
0,3

1/256
0,00390625*255
0,99609375-1*100
-0,390625

I attached a small test file, which hopefully 'shows' (depends on your 
monitor) the difference. The border line goes from the lower left to 
the upper right corner; you have to look 'closely'. :D
I case of pdftex you can also peek into the eps file to see the color 
values (before and after patching). No such help for mkiv. I have no 
clue why mkiv still gives the wrong color...



Best wishes,  Peter



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

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


\setupcolors[state=start]
\setupcolor[hex]

%% fraction=  1/255*65536= 257.004
%\newdimen\hexcolorfraction \hexcolorfraction=\dimexpr1pt/255\relax% = 257sp

\definecolor[testcolor] [r=0.87843,g=0.87451,b=0.89020] % RGB(224,223,227))
\definecolor[testcolorHEX] [h=E0DFE3]% same as HEX (currently transformed to 
RGB(223,222,226) )


\startMPpage
path p;
p:= unitsquare xyscaled(5cm,5cm);
fill (point 0 of p -- point 1 of p -- point 2 of p --cycle)
withcolor \MPcolor{testcolorHEX}; % bottom right part of the square
fill (point 0 of p -- point 3 of p -- point 2 of p --cycle)
withcolor \MPcolor{testcolor}; % top left part
\stopMPpage

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

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


[NTG-context] colo-hex

2009-07-09 Thread Peter Rolf

Hi,

there is a small bug in colo-hex, which leads to slightly wrong colors 
(at max. -0.390625%).

In line 41 of both mark related files there is

\newdimen\hexcolorfraction \hexcolorfraction=\dimexpr(1pt/256)
.
This should be 255 (#fractions) instead of 256 (#values); I made the 
same error a quite while ago. If I patch the files, I get the correct 
color in case of mark ii, but mark iv still gives the wrong one (remade 
the formats). Mh, strange.


Here the output of my beloved 'tabbyCalc' (result of operation is always 
in next line, which is then used for next operation):


1/255
0,0039215686*255
0,3

1/256
0,00390625*255
0,99609375-1*100
-0,390625

I attached a small test file, which hopefully 'shows' (depends on your 
monitor) the difference. The border line goes from the lower left to the 
upper right corner; you have to look 'closely'. :D
I case of pdftex you can also peek into the eps file to see the color 
values (before and after patching). No such help for mkiv. I have no 
clue why mkiv still gives the wrong color...



Best wishes,  Peter

\setupcolors[state=start]
\setupcolor[hex]

%% fraction=  1/255*65536= 257.004
%\newdimen\hexcolorfraction \hexcolorfraction=\dimexpr1pt/255\relax% = 257sp

\definecolor[testcolor] [r=0.87843,g=0.87451,b=0.89020] % RGB(224,223,227))
\definecolor[testcolorHEX] [h=E0DFE3]% same as HEX (currently transformed to 
RGB(223,222,226) )
\definecolor[testcolor] [r=1,g=1,b=1] % RGB(224,223,227))
\definecolor[testcolorHEX] [h=FF]% same as HEX (currently transformed to 
RGB(223,222,226) )


\startMPpage
path p;
p:= unitsquare xyscaled(5cm,5cm);
fill (point 0 of p -- point 1 of p -- point 2 of p --cycle)
withcolor \MPcolor{testcolorHEX}; % bottom right part of the square
fill (point 0 of p -- point 3 of p -- point 2 of p --cycle)
withcolor \MPcolor{testcolor}; % top left part
\stopMPpage

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

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-21 Thread Hans Hagen

Mojca Miklavec wrote:

On Sun, Jun 21, 2009 at 13:09, Hans Hagen wrote:

Mojca Miklavec wrote:

Hans ... I suspect that ConTeXt MKII (both pdftex and xetex) are
missing from the list ...

indeed. mkiv only as i don't want dependencies on perl/ruby in this case


So ... should I start blackmailing with "I'll remove it from minimals
unless it starts supporting mkii" or rather with "I'll tell Jonathan
that your configuration doesn't support XeTeX"? :) :) :) :) :) :)

(Let's leave it up to users to install ruby themselves and it's
totally ok if mkiv stays the default, but I see no reason for not
providing XeTeX and pdfTeX support (with synctex switch on by default)
on purpose ...)


well, it's not that pdftex cq. xetex are not supported, but more that 
mtxrun defaults to luatex / mkiv (just as texexec defaults to pdftex) 
and *i* want to default to luatex (no matter how much you blackmail me)


users can

% engine=pdftex
% engine=xetex

at the top of their document if they want and mtxrun will then run 
texexec instead


if users want syntex on they can enable it with

\synctex=1

Hans

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

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-21 Thread Mojca Miklavec
On Sun, Jun 21, 2009 at 13:09, Hans Hagen wrote:
> Mojca Miklavec wrote:
>>
>> Hans ... I suspect that ConTeXt MKII (both pdftex and xetex) are
>> missing from the list ...
>
> indeed. mkiv only as i don't want dependencies on perl/ruby in this case

So ... should I start blackmailing with "I'll remove it from minimals
unless it starts supporting mkii" or rather with "I'll tell Jonathan
that your configuration doesn't support XeTeX"? :) :) :) :) :) :)

(Let's leave it up to users to install ruby themselves and it's
totally ok if mkiv stays the default, but I see no reason for not
providing XeTeX and pdfTeX support (with synctex switch on by default)
on purpose ...)

> (also, once the lua interface of texworks is stable and documented i'll see
> if i can make menus a bit more context friendly; for the moment i misuse the
> typesetting menu for a few 'features')

That's fine for me.

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-21 Thread Hans Hagen

Mojca Miklavec wrote:

On Mon, Jun 15, 2009 at 17:05, Hans Hagen wrote:

Yue Wang wrote:

It depends if the Minimals are intended to be a complete TeX system or
if they are meant to be a minimal system for ConTeXt, possibly
complementing the utility programs from TeX Live.

it is just context minimals' extra...
minimals can still be a minimal system for ConTeXt.

there will be a goodies option:

--goodies=scite,texworks,xml,gs


The option --goodies=texworks should work now. Once you run setuptex
(or if you have set the path), you should be able to call just
"texworks filename" from command line.

Hans ... I suspect that ConTeXt MKII (both pdftex and xetex) are
missing from the list ...


indeed. mkiv only as i don't want dependencies on perl/ruby in this case

(also, once the lua interface of texworks is stable and documented i'll 
see if i can make menus a bit more context friendly; for the moment i 
misuse the typesetting menu for a few 'features')



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

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-20 Thread Mojca Miklavec
On Mon, Jun 15, 2009 at 17:05, Hans Hagen wrote:
> Yue Wang wrote:
>>>
>>> It depends if the Minimals are intended to be a complete TeX system or
>>> if they are meant to be a minimal system for ConTeXt, possibly
>>> complementing the utility programs from TeX Live.
>>
>> it is just context minimals' extra...
>> minimals can still be a minimal system for ConTeXt.
>
> there will be a goodies option:
>
> --goodies=scite,texworks,xml,gs

The option --goodies=texworks should work now. Once you run setuptex
(or if you have set the path), you should be able to call just
"texworks filename" from command line.

Hans ... I suspect that ConTeXt MKII (both pdftex and xetex) are
missing from the list ...

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-15 Thread Hans Hagen

Yue Wang wrote:

btw, if one uses mkiv, ruby is no longer needed unless one wants to run
specific scripts that are not yet luafied; but then, installing ruby is no
big deal anyway


How about process the mkii document using lua script too? So
eventually we can get rid of ruby and perl.


for that i need to rewrite the index sorting in lua (plus a little bit 
of tui -> tuo handling)



now context script supports --pdftex and --xetex switch, but it still
fall back to texexec and texutils ruby scripts.


sure, time is limited

Hans


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

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-14 Thread Yue Wang
> btw, if one uses mkiv, ruby is no longer needed unless one wants to run
> specific scripts that are not yet luafied; but then, installing ruby is no
> big deal anyway

How about process the mkii document using lua script too? So
eventually we can get rid of ruby and perl.

now context script supports --pdftex and --xetex switch, but it still
fall back to texexec and texutils ruby scripts.


>
> Hans
>
>
> -
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-14 Thread Hans Hagen

luigi scarso wrote:



If I understand well, pstopdf uses ghostscript .
"luafication" will use ghostscript again ?


sure, what else ... actually, pstopdf started out as some perl script long
ago (when we started using pdftex) and we needed it not only in order to
convert to pdf, but also to clean up some mess in eps files that interfered
with the process



So what about a lua wrapper of libgs.so libgs.dll ?
code should be not complicated
http://wiki.contextgarden.net/User:Luigi.scarso/luatex_lunatic#Ghostscript


because it adds another dependency (dll/lib mess) while using the gs 
program is not much slower anyway


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

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-14 Thread luigi scarso
>
>
>> If I understand well, pstopdf uses ghostscript .
>> "luafication" will use ghostscript again ?
>>
>
> sure, what else ... actually, pstopdf started out as some perl script long
> ago (when we started using pdftex) and we needed it not only in order to
> convert to pdf, but also to clean up some mess in eps files that interfered
> with the process
>

So what about a lua wrapper of libgs.so libgs.dll ?
code should be not complicated
http://wiki.contextgarden.net/User:Luigi.scarso/luatex_lunatic#Ghostscript

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

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


Re: [NTG-context] stand-alone ConTeXt

2009-06-14 Thread Hans Hagen

luigi scarso wrote:

On Sun, Jun 14, 2009 at 12:28 PM, Hans Hagen  wrote:


Vyatcheslav Yatskovsky wrote:


Hello,

For me, pstopdf is a number one candidate to luafication :)
(Had problems with it recently)


yes, will be done (we use it here in workflows with massive amounts of
conversions, auto downsampling, etc)



If I understand well, pstopdf uses ghostscript .
"luafication" will use ghostscript again ?


sure, what else ... actually, pstopdf started out as some perl script 
long ago (when we started using pdftex) and we needed it not only in 
order to convert to pdf, but also to clean up some mess in eps files 
that interfered with the process


there's actually already something mtx-convert but it does not deal with 
eps


Hans

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

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


Re: [NTG-context] finding out what font are available

2009-06-13 Thread Ciro Soto
another try:

*mtxrun --script mtx-fonts --list
*./mtx-fonts.lua:11: attempt to index global 'resolvers' (a nil value)


also:
*
mtxrun --script fonts --list*
./fonts.lua:11: attempt to index global 'resolvers' (a nil value)


worst of all, my  current book is not working now:


*texexec  --pdf rg_wrap.tex*
TeXExec | processing document 'rg_wrap.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file rg_wrap.top
TeXExec | using randomseed 16
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
 (/usr/local/share/texmf/web2c/natural.tcx)
entering extended mode
(./rg_wrap.tex

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

language: language en is active
system  : cont-new loaded
(/usr/local/share/texmf/tex/context/base/cont-new.tex

FatalError  : Your format does not match the base files!

FormatVersion   : 2008.05.21 15:21 MKII
FilesVersion: 2009.05.29 23:34

TeXUtil | unable to locate rg_wrap.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.134492


please advise what to do.


thank you
Ciro


On Sat, Jun 13, 2009 at 3:10 PM, Ciro Soto  wrote:

> Getting closer:
> I ran *mktexlsr* and got:
> mktexlsr: Done.
>
> the I ran:
>
> *% mtxrun --verbose  --script fonts --info*
> MtxRun | variable SELFAUTOLOC set to /home/ciro/context/tex/texmf-linux/bin
> MtxRun | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux
> MtxRun | variable SELFAUTOPARENT set to /home/ciro/context/tex
> MtxRun | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c
> MtxRun | loading configuration file
> /home/ciro/context/tex/texmf/web2c/texmfcnf.lua
> MtxRun | loading configuration for /home/ciro/context/tex/texmf/web2c from
> /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b
> MtxRun | locating list of /home/ciro/context/tex/texmf
> MtxRun | loading files for /home/ciro/context/tex/texmf from
> /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc
> MtxRun | using script: mtx-fonts.lua
>
> cannot open : No such file or directory
>
> what else could I do to get the list of fonts available?
>
> thank you
> Ciro
>
>
> -- Links of your interest:
> http://www-personal.engin.umd.umich.edu/~cirosoto/<http://www-personal.engin.umd.umich.edu/%7Ecirosoto/>
> http://www.TheGuitarMakerExploration.com
> http://www.myspace.com/sotoaguirre
>
>
> On Sat, Jun 13, 2009 at 10:05 AM, Ciro Soto  wrote:
>
>> I did run luatools  --generate. I get:*
>>
>> luatools --verbose --generate
>> *LuaTools | version 1.2.2 - 2006+ - PRAGMA ADE / CONTEXT
>>
>> LuaTools | variable SELFAUTOLOC set to
>> /home/ciro/context/tex/texmf-linux/bin
>> LuaTools | variable SELFAUTODIR set to /home/ciro/context/tex/texmf-linux
>> LuaTools | variable SELFAUTOPARENT set to /home/ciro/context/tex
>> LuaTools | variable TEXMFCNF set to /home/ciro/context/tex/texmf/web2c
>> LuaTools | loading configuration file
>> /home/ciro/context/tex/texmf/web2c/texmfcnf.lua
>> LuaTools | loading /home/ciro/context/tex/texmf/web2c/texmf.cnf
>> LuaTools | preparing configuration for /home/ciro/context/tex/texmf/web2c
>> LuaTools | configuration saved in
>> /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.lua
>> LuaTools | configuration compiled to
>> /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/2f8879b44d23456e76a2b13e4fc4fa9b.luc
>> LuaTools | locating list of /home/ciro/context/tex/texmf
>> LuaTools | scanning path /home/ciro/context/tex/texmf
>> LuaTools | 2888 files found on 94 directories with 64 uppercase remappings
>> LuaTools | preparing files for /home/ciro/context/tex/texmf
>> LuaTools | files saved in
>> /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.lua
>> LuaTools | files compiled to
>> /home/ciro/context/tex/texmf-cache/luatex-cache/context/3e64d452a8a0bdcae257a98fc8ef76f6/trees/fef1be4e394a17a934e9d3021bf5aabc.luc
>> LuaTools |
>> LuaTools | runtime: 0.165 seconds
>> *
>>
>>
>> mtxrun --verbose --script fonts --list*
>> MtxRun | variable SELFAUTOLOC set to
>> /home/cir

Re: [NTG-context] label, caption and eps in figures?

2009-06-12 Thread Hans Hagen

Pau wrote:

Hello,

I am struggling to get something equivalent to this in ConTeXt:

-
\begin{figure}
\resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip]
{MyFigure.eps}}
\caption{My Caption
\label{fig.mylabel}
}
\end{figure}
-

I am especially having difficulties with caption (I would need a bold
"Fig. 1" on it) and with the label. \ref{fig.mylabel} is not
recognised (see below).


\starttext

\placefigure
{My Caption}
{\externalfigure[MyFigure.eps][factor=broad]}

\stoptext

by default pdftex is used; if you use eps, best convert them to pdf 
first (once)


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

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


[NTG-context] resetting localfootnote counter query

2009-06-11 Thread Bowen Alan C.
I currently have a document in which there are numerous tables each  
with local footnotes marked by alphabetic characters. When I process  
the file, I get complaints like:


pdfTeX warning (ext4): destination with the same identifier (name{a})  
has been

already used, duplicate ignored

   \egroup
\thisisdestination ... \dostartthisislocation {#1}
   
\dostopthisislocation \fi ...


\dodowritereference ...nceprefix \lastreference }}
  \referenceinfo > 
\lastrefer...


\rawprocesscommaitem ...commalevel \endcsname {#1}
  \expandafter  
\rawprocessco...


\rawprocesscommalist ... \rawprocesscommaitem #1,]
  ,\global \advance  
\commale...


\writereference ...[\!!stringa ]\dowritereference
  \fi \fi
...
l.354 \footnotetext[a]
  {See \goto{Pingree 1977}[Pingree1977].}

Is there a way to reset the localfootnote counter so that ConTeXt is  
happy and the footnotes marked by arabic numerals are undisturbed.  
Something like \resetnumber[localfootnotes] perhaps, though this does  
not work.


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

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


Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Peter Rolf

Mojca Miklavec schrieb:

Hello,

Does anyone else experience problems using metafun graphics in mkii?
Did I miss some runwhatevertrue switch somewhere? Are the stubs in
minimals incompatible in some way? At least live.contextgarden.net
seems to suffer as well.

Minimal example:

\startMPcode
draw fullcircle scaled 3cm;
\stopMPcode

If I run the code with some older ConTeXt then the code starts working
again with a recent ConTeXt, but recent ConTeXt doesn't generate the
   jobname-mpgraph.1
file at all. Once compiling the document with an older version, the
file is generated and it starts working again. But this behaviour
breaks my module :(

  

no problems with mp here...

ConTeXt version: 2009.06.04 22:20
MetaPost 1.202
pdfTeX 3.1415926-1.40.10-2.2 (Web2C 2009)

Best wishes, Peter


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

  


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

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


Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Zhichu Chen
Well, I don't quite sure if it's the same problem with you guys
but there's a weird thing that after I updated to the current
beta release, I have to run "texmfstart texexec" twice to get
the metapost figures.

On Mon, Jun 8, 2009 at 7:30 PM, Peter Münster wrote:
> On Mon, 8 Jun 2009, Mojca Miklavec wrote:
>
>> Does anyone else experience problems using metafun graphics in mkii?
>> Did I miss some runwhatevertrue switch somewhere? Are the stubs in
>> minimals incompatible in some way? At least live.contextgarden.net
>> seems to suffer as well.
>
> No problem here with latest minimals...
>
> Versions:
>
> This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 7.5.7)
>  \write18 enabled.
>  (/opt/context/tex/texmf-context/web2c/natural.tcx)
> entering extended mode
> (./test.tex
>
> ConTeXt  ver: 2009.06.07 14:02 MKII  fmt: 2009.6.8  int: english/english
>
> Cheers, Peter
>
> --
> Contact information: http://pmrb.free.fr/contact/
>
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>



-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

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

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


Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Peter Münster
On Mon, 8 Jun 2009, Mojca Miklavec wrote:

> Does anyone else experience problems using metafun graphics in mkii?
> Did I miss some runwhatevertrue switch somewhere? Are the stubs in
> minimals incompatible in some way? At least live.contextgarden.net
> seems to suffer as well.

No problem here with latest minimals...

Versions:

This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 7.5.7)
 \write18 enabled.
 (/opt/context/tex/texmf-context/web2c/natural.tcx)
entering extended mode
(./test.tex

ConTeXt  ver: 2009.06.07 14:02 MKII  fmt: 2009.6.8  int: english/english

Cheers, Peter

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

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

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


Re: [NTG-context] Can't set typescript

2009-06-07 Thread Wolfgang Schuster


Am 07.06.2009 um 20:25 schrieb Maurí cio:


I'm trying this small test:

%

\enableregime[utf]
\usetypescriptfile[type-xtx]
\usetypescript[gentium]
\setupbodyfont[gentium]
\starttext
\showbodyfont
\stoptext

%

It's supposed to select 'gentium' as typeface,
but the chart shown by 'showbodyfont' says I'm
using 'modern'.

Am I missing something? I'm using minimal install,
updated yesterday (although I have this problem for
at least two weeks).

1. Do you use XeTeX to process your file?
2. Do you have the Gentium fonts on your system?



I use the minimal install from pragma site, as prescribed
in the 'simple' version of instructions in:

http://wiki.contextgarden.net/ConTeXt_Minimals



1. You don't need \enablregime[utf] for XeTeX or LuaTeX (you need
   it only when you want to process your document with pdfTeX too)

2. type-xtx is loaded for XeTeX by default

3. This should work:

   \usetypescriptfile[type-gentium]
   \usetypescript[gentium]
   \setupbodyfont[gentium]
   \starttext
   ...
   \stoptext

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

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


Re: [NTG-context] Can't set typescript

2009-06-07 Thread Maurí­cio

I'm trying this small test:

%

\enableregime[utf]
\usetypescriptfile[type-xtx]
\usetypescript[gentium]
\setupbodyfont[gentium]
\starttext
\showbodyfont
\stoptext

%

It's supposed to select 'gentium' as typeface,
but the chart shown by 'showbodyfont' says I'm
using 'modern'.

Am I missing something? I'm using minimal install,
updated yesterday (although I have this problem for
at least two weeks).


1. Do you use XeTeX to process your file?

2. Do you have the Gentium fonts on your system?



I use the minimal install from pragma site, as prescribed
in the 'simple' version of instructions in:

http://wiki.contextgarden.net/ConTeXt_Minimals

Aren't XeTeX and Gentium supposed to be there? I can find
these files:

context/tex/texmf-linux/xetex
context/tex/texmf-linux/bin/xetex

context/tex/texmf/fonts/enc/dvips/gentium
context/tex/texmf/fonts/truetype/public/gentium
context/tex/texmf/fonts/tfm/public/gentium
context/tex/texmf/fonts/map/pdftex/gentium
context/tex/texmf/tex/context/third/gentium

Thanks,
Maurício

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

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


[NTG-context] Problems with bibtex and @incollection

2009-06-06 Thread Xan

Hi,

When I put one reference as @incollection Bibtex does not show me the 
title of the article in the book, but yes the booktitle. Why?. Anyone 
could help me please.


I attached the files

Xan.

Please CC me
@article{bridson,
 author = "Martin R. Bridson",
 title = "On the geometry of normal forms in discrete groups",
 journal = "Proceedings of the London Mathematical Society",
 year = "1993",
 volume = "67",
 pages = "595-616"
}

@article{riley,
author = "Tim R. Riley",
title = "The geometry of groups satisfying weak almost-convexity or weak geodesic-combability conditions",
journal = "Journal of Group Theory",
year = "2002",
volume= 5,
pages = "513-525"
}

@book{epstein,
 author = "Epstein, David B. A. and J. W. Cannon and D. F. Holt and S. V. F. Levy and M. S. Paterson and W. P. Thurston",
 title = "Word processing in groups",
 publishers="Jones and Barlett Publishers",
 year= "1992"
}


@book{delaharpe,
 author= "de la Harpe, Pierre",
 title = "Topics in Geometric Group Theory",
 publishers = "University of Chicago Press",
 series= "Chicago Lectures in Mathematics",
 year = "2000"
}

@incollection{bridson-tutorial,
 author= "Martin R. Bridson",
 title = {{The geometry of the word problem}},
 booktitle= "Invitations to Geometry and Topology",
 year = "2002",
 publisher = "Oxford University Press",
 editor = "Martin R. Bridson, Simon M. Salamon",
 pages="29-92"
}% interface=en output=pdftex
%\environment capcalera.context % Capçalera

% 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}]

% White space between paragraphs
%\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% Margins
%\setuplayout  [grid=yes, footer=0.5\footerheight, header=0.5\headerheight]
%\setuplayout[footer=2cm, header=2cm]
%\showlayout
%\showframe
%\showsetups
% Format de marges
\setuplayout[topspace=1.5cm, % marge d'adalt
margin=1.5cm, %marges dels costats
header=1.0cm,%separació entre adalt i primera línia
footer=1.0cm,%separació entre abaix i darrera línia
width=fit,height=fit,backspace=2cm]



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

% Enumerate the URLs
%\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki]
%\useURL[nagorko-pdf][http://www.math.bgu.ac.il/~barakw/probseminar/nagorko/slides.pdf][][http://www.math.bgu.ac.il/\~{}barakw/\quad\quad\quad\quad
 probseminar/nagorko/slides.pdf]
%\useURL[govern-me][http://sgtrelinst.caib.es/llibrestil/00index.html][][http://sgtrelinst.caib.es/llibrestil/00index.html]
%\useURL[context-manual-pdf][http://www.pragma-ade.com/general/manuals/cont-eni.pdf][][http://www.pragma-ade.com/general/manuals/
 cont-eni.pdf]
%\useURL [contextgarden] [{http://www.contextgarden.net}]

%\useURL 
[mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf 
http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}]


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

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

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

% Vertical spaces between paragraphs
\setupwhitespace[small]

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

% Mathematical packets
\usemodule[newmat]
\usemodule[math-ams]

% Heads and footers
\setupfootertexts[\pagenumber/\lastpage]
\setupfooter[text][before=\hrule]
\setupheader[text][after=\hrule]
\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx 
\jobname.\ConTeXt{}.\currentdate}]

% hyphenating
\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\hyphenation{ge-ne-ra-lit-za-ció}
\hyphenation{cor-res-po-nents}

% Modules
\usemodule[tikz]
\usemodule[pgfmath]
\usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations

[NTG-context] new beta

2009-06-04 Thread Hans Hagen

hi,

i uploaded a new beta. a few small fixes, mostly related to metafun 
(i'll look into the reported structure bugs later)


in the process of updating the metafun manual, i also enabled the 
multiple mp instance; this is a typical example where luatex beats 
pdftex in runtime (on my machine 47 seconds for 350+ pages with over 
1700 mp graphics including a bunch of subruns; )


you can add definitions per instance, like:

\startMPdefinitions{extrafun}
color MyColor ; MyColor = red ;
\stopMPdefinitions

\startMPcode{metafun}
fill fullsquare scaled 1cm withcolor MyColor ;
\stopMPcode

new instances, like the predefined extrafun, are defined as

\defineMPinstance[extrafun][format=metafun,extensions=yes,initializations=yes]

so, if you use tricky mp code, you can create your own instance 
(predefined are metafun, extrafun, nofun and metapost)


you can redirect to an instance with a prefix:

\useMPgraphic{nofun::purempgraphic}

still somewhat experimental

Hans

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

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


Re: [NTG-context] MKIV doesn't support units module?

2009-06-03 Thread Zhichu Chen
:/ConTeXt/tex/texmf-loc
al/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.tex
(d:/ConTeXt/tex/texmf-loca
l/tex/context/base/type-otf.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-tmf.tex)
(d:/ConTeXt/tex/texmf-loca
l/tex/context/base/type-siz.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex/texmf-local
/tex/context/base/type-otf.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.mkiv))
(d:/ConTeXt/tex/texmf-local/
tex/context/base/type-otf.mkiv))
bodyfont: 12pt rm is loaded
language: language en is active
system  : module units loaded
(d:/ConTeXt/tex/texmf-local/tex/context/base/m-units.tex)
systems : begin file test at line 3
fonts   : resetting map file list
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{d:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{d:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1]
systems : end file test at line 5
 
){d:/ConTeXt/tex/texmf/fonts/enc/dvips/lm/lm-mathit.enc}
mkiv lua stats : used config path  -
d:/ConTeXt/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   - d:/ConTeXt/tex/texmf-cache
mkiv lua stats : input load time   - 0.051 seconds
mkiv lua stats : stored bytecode data  - 168 modules, 45 tables, 213 chunks
mkiv lua stats : cleaned up reserved nodes - 20 nodes, 8 lists of 1411
mkiv lua stats : node memory usage - 19 glue_spec, 2 dir
mkiv lua stats : loaded patterns   - en:us:pat:exc:2
mkiv lua stats : startup time  - 2.890 seconds (including
runtime option file processing)
mkiv lua stats : jobdata time  - 0.061 seconds saving,
0.006 seconds loading
mkiv lua stats : callbacks - direct: 240, indirect:
28214, total: 28454
mkiv lua stats : loaded fonts  - 31 files: eufb10:tfm
eufb7:tfm eufb9:tfm eufm10:tfm eufm7:tfm eufm9:tfm lme
x10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmmib10:tfm lmmib7:tfm
lmmono12-regular:otf lmmono8-regular:otf lmmono9-regular:o
tf lmroman12-bold:otf lmroman12-regular:otf lmroman7-bold:otf
lmroman7-regular:otf lmroman9-bold:otf lmroman9-regular:ot
f lmsans12-regular:otf lmsans8-regular:otf lmsans9-regular:otf
lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm1
0:tfm msbm7:tfm
mkiv lua stats : fonts load time   - 0.751 seconds
mkiv lua stats : result saved in file  - test.pdf
mkiv lua stats : luatex banner - this is luatex, version beta-0.40.0
mkiv lua stats : control sequences - 29890 of 165536
mkiv lua stats : current memory usage  - 38 MB (ctx: 39 MB)
mkiv lua stats : runtime   - 4.703 seconds, 1
processed pages, 1 shipped pages, 0.213 pages/second
MTXrun | total runtime: 6.540
==

That's it.

>
> Hans
>
> -
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>



-- 
Best Regards
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn

___
If your questio

Re: [NTG-context] Installation problem (was Updates without rsync)

2009-06-02 Thread Piotr Kopszak
Why not Emacs :) It's also quite nice for ConTeXt.

P.

2009/6/2  :
>
>
>> I wanted to get a clean, up-to-date installation of Context on Windows
>> (without using rsync), so started from scratch as follows:
>>
>> 1. Downloaded
>> http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip
>> 2. Unzipped to C:\Tools\context
>> 3. Renamed C:\Tools\context\texmf-context to texmf-context-old
>> 4. Downloaded cont-tmf.zip and unzipped contents to
>> c:\Tools\context\texmf-context
>> 3. From command window, ran:
>>       cd \Tools\context
>>       setuptex      mktexlsr      luatools --generate      luatools
>> --selfupdate      mtxrun   --selfupdate      texexec --make      context
>> --make
>> 4. To generate new pdf, ran:      context testdoc.tex
>>
>> Everything seemed to execute without errors until the last step which
>> returned:
>>
>> MtxRun | loading configuration for C:/Tools/context/texmf/web2c from
>> C:/Tools/context/texmf-cache/luatex-
>>
> cache/context/b7bcb6722e1fe509b85ff004c33e8274/trees/90e2367b37b32bcc25e442581c9e72e2
>
>> MtxRun | run 1: luatex
>> --fmt="C:/Tools/context/texmf-cache/luatex-
>> cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en"
>>
>> --lua="C:/Tools/context/texmf-cache/luatex-
>> cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.lua"
>>  "./testdoc.tex"
>> luatex.exe:
>> C:/Tools/context/texmf-cache/luatex-
>> cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.fmt:
>>  No such file or directory
>> MtxRun | fatal error, code: 1
>>
>> Looking at the source directory, a file "testdoc.top" has been created
> but
>> nothing else.
>>
>> Can someone please point me towards a next step?
>>
>> Thanks,
>>
>> Richard
>>
>> P.S. I tried copying cont-en.fmt from
>> "C:\Tools\context\texmf-mswin\web2c\luatex\pdftex" to the cache directory
>> but got "Fatal format file error, I'm stymied".
>
> I was trying various things and downloaded the beta version of cont-tmf.zip
> (from http://www.pragma-ade.com/download-2.htm ) instead of the current
> version and it all works, hooray!
> Thank-you, everyone, for your help. I'm so pleased to be able to use MKIV
> now for the first time - it even gives me Helvetica when I ask for it.
> All I've got to do now is get Scite working again :-(
>
> Thanks,
>
> Richard
>
>
>
> Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
> Registration Number: 2416188
> Registered in England and Wales.
> Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.
>
> CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
> privileged. If you are not a named recipient, please notify the sender 
> immediately and do not disclose the contents to another person, use it for 
> any purpose or store or copy the information in any medium.
>
> Please consider the environment before printing this e-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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>



-- 
http://okle.pl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Installation problem (was Updates without rsync)

2009-06-02 Thread richard . stephens


> I wanted to get a clean, up-to-date installation of Context on Windows
> (without using rsync), so started from scratch as follows:
>
> 1. Downloaded
> http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip
> 2. Unzipped to C:\Tools\context
> 3. Renamed C:\Tools\context\texmf-context to texmf-context-old
> 4. Downloaded cont-tmf.zip and unzipped contents to
> c:\Tools\context\texmf-context
> 3. From command window, ran:
>   cd \Tools\context
>   setuptex      mktexlsr      luatools --generate      luatools
> --selfupdate      mtxrun   --selfupdate      texexec --make      context
> --make
> 4. To generate new pdf, ran:      context testdoc.tex
>
> Everything seemed to execute without errors until the last step which
> returned:
>
> MtxRun | loading configuration for C:/Tools/context/texmf/web2c from
> C:/Tools/context/texmf-cache/luatex-
>
cache/context/b7bcb6722e1fe509b85ff004c33e8274/trees/90e2367b37b32bcc25e442581c9e72e2

> MtxRun | run 1: luatex
> --fmt="C:/Tools/context/texmf-cache/luatex-
> cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en"
>
> --lua="C:/Tools/context/texmf-cache/luatex-
> cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.lua"
>  "./testdoc.tex"
> luatex.exe:
> C:/Tools/context/texmf-cache/luatex-
> cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.fmt:
>  No such file or directory
> MtxRun | fatal error, code: 1
>
> Looking at the source directory, a file "testdoc.top" has been created
but
> nothing else.
>
> Can someone please point me towards a next step?
>
> Thanks,
>
> Richard
>
> P.S. I tried copying cont-en.fmt from
> "C:\Tools\context\texmf-mswin\web2c\luatex\pdftex" to the cache directory
> but got "Fatal format file error, I'm stymied".

I was trying various things and downloaded the beta version of cont-tmf.zip
(from http://www.pragma-ade.com/download-2.htm ) instead of the current
version and it all works, hooray!
Thank-you, everyone, for your help. I'm so pleased to be able to use MKIV
now for the first time - it even gives me Helvetica when I ask for it.
All I've got to do now is get Scite working again :-(

Thanks,

Richard



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Installation problem (was Updates without rsync)

2009-06-01 Thread richard . stephens

Hello everyone,

I wanted to get a clean, up-to-date installation of Context on Windows
(without using rsync), so started from scratch as follows:

1. Downloaded
http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip
2. Unzipped to C:\Tools\context
3. Renamed C:\Tools\context\texmf-context to texmf-context-old
4. Downloaded cont-tmf.zip and unzipped contents to
c:\Tools\context\texmf-context
3. From command window, ran:
  cd \Tools\context
  setuptex      mktexlsr      luatools --generate      luatools
--selfupdate      mtxrun   --selfupdate      texexec --make      context
--make
4. To generate new pdf, ran:      context testdoc.tex

Everything seemed to execute without errors until the last step which
returned:

MtxRun | loading configuration for C:/Tools/context/texmf/web2c from
C:/Tools/context/texmf-cache/luatex-cache/context/b7bcb6722e1fe509b85ff004c33e8274/trees/90e2367b37b32bcc25e442581c9e72e2
MtxRun | run 1: luatex
--fmt="C:/Tools/context/texmf-cache/luatex-cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en"

--lua="C:/Tools/context/texmf-cache/luatex-cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.lua"
 "./testdoc.tex"
luatex.exe:
C:/Tools/context/texmf-cache/luatex-cache/context/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.fmt:
 No such file or directory
MtxRun | fatal error, code: 1

Looking at the source directory, a file "testdoc.top" has been created but
nothing else.

Can someone please point me towards a next step?

Thanks,

Richard

P.S. I tried copying cont-en.fmt from
"C:\Tools\context\texmf-mswin\web2c\luatex\pdftex" to the cache directory
but got "Fatal format file error, I'm stymied".




Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. 
Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be 
privileged. If you are not a named recipient, please notify the sender 
immediately and do not disclose the contents to another person, use it for any 
purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Cannot run Lilypond

2009-05-31 Thread Vyatcheslav Yatskovsky

Hello,

I gave a try to LiliPond today, but it doesn't work for me.

1) I've installed LilyPond 2.12.2 on Windows

2) Ran a simple example


\usemodule[lilypond]

\starttext

There are some notes \lilypond{ \relative{bes a c b} } embedded in this 
line.


\stoptext


3) And got dummy image


What's wrong?

Details are attached.

Regards, Vyatcheslav



(lily1.tex
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated

ConTeXt  ver: 2009.05.22 09:27 MKIV  fmt: 2009.5.24  int: english/english

system  : cont-new loaded
(c:/contextminimal/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(c:/contextminimal/texmf-context/tex/context/base/cont-new.mkiv) 
(c:/contextminimal/texmf-context/tex/context/base/cont-mtx.tex))
system  : cont-fil loaded
(c:/contextminimal/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(c:/contextminimal/texmf-context/tex/context/user/cont-sys.rme 
(c:/contextminimal/texmf-context/tex/context/base/type-tmf.tex) 
(c:/contextminimal/texmf-context/tex/context/base/type-siz.tex 
(c:/contextminimal/texmf-context/tex/context/base/type-siz.mkiv)) 
(c:/contextminimal/texmf-context/tex/context/base/type-otf.tex 
(c:/contextminimal/texmf-context/tex/context/base/type-otf.mkiv)))
system  : lily1.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={
%"lily1.tex",
%   }
%   \stopluacode
%   % process info
%   \setupsystem[\c!n=1,\c!m=1]
%   \setupsystem[\c!type=windows]
%   % modes
%   % options (not that important)
%   \startsetups *runtime:options
%   \setupoutput[pdftex]
%   \stopsetups
%   % styles and modules
%   \startsetups *runtime:modules
%   \stopsetups
%   % done
%   \protect \endinput
%
%   end of optionfile
%
(lily1.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
system  : module lilypond loaded
(c:/contextminimal/texmf-context/tex/context/third/t-lilypond.tex
loading : LilyPond module
)
systems : begin file lily1 at line 3
LilyPond: lily1-lilypond-1
fonts   : resetting map file list
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{c:/contextminimal/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math
{c:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{c:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1]
systems : end file lily1 at line 7
system  : cont-err loaded
(c:/contextminimal/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:/contextminimal/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   - c:/contextminimal/texmf-cache
mkiv lua stats : input load time   - 0.016 seconds
mkiv lua stats : stored bytecode data  - 168 modules, 45 tables, 213 chunks
mkiv lua stats : cleaned up reserved nodes - 23 nodes, 8 lists of 1411
mkiv lua stats : node memory usage - 19 glue_spec, 2 dir
mkiv lua stats : loaded patterns   - en:us:pat:exc:2
mkiv lua stats : startup time  - 0.500 seconds (including runtime 
option file processing)
mkiv lua stats : callbacks - direct: 171, indirect: 5079, 
total: 5250
mkiv lua stats : loaded fonts  - 31 files: eufb10:tfm eufb7:tfm 
eufb9:tfm eufm10:tfm eufm7:tfm eufm9:tfm lmex10:tfm lmmi12:tfm lmmi7:tfm 
lmmi9:tfm lmmib10:tfm lmmib7:tfm 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 lmsy10:tfm 
lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm10:tfm msbm7:tfm
mkiv lua stats : fonts load 

[NTG-context] beta (22.05.2009,9:27): textext broken in mkii?

2009-05-22 Thread Peter Rolf

Hi,

I get a ruby script error (and no graphic), if I use the attached 
example with pdftex.


[..]
(./textext.tuo)TeXExec | processing graphic 'textext-mpgraph'
r:/tex/texmf-context/scripts/context/ruby/base/tex.rb:2108:in 
`doruntexmp'TeXExec | option 'batchmode' is set to 'true'

TeXExec | option 'once' is set to 'true'
TeXExec | option 'nomprun' is set to 'true'
TeXExec | option 'output' is set to 'dvips'
TeXExec | option 'randomseed' is set to '217'
TeXExec | option 'filename' is set to 'textext-mpgraph'
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 nl mptopdf'
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'
: undefined local variable or method `data' for # (NameError)
   from r:/tex/texmf-context/scripts/context/ruby/base/tex.rb:1617:in 
`runtexmp'
   from r:/tex/texmf-context/scripts/context/ruby/base/tex.rb:1151:in 
`processmptex'
   from r:/tex/texmf-context/scripts/context/ruby/base/tex.rb:1148:in 
`each'
   from r:/tex/texmf-context/scripts/context/ruby/base/tex.rb:1148:in 
`processmptex'

   from r:/tex/texmf-context/scripts/context/ruby/texexec.rb:73:in `mptex'
   from r:/tex/texmf-context/scripts/context/ruby/base/switch.rb:133:in 
`send'
   from r:/tex/texmf-context/scripts/context/ruby/base/switch.rb:133:in 
`execute'

   from r:/tex/texmf-context/scripts/context/ruby/texexec.rb:787

systems : begin file textext at line 4
[MP to PDF] (./textext-mpgraph.1 (./textext.tuo)
[..]


Best wishes, Peter
\setupcolors[state=start]
\setuppagenumber[state=stop]

\starttext
\null
\startMPcode
fill unitsquare xyscaled(5cm,5cm) withcolor green;
label(textext("test"),(1cm,1cm));
\stopMPcode
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] Problem of mptopdf

2009-05-21 Thread Hans Hagen

y...@mathematik.uni-marburg.de wrote:

hi,

I tried use the "mptopdf" command to convert a figure generated by "mpost"
into a .pdf file, and got following error:

!pdfTeX error: pdftex.exe (file ec-lmr12): Font ec-lmr12 at 600 not found
 ==> Fatal error occurred, no output PDF file produced!

The figures are generated from following metapost file:
%%%
beginfig(2)
label("Haha", (2,0));
draw (for i=0 upto 7: dir(135i)-- endfor cycle);
endfig;
beginfig(5)
label(btex Haha etex, (2,0));
draw (for i=0 upto 7: dir(135i)-- endfor cycle);
endfig;
%%%

But the ec-lmr12 file exists and can be located with "kpsewhich". It seems
the problem is the "btex etex" environment, because there is no error with
the first figure.

I work under the mswin-context-standalone downloaded from Pragma-ADE,
appreciate for any tip!


does texexec --mptex yourfile.mp

work ok?


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

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


Re: [NTG-context] loading figure in LuaTeX

2009-05-21 Thread Yanrui Li
Hi Dalyoung,

You should use the absolute path for your figure, such as:

\externalfigure[/home/your-name/Documents/figures/math-shapes/moebius-band][]

On Thu, May 21, 2009 at 5:03 PM, Dalyoung Jeong  wrote:
> Dear all,
>
> I tried to load figure in LuaTeX, but I couldn't succeed.
> However, it is perfectly working in ConTeXt and XeConTeXt.
> I don't know what is wrong.
>
> best regads,
>
> Dalyoung
>
>
> My system is Mac 10.5.6, ConTeXt Minimal, LuaTeX ver 0.40.1.
> Here is a short test file.
>
> 
> \starttext
>
> Thank you for reading.
>
> \externalfigure[~/Documents/figures/math-shapes/moebius-band][]
>
> \stoptext
>
> **
> Here is a log file of LuaTeX.
>
> MTXrun | run 1: luatex
> --fmt="/Users/dalyoung/ConTeXtMini/tex/texmf-cache/luatex-cache/context/96bab756b7b86dbb7077fbebd9caff2b/formats/cont-en"
> --lua="/Users/dalyoung/ConTeXtMini/tex/texmf-cache/luatex-cache/context/96bab756b7b86dbb7077fbebd9caff2b/formats/cont-en.lui"
> --backend=pdf "./test-pre.tex"
> This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7)
>  \write18 enabled.
> (test-pre.tex
> color           : mpcmyk color space is supported
> color           : mpspot color space is supported
> color           : system rgb is global activated
>
> ConTeXt  ver: 2009.05.20 00:02 MKIV  fmt: 2009.5.21  int: english/english
>
> system          : cont-new loaded
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont-new.tex
> systems         : beware: some patches loaded from cont-new.tex
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont-new.mkiv)
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont-mtx.tex))
> system          : cont-fil loaded
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont-fil.tex
> loading         : ConTeXt File Synonyms
> )
> system          : cont-sys.rme loaded
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/user/cont-sys.rme
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-tmf.tex)
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-siz.tex
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-siz.mkiv))
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-otf.tex
> (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/type-otf.mkiv)))
> system          : test-pre.top loaded
> (test-pre.top)
> fonts           : preloading latin modern fonts
> bodyfont        : 12pt rm is loaded
> language        : language en is active
> systems         : begin file test-pre at line 1
> fonts           : resetting map file list
> {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
> fonts           : using map file: original-base
> {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
> fonts           : using map file: original-ams-base
> {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
> fonts           : using map file: original-ams-euler
> {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
> fonts           : using map file: original-public-lm
> {/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
> fonts           : using map file: lm-math
> {/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/map/dvips/lm/lm-math.map}
> fonts           : using map file: lm-rm
> {/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1]
> systems         : end file test-pre at line 7
> system          : cont-err loaded
> (/Users/dalyoung/ConTeXtMini/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          -
> /Users/dalyoung/ConTeXtMini/tex/texmf/web2c/texmf.cnf
> mkiv lua stats : used cache path           -
> /Users/dalyoung/ConTeXtMini/tex/texmf-cache
> mkiv lua stats : input load time           - 0.024 seconds
> mkiv lua stats : stored bytecode data      - 168 modules, 45 tables, 213
> chunks
> mkiv lua stats : cleaned up reserved nodes - 23 nodes, 8 lists of 1411
> mkiv lua stats : node memory usage         - 19 glue_spec, 2 dir
> mkiv lua stats : loaded patterns           - en:us:pat:exc:2
> mkiv lua stats : startup time              - 0.551 seconds (including
> runtime option file processing)
> mkiv lua stats : callbacks                 - direct: 169, indirect: 4756,
> total: 4925
> mkiv lua stats : loaded fonts              - 31 files: eufb10:tfm eufb7:tfm
> eufb9:tfm eu

[NTG-context] loading figure in LuaTeX

2009-05-21 Thread Dalyoung Jeong

Dear all,

I tried to load figure in LuaTeX, but I couldn't succeed.
However, it is perfectly working in ConTeXt and XeConTeXt.
I don't know what is wrong.

best regads,

Dalyoung


My system is Mac 10.5.6, ConTeXt Minimal, LuaTeX ver 0.40.1.
Here is a short test file.


\starttext

Thank you for reading.

\externalfigure[~/Documents/figures/math-shapes/moebius-band][]

\stoptext

**
Here is a log file of LuaTeX.

MTXrun | run 1: luatex --fmt="/Users/dalyoung/ConTeXtMini/tex/texmf- 
cache/luatex-cache/context/96bab756b7b86dbb7077fbebd9caff2b/formats/ 
cont-en" --lua="/Users/dalyoung/ConTeXtMini/tex/texmf-cache/luatex- 
cache/context/96bab756b7b86dbb7077fbebd9caff2b/formats/cont-en.lui" -- 
backend=pdf "./test-pre.tex"

This is LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7)
 \write18 enabled.
(test-pre.tex
color   : mpcmyk color space is supported
color   : mpspot color space is supported
color   : system rgb is global activated

ConTeXt  ver: 2009.05.20 00:02 MKIV  fmt: 2009.5.21  int: english/ 
english


system  : cont-new loaded
(/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont- 
new.tex

systems : beware: some patches loaded from cont-new.tex
(/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont- 
new.mkiv) (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/ 
base/cont-mtx.tex))

system  : cont-fil loaded
(/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont- 
fil.tex

loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/user/cont- 
sys.rme (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/ 
base/type-tmf.tex) (/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/ 
context/base/type-siz.tex (/Users/dalyoung/ConTeXtMini/tex/texmf- 
context/tex/context/base/type-siz.mkiv)) (/Users/dalyoung/ConTeXtMini/ 
tex/texmf-context/tex/context/base/type-otf.tex (/Users/dalyoung/ 
ConTeXtMini/tex/texmf-context/tex/context/base/type-otf.mkiv)))

system  : test-pre.top loaded
(test-pre.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
systems : begin file test-pre at line 1
fonts   : resetting map file list
{/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ 
context/original-empty.map}

fonts   : using map file: original-base
{/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ 
context/original-base.map}

fonts   : using map file: original-ams-base
{/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ 
context/original-ams-base.map}

fonts   : using map file: original-ams-euler
{/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ 
context/original-ams-euler.map}

fonts   : using map file: original-public-lm
{/Users/dalyoung/ConTeXtMini/tex/texmf-context/fonts/map/pdftex/ 
context/original-public-lm.map}

fonts   : using map file: lm-math
{/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{/Users/dalyoung/ConTeXtMini/tex/texmf/fonts/map/dvips/lm/lm-rm.map} 
[1.1]

systems : end file test-pre at line 7
system  : cont-err loaded
(/Users/dalyoung/ConTeXtMini/tex/texmf-context/tex/context/base/cont- 
err.tex

systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )lmmono8-regular.otf>opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats : used config path  - /Users/dalyoung/ 
ConTeXtMini/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path   - /Users/dalyoung/ 
ConTeXtMini/tex/texmf-cache

mkiv lua stats : input load time   - 0.024 seconds
mkiv lua stats : stored bytecode data  - 168 modules, 45 tables,  
213 chunks

mkiv lua stats : cleaned up reserved nodes - 23 nodes, 8 lists of 1411
mkiv lua stats : node memory usage - 19 glue_spec, 2 dir
mkiv lua stats : loaded patterns   - en:us:pat:exc:2
mkiv lua stats : startup time  - 0.551 seconds (including  
runtime option file processing)
mkiv lua stats : callbacks - direct: 169, indirect:  
4756, total: 4925
mkiv lua stats : loaded fonts  - 31 files: eufb10:tfm  
eufb7:tfm eufb9:tfm eufm10:tfm eufm7:tfm eufm9:tfm lmex10:tfm  
lmmi12:tfm lmmi7:tfm lmmi9:tfm lmmib10:tfm lmmib7:tfm 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 lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm  
msam7:tfm msbm10:tfm msbm7:tfm

mkiv lua stats : fonts load time   - 0.261 seconds
mkiv lua stats : graphics processing time  - 0.021 seconds inclu

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