Re: [NTG-context] beta

2011-03-25 Thread 李延瑞
2011/3/26 Hans Hagen : > Hi, > > I uploaded a new beta. > The protrusion does not work. I have tested it with the example in http://wiki.contextgarden.net/Protrusion#MkIV -- Best regards, Li Yanrui (李延瑞) ___ If you

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Wolfgang Schuster
Am 25.03.2011 um 17:25 schrieb Nicola: > Ok. Please bear with me, understanding of font handling mechanisms is still > beyond my reach. This is the best I was able to do so far to use Times New > Roman: Mac: \usetypescriptfile[type-mac] \setupbodyfont[timesnewroman] \starttext Times New Rom

Re: [NTG-context] x-ldx markup tags?

2011-03-25 Thread Philipp Gesang
On 2011-03-25 <21:01:47>, Hans Hagen wrote: > On 15-3-2011 12:27, Philipp Gesang wrote: > > >>The elements are defined in the file x-ldx.tex which is no longer > >>part of context (don’t know why). > > x-ldx.mkiv Hi Hans, the update just finished but: $ find ~/context -type f -name x-ldx* /h

Re: [NTG-context] Wrong cross references

2011-03-25 Thread Alasdair McAndrew
Sorted it - turns out I inadvertently used the same label for a formula and a figure. I've made all my labels distinct and the problem has gone. Sorry for wasting your bandwidth. -Alasdair On Sat, Mar 26, 2011 at 9:09 AM, Aditya Mahajan wrote: > On Sat, 26 Mar 2011, Alasdair McAndrew wrote: >

Re: [NTG-context] Wrong cross references

2011-03-25 Thread Aditya Mahajan
On Sat, 26 Mar 2011, Alasdair McAndrew wrote: I have seen this discussed once somewhere else, but I can't find it. Here's the problem: two equations in my document have been given numbers (1) and (2), but the references to them come up as (2) and (3) respectively. I have used: \definereferenc

Re: [NTG-context] beta

2011-03-25 Thread mathew
On Fri, Mar 25, 2011 at 12:30, Hans Hagen wrote: > - the font related lua code has been cleaned up and reorganized as well and; > the cached data is different, the memory footprint is somewhat smaller, > processing can be a bit faster, font related parameters are better organized > in subtables in

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Hans Hagen
On 25-3-2011 10:56, Mojca Miklavec wrote: On Fri, Mar 25, 2011 at 22:39, Hans Hagen wrote: On 25-3-2011 10:08, Marco wrote: No problem with luatex version beta-0.66.0-2011032521 (rev 4093). But minimals still ship beta-0.65.0-2010121317. Is there a reason why the minimals don't ship 0.66?

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Mojca Miklavec
On Fri, Mar 25, 2011 at 22:39, Hans Hagen wrote: > On 25-3-2011 10:08, Marco wrote: > >> No problem with luatex version beta-0.66.0-2011032521 (rev 4093). But >> minimals still ship beta-0.65.0-2010121317. > > Is there a reason why the minimals don't ship 0.66? Waiting for Taco to release it. I d

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Hans Hagen
On 25-3-2011 10:08, Marco wrote: On 2011-03-25 Hans Hagen wrote: No problem with luatex version beta-0.66.0-2011032521 (rev 4093). But minimals still ship beta-0.65.0-2010121317. I'm not sure if it's a bug in luatex 0.65 or context 2011.03.25. I have no clue either. Is there a reason why the

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Hans Hagen
On 25-3-2011 9:16, Marco wrote: On 2011-03-25 Hans Hagen wrote: and then remake the format and try again? I want to know what gets reported there table: a6330d0 110400 1254938640 110400 1254938640 weird, what font is that? How to obtain that information? These numbers tell me no

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Mojca Miklavec
On Fri, Mar 25, 2011 at 19:28, Hans Hagen wrote: > On 25-3-2011 7:02, Mojca Miklavec wrote: > > does it work when in font-enc.lua you change font-age into font-agl > >        dofile(resolvers.findfile("font-agl.lua")) Yes, it does, thanks a lot. (But I have no printer at the moment to test the res

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Marco
On 2011-03-25 Hans Hagen wrote: No problem with luatex version beta-0.66.0-2011032521 (rev 4093). But minimals still ship beta-0.65.0-2010121317. I'm not sure if it's a bug in luatex 0.65 or context 2011.03.25. Marco ___

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Marco
On 2011-03-25 Hans Hagen wrote: > >> and then remake the format and try again? I want to know what gets > >> reported there > > > > table: a6330d0 110400 1254938640 110400 1254938640 > > weird, what font is that? How to obtain that information? These numbers tell me nothing. Marco

Re: [NTG-context] x-ldx markup tags?

2011-03-25 Thread Hans Hagen
On 15-3-2011 12:27, Philipp Gesang wrote: The elements are defined in the file x-ldx.tex which is no longer part of context (don’t know why). x-ldx.mkiv - Hans Hagen | PRAGMA ADE

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Hans Hagen
On 25-3-2011 7:58, Marco wrote: On 2011-03-25 Hans Hagen wrote: weird ... in font-otp.lua there is in line 347: This line is in font-otf.lua. I added it there. local reload = not data or data.size ~= size or data.time ~= time can you add there print(data,data and data.size,data a

Re: [NTG-context] beta

2011-03-25 Thread Hans Hagen
On 25-3-2011 8:23, Aditya Mahajan wrote: - backend code has been reorganized and cleaned up and aspects of interaction have been partially reimplemented (like widgets) in a more mkiv-ish way (or actually mkvi); widgets now have an updated inheritance model Looks really nice. Do I have to do so

Re: [NTG-context] beta

2011-03-25 Thread Peter Münster
Aditya Mahajan writes: > \setuppaersize[A5] appears to be working fine in MKIV. Nice! So you can close http://tracker.luatex.org/view.php?id=581 -- Peter ___ If your question is of interest to others as

Re: [NTG-context] beta

2011-03-25 Thread Aditya Mahajan
On Fri, 25 Mar 2011, Hans Hagen wrote: Hi, I uploaded a new beta. There are quite some changes this time: FWIW, the installtion of beta works fine for me. - backend code has been reorganized and cleaned up and aspects of interaction have been partially reimplemented (like widgets) in a more

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Marco
On 2011-03-25 Hans Hagen wrote: > weird ... > > > in font-otp.lua there is in line 347: This line is in font-otf.lua. I added it there. > local reload = not data or data.size ~= size or data.time ~= time > > can you add there > > print(data,data and data.size,data and data.time,size,ti

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Hans Hagen
On 25-3-2011 7:28, Reviczky, Adam wrote: I'm getting this since today morning: i uploaded a patch - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlan

[NTG-context] beta (broken?)

2011-03-25 Thread Reviczky, Adam
I'm getting this since today morning: mtx-context | run 1: luatex --fmt="/home/08/reviczky/local32/texlive/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en" --lua="/home/08/reviczky/local32/texlive/experimental/tex/texmf-cache/luatex-cache/c

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Hans Hagen
On 25-3-2011 7:02, Mojca Miklavec wrote: I have attached a minimal example that fails to print from Skip. I tried to update ConTeXt to see if that fixes the problem, but the funny part is that if I try to compile \usetypescript[palatino] \setupbodyfont[palatino] \starttext abc \stoptext with t

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Hans Hagen
On 25-3-2011 7:06, Marco wrote: On 2011-03-25 Hans Hagen wrote: Hi, I uploaded a new beta. There are quite some changes this time: The following doesn't compile: \starttext \input knuth \stoptext Output: weird ... in font-otp.lua there is in line 347: local reload = not data or d

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Florian Wobbe
> Do you have Mac OS X 10.6.7? Not yet. And for obvious reasons I'm not willing to update right now ;) > The small attached example is enough to break the printer (both > PostScript and PCL) when printing from Skim. May I ask you to try to > print this file with 10.6.7? No problem here. BTW: p

Re: [NTG-context] beta (broken?)

2011-03-25 Thread Marco
On 2011-03-25 Hans Hagen wrote: > Hi, > > I uploaded a new beta. There are quite some changes this time: The following doesn't compile: \starttext \input knuth \stoptext Output: ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otp.lua:358: attempt to index local 'resources' (a

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Mojca Miklavec
I have attached a minimal example that fails to print from Skip. I tried to update ConTeXt to see if that fixes the problem, but the funny part is that if I try to compile \usetypescript[palatino] \setupbodyfont[palatino] \starttext abc \stoptext with the latest version, it won't even compile. I

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Hans Hagen
On 25-3-2011 6:43, Florian Wobbe wrote: Do you have multiple versions of the TeXGyre Pagella installed? Maybe one of them is corrupt. I don't have it installed. It is in my TeX tree. But if mine is corrupt, everyone's font is corrupt (or my disk is corrupt). I have multiple versions from con

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Florian Wobbe
>> Do you have multiple versions of the TeXGyre Pagella installed? Maybe one of >> them is corrupt. > > I don't have it installed. It is in my TeX tree. But if mine is > corrupt, everyone's font is corrupt (or my disk is corrupt). I have multiple versions from context alone: fonts/type1/public/t

[NTG-context] beta

2011-03-25 Thread Hans Hagen
Hi, I uploaded a new beta. There are quite some changes this time: - backend code has been reorganized and cleaned up and aspects of interaction have been partially reimplemented (like widgets) in a more mkiv-ish way (or actually mkvi); widgets now have an updated inheritance model - the fo

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Mojca Miklavec
On Fri, Mar 25, 2011 at 18:18, Mojca Miklavec wrote: > On Fri, Mar 25, 2011 at 17:40, Florian Wobbe wrote: > >>> (Can I send a document to >>> PostScript printer on specific IP from a Mac without having to use >>> Apple's libraries for handling PDF?) >> >> Why not? PostScript printers should handle

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Mojca Miklavec
On Fri, Mar 25, 2011 at 17:40, Florian Wobbe wrote: > > Do you have multiple versions of the TeXGyre Pagella installed? Maybe one of > them is corrupt. I don't have it installed. It is in my TeX tree. But if mine is corrupt, everyone's font is corrupt (or my disk is corrupt). > You might want to

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Florian Wobbe
> I'm using ConTeXt MKIV 2011.03.11 11:45 (I will try to upgrade first). > When I try to print the document from Mac (Skim.app) to two different > printers, I get pure junk on both of them (bold and italic fonts come > out semi-ok, but regular doesn't). I have the same setup here and palatino docu

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Nicola
In article , Nicola wrote: > ps: for aligning footnote symbols, I have no clue yet. Never mind, just stumbled upon \setupnotedefinition in the wiki. Nicola ___ If your question is of interest to others as well, pl

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Nicola
In article , Wolfgang Schuster wrote: > Am 25.03.2011 um 12:51 schrieb Nicola: > > > Hi, > > a document of mine (compiled with the latest mkiv beta) contains the > > following setup: > > > > \usetypescript[times][ec] > > \setupbodyfont[times,10pt] > > \setupbodyfont is enough, you don’t need

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread mathew
On Fri, Mar 25, 2011 at 07:16, Nicola wrote: >I ask because my publisher seems to have strict font requirements, > and has asked me to check that my paper be entirely in Times New Roman… Your best bet, then, is to download the MS TT core fonts package. http://corefonts.sourceforge.net/ That ins

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Hagmann Jörg
Maybe related: Printing on a network printer (from a Mac through Skim) prints the first page correctly, at the top of the second page it prints: ERROR: invalidfont OFFENDING COMMAND: definefont STACK: /Font -dictionary~ /YYMGGN+LinBiolinumO Printi

Re: [NTG-context] ConTeXt user manual: typo: componentonderdeel

2011-03-25 Thread Peter Münster
Paul Menzel writes: >> Corrections will go directly to the new revision of the manual (work in >> progress). You can find the links on the main wiki page. > > Do you mean [1]? No. http://wiki.contextgarden.net/manual_being_revised There is a link on the main wiki page. > Would not it be possib

Re: [NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread luigi scarso
On Fri, Mar 25, 2011 at 2:31 PM, Mojca Miklavec wrote: > Hello, > > I'm not sure if anyone will be able to help, but it doesn't hurt to ask. > > I'm using ConTeXt MKIV 2011.03.11 11:45 (I will try to upgrade first). > When I try to print the document from Mac (Skim.app) to two different > printers

[NTG-context] problem with printing pdf files (MKIV on Mac)

2011-03-25 Thread Mojca Miklavec
Hello, I'm not sure if anyone will be able to help, but it doesn't hurt to ask. I'm using ConTeXt MKIV 2011.03.11 11:45 (I will try to upgrade first). When I try to print the document from Mac (Skim.app) to two different printers, I get pure junk on both of them (bold and italic fonts come out se

Re: [NTG-context] \doif... and Lua

2011-03-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Perfect, thanks. Lukas On Fri, 25 Mar 2011 13:25:52 +0100, Wolfgang Schuster wrote: Am 25.03.2011 um 13:04 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, is it possible to use a block of context code depending on a value of a Lua variable? I tried something like: --- \startte

[NTG-context] Wrong cross references

2011-03-25 Thread Alasdair McAndrew
I have seen this discussed once somewhere else, but I can't find it. Here's the problem: two equations in my document have been given numbers (1) and (2), but the references to them come up as (2) and (3) respectively. I have used: \definereferenceformat [ineqn] [left=(,right=),text=equation] t

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Wolfgang Schuster
Am 25.03.2011 um 12:51 schrieb Nicola: > Hi, > a document of mine (compiled with the latest mkiv beta) contains the > following setup: > > \usetypescript[times][ec] > \setupbodyfont[times,10pt] \setupbodyfont is enough, you don’t need \usetypescript here and font encoding (i.e. “ec”) are gone

Re: [NTG-context] \doif... and Lua

2011-03-25 Thread Wolfgang Schuster
Am 25.03.2011 um 13:04 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > is it possible to use a block of context code depending on a value of a Lua > variable? > > I tried something like: > > --- > \starttext > \directlua{test = true} > %\directlua{test = 5} > %\directlua{test

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread luigi scarso
On Fri, Mar 25, 2011 at 1:16 PM, Nicola wrote: > I guess Apple Symbols and txsy are there because of mathematical symbols, > but what about Termes and Times-Roman? Also, is that TimesNewRomanPSMT the > “official” Times New Roman, > or a “quasi”-Times? I ask because my publisher seems to have stri

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Nicola
In article , luigi scarso wrote: > # pdffonts test.pdf That's great! I didn't know about pdffonts… Well, I don't know much about fonts in general :) So, now that's quite complicated (for me). This is what I get: name type emb sub uni object ID ---

[NTG-context] \doif... and Lua

2011-03-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible to use a block of context code depending on a value of a Lua variable? I tried something like: --- \starttext \directlua{test = true} %\directlua{test = 5} %\directlua{test = "a"} \doifempty{\directlua{return test}} %\doifempty{\directlua{test}} {Yes} {

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread luigi scarso
On Fri, Mar 25, 2011 at 12:51 PM, Nicola wrote: > Besides, is the used font Times New Roman (sorry for the question, but I > do not have Acrobat installed right now, and I do not know how to check > the font in the pdf file)? If not, how can I use Times New Roman with > mkiv? with latest minimals

[NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Nicola
Hi, a document of mine (compiled with the latest mkiv beta) contains the following setup: \usetypescript[times][ec] \setupbodyfont[times,10pt] \defineconversion[onlyasterisks][*,*,*,*,*] \setupnote[footnote][numberconversion=onlyasterisks,bodyfont=9pt] \setupcaptions[inbetween={\blank[6pt]},width

Re: [NTG-context] ConTeXt user manual: typo: componentonderdeel

2011-03-25 Thread Paul Menzel
Dear Peter, Am Freitag, den 25.03.2011, 09:52 +0100 schrieb Peter Münster: > Paul Menzel writes: > > > PS: Will an updated version be published sometime? > > > > [1] http://www.pragma-ade.com/general/manuals/cont-eni.pdf > > Hello Paul, > > This file won't be updated. > > Corrections will go

Re: [NTG-context] ConTeXt user manual: typo: componentonderdeel

2011-03-25 Thread Peter Münster
Paul Menzel writes: > PS: Will an updated version be published sometime? > > [1] http://www.pragma-ade.com/general/manuals/cont-eni.pdf Hello Paul, This file won't be updated. Corrections will go directly to the new revision of the manual (work in progress). You can find the links on the main

Re: [NTG-context] Acrobat JavaScript in ConTeXt

2011-03-25 Thread Vedran Miletić
Dana 10. ožujka 2011. 14:35 Hans Hagen je napisao/la: > > 1) how to deal with commas in strings? MyAlert{Hello, World} displays only >> Hello. >> > > does {{Hello, World}} work? Unfortunately no. Hyperlink no longer gets created. Vedran