[NTG-context] Bibliography problem

2012-02-01 Thread Pontus Lurcock
Hello, Here's a long-standing problem I have with BibTeX databases in ConTeXt Mk IV (I'm currently using version 2011.10.01). If there are multiple publications with the same authors and year, they get suffixes a, b, etc. as is usually expected in bibliographies. Unfortunately these suffixes appea

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread luigi scarso
On Thu, Feb 2, 2012 at 2:28 AM, Vladimir Lomov wrote: > Hello, > ** luigi scarso [2012-02-01 15:04:07 +0100]: > [...] > >>> I was not sure, that why I began this thread. I started with latex example, >>> then strip it down to plain tex one and after that came to context >>> minimal example. >> it'

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Vladimir Lomov
Hello, ** luigi scarso [2012-02-01 15:04:07 +0100]: [...] >> I was not sure, that why I began this thread. I started with latex example, >> then strip it down to plain tex one and after that came to context >> minimal example. > it's also in pdftex: see > function vf_def_font > in > src/texk/web2c

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Vladimir Lomov
Hello, ** Hans Hagen [2012-02-01 15:22:58 +0100]: > On 1-2-2012 15:15, Ulrike Fischer wrote: > >Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: >>>It's not related to MKIV but to luatex. >>I think it is related to MKIV (or more precisely to the fontloader). >>It is a bit difficult to de

Re: [NTG-context] strc-lst.lua [was: Bibliography problem]

2012-02-01 Thread Philipp Gesang
On 2012-01-27 12:23, Michael Green wrote: > I'm having a problem with bibliographies. I believe the bug is in strc-lst.lua. line 526ff. function lists.location(n) local l = lists.result[n] - return l.references.internal or n +

Re: [NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Jaroslav Hajtmar
Thanx Philipp! It just - I do not mind studying the code ... Many thanx. Jaroslav Dne 1.2.2012 21:35, Philipp Gesang napsal(a): On 2012-02-01 21:17, Jaroslav Hajtmar wrote: Hello Philipp. Thanx very much for very quick and perfect help. Is there any manual or source, where I can read t

Re: [NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Philipp Gesang
On 2012-02-01 21:17, Jaroslav Hajtmar wrote: > Hello Philipp. > Thanx very much for very quick and perfect help. > Is there any manual or source, where I can read these (and next and > similar) information? I’m sorry I have to disappoint you but the utf library is documented only in the source.[1]

Re: [NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Jaroslav Hajtmar
Hello Philipp. Thanx very much for very quick and perfect help. Is there any manual or source, where I can read these (and next and similar) information? One more thanx Jaroslav Hajtmar Dne 1.2.2012 21:05, Philipp Gesang napsal(a): \def\mymacro#1{% \startluacode local utf = unicode.

Re: [NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Philipp Gesang
On 2012-02-01 20:26, Jaroslav Hajtmar wrote: > I want to use Lua to write characters (substrings) from a string, > but I get an error message: > > ! String contains an invalid utf-8 sequence. > > Can you please someone help? Have you tried the unicode library? The standard string library operate

Re: [NTG-context] strc-lst.mkvi [was: \cite fails with “Extra ...”]

2012-02-01 Thread Philipp Gesang
On 2012-01-30 14:54, Pontus Lurcock wrote: > On Mon 30 Jan 2012, Philipp Gesang wrote: > > > Hi all, > > > > when updating some module documentation I came across this one: > > > > · > > > > \startpublication [ > > k=mt, > > t=

[NTG-context] Problem with Lua processing UTF8 substrings

2012-02-01 Thread Jaroslav Hajtmar
Hello ConTeXist, I want to use Lua to write characters (substrings) from a string, but I get an error message: ! String contains an invalid utf-8 sequence. I tried various Lua functions for working with UTF8 strings for example: string.subutf8(string, start[,end]) for i, char in str:nextutf8(

[NTG-context] \startstopcomment fails on latest beta

2012-02-01 Thread Marco Pessotto
Hello there. See the following minimal example. Without the \setupinteraction the document compiles just fine. %% begin \setupinteraction[state=start] \starttext hello \startcomment This won’t be published \stopcomment \stoptext %% end Best regards. Error log: mtx-context | run 1:

Re: [NTG-context] setupheads[sectionnumber=no] (and retrocompatibility issue)

2012-02-01 Thread Wolfgang Schuster
Am 01.02.2012 um 18:31 schrieb Marco Pessotto: > Wolfgang Schuster writes: > >> Am 01.02.2012 um 12:36 schrieb Marco Pessotto: > >>> http://wiki.contextgarden.net/Reference/en/setupheads says that the >>> right command is sectionnumber, but it's obviously outdated. >> >> The reference pages (

Re: [NTG-context] setupheads[sectionnumber=no] (and retrocompatibility issue)

2012-02-01 Thread Marco Pessotto
Wolfgang Schuster writes: > Am 01.02.2012 um 12:36 schrieb Marco Pessotto: >> http://wiki.contextgarden.net/Reference/en/setupheads says that the >> right command is sectionnumber, but it's obviously outdated. > > The reference pages (and also the other wiki pages) explain often the > behaviors

Re: [NTG-context] setupheads[sectionnumber=no] (and retrocompatibility issue)

2012-02-01 Thread Wolfgang Schuster
Am 01.02.2012 um 12:36 schrieb Marco Pessotto: > > Hello there. > > See this minimal example. > > %% cut here > \setupheads[sectionnumber=no] > > \starttext > > \placecontent > > \chapter{Chapter} > > \section{Section} > > \subsection{Subsection} > > \stoptext > %% end > > With version:

Re: [NTG-context] GSUB init, medi, fina and .fea file

2012-02-01 Thread Pablo Rodríguez
On 02/01/2012 04:36 PM, Hans Hagen wrote: > On 1-2-2012 16:15, Khaled Hosny wrote: >> On Wed, Feb 01, 2012 at 12:20:29AM +0100, Pablo Rodríguez wrote: >>> Hi there, >>> >>> I have the following OpenType feature archive (intended to use diferent >>> forms for initial and medial/final beta, theta and

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Khaled Hosny
On Wed, Feb 01, 2012 at 03:47:32PM +0100, luigi scarso wrote: > On Wed, Feb 1, 2012 at 3:15 PM, Ulrike Fischer wrote: > > Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: > > > >> It's not related to MKIV but to luatex. > > > > I think it is related to MKIV (or more precisely to the fontloa

Re: [NTG-context] GSUB init, medi, fina and .fea file

2012-02-01 Thread Hans Hagen
On 1-2-2012 16:15, Khaled Hosny wrote: On Wed, Feb 01, 2012 at 12:20:29AM +0100, Pablo Rodríguez wrote: Hi there, I have the following OpenType feature archive (intended to use diferent forms for initial and medial/final beta, theta and phi): Quoting my answer from a different list: If yo

Re: [NTG-context] Cross-document referencing; How to?!

2012-02-01 Thread Wolfgang Schuster
Am 01.02.2012 um 15:44 schrieb Verhaag, G.C.H.M.: > Hi, > > After going through the suggested reading "This Way", sep 2011 > (http://pragma-ade.com/show-mag-15.htm) in relation to this topic it was time > to do some tests! > > Well, I stumbled on the very first basic problem! Using the > \us

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Khaled Hosny
On Wed, Feb 01, 2012 at 03:15:14PM +0100, Ulrike Fischer wrote: > So the code from luaotfload (which is based on the context > fontloader code) changes a checksum (either in the vf or in the > tfm-information) and so the check in the luatex engines fails. I tried printing the tfm table we pass to

Re: [NTG-context] GSUB init, medi, fina and .fea file

2012-02-01 Thread Khaled Hosny
On Wed, Feb 01, 2012 at 12:20:29AM +0100, Pablo Rodríguez wrote: > Hi there, > > I have the following OpenType feature archive (intended to use diferent > forms for initial and medial/final beta, theta and phi): Quoting my answer from a different list: If you are using init/fina features, it w

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread luigi scarso
On Wed, Feb 1, 2012 at 3:15 PM, Ulrike Fischer wrote: > Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: > >> It's not related to MKIV but to luatex. > > I think it is related to MKIV (or more precisely to the fontloader). The message can be reproduced also with luatex --fmt=luatex-plain.fm

[NTG-context] Cross-document referencing; How to?!

2012-02-01 Thread Verhaag, G.C.H.M.
Hi, After going through the suggested reading "This Way", sep 2011 (http://pragma-ade.com/show-mag-15.htm) in relation to this topic it was time to do some tests! Well, I stumbled on the very first basic problem! Using the \useexternalfile[logical_name][filename] resulted in an Undefined co

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Hans Hagen
On 1-2-2012 15:15, Ulrike Fischer wrote: Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: It's not related to MKIV but to luatex. I think it is related to MKIV (or more precisely to the fontloader). It is a bit difficult to demonstrate it with context (how to you use luatex without mk

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Ulrike Fischer
Am Wed, 1 Feb 2012 10:54:04 +0100 schrieb luigi scarso: > It's not related to MKIV but to luatex. I think it is related to MKIV (or more precisely to the fontloader). It is a bit difficult to demonstrate it with context (how to you use luatex without mkiv there?) but latex (or plain) it is quite

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread luigi scarso
On Wed, Feb 1, 2012 at 2:48 PM, Vladimir Lomov wrote: >> We have > >> $>vftovp txr.vf >> (VTITLE ) >> (FAMILY TXR) >> (FACE F MRR) >> (CODINGSCHEME TEX TEXT) >> (DESIGNSIZE R 10.0) >> (COMMENT DESIGNSIZE IS IN POINTS) >> (COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) >> (CHECKSUM O 32212676346)

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Vladimir Lomov
Hello, ** luigi scarso [2012-02-01 10:54:04 +0100]: > On Wed, Feb 1, 2012 at 10:21 AM, Vladimir Lomov wrote: >> Hello, >> ** luigi scarso [2012-02-01 08:45:18 +0100]: >>> On Wed, Feb 1, 2012 at 7:00 AM, Vladimir Lomov wrote: I specially chose that font (txr, txr.tfm and txr.vf files), it

[NTG-context] setupheads[sectionnumber=no] (and retrocompatibility issue)

2012-02-01 Thread Marco Pessotto
Hello there. See this minimal example. %% cut here \setupheads[sectionnumber=no] \starttext \placecontent \chapter{Chapter} \section{Section} \subsection{Subsection} \stoptext %% end With version: 2012.01.25 14:16 the numbers are there (and if I tweak the ToC listing I get a mess). With t

Re: [NTG-context] Links in TOC not working properly?! SOLVED

2012-02-01 Thread Verhaag, G.C.H.M.
On 02/01/2012 11:16 AM, Hans Hagen wrote: you can put this in cont-new.mkiv (after \unprotect) \unexpanded\def\strc_lists_apply_renderingsetup {\the\t_lists_every_renderingsetup \edef\currentlistalternative{\listparameter\c!alternative}% \directsetup{\listalternativeparameter\c!rendering

Re: [NTG-context] Links in TOC not working properly?!

2012-02-01 Thread Hans Hagen
you can put this in cont-new.mkiv (after \unprotect) \unexpanded\def\strc_lists_apply_renderingsetup {\the\t_lists_every_renderingsetup \edef\currentlistalternative{\listparameter\c!alternative}% \directsetup{\listalternativeparameter\c!renderingsetup}\relax \the\t_lists_every_renderin

Re: [NTG-context] Links in TOC not working properly?!

2012-02-01 Thread Hans Hagen
On 1-2-2012 10:27, Verhaag, G.C.H.M. wrote: No tips or answers yet, sorry, but I'm very much in need for help, because I don't know what's wrong with the example! The included test file (test.tex) doesn't give the expected result when it comes to interaction! Jumping to the selected section fr

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread luigi scarso
On Wed, Feb 1, 2012 at 10:21 AM, Vladimir Lomov wrote: > Hello, > ** luigi scarso [2012-02-01 08:45:18 +0100]: > >> On Wed, Feb 1, 2012 at 7:00 AM, Vladimir Lomov wrote: > >>> I specially chose that font (txr, txr.tfm and txr.vf files), it is >>> distributed by txfonts "package". May be you insta

Re: [NTG-context] Links in TOC not working properly?!

2012-02-01 Thread Verhaag, G.C.H.M.
On 01/31/2012 10:55 AM, Verhaag, G.C.H.M. wrote: On 01/30/2012 06:35 PM, Wolfgang Schuster wrote: Am 30.01.2012 um 16:23 schrieb Verhaag, G.C.H.M.: Hi, I installed the newest upgrade of ConTeXt, but processing my files yields strange results! In an interactive document the links to the dif

Re: [NTG-context] Dubious "checksum mismatch" message on log file

2012-02-01 Thread Vladimir Lomov
Hello, ** luigi scarso [2012-02-01 08:45:18 +0100]: > On Wed, Feb 1, 2012 at 7:00 AM, Vladimir Lomov wrote: >> I specially chose that font (txr, txr.tfm and txr.vf files), it is >> distributed by txfonts "package". May be you installation doesn't have >> them because I installed context suite wi