Re: [NTG-context] missing command and wrong lists (index, ToC) in MkIV

2009-04-20 Thread Hans Hagen

Henning Hraban Ramm wrote:

With the latest beta, ConTeXt doesn't know \setupsectionblock any more
(don't know if it actually worked before, but ConTeXt didn't complain).

Previously the lists stuff (ToC) didn't work, but that seems fixed now.
But indexes are still a mess: Instead of page numbers I get some strange 
entries like 62.13.13, where the entry is on page 12:



Inhalt 1.3.3, 2.4.4, 3.5.5, 4.6.6, 5.8.8, 6.9.9,
61.10.10, 62.12.12, 63.14.14, 64.15.15, 65.16.16,
66.17.17, 67.18.18, 68.20.20, 69.21.21, 1.23.23
Allen die willen naar Island gaan 4.7.7
Der Störtebeker 65.16.16
There were two lofty ships 62.13.13




What can I do?


make a small test file where the funny index shows up;

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] Unable to generate fonts

2009-04-20 Thread Thomas A. Schmitz

I've been running into trouble in both the alpha and beta versions of
Mark IV when trying to work with the fonts script:

$ mtxrun --script fonts --list
MTXrun | font table: accessing the data table failed
MTXrun | font table: accessing the data table failed
...text/tex/texmf-context/tex/context/base/font-syn.lua:333: attempt  
to

index field 'data' (a nil value)

Also, using the reload option does nothing (it prints a blank line  
and
immediately exits). Without the fonts script I can't install or use  
any

custom fonts.


I'm experiencing the same problem here.

context version: 2009.04.18 13:47

LuaTeX, Version snapshot-0.39.0-2009042009 luatex.web = v2329

None of my custom fonts work; I get errors

define font | font with name texgyretermesregular is not found
define font | unknown font texgyretermesregular, loading aborted
define font | unable to define texgyretermesregular as \**dummy**
define font | font with name texgyretermesregular is not found
define font | unknown font texgyretermesregular, loading aborted
define font | unable to define texgyretermesregular as \**dummy**
define font | font with name texgyretermesregular is not found
define font | unknown font texgyretermesregular, loading aborted
define font | unable to define texgyretermesregular as \**dummy**
define font | font with name texgyretermesregular is not found
define font | unknown font texgyretermesregular, loading aborted
define font | unable to define texgyretermesregular as \**dummy**

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] Unable to generate fonts

2009-04-20 Thread Hans Hagen

Thomas A. Schmitz wrote:

I've been running into trouble in both the alpha and beta versions of
Mark IV when trying to work with the fonts script:

$ mtxrun --script fonts --list
MTXrun | font table: accessing the data table failed
MTXrun | font table: accessing the data table failed
...text/tex/texmf-context/tex/context/base/font-syn.lua:333: attempt to
index field 'data' (a nil value)

Also, using the reload option does nothing (it prints a blank line and
immediately exits). Without the fonts script I can't install or use any
custom fonts.


I'm experiencing the same problem here.


what version of mtxrun ? should be 1.20+


-
  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] new structure code

2009-04-20 Thread Wolfgang Schuster

Another bug:

! Undefined control sequence.
argument \handlepagebreakB

\setuphead[chapter][placehead=no,incrementnumber=no]

\starttext
\chapter{Break?}
\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] Unable to generate fonts

2009-04-20 Thread Thomas A. Schmitz


On Apr 20, 2009, at 9:58 AM, Hans Hagen wrote:


what version of mtxrun ? should be 1.20+



MTXrun | Version 1.20

(after --selfupdate)

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] new structure code

2009-04-20 Thread Hans Hagen

Wolfgang Schuster wrote:

Another bug:

! Undefined control sequence.
argument \handlepagebreakB

\setuphead[chapter][placehead=no,incrementnumber=no]


ok, fixed




-
  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] Font table

2009-04-20 Thread Hans Hagen

Ulrike Fischer wrote:

Am Sun, 19 Apr 2009 13:37:26 -0400 schrieb Eythan Weg:


   luatools --show-path tex
   
   luatools --show-path lua


This is only for the lua path (with line breaks introduced)


Why don't you trust Hans? He had probably a reason why he asked for
the output of the path for tex. 


(In my case font-syn.lua was searched along the *tex*-path, and I
found the error in my texmf.cnf by inspecting the output of
kpsewhich --show-path=tex. I used kpsewhich because I'm more used to
it and because it is independant from context, so problems there
can't be the fault of the lua code).


for plain users ... it is now possible to say

mtxrun --usekpse --script fonts --names

to make the names database for plain; beware: this is of no use for 
context that does not use kpse at all;


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] Font table

2009-04-20 Thread Hans Hagen

Wei-Wei Guo wrote:

Hans Hagen 写道:

Hi,

Here are my results with those two commands:



luatools --show-path tex



!!/etc/texmf/tex/context//:
!!/etc/texmf/tex/plain//:
!!/etc/texmf/tex/generic//:
!!/etc/texmf/tex///:
!!/var/lib/texmf/tex/context//:
!!/var/lib/texmf/tex/plain//:
!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/plain//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/plain//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf-site/tex/context//:
!!/usr/share/texmf-site/tex/plain//:
!!/usr/share/texmf-site/tex/generic//:
!!/usr/share/texmf-site/tex///:
!!/usr/share/texmf-dist/tex/context//:
!!/usr/share/texmf-dist/tex/plain//:
!!/usr/share/texmf-dist/tex/generic//:
!!/usr/share/texmf-dist/tex///


luatools --show-path lua



/usr/lib/ocaml/ocamldoc:
!!/etc/texmf/scripts/luatex//:
!!/etc/texmf/scripts/context//:
!!/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:
!!/var/lib/texmf/scripts/context//:
!!/var/lib/texmf/scripts///:
!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:
!!/usr/share/texmf/scripts///:
!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:
!!/usr/share/texmf-site/scripts/luatex//:
!!/usr/share/texmf-site/scripts/context//:
!!/usr/share/texmf-site/scripts///:
!!/usr/share/texmf-dist/scripts/luatex//:
!!/usr/share/texmf-dist/scripts/context//:
!!/usr/share/texmf-dist/scripts///


Almost all the paths have exclamations before. Is is the reason?


(1) what happens if you replace : by ;
(2) also make the /// into //

-
  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] Font table

2009-04-20 Thread Wei-Wei Guo

Hans Hagen 写道:

Hi,

Here are my results with those two commands:



luatools --show-path tex



!!/etc/texmf/tex/context//:
!!/etc/texmf/tex/plain//:
!!/etc/texmf/tex/generic//:
!!/etc/texmf/tex///:
!!/var/lib/texmf/tex/context//:
!!/var/lib/texmf/tex/plain//:
!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/plain//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/plain//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf-site/tex/context//:
!!/usr/share/texmf-site/tex/plain//:
!!/usr/share/texmf-site/tex/generic//:
!!/usr/share/texmf-site/tex///:
!!/usr/share/texmf-dist/tex/context//:
!!/usr/share/texmf-dist/tex/plain//:
!!/usr/share/texmf-dist/tex/generic//:
!!/usr/share/texmf-dist/tex///


luatools --show-path lua



/usr/lib/ocaml/ocamldoc:
!!/etc/texmf/scripts/luatex//:
!!/etc/texmf/scripts/context//:
!!/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:
!!/var/lib/texmf/scripts/context//:
!!/var/lib/texmf/scripts///:
!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:
!!/usr/share/texmf/scripts///:
!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:
!!/usr/share/texmf-site/scripts/luatex//:
!!/usr/share/texmf-site/scripts/context//:
!!/usr/share/texmf-site/scripts///:
!!/usr/share/texmf-dist/scripts/luatex//:
!!/usr/share/texmf-dist/scripts/context//:
!!/usr/share/texmf-dist/scripts///


Almost all the paths have exclamations before. Is is the reason?


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

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] Bib module in mkiv

2009-04-20 Thread Thomas Prochaska
Am Freitag, 17. April 2009 19:49:22 schrieb Thomas Prochaska:
 Am Freitag, 17. April 2009 19:30:10 schrieb Hans Hagen:
  Wolfgang Schuster wrote:
   Am 17.04.2009 um 19:05 schrieb Hans Hagen:
   Wolfgang Schuster wrote:
   Am 17.04.2009 um 12:08 schrieb Hans Hagen:
   i'll look into it, but then need a zip with a minimal set of files
   that i can use for testing
  
   With the filecontents environment you need only one file:
   http://wiki.contextgarden.net/Filecontents
  
   is this related to bibliographies?
  
   No but you don't need multiple files for a example.
 
  runs ok here
 
 
  -
 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
  _
 __ 

 hi!

 can you please test the attached example? (context dipla.tex)
 it doesn't work with the latest beta and fails with the following without
 using the new t-bib module:

 structure  : section @ level 3 : (0.1.1) .. - Biometrische Systeme
 ! Undefined control sequence.
 \preparebibrefprefix ...lltoclevels \alltoclevels
   \let \savedcurrentlevel
 \c...
 \expandrefs #1-\bgroup \preparebibrefprefix
  \preparebibreflist {#1}\global
 ... \next1 #1,-\expandrefs {#1}
 \doprocesscommaitem
 \doprocesscommalist ...item \gobbleoneargument #1,
   ]\relax \global \advance
 \...
 \bibnumref ...y \processcommalist [#1]\expandrefs
   \sortcommacommand
 [\theref...
 \docite ...alue {bib\@@currentalternative ref}[#2]
   \else \processcommalist
 [#...
 l.5 ...es System\cite[extras={, vgl. S. 3-11}][ki]
\ldots
 ?

 and with the new t-bib module with this:
 structure  : section @ level 3 : (0.1.1) .. - Biometrische Systeme
 ! Undefined control sequence.
 argument ... [\bibrefprefix ][\sectionseparator
   ]
 \expanded ...\long \xdef \@@expanded {\noexpand #1
   }\@@expanded
 \preparebibreflist ...refix ][\sectionseparator ]}
   \storeitem
 \expandrefs ...ibrefprefix \preparebibreflist {#1}
   \global \bibreffoundfalse
 ... \next1 #1,-\expandrefs {#1}
 \doprocesscommaitem
 \doprocesscommalist ...item \gobbleoneargument #1,
   ]\relax \global \advance
 \...
 ...
 l.5 ...es System\cite[extras={, vgl. S. 3-11}][ki]
\ldots
 ?


 thank you,
 regards thomas prochaska

hi!

what is the latest status on this? is this example sufficient or is there 
another thing i can do to get this resolved?

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

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] Font table

2009-04-20 Thread Wei-Wei Guo

Hans Hagen 写道:

luatools --show-path tex



!!/etc/texmf/tex/context//:
!!/etc/texmf/tex/plain//:
!!/etc/texmf/tex/generic//:
!!/etc/texmf/tex///:
!!/var/lib/texmf/tex/context//:
!!/var/lib/texmf/tex/plain//:
!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/plain//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/plain//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf-site/tex/context//:
!!/usr/share/texmf-site/tex/plain//:
!!/usr/share/texmf-site/tex/generic//:
!!/usr/share/texmf-site/tex///:
!!/usr/share/texmf-dist/tex/context//:
!!/usr/share/texmf-dist/tex/plain//:
!!/usr/share/texmf-dist/tex/generic//:
!!/usr/share/texmf-dist/tex///


luatools --show-path lua



/usr/lib/ocaml/ocamldoc:
!!/etc/texmf/scripts/luatex//:
!!/etc/texmf/scripts/context//:
!!/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:
!!/var/lib/texmf/scripts/context//:
!!/var/lib/texmf/scripts///:
!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:
!!/usr/share/texmf/scripts///:
!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:
!!/usr/share/texmf-site/scripts/luatex//:
!!/usr/share/texmf-site/scripts/context//:
!!/usr/share/texmf-site/scripts///:
!!/usr/share/texmf-dist/scripts/luatex//:
!!/usr/share/texmf-dist/scripts/context//:
!!/usr/share/texmf-dist/scripts///


Almost all the paths have exclamations before. Is is the reason?


(1) what happens if you replace : by ;
(2) also make the /// into //



These : and /// are auto generated, I don't which file I need to change. I look
into texmf.cnf and find there is no /// and :. Paths are seperated by ; in 
texmf.cnf.


Wei-Wei

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

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] Bib module in mkiv

2009-04-20 Thread Taco Hoekwater

Hi Thomas,

Thomas Prochaska wrote:


and with the new t-bib module with this:
structure  : section @ level 3 : (0.1.1) .. - Biometrische Systeme
! Undefined control sequence.
argument ... [\bibrefprefix ][\sectionseparator


...

what is the latest status on this? is this example sufficient or is there 
another thing i can do to get this resolved?


Hans replied to Thomas Schmitz with:


as i'm clueless about what the code does, can you add this to t-bib.mkiv

\def\preparebibreflist#1%
  {\let\bibreflist\empty}

and see if it solves the problem? 


Thomas has not reported back yet, so can you try that please?

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] Bib module in mkiv

2009-04-20 Thread Thomas A. Schmitz


On Apr 20, 2009, at 12:55 PM, Taco Hoekwater wrote:


Hans replied to Thomas Schmitz with:

as i'm clueless about what the code does, can you add this to t- 
bib.mkiv

\def\preparebibreflist#1%
 {\let\bibreflist\empty}
and see if it solves the problem?


Thomas has not reported back yet, so can you try that please?

Best wishes,
Taco


Oh, I'm very sorry, I was under the impression that this had been  
superseded by newer developments... So: with this \def, the success is  
striking: no more error messages - and no bibliography either :-)


All best

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

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


Re: [NTG-context] Font table

2009-04-20 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Sun, 19 Apr 2009 18:15:34 +0200

   Eythan Weg wrote:
Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 15:57:05 +0200
   
   Am Sun, 19 Apr 2009 09:17:06 -0400 schrieb Eythan Weg:
   I tried this
  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
  did you run luatools --generate to make a file database?
Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  Note that
luatools font-syn.lua  shows nothing.
  I had this problem too. In my case it was an error in my
texmf.cnf.
   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua?   -- 
   Ulrike Fischer 
   
The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.
   
   luatools --show-path tex
   
   luatools --show-path lua

It appears that neglected the tex path.  Sorry...
Here is the complete listing:

w...@gauss:~/  luatools --show-path lua 
luatools --show-path lua 
.:.:/home/weg/.texmf-config/tex/context//:
/home/weg/.texmf-config/tex/generic//:
/home/weg/.texmf-config/tex///:
/home/weg/.texmf-var/tex/context//:
/home/weg/.texmf-var/tex/generic//:
/home/weg/.texmf-var/tex///:
/home/weg/texmf/tex/context//:
/home/weg/texmf/tex/generic//:
/home/weg/texmf/tex///:
/etc/texmf/tex/context//:
/etc/texmf/tex/generic//:
/etc/texmf/tex///:!!/var/lib/texmf/tex/context//:
!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:!!
/usr/share/texmf-texlive/tex/context//:
!!/usr/share/texmf-texlive/tex/generic//:
!!/usr/share/texmf-texlive/tex///:
/home/weg/.texmf-config/scripts/luatex//:
/home/weg/.texmf-config/scripts/context//:
/home/weg/.texmf-config/scripts///:
/home/weg/.texmf-var/scripts/luatex//:
/home/weg/.texmf-var/scripts/context//:
/home/weg/.texmf-var/scripts///:
/home/weg/texmf/scripts/luatex//:
/home/weg/texmf/scripts/context//:
/home/weg/texmf/scripts///:
/etc/texmf/scripts/luatex//:
/etc/texmf/scripts/context//:
/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:
!!/var/lib/texmf/scripts/context//:
!!/var/lib/texmf/scripts///:
!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:
!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:
!!/usr/share/texmf/scripts///:
!!/usr/share/texmf-texlive/scripts/luatex//:
!!/usr/share/texmf-texlive/scripts/context//:
!!/usr/share/texmf-texlive/scripts///

w...@gauss:~/  luatools --show-path tex
luatools --show-path tex
.:/home/weg/.texmf-config/tex/context//:
/home/weg/.texmf-config/tex/plain//:
/home/weg/.texmf-config/tex/generic//:
/home/weg/.texmf-config/tex///:
/home/weg/.texmf-var/tex/context//:
/home/weg/.texmf-var/tex/plain//:
/home/weg/.texmf-var/tex/generic//:
/home/weg/.texmf-var/tex///:
/home/weg/texmf/tex/context//:
/home/weg/texmf/tex/plain//:
/home/weg/texmf/tex/generic//:
/home/weg/texmf/tex///:
/etc/texmf/tex/context//:
/etc/texmf/tex/plain//:
/etc/texmf/tex/generic//:
/etc/texmf/tex///:!!
/var/lib/texmf/tex/context//:!!/var/lib/texmf/tex/plain//:
!!/var/lib/texmf/tex/generic//:!!/var/lib/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/plain//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/plain//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:
!!/usr/share/texmf-texlive/tex/context//:
!!/usr/share/texmf-texlive/tex/plain//:
!!/usr/share/texmf-texlive/tex/generic//:
!!/usr/share/texmf-texlive/tex///


Eythan

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

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] Unable to generate fonts

2009-04-20 Thread Drazen Baic
 I've been running into trouble in both the alpha and beta versions of
 Mark IV when trying to work with the fonts script:

 $ mtxrun --script fonts --list
 MTXrun | font table: accessing the data table failed
 MTXrun | font table: accessing the data table failed
 ...text/tex/texmf-context/tex/context/base/font-syn.lua:333: attempt to
 index field 'data' (a nil value)

 Also, using the reload option does nothing (it prints a blank line and
 immediately exits). Without the fonts script I can't install or use any
 custom fonts.

 I'm experiencing the same problem here.

 context version: 2009.04.18 13:47

 LuaTeX, Version snapshot-0.39.0-2009042009 luatex.web = v2329

 None of my custom fonts work; I get errors

 define font | font with name texgyretermesregular is not found
 define font | unknown font texgyretermesregular, loading aborted
 define font | unable to define texgyretermesregular as \**dummy**
 define font | font with name texgyretermesregular is not found
 define font | unknown font texgyretermesregular, loading aborted
 define font | unable to define texgyretermesregular as \**dummy**
 define font | font with name texgyretermesregular is not found
 define font | unknown font texgyretermesregular, loading aborted
 define font | unable to define texgyretermesregular as \**dummy**
 define font | font with name texgyretermesregular is not found
 define font | unknown font texgyretermesregular, loading aborted
 define font | unable to define texgyretermesregular as \**dummy**

 Thomas

I had the same problem with LuaTeX, Version snapshot-0.39.0-2009041623, ConTeXt
ver: 2009.04.18 13:47 MKIV and mtxrun Version 1.20 after a new installation.

After copying the files name.tma and names.tmc from my old
installation directory to
tex/texmf-cache/luatex-cache/context//fonts/data/ it worked again.

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

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] Unable to generate fonts

2009-04-20 Thread Thomas A. Schmitz


On Apr 20, 2009, at 3:03 PM, Drazen Baic wrote:

I had the same problem with LuaTeX, Version  
snapshot-0.39.0-2009041623, ConTeXt
ver: 2009.04.18 13:47 MKIV and mtxrun Version 1.20 after a new  
installation.


After copying the files name.tma and names.tmc from my old
installation directory to
tex/texmf-cache/luatex-cache/context//fonts/data/ it worked again.

Regards,
Drazen


Yes, you're right; if I copy these two files over, I don't get these  
errors, and my fonts work again. Which probably means that the latest  
beta fails to generate the font database...


Thanks

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] TOCS: part number, custom alternative and margins

2009-04-20 Thread Jeff Smith
Hi,

Anybody has some time for this?

Thanks!
Jeff

On Tue, Apr 14, 2009 at 22:34, Jeff Smith asca...@gmail.com wrote:
 Hi all!

 A while ago I asked how to achieve a particular layout I wanted for part
 titles in my table of contents. I was given this solution:

 \definelistplacement[partlist][none]#1#2#3%

 {\sc\inframed[width=broad,align=right,bottomframe=on,topframe=off,rightframe=off,leftframe=off]{{#2}}}

 \setuplist[part][alternative=partlist]

 With that, I get no part number, no page number, a title in small caps and a
 bottom frame. So far so good.

 In the same table, I also want my section and subsection titles to indent,
 at different values depending on levels (the further the section in the
 hierarchy, the further it indents). I use the margin= parameter for that.

 When I do that, however, the next part title indents equally to the same
 level as the last section or subsection did. See the example file toc.tex
 attached. Obviously, I don't want that.

 The only way I've found to avoid that is to get rid of the custom
 alternative, and transfer the \inframed command to a textstyle parameter
 inside a normal \setuplist[part] command. See toc-2.tex attached.

 When I do that, however, I can't get rid of the part number. I tried
 everything I could think about, but to no avail.

 I'm using MKII+Xetex. (ConTeXt  ver: 2008.11.10 21:40 MKII  fmt: 2008.11.15
 int: english/english)

 Can anyone help? What is the best solution?

 Thanks in advance!
 Jeff





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

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] Unable to generate fonts

2009-04-20 Thread Hans Hagen

Thomas A. Schmitz wrote:


On Apr 20, 2009, at 3:03 PM, Drazen Baic wrote:

I had the same problem with LuaTeX, Version 
snapshot-0.39.0-2009041623, ConTeXt
ver: 2009.04.18 13:47 MKIV and mtxrun Version 1.20 after a new 
installation.


After copying the files name.tma and names.tmc from my old
installation directory to
tex/texmf-cache/luatex-cache/context//fonts/data/ it worked again.

Regards,
Drazen


Yes, you're right; if I copy these two files over, I don't get these 
errors, and my fonts work again. Which probably means that the latest 
beta fails to generate the font database...


no clue

-
  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] intertext problems with accents

2009-04-20 Thread Xan

Hi,

intertext with accents behaves wrongly:

\startintertext
Contando el número de subconjuntos $X \subseteq E$ de $n$ elementos
\stopintertext

puts me strange 'ú'.

I have MKII. Can anyone verify this?

Regards,
Xan.

Please CCme.


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

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] intertext problems with accents

2009-04-20 Thread Wolfgang Schuster


Am 20.04.2009 um 20:07 schrieb Xan:


Hi,

intertext with accents behaves wrongly:

\startintertext
Contando el número de subconjuntos $X \subseteq E$ de $n$ elementos
\stopintertext

puts me strange 'ú'.

I have MKII. Can anyone verify this?


http://www.ntg.nl/pipermail/ntg-context/2009/038255.html

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] missing command and wrong lists (index, ToC) in MkIV

2009-04-20 Thread Henning Hraban Ramm

Am 2009-04-20 um 08:31 schrieb Hans Hagen:

But indexes are still a mess: Instead of page numbers I get some  
strange entries like 62.13.13, where the entry is on page 12:


Inhalt 1.3.3, 2.4.4, 3.5.5, 4.6.6, 5.8.8, 6.9.9,
61.10.10, 62.12.12, 63.14.14, 64.15.15, 65.16.16,
66.17.17, 67.18.18, 68.20.20, 69.21.21, 1.23.23
Allen die willen naar Island gaan 4.7.7
Der Störtebeker 65.16.16
There were two lofty ships 62.13.13




What can I do?


make a small test file where the funny index shows up;


\starttext
\index{Test}

\completeindex

\stoptext



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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

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] no executesystemcommand any more? (SOLVED?)

2009-04-20 Thread Henning Hraban Ramm

Am 2009-04-20 um 00:46 schrieb Henning Hraban Ramm:


Am 2009-04-20 um 00:36 schrieb Hans Hagen:


in luat-cnf add the shell_escape line

Which file do you mean? Where should it be?

luat-cnf.lua


Sorry, I searched after luat-conf, of course grep couldn't find it...
But the two lines were already there.


What's the matter mit mtxrun's md5 generation?

dunno, anything wrong then?



texmfstart --ifchanged=foo.tmp wrote a .md5 file for foo.tmp,  
mtxrun --ifchanged=foo.tmp doesn't - maybe it saves them anywhere  
else?
Since \executesystemcommand doesn't do anything, I can't check if it  
works without that file.



I don't know what has changed, but today I updated again and the  
execution and checksum stuff works again.

Thank you!

:-)

The index problem remains, though (see other thread).


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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

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] TOCS: part number, custom alternative and margins

2009-04-20 Thread Wolfgang Schuster


Am 15.04.2009 um 04:34 schrieb Jeff Smith:

The only way I've found to avoid that is to get rid of the custom  
alternative, and transfer the \inframed command to a textstyle  
parameter inside a normal \setuplist[part] command. See toc-2.tex  
attached.


When I do that, however, I can't get rid of the part number. I tried  
everything I could think about, but to no avail.


headnumber=no

Wolfgang

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

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


[NTG-context] Some symbols of mathematical calculus missing?

2009-04-20 Thread Tomas Kisela
Hi all,

I need to typeset some equations and I found out that these commands are 
undefined or don't work correctly (ver: 2009.04.17 19:32 MKIV):

\iint, \iiint, etc.
\oint, \oiint, etc.
\nabla

What is the prefered way of typesetting those symbols? (e.g. \mathop{\int 
\!\!\! \int} or something like that?)
Is there a website or a pdf-file dealing with mathematical symbols in ConTeXt?

Thanks
Tomas

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

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] new beta

2009-04-20 Thread Diego Depaoli
Another weird bug (i think)
with page imposition, in luatex, background overrides text

\setuppapersize[A4][A3,landscape]
\setuparranging[2SIDE] % --bug here
\setupcolors[state=start]
\definetextbackground[intro]
  [backgroundcolor=gray,
   backgroundoffset=.25cm,
   offset=.5cm,
   frame=off,
   location=paragraph,
   color=white]
\definetextbackground[subintro]
  [backgroundcolor=texcolorfour,
   backgroundoffset=0pt,
   offset=0pt,
   frame=off,
   location=text,
   color=blue]
\starttext
\starttextbackground[intro]
A rather common way to draw attention to a passage, is to add
a background. In this chapter we will therefore discuss how
to enhance your document with \starttextbackground [subintro]
colorful areas that either or not follow the shape of your
paragraph. \stoptextbackground\ Be warned: this chapter has
so many backgrounds that you should consider wearing sunglasses.
\stoptextbackground

\dorecurse{5}{\input tufte}
\stoptext

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

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] startregister produces strange page range (1-2-3)

2009-04-20 Thread Sanjoy Mahajan
With the following minimal file, the index entry for Knuth has the
strange page range 1-2-3 rather than 1-2, 2-3.  Adding \input knuth
a few times in between the two start..stopregister stanzas gives a
correct page range (so maybe that change hides the problem).

I'm using ConTeXt 2008.10.31 (Mk II) from the Debian unstable packages.
The live context (2009.03.06) produces a blank index with the pdftex
engine, so I'm CC'ing Patrick in case that problem is separate.

\starttext

\startregister[index][Knuth]{Knuth}
\dorecurse{5}{\input knuth }
\stopregister[index][Knuth]

\startregister[index][Knuth2]{Knuth}
\dorecurse{5}{\input knuth }
\stopregister[index][Knuth2]

\completeindex

\stoptext

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

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