[NTG-context] \useURL not working with '#' and '_' in URL in newest beta

2009-04-21 Thread Drazen Baic
Hello,

URLs with '#' or '_' in the URL worked fine with LuaTeX, Version
snapshot-0.37.0-2009033116  and ConTeXt 2009.04.06 21:42
and still work with the newest beta LuaTeX, Version
snapshot-0.39.0-2009041623 and ConTeXt 2009.04.21 16:11 when
compiled with '--xtx'. When compiled with '--lua' I got this error:

! Illegal parameter number in definition of \dodogetargument.
to be read again
   s
argument ...ce.contextgarden.net/core-pos.tex##s
  etpositions
\dodogetargument ...{\douseurl [{setposition}][{#1
  }][{##1}]}\dogetargument [...
l.13 ...textgarden.net/core-pos.tex#setpositions}]


here is a minimal example. It doesn't work no matter if
\setupinteraction is active or not

\setupcolors
  [state=start]
\setupinteraction
  [state=start,color=blue]
\useURL
  [minimals]
  [{http://wiki.contextgarden.net/ConTeXt_Minimals}]
  []
  [\ConTeXt\ Minimals]

\useURL
  [setposition]
  [{http://source.contextgarden.net/core-pos.tex#setpositions}]
  []
  [\tex{setposition}]

\useURL
  [setuppositioning]
  [http://texshow.contextgarden.net]
  [{cmd/en/setuppositioning}]
  [\tex{setuppositioning}]

\starttext
Lookup the source code of \from[setposition]! Or read about the syntax
of \from[setuppositioning].
More Information about \CONTEXT\ Minimals at: \from[minimals]
\stoptext

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


[NTG-context] Files for verbatim output of Python source, zc.buildout and Apache config files

2009-04-19 Thread Drazen Baic
Hello,

I'm using MKIV and needed syntax highlighting for a few source and config files.
I read on the Wiki and on this list that it should be pretty easy to do this in
Lua and although I never wrote anything in Lua I just tried it.

Maybe the result will be of use for somebody so I tried to post them to this
list a few days ago but the mail never showed up. Maybe because of the
attachment size.

I read on the Wiki that the best place for putting custom formatter files would
be the context distribution or http://modules.contextgarden.net but as I'm
pretty sure that some stuff is missing and I'm sure there are some bugs
included I tried to post them here.

Would it be OK to put the files in a section on the Wiki to start something like
a repository for verb-*.lua files where it would be easy to extend and correct
them?

The verb-*.lua files I created are for syntax highlighting of Python source
code, Apache http.conf and zc.buildout config files. For the zc.buildout files
I used a simple solution and just defined the keywords that appear in a
standard Plone buildout.cfg file as I didn't need more. I hope to finish two
additional verbatim files for XML and Shell scripts in the next days.

As I don't have any experience in writing Lua code I chose to use the
tex/context/base/verb-*.lua and the verb-cpp.lua files posted by Shen Chen in
http://archive.contextgarden.net/message/20081002.173802.460c46fe.en.html) for
a start. Additionally I used the vim syntax files and the official Apache
documentation.

Here is an overview of what is covered:

The verb-apa.lua file distinguishes between the following five states:
- declarations
- strings
- sections (like Directory and /Directory)
- comments
- options

The verb-py.lua file distinguishes between the following five states:
- all statements, repeats, conditionals and operators
- strings (multi line comment wit ''' or  are supported)
- preconditions (import, from, as)
- comments
- builtins

The verb-py.cfg file distinguishes between the following four states:
- sections
- variables
- keywords
- comments

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] Files for verbatim output of Python source, zc.buildout and Apache config files

2009-04-19 Thread Drazen Baic
On Sun, Apr 19, 2009 at 7:09 PM, Hans Hagen pra...@wxs.nl wrote:
 Drazen Baic wrote:

 Would it be OK to put the files in a section on the Wiki to start
 something like
 a repository for verb-*.lua files where it would be easy to extend and
 correct
 them?

 sure, just go ahead

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

thanks. I have created a page under
http://wiki.contextgarden.net/Verbatim_with_LuaTeX
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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] Files for verbatim output of Python source, zc.buildout and Apache config files

2009-04-16 Thread Drazen Baic
Hello,

I'm using MKIV and needed syntax highlighting for a few source and config files.
I read on the Wiki and on this list that it should be pretty easy to do this in
Lua and although I never wrote anything in Lua I just tried it.

Maybe the result will be of use for somebody so I'm posting them to this list. I
read on the Wiki that the best place for putting custom formatter files would be
the context distribution or http://modules.contextgarden.net but as I'm pretty
sure that some stuff is missing and I'm sure there are some bugs included I'm
just posting them here.

Would it be OK to put the files in a section on the Wiki to start something like
a repository for verb-*.lua files where it would be easy to extend and correct
them?

I have created verb-*.lua files for pretty printing Python source code Apache
http.conf and zc.buildout config files. For the zc.buildout files I used a
simple solution and just defined the keywords that appear in a standard Plone
buildout.cfg file. I hope to finish two additional verbatim files for XML and
Shell scripts in the next days.

As I don't have any experience in writing Lua code I chose to use the
tex/context/base/verb-*.lua and the verb-cpp.lua files posted by Shen Chen in
http://archive.contextgarden.net/message/20081002.173802.460c46fe.en.html) for
a start. Additionally I used the vim syntax files and the official Apache
documentation.

Here is an overview of what is covered:

The verb-apa.lua file distinguishes between the following five states:
- declarations
- strings
- sections (like Directory and /Directory)
- comments
- options

The verb-py.lua file distinguishes between the following five states:
- all statements, repeats, conditionals and operators
- strings (multi line comment wit ''' or  are supported)
- preconditions (import, from, as)
- comments
- builtins

The verb-py.cfg file distinguishes between the following four states:
- sections
- variables
- keywords
- comments

I've attached a minimal test file to show how they work. Just put everything in
one directory and execute

texexec --lua test.tex

Regards,
Drazen


test.tex
Description: TeX document


verb-apa.lua
Description: Binary data


verb-cfg.lua
Description: Binary data


verb-py.lua
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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 problems with \seeindex and \from

2008-04-16 Thread Drazen Baic
 On Tue, Apr 15, 2008 at 8:47 PM, Drazen Baic [EMAIL PROTECTED] wrote:
   On Tue, Apr 15, 2008 at 6:51 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 Drazen Baic wrote:
   Hi,
  
   Here is a small test file. Compiled with 'texexec --lua' the register
   has only the entry 'Software 1' but it should have one additional
   entry 'Apache see Software'. This works OK when compiled with
   'texexec --xtx'
  
   \starttext
   \index{Software}Software
   \seeindex{Apache}{Software}Apache
  
   \placeindex
   \stoptext

  see was not supported yet; i added it

  I just did an update to ConTeXt 2008.04.15 21:21 and it works perfectly
  for my example above. But if you use abbreviations the 'see ...' entry in
  the registers shows the value between the brackets in the abbreviation
  definition. Here is a small example:

  \definesynonyms [abbreviation] [abbreviations][\infull]
  \setupsynonyms [abbreviation]
  \abbreviation [GCc] {\sc gcc} {GNU C Compiler}
  \abbreviation [GNU] {\sc gnu} {{\sc gnu'}s Not Unix}


  \starttext
  \index{Software}Software
  \seeindex{Apache}{Software}Apache
  \index[GCC]{\GCc}\GCc\
  \seeindex[GNU C Compiler]{\GNU\ C Compiler}{\GCc}\GNU\ C Compiler

  \placeindex

  \stoptext

  I defined the GCc abbreviation with small c on purpose to demonstrate
  that 'GCc' shows up in the register instead of {\sc gcc}.

  I tried to look at the file core-reg.lua and thought that the error has
  to be at

  if vv[1] == 'e' then
 -- format reference pagespec realpage
 flush(template.page:format(class,,,vv[4],vv[5],vv[3]))
  elseif vv[1] == 's' then
 flush(template.see:format(class,,,vv[5],vv[3]))

  but as I know nothing about Lua I gave up pretty soon.

  Regards,
  Drazen


I played a little bit around with the above sample and thought that
putting a second '\' in front of the second argument for the \seeindex
command could help as it looks like the abbreviation \GCc looses the
backslash when the 'see' entry is generated in the registry.

As this was working I looked at the '.toc' file and saw that the key and
entry values are enclosed between [===[ and ]===] but the abbreviation
\GCc wasn't. I thought that maybe this works like an escaping mechanism
and changed the command \mksaveregistersee in core-reg.mkiv from

\def\mksaveregistersee#1#2#3#4#5#6#7% class type reference key entry
see pagespec
  
{\expanded{\writeutilitytua{ti(jr['#1'],{'#2','#3',\!!bs#4\!!es,\!!bs#5\!!es,'#6','#7'})}}}

to

\def\mksaveregistersee#1#2#3#4#5#6#7% class type reference key entry
see pagespec
  
{\expanded{\writeutilitytua{ti(jr['#1'],{'#2','#3',\!!bs#4\!!es,\!!bs#5\!!es,\!!bs#6\!!es,'#7'})}}}

and it worked. I don't know if this breaks something else and if I was
right with what
I thought but the register is now created correctly and I couldn't see
anything weird
going on.

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] LuaTeX problems with \seeindex and \from

2008-04-15 Thread Drazen Baic
On Tue, Apr 15, 2008 at 4:03 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:
 Hi,


  Drazen Baic wrote:
   Hi,
  
   Of course, I should have provided one in my first mail. Trying to create
   a minimal test file I also found out that the crash only happens when
   \setupinteraction [state=start] is set. Here is the file.
  
   \setupinteraction [state=start]
   \useURL[apache][http://httpd.apache.org/download.cgi]
  
   \starttext
   \startitemize
\item Download Apache at \from[apache]
   \stopitemize
  
   \stoptext

  Mojca helped debugging this, and there is a patch in the luatex
  repository that should fix it. As Hans said already, you can expect
  a new luatex binary and context release later this week.


You are really unbelievable fast in fixing bugs. Thank you very much!
And I would like to thank all the ConTeXt and LuaTeX developers.
This software is amazing!

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] LuaTeX problems with \seeindex and \from

2008-04-15 Thread Drazen Baic
On Tue, Apr 15, 2008 at 6:51 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 Drazen Baic wrote:
   Hi,
  
   Here is a small test file. Compiled with 'texexec --lua' the register
   has only the entry 'Software 1' but it should have one additional
   entry 'Apache see Software'. This works OK when compiled with
   'texexec --xtx'
  
   \starttext
   \index{Software}Software
   \seeindex{Apache}{Software}Apache
  
   \placeindex
   \stoptext

  see was not supported yet; i added it

Thank you very much!

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] LuaTeX problems with \seeindex and \from

2008-04-15 Thread Drazen Baic
On Tue, Apr 15, 2008 at 8:47 PM, Drazen Baic [EMAIL PROTECTED] wrote:
 On Tue, Apr 15, 2008 at 6:51 PM, Hans Hagen [EMAIL PROTECTED] wrote:
   Drazen Baic wrote:
 Hi,

 Here is a small test file. Compiled with 'texexec --lua' the register
 has only the entry 'Software 1' but it should have one additional
 entry 'Apache see Software'. This works OK when compiled with
 'texexec --xtx'

 \starttext
 \index{Software}Software
 \seeindex{Apache}{Software}Apache

 \placeindex
 \stoptext
  
see was not supported yet; i added it

I just did an update to ConTeXt 2008.04.15 21:21 and it works perfectly
for my example above. But if you use abbreviations the 'see ...' entry in
the registers shows the value between the brackets in the abbreviation
definition. Here is a small example:

\definesynonyms [abbreviation] [abbreviations][\infull]
\setupsynonyms [abbreviation]
\abbreviation [GCc] {\sc gcc} {GNU C Compiler}
\abbreviation [GNU] {\sc gnu} {{\sc gnu'}s Not Unix}

\starttext
\index{Software}Software
\seeindex{Apache}{Software}Apache
\index[GCC]{\GCc}\GCc\
\seeindex[GNU C Compiler]{\GNU\ C Compiler}{\GCc}\GNU\ C Compiler

\placeindex

\stoptext

I defined the GCc abbreviation with small c on purpose to demonstrate
that 'GCc' shows up in the register instead of {\sc gcc}.

I tried to look at the file core-reg.lua and thought that the error has
to be at

if vv[1] == 'e' then
-- format reference pagespec realpage
flush(template.page:format(class,,,vv[4],vv[5],vv[3]))
elseif vv[1] == 's' then
flush(template.see:format(class,,,vv[5],vv[3]))

but as I know nothing about Lua I gave up pretty soon.

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
___


[NTG-context] LuaTeX problems with \seeindex and \from

2008-04-14 Thread Drazen Baic
Hi,

this is my first posting to this list but I'm following it through the
archives for quite a long time.

First I would like to thank the list for this huge archive. By reading
the documentation and searching this archive most of my questions
about ConTeXt where answered. I searched for these problems but couldn't
find anything.

Now to my question: I was generating my documents with XeTeX until I
switched to LuaTeX and MKIV a few days ago. After I changed my
typescripts almost everything worked perfectly but the commands
\seeindex[]{}{} and \from[].

1) \seeindex simply doesn't seem to work. The index is generated but all
\seeindex entries are missing. It works perfectly when generated with
'texexec --xtx'. Generating the document with \version[temporary] shows
in the margin ' i Indexentry' and ' see Showindexentry' so it seems
that both entries are ok. I set up the register with
'\completeindex[interaction=text,align=yes]'

Is this a bug or are \seeindex entries handled different with LuaTeX?

2) The other problem took me quite some time to find out. When I create
the document with 'texexec --lua' LuaTeX it seems that everything runs
fine but no document is generated. There are no error messages even
with '--verbose' set - at least I couldn't see any. Finally I found out
that 'luatex' crashed during  'LuaTools | running command: luatex --fmt'
(see the CrashReporter log at the end of the mail).

I started to leave out all components of the product and started just
with the title page, then included chapter after chapter until I found
out the LuaTeX crashes when I leave the command \from[] in. I defined
the URL with \useURL[apache][http://httpd.apache.org/download.cgi] and
am using it in the document with \from[apache].

Here are the versions I'm using.

OS: Mac OS X 10.5.2
ConTeXt: 2008.04.11 00:07
LuaTeX: snapshot-0.25.2-2008041101


Many thanks in advance and regards,
Drazen Baic



Process: luatex [269]
Path:/usr/local/context-20080411/tex/texmf-osx-ppc/bin/luatex
Identifier:  luatex
Version: ??? (???)
Code Type:   PPC (Native)
Parent Process:  texlua [268]

Date/Time:   2008-04-13 11:21:14.865 +0200
OS Version:  Mac OS X 10.5.2 (9C31)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0010
Crashed Thread:  0

Thread 0 Crashed:
0   luatex 0x000dfc00 0x1000 + 912384
1   luatex 0x00163f00 0x1000 + 1453824
2   luatex 0x002c9820 0x1000 + 2918432

Thread 0 crashed with PPC Thread State 32:
  srr0: 0x000dfc00  srr1: 0x0200f030   dar: 0x0010 dsisr: 0x4000
r0: 0x0004r1: 0xbfffdce0r2: 0x0004r3: 0x0004
r4: 0x0001r5: 0x0010r6: 0xr7: 0x
r8: 0x0030r9: 0x0003a598   r10: 0x00019bd4   r11: 0x2ecc
   r12: 0x95158b40   r13: 0x   r14: 0x   r15: 0x
   r16: 0x   r17: 0x   r18: 0x   r19: 0x0003
   r20: 0x0380b880   r21: 0x03806cd0   r22: 0x   r23: 0x0001
   r24: 0x075910e0   r25: 0x03806cac   r26: 0x07591100   r27: 0x0100
   r28: 0x0020   r29: 0x07591100   r30: 0xbfffdce0   r31: 0x000e2cc4
cr: 0x48000444   xer: 0x0004lr: 0x000dfbf4   ctr: 0x000e5d0c
vrsave: 0x

Binary Images:
0x1000 -   0x4bbff9 +luatex ??? (???)
/usr/local/context-20080411/tex/texmf-osx-ppc/bin/luatex
0x8fe0 - 0x8fe30b23  dyld 96.2 (???)
39109181acbf30fed542e6c9abcf1798 /usr/lib/dyld
0x90b77000 - 0x90b7cff6  libmathCommon.A.dylib ??? (???)
/usr/lib/system/libmathCommon.A.dylib
0x950ef000 - 0x95156ffb  libstdc++.6.dylib ??? (???)
a4e9b10268b3ffac26d0296499b24e8e /usr/lib/libstdc++.6.dylib
0x95157000 - 0x952f0fe3  libSystem.B.dylib ??? (???)
754231f5e52ed8418f89f1f3369caf58 /usr/lib/libSystem.B.dylib
0x96842000 - 0x9684dffb  libgcc_s.1.dylib ??? (???)
ea47fd375407f162c76d14d64ba246cd /usr/lib/libgcc_s.1.dylib
0x8000 - 0x9703  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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 problems with \seeindex and \from

2008-04-14 Thread Drazen Baic
Hi,

Of course, I should have provided one in my first mail. Trying to create
a minimal test file I also found out that the crash only happens when
\setupinteraction [state=start] is set. Here is the file.

\setupinteraction [state=start]
\useURL[apache][http://httpd.apache.org/download.cgi]

\starttext
\startitemize
 \item Download Apache at \from[apache]
\stopitemize

\stoptext

Regards,
Drazen

On Mon, Apr 14, 2008 at 9:57 AM, Taco Hoekwater [EMAIL PROTECTED] wrote:

  Hi,


  Drazen Baic wrote:
  
   with '--verbose' set - at least I couldn't see any. Finally I found out
   that 'luatex' crashed during  'LuaTools | running command: luatex --fmt'
   (see the CrashReporter log at the end of the mail).

  Can you please email me (or post) the smallest test file you can
  make that crashes? For debugging, I really need a test file.

  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
  
 ___

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

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 problems with \seeindex and \from

2008-04-14 Thread Drazen Baic
Hi,

Here is a small test file. Compiled with 'texexec --lua' the register
has only the entry 'Software 1' but it should have one additional
entry 'Apache see Software'. This works OK when compiled with
'texexec --xtx'

\starttext
\index{Software}Software
\seeindex{Apache}{Software}Apache

\placeindex
\stoptext

Regards,
Drazen

On Mon, Apr 14, 2008 at 3:40 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 Drazen Baic wrote:
   Hi,
  
   this is my first posting to this list but I'm following it through the
   archives for quite a long time.
  
   First I would like to thank the list for this huge archive. By reading
   the documentation and searching this archive most of my questions
   about ConTeXt where answered. I searched for these problems but couldn't
   find anything.
  
   Now to my question: I was generating my documents with XeTeX until I
   switched to LuaTeX and MKIV a few days ago. After I changed my
   typescripts almost everything worked perfectly but the commands
   \seeindex[]{}{} and \from[].
  
   1) \seeindex simply doesn't seem to work. The index is generated but all
   \seeindex entries are missing. It works perfectly when generated with
   'texexec --xtx'. Generating the document with \version[temporary] shows
   in the margin ' i Indexentry' and ' see Showindexentry' so it seems
   that both entries are ok. I set up the register with
   '\completeindex[interaction=text,align=yes]'
  
   Is this a bug or are \seeindex entries handled different with LuaTeX?

  can be a bug ... so you need to make a small example file

  --

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