Re: [NTG-context] consecutive full stops in "num" bib style after "et al"

2019-07-29 Thread Sanjoy Mahajan
On 2019-07-29 15:18, Alan Braslau  wrote:

>>   \setupbibtex[database=tmp]
>>   \setuppublications[alternative=num]
>
> You are using the old mkii bibtex module.

You're right.  I'm too afraid of changing to the new way, at least for
the book that I've just submitted for copyediting. For the next book,
I'll try some experiments with the new way.

-Sanjoy
___
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] consecutive full stops in "num" bib style after "et al"

2019-07-29 Thread Alan Braslau
On Mon, 29 Jul 2019 16:37:15 -0400
Sanjoy Mahajan  wrote:

> Here's a minimal example:
> 
>   \setupbibtex[database=tmp]
>   \setuppublications[alternative=num]

You are using the old mkii bibtex module.

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


[NTG-context] consecutive full stops in "num" bib style after "et al"

2019-07-29 Thread Sanjoy Mahajan
In the "num" bibliography style, bibliography entries that get "et
al."ed (the author list is too long and "et al." is inserted) end up
with two full stops in a row.  Here's a minimal example:

  \setupbibtex[database=tmp]
  \setuppublications[alternative=num]

  \setuppublicationlist[artauthoretallimit=3, authoretaldisplay=3,
editoretaldisplay=3, artauthoretaldisplay=3,
  %  authoretaltext={ et al},
  %  artauthoretaltext={ et al},
  ]

  \starttext

  Test \cite[Larkin:1980].

  \blank[big]

  \placepublications[criterium=text]

  \stoptext

(The tmp.bib file is attached.)  The bibliography entry is:

  [1] Jill Larkin, John McDermott and Dorothea P. Simon et al.. Expert and
  novice performance in solving physics problems. Science,
  208(4450):1335--1342, 1980.

The doubled full stop can be fixed by commenting in the two lines

  %  authoretaltext={ et al},
  %  artauthoretaltext={ et al},

Should these commented-in settings be the default for the "num" style
(because it'll always put one more full stop between the author list and
the title)?

Another workaround is never to use et al.  But that idea failed when I
had to cite the Nobel-Prize-winning gravity-wave paper ("Observation of
Gravitational Waves from a Binary Black Hole Merger").  It has, I think,
1000 authors!

-- 
-Sanjoy


Save Long Wharf Park in Boston Harbor!


Six reasoning tools to make hard problems easy.

@Article{Larkin:1980,
  title={Expert and novice performance in solving physics problems},
  author={Larkin, Jill and McDermott, John and Simon, Dorothea P. and Simon, Herbert A.},
  journal={Science},
  volume=208,
  number=4450,
  pages={1335--1342},
  year=1980,
}
___
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] (again) inmargin attachments in notes

2019-07-29 Thread Hans Hagen

On 7/29/2019 9:33 PM, Pablo Rodriguez wrote:

Hi Hans,

I have the following sample:

 \showframe\showgrid
 \setupinteraction[state=start]
 \setupinteractionscreen[option=attachment]
 \setupattachment[location=inmargin]
 \starttext
 a\attachment[file=xml-mkiv.pdf]
 b\footnote{\attachment[file=i-context.pdf]}
 \stoptext

Inmargin attachment from notes aren’t shown in Acrobat nor displayed in
margin. Files are embedded.


b\footnote{x\inleftmargin[scope=local]{\attachment[location=high,file=i-context.pdf]}}

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] (again) inmargin attachments in notes

2019-07-29 Thread Pablo Rodriguez
Hi Hans,

I have the following sample:

\showframe\showgrid
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setupattachment[location=inmargin]
\starttext
a\attachment[file=xml-mkiv.pdf]
b\footnote{\attachment[file=i-context.pdf]}
\stoptext

Inmargin attachment from notes aren’t shown in Acrobat nor displayed in
margin. Files are embedded.

I have a bunch of documents (over 100) in which I have to embed other
PDF documents and I need them to be in the marginal space from notes.

Sorry for reporting this again
(https://mailman.ntg.nl/pipermail/ntg-context/2019/094337.html), but
this issue is relevant for me.

Many thanks for your help,

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
___


[NTG-context] about SimpleSlide

2019-07-29 Thread Atsuhito Kohda
Hi all,
SimpleSlide is very useful for novice users so I do use it.
I'm afraid these might be known but I encountered few problems.

When we use a style BigNumber or Embossed, an error occured:
-
tex error   > tex error on line 87 in file
/usr/share/texmf/tex/context/third/simpleslides/s-simpleslides-BigNumber.tex:
! Undefined control sequence

l.87 \beginOLDTEX
-
I modified s-simpleslides-BigNumber.tex as follows:
comment out from line #87 to #99
% \beginOLDTEX
...
% \endLUATEX
except line #98
\definefontsynonym  [BigNumberFont] [name:texgyreherosbold]
then it seems to work fine.  But I suspect unconditional
definition is not good so I'd like to know the correct fix.

Another problem is with style Split. Browsing simpleslides.pdf,
date, author, title and page number would be displayed on each
slide but we can't see them in fact except page number.

It seems, e.g. the following in s-simpleslides-Split.tex
fails to get the "date".
draw
\sometxt[simpleslides:sometxt:left]{\getvariable{simpleslides:title}{date}}
I think it is very helpful to see date, title on a slide
so I'd like to know the fix.

Thanks in advance.
Best regards,
Atsuhito Kohda
___
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] ConTeXt Group Newsletter July 2019

2019-07-29 Thread Taco Hoekwater
In this newsletter:

* 2018 journal progress
* 2017 journal articles
* ConTeXt Meeting 2019 updates
* Board elections
* Becoming a CG member
* Membership promo action


= 2018 journal progress =

Our next ConTeXt Group journal issue is finished!

It will go off to the printer today, with expected delivery to our members 
at or around the next meeting in September. 

The Table of Contents is already online at:

  https://articles.contextgarden.net/journal/2018.html

The PDFs are not yet publicly available but current CG Members can send me an 
email for an advance copy of any of the article PDFs. 

If you are not a member, you will have to wait until summer 2020.

= 2017 journal articles =

Also on the articles site: we enabled the pdf downloads for the articles in 
the 2017 journal:

  https://articles.contextgarden.net/journal/2017.html


= ConTeXt Meeting 2019 updates =

Hans plans to do a number of announcements about the future of ConTeXt, LuaTeX 
and MetaPost (LMTX) which should be exciting you as well! 

If you have not registered yet, please consider joining us at 

  ’t Sjetootje, Bassenge-Boirs, Belgium on September 16–21, 2019.

Some other ‘surprise' talks have been added to the abstracts page, and 
submissions are still welcome as there is still some room in the program.
(not that free time cannot be filled with Hans talking, but we have
to consider the health condition of his throat.)

The ConTeXt meeting is an excellent way to get help with any problems you may 
have in ConTeXt, to learn about future directions of ConTeXt and LuaTeX,
or just to talk and have a drink with other ConTeXt users.

You do not have to be a ConTeXt Group member to attend the meeting, but
members do get a meeting fees discount worth more than the CG membership
fees for a year. In fact, if you attend for the very first time, there is 
an extra discount for that as well.

For registration and other information, see the website at 

 https://meeting.contextgarden.net/2019


The 13th ConTeXt Meeting is sponsored by Dante e.V (www.dante.de) and
NTG (www.ntg.nl), as well as by Pragma ADE (Hans & Ton) and Bittext (Taco).

We are very grateful to all our sponsors!

= Board elections =

The ConTeXt meeting is also the location of the annual CG membership meeting.
This year, no less than four board members are forced to resign according
to the bylaws. 

We are looking for CG members to help fill those spots in the board. If you
are interested in joining the CG board, please send a message to any of the 
current board members and we will get in touch with you. We can really use
the help!

Our previous newsletter already provided one tentative new board member, but
ideally we would like at least one more candidate.

= Becoming a CG member =

Our official stated purpose:

 * to promote the ConTeXt typographic system; 
 * provide its users with infrastructure and information; 
 * support its development; 
 * provide a platform for discussion of quality automated typography; 
 * serve as a meeting place for people who want the best possible typography 
   for the languages ​​and writings of the world; 
 * organise congresses and trainings for users and ConTeXt developers to meet; 
 * provide financial support to those involved in documentation and ConTeXt
   development, including through their participation in conferences; 
 * produce and sell printed materials on ConTeXt; 
 * sell advertising items for ConTeXt.

The more members we have, the more we can do. If you are not a member already,
please consider registering at

 https://group.contextgarden.net/register.shtml

Membership fees are €40 per year for normal members, €20 for students, and
€200 for institutions and corporations.

= Membership promo action =

Our 50th active member is David Neubauer, and he will get his fees for 
2018-2019 
waived. Congratulations to David (and CG itself)!


= That’s all for now =

Keep happy ConTeXting!

Best wishes,

Taco


Taco Hoekwater
Elvenkind BV




___
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] Override MathML formula label

2019-07-29 Thread Duncan Hothersall
Brilliant, thanks Hans. Looks like I need to start delving properly into
the power of the XML setups.

Duncan

On Sun, 28 Jul 2019 at 21:04, Hans Hagen  wrote:

>
> \usemodule[mathml]
>
> \startxmlsetups mml:formula
>  \edef\mmlformulalabel{\xmlatt{#1}{label}}
>  \edef\mmlformulatitle{\xmlatt{#1}{title}}
>  \doifsomethingelse {\mmlformulalabel\mmlformulatitle} {
>
> \startplaceformula[reference=\mmlformulalabel,title=\mmlformulatitle]
>  \startformula
>  \xmlfirst{#1}{/mml:math}
>  \stopformula
>  \stopplaceformula
>  } {
>  \startformula
>  \xmlfirst{#1}{/mml:math}
>  \stopformula
>  }
> \stopxmlsetups
>
> Duncan
___
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
___