Re: [NTG-context] Persian digits in math formulas

2013-08-15 Thread Hans Hagen

On 8/15/2013 7:30 PM, Mingranina Gingranina wrote:

On 8/15/13, Hans Hagen  wrote:

On 8/15/2013 4:22 PM, Mingranina Gingranina wrote:



  A math formula In Persian language is exactly the same as in English
language except that the
  digits should be written in Persian. So what I want to do is to
replace the English digits with
  Persian digits in a math formula. However, with your code not only
the formula is right aligned, but
  also the square root symbol is mirrored.


In the next beta you can do this (bidi-006.tex):

\usetypescriptfile[mathdigits]

\usetypescript [mathdigits] [xits-dejavu] [arabicindic]

\setupbodyfont[dejavu]

\starttext
$3+2=5 \quad \bf 3+2=5$
\stoptext

Of course we need to add more combinations.

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Persian digits in math formulas

2013-08-15 Thread Hans Hagen

On 8/15/2013 7:30 PM, Mingranina Gingranina wrote:

On 8/15/13, Hans Hagen  wrote:

On 8/15/2013 4:22 PM, Mingranina Gingranina wrote:



  A math formula In Persian language is exactly the same as in English
language except that the
  digits should be written in Persian. So what I want to do is to
replace the English digits with
  Persian digits in a math formula. However, with your code not only
the formula is right aligned, but
  also the square root symbol is mirrored.


Assuming that you use math consistently ...

\starttypescript [mathdigits] [all]
\resetfontfallback [mathdigits]
\stoptypescript

\starttypescript [mathdigits] [arabicindic]
\definefontfallback [mathdigits] [dejavusansmono] 
[0x0660-0x0669] [check=yes,force=yes,offset=digitsnormal]
\definefontfallback [mathdigits] [dejavusansmonobold] 
[0x0660-0x0669] [check=yes,force=yes,offset=digitsbold]

\stoptypescript

\starttypescript [mathdigits] [extendedarabicindic]
\definefontfallback [mathdigits] [dejavusansmono] 
[0x06F0-0x06F9] [check=yes,force=yes,offset=digitsnormal]
\definefontfallback [mathdigits] [dejavusansmonobold] 
[0x06F0-0x06F9] [check=yes,force=yes,offset=digitsbold]

\stoptypescript

% % in next beta: a few more ranges
%
% \starttypescript [mathdigits] [arabicindic,extendedarabicindic]
% \resetfontfallback  [mathdigits]
% \definefontfallback [mathdigits] [dejavusansmono] 
[digits\typescripttwo] [check=yes,force=yes,offset=digitsnormal]
% \definefontfallback [mathdigits] [dejavusansmonobold] 
[digits\typescripttwo] [check=yes,force=yes,offset=digitsbold]

% \stoptypescript

\usetypescript [mathdigits][arabicindic]

\starttypescript [math] [xits] [name]

\definefontsynonym[MathRoman][file:xits-math.otf][features=math\mathsizesuffix,goodies=xits-math,fallbacks=mathdigits]
\stoptypescript

\setupbodyfont[dejavu]

\starttext

$3+2=5 \quad \bf 3+2=5$

\stoptext

I'm not sure yet how to organize such things in a predefined typescript.

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Trouble with editors on Mac

2013-08-15 Thread Mica Semrick
You editor probably isn't picking up ConTeXt because it's probably not on
the system path. I add the setuptex command at the end of .bashrc or
.bash_profile. This makes it accessible from the terminal, but not all
programs read in .bashrc or .bash_profile. You should add ConTeXt to your
editor's path, if possible.


On Thu, Aug 15, 2013 at 4:11 AM, Robert Blackstone <
blackstone.rob...@gmail.com> wrote:

>
> On 15 aug. 2013, at 11:40, ntg-context-requ...@ntg.nl Mari Voipio <
> mari.voi...@iki.fi *w*rote:
>
>
> I updated my ConTeXt installation today and now it refuses to work
> with TextMate and TeXworks.
>
>
>
> This problem is not critical as I can use TextMate/TeXworks as editor
> and compile on command line in Terminal,  but it is a bit of a
> nuisance not to be able to use the typesetting command in the editor.
> So any help is highly appreciated.
>
>
> Hi Mari,
> I cannot help you with your particular problem other than suggesting to
> give TeXShop a try.
> I have used it for many years and it has never given me any problem
> whatsoever.
>
> Just to make sure, I updated the standalone today (beta with all goodies)
> and again no problem.
>
> Best regards,
> Robert Blackstone
>
>
> ___
> 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  : http://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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Persian digits in math formulas

2013-08-15 Thread Wolfgang Schuster

Am 15.08.2013 um 19:30 schrieb Mingranina Gingranina :

> By the way, I couldn't find "bidi-001.tex" on ConTeXt Site, would you
> please let me know where can I get it?


The file is part of Hans test suite you can find on his homepage:

- http://pragma-ade.com/download-1.htm
- http://pragma-ade.com/context/latest/cont-tst.7z

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

Re: [NTG-context] Persian digits in math formulas

2013-08-15 Thread Marco Patzer
On 2013–08–15 Mingranina Gingranina wrote:

>  By the way, I couldn't find "bidi-001.tex" on ConTeXt Site, would
>  you please let me know where can I get it?

It's here:

  http://pragma-ade.com/context/latest/cont-tst.7z

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

Re: [NTG-context] Persian digits in math formulas

2013-08-15 Thread Mingranina Gingranina
On 8/15/13, Hans Hagen  wrote:
> On 8/15/2013 4:22 PM, Mingranina Gingranina wrote:
>> Dear All,
>>   Hello,
>>
>>   I am trying to use Persian digits in math formulas. My document reads:
>>
>> \font\4 = {name:dejavusans} at 10pt
>>
>> \font\5 = {name:dejavusans} at 7pt
>>
>> \font\6 = {name:dejavusans} at 5pt
>>
>> \textfont4=\4 \scriptfont4=\5 \scriptscriptfont4=\6
>>
>> \Umathcode`3="1"4`۳
>>
>> \definefontfeature [persian] [arabic]
>>
>> \mainlanguage[pe]
>>
>> \starttext
>>
>>\definedfont[dejavusans*persian]
>>
>>\setupalign[r2l]
>>
>>  این یک آزمایش است.
>>
>>3+2=5
>>
>>$3+2=5$
>>
>>  \setupalign[l2r]
>>
>>  This is a test.
>>
>>3+2=5
>>
>>$3+2=5$
>>
>> \stoptext
>>
>>   However in the output the replaced digit "3" disappears.
>>   Any help is gratefully appreciated.
>
> For a text font you can add:
>
> \definefontfeature [persian-fake-math] [arabic] [anum=yes]
>
> and say:
>
>  \definedfont[dejavusans*persian-fake-math]
>
> but ... nicer is this:
>
> \mainlanguage[pe]
>
> \usetypescriptfile[dejavu]
>
> \definetypeface [dejavu] [rm] [serif] [dejavu]   [default]
> \definetypeface [dejavu] [ss] [sans]  [dejavu]   [default]
> \definetypeface [dejavu] [tt] [mono]  [dejavu]   [default]
> \definetypeface [dejavu] [mm] [math]  [xitsbidi] [default]
> [direction=both,rscale=1.2]
>
> \setuptypeface[dejavu]
>
> \starttext
>
>  \start \setupalign[r2l] \setupmathematics[align=r2l] arabic: این یک
> آزمایش است. \par text: 3+2=5 \par math: $3+2=5$ $\sqrt{3+2=5}$ \par \stop
>
>  \start \setupalign[l2r] \setupmathematics[align=l2r] latin:  This
> is a test.\par text: 3+2=5 \par math: $3+2=5$ $\sqrt{3+2=5}$\par \stop
>
> \stoptext
>
> (see bidi-001.tex in the test suite)

 Dear Hans,
 Hello

 Thank you very much for your reply.
 A math formula In Persian language is exactly the same as in English
language except that the
 digits should be written in Persian. So what I want to do is to
replace the English digits with
 Persian digits in a math formula. However, with your code not only
the formula is right aligned, but
 also the square root symbol is mirrored.

 By the way, I couldn't find "bidi-001.tex" on ConTeXt Site, would you
please let me know where can
 I get it?

 Thanks,
 Mingranina


 The problem wi



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

Re: [NTG-context] SOLVED: too many open files

2013-08-15 Thread Aditya Mahajan

On Thu, 15 Aug 2013, Henning Hraban Ramm wrote:


in my current songbook project I use t-filter with LilyPond as shown in 
http://wiki.contextgarden.net/LilyPond with latest beta MkIV on OSX.


OT: The thriddata.parselilypondfile(..) function is convoluted. Instead of

 for ts in io.lines(scname) do
 syco = ts*1
  end

you should use

  syco = tonumber(io.loaddata(scname)) or 0

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

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


Re: [NTG-context] SOLVED: too many open files

2013-08-15 Thread Hans Hagen

On 8/15/2013 5:48 PM, Henning Hraban Ramm wrote:

Hi again,

in my current songbook project I use t-filter with LilyPond as shown in 
http://wiki.contextgarden.net/LilyPond with latest beta MkIV on OSX.

Every line (system) of notes is included as its own PDF to leave the page 
breaking to ConTeXt. But since I have some hundred songs with each a few lines, 
it sums up...

I guess ConTeXt keeps every externalfigure open, since I get this error:

pages   > flushing realpage 70, userpage 70
(c_helpmesee.tex
structure   > sectioning > TitelKlein @ level 2 : 0.83 -> Help Me See
GNU LilyPond 2.16.2
ERROR: In procedure open-file:
ERROR: Too many open files: 
"/Applications/music/LilyPond.app/Contents/Resources/bin/../share/guile/1.8/ice-9/r4rs.scm"
LILYPOND> name='lilytemp/prd_alle-temp-lilypond-c_helpmesee.pdf'
LILYPOND> including system no.1
LILYPOND> including system no.2
LILYPOND> including system no.3
LILYPOND> including system no.4
LILYPOND> including system no.5
) (c_hochaufdem.tex 
 
 
 
 Fatal error occurred, no output PDF file produced!


It works with songbook excerpts (some 30 songs). I don't understand if the 
error is really from LilyPond or from LuaTeX (I guess the former), and how I 
would be able to increase the number of possible files (in bash on OSX 10.8.4). 
So probably it's more a general Unix question than a ConTeXt one, but anyway...

ANALYSIS:
$ ulimit -n
256
$ sysctl kern.maxfiles
kern.maxfiles: 12288
$ sysctl kern.maxfilesperproc
kern.maxfilesperproc: 10240

SOLUTION:
$ ulimit -S -n 2048

(Properly describing a problem often helps to solve it. I send this for the 
records, in case someone runs into the same.)


afaik the limit for simultaneous open pdf files in luatex is 2K so it's 
indeed your operating system


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] SOLVED: too many open files

2013-08-15 Thread Henning Hraban Ramm
Hi again,

in my current songbook project I use t-filter with LilyPond as shown in 
http://wiki.contextgarden.net/LilyPond with latest beta MkIV on OSX.

Every line (system) of notes is included as its own PDF to leave the page 
breaking to ConTeXt. But since I have some hundred songs with each a few lines, 
it sums up...

I guess ConTeXt keeps every externalfigure open, since I get this error:

pages   > flushing realpage 70, userpage 70
(c_helpmesee.tex
structure   > sectioning > TitelKlein @ level 2 : 0.83 -> Help Me See
GNU LilyPond 2.16.2
ERROR: In procedure open-file:
ERROR: Too many open files: 
"/Applications/music/LilyPond.app/Contents/Resources/bin/../share/guile/1.8/ice-9/r4rs.scm"
LILYPOND> name='lilytemp/prd_alle-temp-lilypond-c_helpmesee.pdf'
LILYPOND> including system no.1
LILYPOND> including system no.2
LILYPOND> including system no.3
LILYPOND> including system no.4
LILYPOND> including system no.5
) (c_hochaufdem.tex 

 

 

 
 Fatal error occurred, no output PDF file produced!


It works with songbook excerpts (some 30 songs). I don't understand if the 
error is really from LilyPond or from LuaTeX (I guess the former), and how I 
would be able to increase the number of possible files (in bash on OSX 10.8.4). 
So probably it's more a general Unix question than a ConTeXt one, but anyway...

ANALYSIS:
$ ulimit -n
256
$ sysctl kern.maxfiles
kern.maxfiles: 12288
$ sysctl kern.maxfilesperproc
kern.maxfilesperproc: 10240

SOLUTION:
$ ulimit -S -n 2048

(Properly describing a problem often helps to solve it. I send this for the 
records, in case someone runs into the same.)


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


Re: [NTG-context] Persian digits in math formulas

2013-08-15 Thread Hans Hagen

On 8/15/2013 4:22 PM, Mingranina Gingranina wrote:

Dear All,
  Hello,

  I am trying to use Persian digits in math formulas. My document reads:

\font\4 = {name:dejavusans} at 10pt

\font\5 = {name:dejavusans} at 7pt

\font\6 = {name:dejavusans} at 5pt

\textfont4=\4 \scriptfont4=\5 \scriptscriptfont4=\6

\Umathcode`3="1"4`۳

\definefontfeature [persian] [arabic]

\mainlanguage[pe]

\starttext

   \definedfont[dejavusans*persian]

   \setupalign[r2l]

 این یک آزمایش است.

   3+2=5

   $3+2=5$

 \setupalign[l2r]

 This is a test.

   3+2=5

   $3+2=5$

\stoptext

  However in the output the replaced digit "3" disappears.
  Any help is gratefully appreciated.


For a text font you can add:

\definefontfeature [persian-fake-math] [arabic] [anum=yes]

and say:

\definedfont[dejavusans*persian-fake-math]

but ... nicer is this:

\mainlanguage[pe]

\usetypescriptfile[dejavu]

\definetypeface [dejavu] [rm] [serif] [dejavu]   [default]
\definetypeface [dejavu] [ss] [sans]  [dejavu]   [default]
\definetypeface [dejavu] [tt] [mono]  [dejavu]   [default]
\definetypeface [dejavu] [mm] [math]  [xitsbidi] [default] 
[direction=both,rscale=1.2]


\setuptypeface[dejavu]

\starttext

\start \setupalign[r2l] \setupmathematics[align=r2l] arabic: این یک 
آزمایش است. \par text: 3+2=5 \par math: $3+2=5$ $\sqrt{3+2=5}$ \par \stop


\start \setupalign[l2r] \setupmathematics[align=l2r] latin:  This 
is a test.\par text: 3+2=5 \par math: $3+2=5$ $\sqrt{3+2=5}$\par \stop


\stoptext

(see bidi-001.tex in the test suite)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Persian digits in math formulas

2013-08-15 Thread Mingranina Gingranina
Dear All,
 Hello,

 I am trying to use Persian digits in math formulas. My document reads:

\font\4 = {name:dejavusans} at 10pt

\font\5 = {name:dejavusans} at 7pt

\font\6 = {name:dejavusans} at 5pt

\textfont4=\4 \scriptfont4=\5 \scriptscriptfont4=\6

\Umathcode`3="1"4`۳

\definefontfeature [persian] [arabic]

\mainlanguage[pe]

\starttext

  \definedfont[dejavusans*persian]

  \setupalign[r2l]

این یک آزمایش است.

  3+2=5

  $3+2=5$

\setupalign[l2r]

This is a test.

  3+2=5

  $3+2=5$

\stoptext

 However in the output the replaced digit "3" disappears.
 Any help is gratefully appreciated.

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

Re: [NTG-context] bug in current beta

2013-08-15 Thread Schmitz Thomas A.

On Aug 15, 2013, at 1:43 PM, Hans Hagen  wrote:

> as you know lua ... just look at those lines and a few lines above ... you 
> need to add
> 
>local unic = unicode + offset - start
> 
> (new beta later, in the middle of something)

Ah, you're right, I could have seen that myself - that assignment was missing 
from the "else" branch. Thanks, that fixed the problem!

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


Re: [NTG-context] bug in current beta

2013-08-15 Thread Hans Hagen

On 8/15/2013 11:40 AM, Schmitz Thomas A. wrote:

Hi Hans,

I get this error running 2013.08.14 15:25:


as you know lua ... just look at those lines and a few lines above ... 
you need to add


local unic = unicode + offset - start

(new beta later, in the middle of something)

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Trouble with editors on Mac

2013-08-15 Thread Robert Blackstone

On 15 aug. 2013, at 11:40, ntg-context-requ...@ntg.nl Mari Voipio 
 
> I updated my ConTeXt installation today and now it refuses to work
> with TextMate and TeXworks. 

> 
> This problem is not critical as I can use TextMate/TeXworks as editor
> and compile on command line in Terminal,  but it is a bit of a
> nuisance not to be able to use the typesetting command in the editor.
> So any help is highly appreciated.

Hi Mari,
I cannot help you with your particular problem other than suggesting to give 
TeXShop a try.
I have used it for many years and it has never given me any problem whatsoever.

Just to make sure, I updated the standalone today (beta with all goodies) and 
again no problem.

Best regards,
Robert Blackstone___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] bug in current beta

2013-08-15 Thread Schmitz Thomas A.
Hi Hans,

I get this error running 2013.08.14 15:25:

! LuaTeX error .../context/tex/texmf-context/tex/context/base/font-col.lua:180: 
table index is nil
stack traceback:
.../context/tex/texmf-context/tex/context/base/font-col.lua:180: in 
function 'fontcollectionclone'
[string "\directlua "]:1: in main chunk.

system  > tex > error on line 137 in file 
/Users/tas/context/tex/texmf-context/tex/context/base/cont-yes.mkiv: LuaTeX 
error  ...



\ctxcommand #1^^@-\directlua {commands.#1}

l.137 }
 
\ctxcommand #1^^@-\directlua {commands.#1}

\font_fallbacks_prepare_indeed ...backs_prepare #1
  \endgroup 
 ...llbacks_prepare_indeed \m_font_class_fallbacks 
  \fi \else \font_fallbacks_...
\font_helpers_low_level_define ...everydefinefont 
  \c_font_feature_inheritanc...
...
l.91 \stopluacode

Unfortunately, I have no idea what triggers it, same document compiles fine 
with a July beta.

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


Re: [NTG-context] Tagged PDF

2013-08-15 Thread Peter Rolf
Am 15.08.2013 09:05, schrieb Aditya Mahajan:
> On Wed, 14 Aug 2013, D. K. wrote:
> 
>> Hi everyone,
>>
>> in my quest to generate tagged pdf's that meet nowaday's accessibility
>> requirements (it seems to me that tags are the major hurdle when using
>> tex), I came around context.
>>
>> There is a very interesting article on how to generate tagged pdf's with
>> context mkiv.
>> http://www.tug.org/TUGboat/tb31-3/tb99hagen.pdf
>>
>> A quick sample run of the examples shown in the above pdf with context
>> however doesn't yield a nice result. Checking with the pdf accessibility
>> checker
>> http://www.access-for-all.ch/en/pdf-lab/pdf-accessibility-checker-pac.html
>>
>> for example, the generated pdf fails completely and is not considered
>> to be
>> tagged.
>>
>> Could someone point me in the right direction? Is there any kind of
>> tutorial or minimal example from where I could work on? Are there any
>> (hidden) options that need to be set in order to activate tagging
>> support?
> 
> Have you seen http://wiki.contextgarden.net/PDFX
>

Tagging is part of PDF/A, but the interface is the same.

"pdf/a-1a:2005" and "pdf/a-1b:2005" are the used 'format' names for
PDF/A. Never used it myself, so I can't tell much about it.

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

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


Re: [NTG-context] Tagged PDF

2013-08-15 Thread Aditya Mahajan

On Wed, 14 Aug 2013, D. K. wrote:


Hi everyone,

in my quest to generate tagged pdf's that meet nowaday's accessibility
requirements (it seems to me that tags are the major hurdle when using
tex), I came around context.

There is a very interesting article on how to generate tagged pdf's with
context mkiv.
http://www.tug.org/TUGboat/tb31-3/tb99hagen.pdf

A quick sample run of the examples shown in the above pdf with context
however doesn't yield a nice result. Checking with the pdf accessibility
checker
http://www.access-for-all.ch/en/pdf-lab/pdf-accessibility-checker-pac.html
for example, the generated pdf fails completely and is not considered to be
tagged.

Could someone point me in the right direction? Is there any kind of
tutorial or minimal example from where I could work on? Are there any
(hidden) options that need to be set in order to activate tagging support?


Have you seen http://wiki.contextgarden.net/PDFX

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

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