Re: [NTG-context] Accessibility and Tagged PDF/A, Footnotes showing

2016-01-19 Thread Ursula Hermann
Hello Alan!

Yes, i know, it is because I am working with Word until now, but would like to 
change to ConTeXt.  If I set there a footnote, then there comes an pop-up 
window with the text. 

A Discussion would be very interesting. 

Thanks a lot. 

Ursula Hermann 

-Ursprüngliche Nachricht-
Von: ntg-context [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Alan BRASLAU
Gesendet: Montag, 18. Januar 2016 23:08
Cc: ntg-context@ntg.nl
Betreff: Re: [NTG-context] Accessibility and Tagged PDF/A, Footnotes showing

On Mon, 18 Jan 2016 22:38:56 +0100
Hans Hagen  wrote:

> On 1/18/2016 8:26 PM, Ursula Hermann wrote:
> > Hello Hans and Dr. Dominik Klein!
> >
> > Today I found a Thread about Accessibility from last Juli!
> >
> >
> > I work at the University in Vienna,  and I work with students, who 
> > are blind or have a see handicap. So I read this Thread today.
> >
> > Last year in Summer I began to read the manual of Context.
> >
> > I have a question to this discussion, it is nessesary to know: How 
> > can footnotes be shown in the PDF/A tagged PDF, in a text?
> >
> > What I mean something, that shows in the Text the text from the 
> > footnote, when I click on the number from the footnote.
> >
> >
> > Maybe with a tooltip? Or what is the right way? Which command?  
> 
> tooltips are widgets and not part of the document text stream .. so i 
> think they don't count as accessibility feature (but i might be wrong)
> 
> maybe someone else on the list knows
> 
> i wonder, as you use tex you can consider generating an additional 
> document (larger fontsize, better readable fonts, inline notes, maybe 
> other enhancements), pop ups etc
> 
> it'a anyway interesting to discuss how to make documents accessible 
> (tagged pdf is one options but not beforehand the nicest approach)

Hello,

It is an interesting comment going beyond the simple (yet important) question 
of accessibility: how in general should items such as footnotes be handled in 
alternative, non-printed formats, where the notion of a "page" becomes fuzzy?

With ConTeXt, it is easy to have such "footnotes" placed at the bottom of the 
formatted page, at the end of a section, chapter or book. It is also easy for 
them to have hyperlinks to jump to their location and then back to the 
reference text.

Tooltips and other widgets, as Hans says, depend on the display client and not 
on the document - there are many things that might work with one reader (i.e. 
Adobe) and not on others. Addressing the questions of accessibility, in 
particular for blind or otherwise vision-impaired readers, one can design an 
appropriate action or model for the document. Footnotes and endnotes are useful 
tools for a writer. Like indexes, bibliographic references, or floating figures 
or tables, these are concepts that might require some thought as to how they 
might be employed in an ebook or by an audio reader. This would make an 
interesting topic of discussion for our next ConTeXt users' meeting.

Alan
___
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] Ligatures in EB Garamond

2016-01-19 Thread Hans Hagen

On 1/19/2016 8:13 AM, Jan U. Hasecke wrote:


I was disappointed to learn that there is no package like selnolig for
ConTeXt but the book I am now typesetting is only 120 pages long and
I'll switch ligatures off manually with the ZWNJ replacement. (The
ConTeXt notation is a bit uncomfortable, but as I only have to use it
once...)


I have no clue what a package is supposed to do but any solution has to 
come up with a list if words.


\replaceword[sellig][auflösen][auf{-}{}{\zwnj}lösen]

The {-}{}{\zwnj} is in fact a discretionary spec because you probably 
would like to permit hyphenation. You could inject just a \nzwj .


Btw, keep in mind that in context this kind of manipulations happens in 
ways that don't interfere too much with macro expansion and other trickery.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] Ligatures in EB Garamond

2016-01-19 Thread Arthur Reutenauer
> I have no clue what a package is supposed to do but any solution has to come
> up with a list if words.

  I think the point is that often in German, breakpoints for hyphenation
also break ligatures.  I mentioned that in Nasbinals.

Best,

Arthur
___
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] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Wolfgang Schuster

Ibn Saeed 
19. Januar 2016 um 04:54
Mohammad Hossein Bateni  writes:


One hacky way to fix it is the following:

\setupheadertexts[{\getmarking[chapter]}]
[{\lefttoright\pagenumber}][{\lefttoright\pagenumber}]   
[{\getmarking[chapter]}]

Ideally \setupdirections[bidi] or something like that should be used, as I

mentioned in the other thread; that'll fix a bunch of other problems, as
well

I did enable \setupdirections[bidi=global] and it did not help.

Here is how it was solved. I could not use your solution as it would move
the position of the page number of the even page on top of the chapter name.

So here is the solution derived from your answer, which works for my
scenario.

\setupheader[margin][
style=\righttoleft,
state=normal
]

\setupheadertexts
 [{\righttoleft\getmarking[chapter]}][{\pagenumber}]
 [{\pagenumber}][{\righttoleft\getmarking[chapter]}]

As Hans told you you can change the style for the header text in the 
left side only:


\setupheader[leftstyle=\righttoleft]

\setupheadertexts
  [chapter][pagenumber]
  [pagenumber] [chapter]

\setuppagenumbering[alternative=doublesided]

\starttext
\dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}}
\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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Wolfgang Schuster

Ibn Saeed 
19. Januar 2016 um 10:55

Here is my code for the header:

\setupheadertexts
[{\righttoleft\getmarking[chapter]}] [{\romannumerals}]
[{\pagenumber}] [{\righttoleft\getmarking[chapter]}]

Use

\setupheadertexts[pagenumber]

or

\setupheadertexts[\userpagenumber]

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] TeX in \xmlsetentity and DTDs in DOCTYPEs

2016-01-19 Thread Hans Hagen

On 1/18/2016 10:45 PM, Thomas A. Schmitz wrote:

On 01/18/2016 10:26 PM, Hans Hagen wrote:

i already feared that ...


...


i still wonder what happens in tuc files (roundtrip mess)

beta coming



Yep, this seems to be a somewhat difficult area. Was just preparing an
example when yours arrived. The latest beta seems to be doing the right
thing. FYI: my example was an entity "linebreak" which I wanted to
induce a linebreak (duh!) in the pdf but not when I serve the file via
xsl...


aha. grep for "injector" in the test suite

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed


Here is my code for the header:

\setupheadertexts
   [{\righttoleft\getmarking[chapter]}][{\romannumerals}]
   [{\pagenumber}][{\righttoleft\getmarking[chapter]}]


\setuppagenumbering[
   alternative=doublesided,
   location=, 
]


___
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] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Mohammad Hossein Bateni
That should work for Ibn Saeed, but it's not a complete solution.  For
example it does not work if one wants to write "page x of y" instead, with
"page" and "y" written in Arabic/Persian.  Then the text of the header is
partly LTR and part RTL.

This is still simple and I can use my hacky solution and mix \lefttoright
and \righttoleft to get it right.  But is it possible to extend the
\setupdirections[bidi=on] to apply to parts other than the main text?  I
just noticed this does not apply to footnotes either.  Having numbers in
the TRL footnote text produces incorrect typesetting.

On Tue, Jan 19, 2016 at 5:20 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:

> Ibn Saeed 
> 19. Januar 2016 um 04:54
>
> Mohammad Hossein Bateni  gmail.com> writes:
>
>
> One hacky way to fix it is the following:
>
> \setupheadertexts[{\getmarking[chapter]}]
>
> [{\lefttoright\pagenumber}][{\lefttoright\pagenumber}]
> [{\getmarking[chapter]}]
>
> Ideally \setupdirections[bidi] or something like that should be used, as I
>
> mentioned in the other thread; that'll fix a bunch of other problems, as
> well
>
> I did enable \setupdirections[bidi=global] and it did not help.
>
> Here is how it was solved. I could not use your solution as it would move
> the position of the page number of the even page on top of the chapter name.
>
> So here is the solution derived from your answer, which works for my
> scenario.
>
> \setupheader[margin][
>   style=\righttoleft,
>   state=normal
>   ]
>
> \setupheadertexts
> [{\righttoleft\getmarking[chapter]}][{\pagenumber}]
> [{\pagenumber}][{\righttoleft\getmarking[chapter]}]
>
>
> As Hans told you you can change the style for the header text in the left
> side only:
>
> \setupheader[leftstyle=\righttoleft]
>
> \setupheadertexts
>   [chapter][pagenumber]
>   [pagenumber] [chapter]
>
> \setuppagenumbering[alternative=doublesided]
>
> \starttext
> \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}}
> \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  : 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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Mohammad Hossein Bateni
Also \arabicnumerals is probably not what you want: this will produce an
abjad-like sequence:
ا ب ج د ه و ز ...

I guess, what you want is called \arabicdecimals, and was not part of MkIV
for a while.  (For instance, it is not in standard TeXLive 2015
distribution whose CONTEXT version is for sometime in the summer.)  Use the
CONTEXT standalone and you should be good to go.

On Tue, Jan 19, 2016 at 5:23 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:

> Ibn Saeed 
> 19. Januar 2016 um 10:55
>
> Here is my code for the header:
>
> \setupheadertexts
> [{\righttoleft\getmarking[chapter]}] [{\romannumerals}]
> [{\pagenumber}] [{\righttoleft\getmarking[chapter]}]
>
> Use
>
> \setupheadertexts[pagenumber]
>
> or
>
> \setupheadertexts[\userpagenumber]
>
> 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
>
> ___
>
___
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] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Wolfgang Schuster

Mohammad Hossein Bateni 
19. Januar 2016 um 12:16
That should work for Ibn Saeed, but it's not a complete solution.  For 
example it does not work if one wants to write "page x of y" instead, 
with "page" and "y" written in Arabic/Persian.  Then the text of the 
header is partly LTR and part RTL.


This is still simple and I can use my hacky solution and mix 
\lefttoright and \righttoleft to get it right.  But is it possible to 
extend the \setupdirections[bidi=on] to apply to parts other than the 
main text?  I just noticed this does not apply to footnotes either.  
Having numbers in the TRL footnote text produces incorrect typesetting.
ConTeXt resets many settings for headers, footers, footnotes etc. and 
have to set them again for these elements.


To apply the bidi setting to footnotes you have to add

\startsetups[bidi:footnotes]
  \setupdirection[bidi=on]
\stopsetups

\setupnotes[footnote][setups=bidi:footnotes]

to your document.

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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Otared Kavian
Hi,

There is the command 

\persiandecimals

is that what you are looking for?

Best regards: OK

> On 19 Jan 2016, at 12:30, Mohammad Hossein Bateni  wrote:
> 
> Also \arabicnumerals is probably not what you want: this will produce an 
> abjad-like sequence:
> ا ب ج د ه و ز ...
> 
> I guess, what you want is called \arabicdecimals, and was not part of MkIV 
> for a while.  (For instance, it is not in standard TeXLive 2015 distribution 
> whose CONTEXT version is for sometime in the summer.)  Use the CONTEXT 
> standalone and you should be good to go.
> 
> On Tue, Jan 19, 2016 at 5:23 AM, Wolfgang Schuster 
> > wrote:
>> Ibn Saeed  19. Januar 2016 um 10:55
>> 
>> Here is my code for the header:
>> 
>> \setupheadertexts
>> [{\righttoleft\getmarking[chapter]}] [{\romannumerals}]
>> [{\pagenumber}] [{\righttoleft\getmarking[chapter]}]
> Use
> 
> \setupheadertexts[pagenumber]
> 
> or
> 
> \setupheadertexts[\userpagenumber]
> 
> 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 
> ___
> 
> ___
> 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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Wolfgang Schuster

Ibn Saeed 
19. Januar 2016 um 18:23
Mohammad Hossein Bateni  writes:


You do not need to uninstall TeXLive.  ConTeXt Standalone can work side by

side and it's very simple to install.  You can pick to use the standalone for
some of your compilations.

\persiandecimals and \arabicdecimals are very similar.  The difference is

(almost) only in digits for 0,4,5,6.  However, Ibn Saeed most probably needs
\arabicdecimals to typeset "mashiriqi" numerals.

The important thing is that neither one exists in TeXLive Context.  It was

there in MkII but not in MkIV for some reason.  It was added to MkIV sometime
in the fall.


I updated ConTeXt as per your advice to the latest version.

I tried the following code on ConTeXt 0.63 running in AucTeX Spacemacs Editor.
When you talk about context versions you have to use the date from the 
last line (context --version):


mtx-context | ConTeXt Process Management 0.63
mtx-context |
mtx-context | main context file: context.mkiv
mtx-context | current version: 2016.01.18 22:21

\setupheadertexts
[{\righttoleft\getmarking[chapter]}][{\arabicdecimals\pagenumber}]
[{\arabicdecimals\pagenumber}]
[{\righttoleft\getmarking[chapter]}]

You can separate the settings and the content:

\setupheader[style=\righttoleft]

\setupheadertexts
  [chapter][pagenumber]
  [pagenumber] [chapter]

\setuppagenumbering
  [alternative=doublesided,
   style=\lefttoright,
   location=]

\setupuserpagenumber[numberconversion=Characters] % 
numberconversion=arabicdecimals


\starttext
\dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}}
\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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Ligatures in EB Garamond

2016-01-19 Thread Hans Hagen

On 1/19/2016 5:41 PM, Jan U. Hasecke wrote:

Am 19.01.2016 um 16:31 schrieb Kate F:

On 19 January 2016 at 09:05, Arthur Reutenauer
 wrote:

I have no clue what a package is supposed to do but any solution has to come
up with a list if words.


   I think the point is that often in German, breakpoints for hyphenation
also break ligatures.  I mentioned that in Nasbinals.

 Best,

 Arthur


The guts of the selnolig package just call \hyphenation{...}:
http://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/luatex/latex/selnolig/selnolig-english-hyphex.sty


The interesting part for ligatures is in the patterns file

http://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/luatex/latex/selnolig/selnolig-english-patterns.sty

http://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/luatex/latex/selnolig/selnolig-german-patterns.sty

By using patterns they don't need a very huge word list, I think.


If patterns were the solution then making better pattern files would be 
the solution ... anyway, i just see a list of what are basically 
exceptions.


So just for the fun of it i'll add {} as shortcut for \zwnj

  \replaceword[more][shiffling] [shiff{}ling]

and this already was there

  \replaceword[more][shiffling] [shiffling]

to prevent messing with something but i'll add an equivalent

  \replaceword[more][shiffling] [{shiffling}]

variant (more explicit). The already existing replacement mechanism is 
good enough for this purpose and if needed we can always ship some lists.


Hans



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed

> \setupuserpagenumber[numberconversion=Characters]
> Wolfgang


Thank you very much Wolfgang.Its nice seperation of settings and content.

___
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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Mohammad Hossein Bateni
You do not *need* to uninstall TeXLive.  ConTeXt Standalone can work side
by side and it's very simple to install
.  You can pick to use
the standalone for some of your compilations.

\persiandecimals and \arabicdecimals are very similar.  The difference is
(almost) only in digits for 0,4,5,6.  However, Ibn Saeed most probably
needs \arabicdecimals to typeset "mashiriqi" numerals.

The important thing is that neither one exists in TeXLive Context.  It was
there in MkII but not in MkIV for some reason.  It was added to MkIV
sometime in the fall.

On Tue, Jan 19, 2016 at 8:43 AM, Ibn Saeed  wrote:

> Wolfgang Schuster  gmail.com> writes:
>
> > Use
> > \setupheadertexts[pagenumber]
> > or
> > \setupheadertexts[\userpagenumber]
> > Wolfgang
> >
>
>
> Hello Wolfgang,
>
> Thanks for helping out again.
>
> i tried your code :
>
>
> \setupheadertexts[pagenumber]
>[{\righttoleft\getmarking[chapter]}][{\romannumerals}]
>[{\pagenumber}][{\righttoleft\getmarking[chapter]}]
>
>
>
>
> \setuppagenumbering[
>alternative=doublesided,
>location=,
> ]
>
> It did not work, no page numbers appeared(blank)
>
> I am using TexLive 2015.
>
> ___
> 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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
Wolfgang Schuster  gmail.com> writes:

> Use
>     \setupheadertexts[pagenumber]
> or
>     \setupheadertexts[\userpagenumber]
> Wolfgang
> 


Hello Wolfgang,

Thanks for helping out again.

i tried your code :


\setupheadertexts[pagenumber]
   [{\righttoleft\getmarking[chapter]}][{\romannumerals}]
   [{\pagenumber}][{\righttoleft\getmarking[chapter]}]




\setuppagenumbering[
   alternative=doublesided,
   location=,
]

It did not work, no page numbers appeared(blank)

I am using TexLive 2015.
___
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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
Otared Kavian  gmail.com> writes:

> 
> Hi,
> There is the command 
> 
> 
>   \persiandecimals
> 
> is that what you are looking for?
> 
> Best regards: OK
> 

No, that is not it. I am looking for Arabic Decimals. 

I think, ill have to uninstall texlive and setup ConTeXt standalone.

___
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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
Mohammad Hossein Bateni  gmail.com> writes:

> 
> 
> You do not need to uninstall TeXLive.  ConTeXt Standalone can work side by 
side and it's very simple to install.  You can pick to use the standalone for 
some of your compilations.
> \persiandecimals and \arabicdecimals are very similar.  The difference is 
(almost) only in digits for 0,4,5,6.  However, Ibn Saeed most probably needs 
\arabicdecimals to typeset "mashiriqi" numerals.
> 
> The important thing is that neither one exists in TeXLive Context.  It was 
there in MkII but not in MkIV for some reason.  It was added to MkIV sometime 
in the fall.
> 
> 

Thank you Mohammad. Ill install the standalone version
___
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] Accessibility and Tagged PDF/A, Footnotes showing

2016-01-19 Thread Alan BRASLAU
On Tue, 19 Jan 2016 09:24:58 +0100
Ursula Hermann  wrote:

> Yes, i know, it is because I am working with Word until now, but
> would like to change to ConTeXt.  If I set there a footnote, then
> there comes an pop-up window with the text. 

The pop-up appears under Adobe reader for Word/PDF exports, I imagine.
This would not be portable to other readers which is why Hans suggests
that one cannot count on this behavior. 
 
> A Discussion would be very interesting. 

The 10th ConTeXt Meeting will take place on September 25-October 1,
2016 at Het Doevehuis in Kalenberg, about 35 km from Hasselt, the
Netherlands.

20th anniversary!

Alan
___
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] Ligatures in EB Garamond

2016-01-19 Thread Kate F
On 19 January 2016 at 09:05, Arthur Reutenauer
 wrote:
>> I have no clue what a package is supposed to do but any solution has to come
>> up with a list if words.
>
>   I think the point is that often in German, breakpoints for hyphenation
> also break ligatures.  I mentioned that in Nasbinals.
>
> Best,
>
> Arthur

The guts of the selnolig package just call \hyphenation{...}:
http://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/luatex/latex/selnolig/selnolig-english-hyphex.sty

Isn't this exactly the same for ConTeXt?
http://wiki.contextgarden.net/Command/hyphenation

-- 
Kate
___
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] Ligatures in EB Garamond

2016-01-19 Thread Arthur Reutenauer
> The guts of the selnolig package just call \hyphenation{...}:
> http://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/luatex/latex/selnolig/selnolig-english-hyphex.sty

  That's not the core part of the package, it just sets a list of
hyphenation exceptions (that's what \hyphenation does).  The main code is
in selnolig.lua.

Arthur
___
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] Ligatures in EB Garamond

2016-01-19 Thread Jan U. Hasecke
Am 19.01.2016 um 16:31 schrieb Kate F:
> On 19 January 2016 at 09:05, Arthur Reutenauer
>  wrote:
>>> I have no clue what a package is supposed to do but any solution has to come
>>> up with a list if words.
>>
>>   I think the point is that often in German, breakpoints for hyphenation
>> also break ligatures.  I mentioned that in Nasbinals.
>>
>> Best,
>>
>> Arthur
> 
> The guts of the selnolig package just call \hyphenation{...}:
> http://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/luatex/latex/selnolig/selnolig-english-hyphex.sty

The interesting part for ligatures is in the patterns file

http://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/luatex/latex/selnolig/selnolig-english-patterns.sty

http://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/luatex/latex/selnolig/selnolig-german-patterns.sty

By using patterns they don't need a very huge word list, I think.

juh



___
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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
Mohammad Hossein Bateni  gmail.com> writes:

> 
> 
> You do not need to uninstall TeXLive.  ConTeXt Standalone can work side by 
side and it's very simple to install.  You can pick to use the standalone for 
some of your compilations.
> \persiandecimals and \arabicdecimals are very similar.  The difference is 
(almost) only in digits for 0,4,5,6.  However, Ibn Saeed most probably needs 
\arabicdecimals to typeset "mashiriqi" numerals.
> 
> The important thing is that neither one exists in TeXLive Context.  It was 
there in MkII but not in MkIV for some reason.  It was added to MkIV sometime 
in the fall.



I have installed ConTeXt standalone version 0.63. i dont know if its beta or 
stable release.

How do i use \arabicdecimals now ? where should i place the code 
___
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] 10th ConTeXt users' meeting

2016-01-19 Thread Alan BRASLAU
Happy New Years¹, fellow ConTeXt users,

The 10th ConTeXt Meeting will take place on September 25-October 1,
2016 at Het Doevehuis in Kalenberg, about 35 km from Hasselt, the
Netherlands. http://meeting.contextgarden.net/2016/

Having been *designated* as a member (and chairman!) of the program
committee, I wish to invite everyone to begin thinking about subjects
that you would like to contribute and/or to see covered.

We will also be celebrating the 20th anniversary of the release of
ConTeXt, and, of course, the 10th anniversary of ConTeXt meetings.
Start planning now in order to make this meeting a big success.

A piece of cake!

Alan

--
¹ I suppose that it is still legal to extend best wishes for the New
Year
___
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] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Ibn Saeed
Mohammad Hossein Bateni  gmail.com> writes:

> 
> 
> You do not need to uninstall TeXLive.  ConTeXt Standalone can work side by 
side and it's very simple to install.  You can pick to use the standalone for 
some of your compilations.
> \persiandecimals and \arabicdecimals are very similar.  The difference is 
(almost) only in digits for 0,4,5,6.  However, Ibn Saeed most probably needs 
\arabicdecimals to typeset "mashiriqi" numerals.
> 
> The important thing is that neither one exists in TeXLive Context.  It was 
there in MkII but not in MkIV for some reason.  It was added to MkIV sometime 
in the fall.


I updated ConTeXt as per your advice to the latest version.

I tried the following code on ConTeXt 0.63 running in AucTeX Spacemacs Editor.

\setupheadertexts
   [{\righttoleft\getmarking[chapter]}][{\arabicdecimals\pagenumber}]
   [{\arabicdecimals\pagenumber}]
[{\righttoleft\getmarking[chapter]}]


This time it worked perfectly.

Thank you very much Mohammad Hossein Bateni
___
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] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Mohammad Hossein Bateni
Thanks, Wolfgang!  This does work indeed.  I had actually tried it before
but made a mistake which made it useless.

What commands accept this kind of setup?  Do the headers and footers accept
such a thing?  How much overhead does this cause?

Is it possible to run the bidi code on a small string? Is there a macro
like \applybidi{some-text-to-apply-bidi-algorithm-on}?

—MHB

On Tue, Jan 19, 2016 at 6:30 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:

> Mohammad Hossein Bateni 
> 19. Januar 2016 um 12:16
> That should work for Ibn Saeed, but it's not a complete solution.  For
> example it does not work if one wants to write "page x of y" instead, with
> "page" and "y" written in Arabic/Persian.  Then the text of the header is
> partly LTR and part RTL.
>
> This is still simple and I can use my hacky solution and mix \lefttoright
> and \righttoleft to get it right.  But is it possible to extend the
> \setupdirections[bidi=on] to apply to parts other than the main text?  I
> just noticed this does not apply to footnotes either.  Having numbers in
> the TRL footnote text produces incorrect typesetting.
>
> ConTeXt resets many settings for headers, footers, footnotes etc. and have
> to set them again for these elements.
>
> To apply the bidi setting to footnotes you have to add
>
> \startsetups[bidi:footnotes]
>   \setupdirection[bidi=on]
> \stopsetups
>
> \setupnotes[footnote][setups=bidi:footnotes]
>
> to your document.
>
> 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
>
> ___
>
___
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
___