[NTG-context] Unicode mathematics in ConTeXt

2019-05-01 Thread Hamid,Idris
Dear gang,

I need to convert a document from TeX-style to Unicode mathematics. For  
example:

\starttext
\def\ANTI{{^{\rm nt}}}
\def\CATCA{$\cal \bf C\ANTI$}

\CATCA
\stoptext

Issues:

1. I need calligraphic characters, but the relevant characters in  
latinmodern-math.otf are not encoded in (standard) Unicode. The same goes  
for the tex-gyre-math fonts.

2. What comprehensive unicode-math fonts do you recommend as an  
alternative?

3. In the above example, \cal is used.

4. Other issues may arise, e.g., getting subscripts and superscripts  
correct. How might one rewrite the above with Unicode mathematics in mind?  
Is there a My Way or some other guide to Unicode mathematics in ConTeXt?

This writer has never had to think about this matter before so this is all  
new ground to learn. Thank you in advance for any guidance.

Best wishes
Idris
-- 
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512

scratch.pdf
Description: scratch.pdf


scratch.tex
Description: scratch.tex
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread Paul Schalck
I have just tested the latest beta (2019-04-29). The new option works as 
expected in both Acrobat Reader 11 and DC. Thanks again.

Paul
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] XML xmldoif struggle!

2019-05-01 Thread Geert Verhaag

Hoi Pablo,

Thanks for your prompt reply!

The output Euro set! is printed always, it doesn't matter whether I put 
EURO or DOLLAR first?!


Also I can't find any clue on the suggested page 49 of xml-mkiv.pdf 
manual, sorry!


By the way, in my document it still doesn't seem to work!

I'm afraid all this is far too complex for me! The documentation simply 
isn't meant for beginners like me, sorry!


Regards,
Gerard


On 01-05-19 13:20, Pablo Rodriguez wrote:

On 4/30/19 9:58 PM, Geert Verhaag wrote:

[...]
\startxmlsetups xml:invoice:invoice
    \xmlfirst{#1}{currency} \par
    \xmldoif{\xmlfirst{#1}{currency}}{contains(text(),'EURO')} {
   Euro set! \par
    }
[...]
But the xmldoif command doesn't cause the Euro set be printed?!

What's wrong here? The manual xml-mkiv.pdf doesn't give me any hint on
how to make this work!

Hi Geert,

the syntax reads \xmldoif{#1}{lpath}{action}. So your conditional may read:

 \xmldoif{#1}{currency[first() and contains(text(),'EURO')]}
 {Euro set!}

In a complete sample (with dollar set first [it won’t show the result
unless you set EURO first]):

   \startbuffer[demo]
   
 
   DOLLAR
   EURO
 
   
   \stopbuffer

   \startxmlsetups xml:initialize
  \xmlsetsetup{#1}{doc}{xml:*}
   \stopxmlsetups

   \xmlregistersetup{xml:initialize}

   \startxmlsetups xml:doc
 \xmlfirst{#1}{currency} \par
 \xmldoif{#1}{currency[first() and contains(text(),'EURO')]}
 {Euro set!}
   \stopxmlsetups

   \setuppapersize[A8]

   \starttext
  \xmlprocessbuffer{main}{demo}{}
   \stoptext

It is all in xml-mkiv.pdf
(http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=49). I have
just discovered it .

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Hyphenation questions

2019-05-01 Thread Wolfgang Schuster

Henning Hraban Ramm schrieb am 01.05.2019 um 16:14:

2. how to switch language for just three words for correct hyphenation?

\starttext
English ... \language[de]{Deutsch}
\stoptext

Shouldn’t that be

\starttext
English ... {\language[de]Deutsch}
\stoptext

?
Yes, the brace should be before \language because the command is switch 
to change the language.


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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to write a wiki page?

2019-05-01 Thread Rudolf Bahr
On Wed, May 01, 2019 at 04:51:11PM +0200, Henning Hraban Ramm wrote:
> Am 2019-04-30 um 13:12 schrieb Rudolf Bahr :
> 
> > When will next issue of ConTeXt journal be published? Could you send your 
> > article
> > to me in advance?
> 
> Should have been published for a while, but I didn’t work on it as I promised.
> Shame on me, but still no schedule, on one hand I fortunately got a load of 
> paid work, on the other it’s more fun working at my own books...
> 
> Willi’s presentation is here: 
> https://meeting.contextgarden.net/2018/talks/willi-unifraktur/presentation-unifraktur.pdf
> 
> Greetlings, Hraban
> ---
> https://www.fiee.net
> http://wiki.contextgarden.net
> https://www.dreiviertelhaus.de
> GPG Key ID 1C9B22FD


I know that feeling well, when all gets too much!
Thanks to you, Hraban, and Willi!

Rudolf
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in xtables

2019-05-01 Thread Otared Kavian
Hi Henning

> On 1 May 2019, at 15:56, Henning Hraban Ramm  wrote:
>> […]
> 
> Is there a way to handle footnotes in tables like regular footnotes, i.e. 
> combine numbering and placement?

Hi Henning,

The answer is yes as in the following example (thanks to Wolfgang for pointing 
to \startpostponingnotes…).

%%% begin footnote-global-xtable.tex
\starttext
A silly one here\footnote{Here is a silly footnote.}
\startpostponingnotes
\startplacetable[location=middle,reference={tab:1}]
\startxtable
\startxrow
\startxcell Alpha \stopxcell
\startxcell Beta\footnote{This is a footnote in 
\in{Table}[tab:1] } \stopxcell
\stopxrow
\startxrow
\startxcell Beta \stopxcell
\startxcell Alpha\stopxcell
\stopxrow
\stopxtable
\stopplacetable
\stoppostponingnotes

Another serious one here\footnote{Here is a serious footnote.}
\stoptext
%%% end footnote-global-xtable.tex

Best regards: OK
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to write a wiki page?

2019-05-01 Thread Henning Hraban Ramm
Am 2019-04-30 um 13:12 schrieb Rudolf Bahr :

> When will next issue of ConTeXt journal be published? Could you send your 
> article
> to me in advance?

Should have been published for a while, but I didn’t work on it as I promised.
Shame on me, but still no schedule, on one hand I fortunately got a load of 
paid work, on the other it’s more fun working at my own books...

Willi’s presentation is here: 
https://meeting.contextgarden.net/2018/talks/willi-unifraktur/presentation-unifraktur.pdf

Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] 13th International ConTeXt meeting

2019-05-01 Thread Taco Hoekwater
TL;DR:  See https://meeting.contextgarden.net/ for registration!


Hi all,


Registration for the next ConTeXt meeting is now open!

13th International ConTeXt Meeting
==

The thirteenth ConTeXt meeting will take place in Bassenge, Belgium on

   September 16–21, 2019

You are cordially invited to join the 13th ConTeXt meeting. The meeting 
will host ConTeXt and LuaTeX developers and users and gives you the opportunity 
to present your results, experiences and ideas on future development. The talks 
will be followed-up by tutorials on different ConTeXt and LuaTeX techniques.


Thematic context


The theme for this meeting is:

  dirty tricks & dangerous bends

So we are particularly interested in submissions relating to either:

  • Sneaky ways to get ConTeXt to do exactly what you want, or
  • How to properly control ConTeXt is complicated environments

The programme committee is Hans Hagen and Taco Hoekwater.

Since not every dirty trick or dangerous bend is exciting enough to
warrant a standalone presentation, we are also collecting small submissions
separately that we will then combine into a single talk. Please email Hans
or me with ideas.


Social context
==

Registration opened today. 

We will be back in ’t Sjetootje in Bassenge-Boirs, the same location as the
meetings in 2011 and 2014. There has been some remodelling (there is now
an actual conference room with built-in wifi!) but the basic layout of 
the chateau has not changed so, as before, (single) rooms are very scarce.

Note that the meeting starts on Monday evening and ends on Saturday morning.
It is possible to stay on for another day (or even two, if you are OK with
getting up early on Monday the 23rd). Arriving early is not possible, though.

Jan (our previous host) is no longer attached to the chateau but a replacement
has been found and there will still be special Belgian beers (and a marking 
list!).


Calendric context
=

• May 1, 2019, beginning of registration
• July 1, 2019, deadline for early bird payment
• September 16-21, 2019, 13th ConTeXt Meeting


See https://meeting.contextgarden.net/ for more details.

Hope to see you there,

Taco
(your local organizer this 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] several blocks of text in the margin

2019-05-01 Thread Henning Hraban Ramm
\setupmargindata[inright][stack=continue]

might help, but the mechanism changed within the last few months: while it 
previously worked automagically in most cases, I had to shift several margin 
notes in my project using

\inmargin[voffset=...]{...}


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

Am 2019-04-27 um 12:04 schrieb Fabrice Couvreur :

> Hi
> How to put several blocks of text in the margin without them encroaching each 
> other ?
> Thank.
> Fabrice
> 
> \setuplayout
>   [width=12cm,
>   rightmargin=5cm]
> 
> \definemathmatrix [pmatrix][matrix:parentheses][simplecommand=MATRIX]
> 
> \unexpanded\def\pcent#1{#1\,\%}  
> 
> \defineuserdata [margintext] [alternative=margintext]
> 
> \defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]
> 
> \startsetups [userdata:margintext]
>   \margindata
> [inright]
> [%style=\smallbodyfont,
>  style={\switchtobodyfont[9pt]},
>  width=\rightmarginwidth,
>  align={flushleft,broad}]
> {{\bf Exemple — }\getinlineuserdata}
> \stopsetups
> 
> \starttext
> \startuserdata[margintext]
>  Une population, à effectif stable, se répartit entre deux régions A et B.
> 
>   On suppose que chaque année :
>   \startitemize[1]
>   \item \pcent{30} des habitants de la région A déménagent pour la région 
> B (les autres restent dans la région A);
>   \item \pcent{20} des habitants de la région B déménagent pour la région 
> A.  
>   \stopitemize
>   La situation peut être représentée par le graphe probabiliste suivant :
> 
>   Les sommets A et B représentent les régions A et B.
> 
>   \m{0,3} est la probabilité de passage de la région A vers la région B ; 
> la probabilité de passage de la région A vers elle-même est donc égale à 
> \m{0,7}.
> 
>   En considérant les sommets dans l'ordre alphabétique, ,la matrice \m{M} 
> de transition du graphe est :
>   \startformula
> M=\MATRIX{0.7,0.3;0.2,0.8}.
>   \stopformula
> \stopuserdata
> \dorecurse{4}{\input ward} %-> playing with the number to adjust
> \startuserdata[margintext]
>  Une population, à effectif stable, se répartit entre deux régions A et B.
> 
>   On suppose que chaque année :
>   \startitemize[1]
>   \item \pcent{30} des habitants de la région A déménagent pour la région 
> B (les autres restent dans la région A);
>   \item \pcent{20} des habitants de la région B déménagent pour la région 
> A.  
>   \stopitemize
>   La situation peut être représentée par le graphe probabiliste suivant :
> 
>   Les sommets A et B représentent les régions A et B.
> 
>   \m{0,3} est la probabilité de passage de la région A vers la région B ; 
> la probabilité de passage de la région A vers elle-même est donc égale à 
> \m{0,7}.
> 
>   En considérant les sommets dans l'ordre alphabétique, ,la matrice \m{M} 
> de transition du graphe est :
>   \startformula
> M=\MATRIX{0.7,0.3;0.2,0.8}.
>   \stopformula
> \stopuserdata
> \input ward
> \stoptext
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Hyphenation questions

2019-05-01 Thread Henning Hraban Ramm
Am 2019-04-24 um 19:47 schrieb Wolfgang Schuster 
:

> Dmitry Starostin schrieb am 24.04.2019 um 19:34:
>> 1. is there an analog to \hyp{} command from the 'hyphenat' package? Double 
>> words with a dash happen all too often.
> 
> 1. Add \setbreakpoints[compound] to enable a line break at a hyphen.
> 
> \setbreakpoints[compound]
> 
> \starttext
> electromagnetic-endioscopy
> \stoptext
> 
> 2. Use || to insert a breakable hyphen.
> 
> \starttext
> electromagnetic||endioscopy
> \stoptext
> 
>> 2. how to switch language for just three words for correct hyphenation?
> 
> \starttext
> English ... \language[de]{Deutsch}
> \stoptext

Shouldn’t that be

\starttext
English ... {\language[de]Deutsch}
\stoptext

?

For most languages you can also use their shortcut, e.g. \de, \ru, \en – but 
not \it (italic, not Italian) or \sl (slanted, not Slowenian).

Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread Henning Hraban Ramm
Am 2019-04-28 um 12:27 schrieb Hans Hagen :

> On 4/27/2019 6:07 PM, Paul Schalck wrote:
>> Hi,
>> I use the "Hide menu bar" option extensively in Adobe Acrobat Reader to get 
>> a cleaner interface. To this end, I usually hack lpdf-mis.lua after a 
>> ConTeXt upgrade to create a \setupinteractionscreen[option=nomenubar] switch.
>> I wonder if it would be possible to add this little feature to the source 
>> code. Perhaps it can be useful to others as well.
>> Greetings!
>> Paul
>> Attachment: patch + modified lpdf-mis.lua (from ConTeXt MkVI 2019.04.25)
> ok, but i didn't test it, so you need to check next beta

Thanks, I added it in the wiki.

Greetlings, Hraban
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Footnotes in xtables

2019-05-01 Thread Henning Hraban Ramm
Am 2019-04-30 um 09:45 schrieb Otared Kavian :

> Hi Clyde,
> 
> In order to use footnotes in tables, you can use localfootnotes as in the 
> following:
> 
> \startlocalfootnotes
>   \startxtable
>   \startxrow
>   \startxcell Alpha \stopxcell
>   \startxcell Beta\footnote{Footnote Here} \stopxcell
>   \stopxrow
>   \startxrow
>   \startxcell Beta \stopxcell
>   \startxcell Alpha\stopxcell
>   \stopxrow
>   \stopxtable
> \placelocalfootnotes
> \stoplocalfootnotes
> 
> Then the footnotes appear below the table.
> 
> However it seems that the localfootnotes mechanism is conflicting with 
> \startpalectable...\stoplacetable.

Is there a way to handle footnotes in tables like regular footnotes, i.e. 
combine numbering and placement?


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] underscore hyphenation in LMTX

2019-05-01 Thread Pablo Rodriguez
On 4/29/19 10:57 AM, Hans Hagen wrote:
> On 4/27/2019 1:51 PM, Pablo Rodriguez wrote:
>> [...]
>> I get the underscore hyphenation with latest ConTeXt beta (LuaTeX-1.10),
>> but not with latest LMTX (LuaTeX-2.0).
>>
>> Am I missing something here?
>
> use slot '0' instead of '1' (i'll catch it anyway)

Hans,

many thanks for the trick and the improved code.

Pablo
--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] XML xmldoif struggle!

2019-05-01 Thread Pablo Rodriguez
On 4/30/19 9:58 PM, Geert Verhaag wrote:
> [...]
> \startxmlsetups xml:invoice:invoice
>    \xmlfirst{#1}{currency} \par
>    \xmldoif{\xmlfirst{#1}{currency}}{contains(text(),'EURO')} {
>   Euro set! \par
>    }
> [...]
> But the xmldoif command doesn't cause the Euro set be printed?!
>
> What's wrong here? The manual xml-mkiv.pdf doesn't give me any hint on
> how to make this work!

Hi Geert,

the syntax reads \xmldoif{#1}{lpath}{action}. So your conditional may read:

\xmldoif{#1}{currency[first() and contains(text(),'EURO')]}
{Euro set!}

In a complete sample (with dollar set first [it won’t show the result
unless you set EURO first]):

  \startbuffer[demo]
  

  DOLLAR
  EURO

  
  \stopbuffer

  \startxmlsetups xml:initialize
 \xmlsetsetup{#1}{doc}{xml:*}
  \stopxmlsetups

  \xmlregistersetup{xml:initialize}

  \startxmlsetups xml:doc
\xmlfirst{#1}{currency} \par
\xmldoif{#1}{currency[first() and contains(text(),'EURO')]}
{Euro set!}
  \stopxmlsetups

  \setuppapersize[A8]

  \starttext
 \xmlprocessbuffer{main}{demo}{}
  \stoptext

It is all in xml-mkiv.pdf
(http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=49). I have
just discovered it .

Just in case it helps,

Pablo
--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] LMTX and system fonts

2019-05-01 Thread Pablo Rodriguez
On 4/28/19 5:22 PM, Alan Braslau wrote:
>> On 28Apr19, at 02:55, Pablo Rodriguez wrote:
>>
>> I add the path, otherwise no mtxrun would be found.
>
> Of course, Otared is saying:
>
> $CONTEXTHOME/tex/texmf-osx-64/bin/mtxrun -generate
>
> where osx-64 is the platform.

Many thanks for your reply, Alan.

I’m afraid that LMTX isn’t able to recognize fonts when provided with a
symbolic link inside texmf-fonts in Linux.

Pablo
--
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] placetable and localfootnotes

2019-05-01 Thread Wolfgang Schuster

Otared Kavian schrieb am 01.05.2019 um 12:01:

Thanks Alan for your attention.
In fact the footnote mechanism lacks the ability to work fine in a certain 
number of environments, including in framedtext. I don't know whether this can 
be overcome…

\starttext

One\footnote{First footnote}

\startframedtext
Two\footnote{Second footnote}
\stopframedtext

\startpostponingnotes
\startframedtext
Three\footnote{Second footnote}
\stopframedtext
\stoppostponingnotes

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] placetable and localfootnotes

2019-05-01 Thread Otared Kavian
Hi Aditya,

Thank you for your explanation: indeed when the whole table is included in an 
hbox as you point out, the footnote mechanism and placetable work fine 
together. But I am not sure whether this would be the case when a table is 
split over two or more pages.

On the other hand, as I mentioned in another reply to Alan, the footnote 
mechanism does not work within a framedtext, and I am not sure with your turn 
around solution that would work. I will do some testing in a document where 
exercises and proclaims are defined to be typeset within framedtext and if your 
solution works I will let you know.

Best regards: OK

> On 1 May 2019, at 01:12, Aditya Mahajan  wrote:
> 
> On Tue, 30 Apr 2019, Otared Kavian wrote:
> 
>> Hi Hans,
>> 
>> It seems that there is a conflict between \startplacetable and 
>> \startlocalfootnotes: in the following example when the latter command (and 
>> its \stop counterpart) is commented out the table is placed correctly in the 
>> middle, while otherwise the table is not centered.
> 
> Usually, this is because the content of the float is in a vbox instead of a 
> hbox:
> 
> \starttext
> \startplacetable
>  \vbox{test}
> \stopplacetable
> 
> \startplacetable
>  \hbox{test}
> \stopplacetable
> \stoptext
> 
> Use your favorite mechanism to create a hbox around the content and the 
> output will be okay:
> 
> \startplacetable
>  \hbox{\startlocalfootnotes
>  \startplacelegend[location={bottom,middle}]
>\startcontent
>  \startxtable
>\startxrow
>  \startxcell Alpha \stopxcell
>  \startxcell Beta\footnote{Footnote Here} \stopxcell
>\stopxrow
>\startxrow
>  \startxcell Beta \stopxcell
>  \startxcell Alpha\stopxcell
>\stopxrow
>  \stopxtable
>\stopcontent
>\startcaption
>  \placelocalfootnotes
>\stopcaption
>  \stopplacelegend
> \stoplocalfootnotes}
> \stopplacetable
> \stoptext
> 
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] placetable and localfootnotes

2019-05-01 Thread Otared Kavian
Thanks Alan for your attention.
In fact the footnote mechanism lacks the ability to work fine in a certain 
number of environments, including in framedtext. I don't know whether this can 
be overcome…

Best regards: OK

> On 1 May 2019, at 00:59, Alan Braslau  wrote:
> 
> 
> 
>> On 30Apr19, at 02:54, Otared Kavian  wrote:
>> 
>> Hi Hans,
>> 
>> It seems that there is a conflict between \startplacetable and 
>> \startlocalfootnotes: in the following example when the latter command (and 
>> its \stop counterpart) is commented out the table is placed correctly in the 
>> middle, while otherwise the table is not centered.
>> 
>> Best regards: OK
>> %%% begin localfootnotes-xtable.tex
>> \startplacetable
>> \startlocalfootnotes
>>  \startxtable
>>  \startxrow
>>  \startxcell Alpha \stopxcell
>>  \startxcell Beta\footnote{Footnote Here} \stopxcell
>>  \stopxrow
>>  \startxrow
>>  \startxcell Beta \stopxcell
>>  \startxcell Alpha\stopxcell
>>  \stopxrow
>>  \stopxtable
>> \placelocalfootnotes
>> \stoplocalfootnotes
>> \stopplacetable
>> %%% end localfootnotes-xtable.tex
> 
> 
> The following doesn’t help:
> 
> \automigrateinserts % needed to handle footnotes within a box...
> 
> (I have found this necessary in the past in order to use footnotes in placed 
> tables.)
> 
> Alan
> 
> --
> Alan Braslau
> 
> 
> 
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread luigi scarso
On Sun, Apr 28, 2019 at 10:38 PM Paul Schalck  wrote:

> @luigi: Version 11. I know, it isn't supported anymore since October 2017.
>



https://linuxconfig.org/how-to-install-latest-adobe-acrobat-reader-dc-on-ubuntu-18-04-bionic-beaver-linux-with-wine
seems to work,
I have installed
AcroRdrDC1901020099_en_US.exe
and opened a couple of files.

-- 
luigi
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___