Re: [NTG-context] Cannot get upright integral in stixtwo anymore

2019-01-25 Thread Mikael P. Sundqvist
Hi!

I see that this is fixed in the latest beta. Thanks!!

/Mikael

On Sat, Jan 12, 2019 at 9:39 AM Mikael P. Sundqvist  wrote:
>
> Hi,
>
> the code
>
> \setupbodyfont[stixtwo]
> \starttext
> \startTEXpage[offset=2bp]
> $\displaystyle \int x^2\,dx=\frac{x^3}{3}+C$\par
> \setupmathematics[stylealternative={upright}]
> $\displaystyle \int x^2\,dx=\frac{x^3}{3}+C$\par
> \stopTEXpage
> \stoptext
>
> used to give an "upright" integral sign in the second example, but not
> anymore. Is there a new way to obtain this?
>
> Best regards, Mikael
___
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] Command \hyphenatedurl{} doesn't work

2019-01-25 Thread cryo shock
Hi Henri,

thanks for the link. I had the same problem like the user you answered to.
I turned on interactivity and now it works as expected. It didn't come to
my mind first, because...

"What you are observing is the heuristics of your PDF viewer to detect
links, which fails at the line break."

... interestingly this function seems to be broken in both, SumatraPDF and
Adobe.

Thanks for your help, Lars.

Am Do., 24. Jan. 2019 um 23:35 Uhr schrieb Henri Menke :

> On 25/01/19 10:56 AM, Lars wrote:
> > Hi there,
> >
> > the \hyphenatedurl{} command doesn't seem to work. Only the first line
> > of the link is clickable and only the first line is being pasted into
> > the browser, resulting in a 404. I tested Sumatra and Adobe. MWE:
>
> \hyphenatedurl does not create a link in the PDF file at all.  What you
> are observing is the heuristics of your PDF viewer to detect links,
> which fails at the line break.  See this post on TeX.SX:
>
> https://tex.stackexchange.com/questions/376939/typesetting-long-urls-with-context
>
> >
> > %---
> > \setupinteraction[state=start]
> >
> >
> > \starttext
> >   hyphenatedurl on its own is only clickable in the first line and
> > pastes wrong URL to browser:
> >   \blank
> > \hyphenatedurl{
> https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/
> }
> >
> >   \blank
> >   Same in the
> > footnote:\footnote{\hyphenatedurl{
> https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/
> }}
> >
> >
> >   \emptylines[5]
> >
> >   useurl...url behaves the very same:
> >   \blank
> > \useURL[urlVar][
> https://www.telegraph.co.uk/news/2018/11/05/heart-surgeon-turned-training-pioneering-robot-used-operation/
> ]\url[urlVar]
> >
> >   \blank
> >   Same in the footnote:\footnote{\url[urlVar]}
> > \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
>
> ___
___
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] Command \hyphenatedurl{} doesn't work

2019-01-25 Thread Wolfgang Schuster

Henri Menke schrieb am 24.01.19 um 23:34:

On 25/01/19 10:56 AM, Lars wrote:

Hi there,

the \hyphenatedurl{} command doesn't seem to work. Only the first line
of the link is clickable and only the first line is being pasted into
the browser, resulting in a 404. I tested Sumatra and Adobe. MWE:


\hyphenatedurl does not create a link in the PDF file at all.  What you
are observing is the heuristics of your PDF viewer to detect links,
which fails at the line break.  See this post on TeX.SX:
https://tex.stackexchange.com/questions/376939/typesetting-long-urls-with-context


Be careful with “style=normal” because it switches to the normal upright 
font, the safer choice is to use “style=” which uses the current style.


\setupinteraction[state=start]

\starttext

\setupinteraction[style=normal]

normal: \goto{ConTeXt wiki}[url(http://wiki.contextgarden.net)]

{\it italic: \goto{ConTeXt wiki}[url(http://wiki.contextgarden.net)]}

{\bf bold: \goto{ConTeXt wiki}[url(http://wiki.contextgarden.net)]}

\setupinteraction[style=]

normal: \goto{ConTeXt wiki}[url(http://wiki.contextgarden.net)]

{\it italic: \goto{ConTeXt wiki}[url(http://wiki.contextgarden.net)]}

{\bf bold: \goto{ConTeXt wiki}[url(http://wiki.contextgarden.net)]}

\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
___