Re: [NTG-context] never add a hyphen to break a URL

2022-10-25 Thread Steffen Wolfrum via ntg-context
t; <http://litteraturbanken.se/>». >> (And it looks as the link was cropped, only reads the first line?) > > \setupinteraction[state=start] > > \useurl > [litteraturbanken] > [https://litteraturbanken.se] > [författare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimi

Re: [NTG-context] never add a hyphen to break a URL

2022-10-25 Thread Hans Hagen via ntg-context
t line?) \setupinteraction[state=start] \useurl [litteraturbanken] [https://litteraturbanken.se] [författare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimil?show_search_work_query=retractata_lbworkid=lb487378_mediatype=faksimil_word_form_only] [https://litteraturbanken.se] \starttext before \got

Re: [NTG-context] never add a hyphen to break a URL

2022-10-24 Thread Pablo Rodriguez via ntg-context
ot even a question of style. myhouse.com and my-house.com are different domains. > Is there a switch to forbid \useURL adding hyphens? \hyphenatedurl{} is the way to go. Although you add a hyphen (and a blank space [spaces as part of urls need to be escaped) to your url. I would also e

[NTG-context] never add a hyphen to break a URL

2022-10-24 Thread Steffen Wolfrum via ntg-context
Hi, according to the Chicago Manual of Style we should «never add a hyphen to break a URL»: (https://www.chicagomanualofstyle.org/qanda/data/faq/topics/URLs/faq0008.html) Is there a switch to forbid \useURL adding hyphens? \starttext \useURL[test][https://litteraturbanken.se/f\%C3

Re: [NTG-context] Color property of \setupurl

2022-08-20 Thread Wolfgang Schuster via ntg-context
elow, \from is only affected when you omit the fourth argument of \useurl. \useurl [contextwiki] [https://wiki.contextgarden.net/Main_Page] [] [\CONTEXT\ Wiki] %\useurl [ctan]    [https://ctan.org/]    [] [CTAN] \useurl [ctan]    [https://ctan.org/] \starttext \url[c

Re: [NTG-context] Breaking url into multiple lines results in broken link in rendered PDF

2022-03-31 Thread Pablo Rodriguez via ntg-context
On 3/30/22 19:35, A A via ntg-context wrote: > I would like to be able to break up URLs into multiple lines in my > bibliography source file and still get the link to work. I think this would work as you intend: \setupinteraction[state=start] \starttext \useURL[myUrl][https:%

[NTG-context] Breaking url into multiple lines results in broken link in rendered PDF

2022-03-30 Thread A A via ntg-context
I would like to be able to break up URLs into multiple lines in my bibliography source file and still get the link to work. Here's what I have so far: *\setupinteraction [state=start]\starttext\useURL [myUrl] [ "https://www.g <https://www.g>oogle.com <http://oogl

Re: [NTG-context] \figuresymbol with underlying hyperlink?

2022-03-29 Thread Steffen Wolfrum via ntg-context
t; Steffen >>> Am 29.03.2022 um 09:56 schrieb Henning Hraban Ramm via ntg-context >>> : >>> >>> Am 28.03.22 um 21:08 schrieb Steffen Wolfrum via ntg-context: >>>> Hi, >>>> is it possible to combine figuresymbol with some kind of \useurl? >&

Re: [NTG-context] \figuresymbol with underlying hyperlink?

2022-03-29 Thread Henning Hraban Ramm via ntg-context
)]\autoinsertnextspace} \chapter{a\Link} text \stoptext Steffen Am 29.03.2022 um 09:56 schrieb Henning Hraban Ramm via ntg-context : Am 28.03.22 um 21:08 schrieb Steffen Wolfrum via ntg-context: Hi, is it possible to combine figuresymbol with some kind of \useurl? The goal is to have an inline symbol

Re: [NTG-context] \figuresymbol with underlying hyperlink?

2022-03-29 Thread Steffen Wolfrum via ntg-context
ext > : > > Am 28.03.22 um 21:08 schrieb Steffen Wolfrum via ntg-context: >> Hi, >> is it possible to combine figuresymbol with some kind of \useurl? >> The goal is to have an inline symbol that provides a http url link. > > AFAIK there’s nothing ready-made in t

Re: [NTG-context] \figuresymbol with underlying hyperlink?

2022-03-29 Thread Henning Hraban Ramm via ntg-context
Am 28.03.22 um 21:08 schrieb Steffen Wolfrum via ntg-context: Hi, is it possible to combine figuresymbol with some kind of \useurl? The goal is to have an inline symbol that provides a http url link. AFAIK there’s nothing ready-made in that regard, but just define your own macro. E.g. I

[NTG-context] \figuresymbol with underlying hyperlink?

2022-03-28 Thread Steffen Wolfrum via ntg-context
Hi, is it possible to combine figuresymbol with some kind of \useurl? The goal is to have an inline symbol that provides a http url link. Best wishes, Steffen ___ If your question is of interest to others as well

Re: [NTG-context] Found a weird URL that breaks things

2021-12-19 Thread Bruce Horrocks via ntg-context
optext >> >> under "mtx-context | current version: 2021.12.10 11:41" >> >> \useURL fails as well so I assume it's in the URL parser. > > The hash (#) is a special character in TeX and you have to either replace it > with something safe like \let

Re: [NTG-context] Found a weird URL that breaks things

2021-12-19 Thread Wolfgang Schuster via ntg-context
)] \stoptext under "mtx-context | current version: 2021.12.10 11:41" \useURL fails as well so I assume it's in the URL parser. The hash (#) is a special character in TeX and you have to either replace it with something safe like \letterhash or in case of \useurl you can put al

[NTG-context] Found a weird URL that breaks things

2021-12-19 Thread Bruce Horrocks via ntg-context
rsion: 2021.12.10 11:41" \useURL fails as well so I assume it's in the URL parser. — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-cont

Re: [NTG-context] Clickable url problem with \useurl and \url

2021-10-12 Thread Rik Kabel via ntg-context
On 10/12/2021 03:44, Taco Hoekwater wrote: Hi, On 12 Oct 2021, at 04:30, Rik Kabel via ntg-context wrote: Hello List, I notice an inconsistency in the clickable area when using \useurl. With the following example, both the \from and the \url are clickable in some lines (as noted iin

Re: [NTG-context] Clickable url problem with \useurl and \url

2021-10-12 Thread Taco Hoekwater via ntg-context
Hi, > On 12 Oct 2021, at 04:30, Rik Kabel via ntg-context > wrote: > > Hello List, > > I notice an inconsistency in the clickable area when using \useurl. With the > following example, both the \from and the \url are clickable in some lines > (as noted iin the value

[NTG-context] Clickable url problem with \useurl and \url

2021-10-11 Thread Rik Kabel via ntg-context
Hello List, I notice an inconsistency in the clickable area when using \useurl. With the following example, both the \from and the \url are clickable in some lines (as noted iin the value of \from) but in others, the \from is clickable but not the \url. It does seem sensitive to the urlL

Re: [NTG-context] Placing SVG icons and text side by side

2021-10-07 Thread Hans Hagen via ntg-context
On 10/7/2021 11:24 AM, noib3 via ntg-context wrote: How can I place an SVG icon "inline", i.e. side by side to some text? Here's my MWE ``` \useURL   [github]   [https://github.com/test <https://github.com/test>]   []   [github.com/test <http://github.com/test>] \sta

Re: [NTG-context] Placing SVG icons and text side by side

2021-10-07 Thread Henning Hraban Ramm via ntg-context
> Am 07.10.2021 um 11:24 schrieb noib3 via ntg-context : > > How can I place an SVG icon "inline", i.e. side by side to some text? Here's > my MWE > > ``` > \useURL > [github] > [https://github.com/test] > [] > [github.com/test] > > \s

[NTG-context] Placing SVG icons and text side by side

2021-10-07 Thread noib3 via ntg-context
How can I place an SVG icon "inline", i.e. side by side to some text? Here's my MWE ``` \useURL [github] [https://github.com/test] [] [github.com/test] \starttext \placefigure[none]{}{\externalfigure[github.svg][width=17.5pt]} \from[github] \stoptext ``` I have attached a

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-28 Thread Hans Hagen via ntg-context
e (ECI)] %% Tagged PDF %% method=auto ==> default tags by Adobe \setupbackend[export=yes] \setupstructure[state=start,method=auto] \starttext \chapter[chap:testing]{Testing} Here is some text \useURL[url1][https://xkcd.org][][Here <https://xkcd.org][][Here> is a link to

Re: [NTG-context] Adobe Acrobat accessibility criteria

2021-07-27 Thread Connor P. Jackson via ntg-context
ault tags by Adobe \setupbackend[export=yes] \setupstructure[state=start,method=auto] \starttext \chapter[chap:testing]{Testing} Here is some text \useURL[url1][https://xkcd.org][][Here is a link to xkcd]\from[url1] \stoptext --- Including \setupinteractionscreen[option={title}] fixed the ti

[NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-13 Thread Richard Mahoney
}}} And this is the code behind the screenshots: {\tfx \everypar{\hangafter=1\hangindent=3em\relax} Karashima, N.~(1977) {\it Indo nyūmon} = \JA{\tfx インド入門} = {\it Introducing India}. Tōkyō: Tōkyō Daigaku Shuppankai. \useURL[url1][https://ci.nii.ac.jp/ncid/BN00345890][][\hyphenatedurl{https

Re: [NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-24 Thread Jairo A. del Rio
\definetextbackground[MyUrl] [ > > location=text, background=color,backgroundcolor=yellow, frame=off, > > ]\def\myfootnote#1{\MyUrl{\high{#1}}} > > \setupfootnotes[textcommand=\myfootnote] > > \definepapersize[default][A8,portrait] \setuppapersize [default] > > \useURL[aurl] [

Re: [NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-24 Thread Wolfgang Schuster
=start] \definetextbackground[MyUrl] [ location=text, background=color,backgroundcolor=yellow, frame=off, ]\def\myfootnote#1{\MyUrl{\high{#1}}} \setupfootnotes[textcommand=\myfootnote] \definepapersize[default][A8,portrait] \setuppapersize [default] \useURL[aurl] [https://wiki.contextgarden.net

[NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-23 Thread Jairo A. del Rio
, background=color, backgroundcolor=yellow, frame=off, ]\def\myfootnote#1{\MyUrl{\high{#1}}} \setupfootnotes[textcommand=\myfootnote] \definepapersize[default][A8,portrait]\setuppapersize [default]\useURL[aurl] [https://wiki.contextgarden.net] [] [\MyUrl{ConTeXt Garden}]\starttext Testing links to same page

Re: [NTG-context] Variables in \useURL

2020-06-19 Thread Nigel King
Hi Group, >> I want to insert a variable hyper reference into a pdf document. The >> following method does not work for some reason. >> \def\hyperref{http://www.website.com/abc/def} >> show \hyperref >> Gives the correct answer but >> \useURL[this_doc][\hype

Re: [NTG-context] Variables in \useURL

2020-06-19 Thread Taco Hoekwater
te.com/abc/def} >> show \hyperref >> Gives the correct answer but >> \useURL[this_doc][\hyperref][][displayed text] >> \from[this_doc] >> Gives >> hyperef%20 as the url >> What am I doing wrong? > the content is not expanded, why not just use > > \

Re: [NTG-context] Variables in \useURL

2020-06-19 Thread Hans Hagen
On 6/19/2020 1:28 PM, Nigel King wrote: Hi Group, I want to insert a variable hyper reference into a pdf document. The following method does not work for some reason. \def\hyperref{http://www.website.com/abc/def} show \hyperref Gives the correct answer but \useURL[this_doc][\hyperref

[NTG-context] Variables in \useURL

2020-06-19 Thread Nigel King
Hi Group, I want to insert a variable hyper reference into a pdf document. The following method does not work for some reason. \def\hyperref{http://www.website <http://www.website/>.com/abc/def} show \hyperref Gives the correct answer but \useURL[this_doc][\hyperref][][displayed text]

Re: [NTG-context] Command \hyphenatedurl{} doesn't work

2019-01-25 Thread cryo shock
t; } > > > > \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] > > > > use

Re: [NTG-context] Command \hyphenatedurl{} doesn't work

2019-01-24 Thread Henri Menke
on/} > >   \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[url

[NTG-context] Command \hyphenatedurl{} doesn't work

2019-01-24 Thread Lars
://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

Re: [NTG-context] Projects and URLs

2018-11-03 Thread Axel Kielhorn
p >> them in a project file and have only one location to edit when they change? > > When you use \useurl in combination with \url or \from you can define them in > a environment file. To make themeasier to handle you can use a separate > environment file only for the urls.

Re: [NTG-context] Projects and URLs

2018-11-02 Thread Henning Hraban Ramm
at’s what you need, then \useURL is the way to go. For me, writing two commands to use an URL only once is mostly too much. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de G

Re: [NTG-context] Projects and URLs

2018-11-02 Thread Wolfgang Schuster
Axel Kielhorn schrieb am 02.11.18 um 10:10: Hello! Where is the best way to define URLs in a project? I currently define them when I need them, but wouldn’t it be better to keep them in a project file and have only one location to edit when they change? When you use \useurl in combination

[NTG-context] t-scancsv_ConTeXT_module can't filter anymore

2018-09-17 Thread Jorge Manuel
{~ =} {anl} {\ lineaction} don’t work anymore, the same for \ doloopif {\ Flag} {==} {anl} {\ lineaction} but \ doloopif {1} {= =} {1} {\ lineaction} is ok. And the error is \Email \mailto #1->\useURL [#1 ][mailto:#1][][#1]\from [{#1}] ...\bTD \ \flagpicture \e

[NTG-context] issue with annotation flags

2017-05-25 Thread Pablo Rodriguez
Dear list, I have the following code: \setupinteraction[state=start, color=] \enabledirectives[references.border] \starttext \startTEXpage[offset=1em] \useURL[url1][http://some-url.com]\from[url1] \stopTEXpage \stoptext The annotation code in the PDF file reads

Re: [NTG-context] wrong handling of hash char in \useURL

2016-10-11 Thread Yi Qingliang
the root cause is the macro, I don't think any macro language can solve it gently. what we can do is hack, maybe not only one. On Tue, Oct 11, 2016 at 12:12 PM, Piotr Kopszak <kops...@gmail.com> wrote: > Hello list, > > When I try to use hash in a URL like this > >

[NTG-context] wrong handling of hash char in \useURL

2016-10-11 Thread Piotr Kopszak
Hello list, When I try to use hash in a URL like this \useURL[protr][http://wiki.contextgarden.net/Protrusion\#MkIV] I'm getting correct address on the screen but wrong link (http://wiki.contextgarden.net/Protrusion/#MkIV). When I use \startasciimode \useURL[protr][http

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Jean-Pierre Delange
{default,quality}] \definefontfamily [main_font] [mm] [TeX Gyre Pagella] \setupbodyfont[main_font] % URL macros and setups % Usage: \href{http://www.someurl.com}{Text} \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \def\ahref#1{\href{#1}{<#1>}} \def\fullahref#1{\href{#1}{#1}} \d

Re: [NTG-context] Troubles with presentations

2015-10-14 Thread Otared Kavian
--- > > \usemodule[pre-original] > \usemodule[rsteps] > \usemodule[pre-60] > > \setuppapersize[S6][S6] > \setuppagenumbering[state=stop] > \setuptolerance[verytolerant,stretch] > \setupinteractionscreen[option=max] > \setupinteraction[state=start,colo

[NTG-context] Troubles with presentations

2015-10-06 Thread Tomas Hala
st minimal example: \usemodule[pre-original] \usemodule[rsteps] \usemodule[pre-60] \setuppapersize[S6][S6] \setuppagenumbering[state=stop] \setuptolerance[verytolerant,stretch] \setupinteractionscreen[option=max] \setupinteraction[state=start,color=middlered] \useURL [ga

Re: [NTG-context] How to implement a head like this?

2015-07-04 Thread 土卜皿
=red]\framed[width=8cm,align=left]{#1}%\framed[width=12cm,align=right,leftframe=off]{#2}%\egroup}\setuplayout[topspace=\zeropoint, height=fit, footerdistance=2cm] \showframe \useURL[aurl][http://cs.ucsd.edu/~mmoghimi][][ http://cs.ucsd.edu/~mmoghimi] \starttext \HeadTitle{{\tfb Mohammad

Re: [NTG-context] Character spacing and url

2015-04-13 Thread Wolfgang Schuster
[frenchpunctuation] \useurl[google][https://www.google.com] \starttext text: «text» \goto{\hyphenatedurl{https://www.google.com}}[url(https://www.google.com)]\vrule \goto{\resetcharacterspacing\hyphenatedurl{https://www.google.com}}[url(https://www.google.com)]\vrule \url[google]\vrule

Re: [NTG-context] \hyphenatedurl problem

2015-04-13 Thread Rik Kabel
\goto{\hyphenatedurl{#1}}[url(#1)] \stoptexdefinition \useURL[aUrl][https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable] \useURL[bUrl][https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable][][\hyphenatedurl{https

Re: [NTG-context] \hyphenatedurl problem

2015-04-13 Thread Pablo Rodriguez
)] \stoptexdefinition \useURL[aUrl][https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable] \useURL[bUrl][https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable][][\hyphenatedurl{https://Some.awfullylong.net/url_with_lots_of_places_to.html

[NTG-context] \hyphenatedurl problem

2015-04-10 Thread Rik
to be fixed but I do not know that for sure.) \setupinteraction[state=start] \starttexdefinition href #1 \goto{\hyphenatedurl{#1}}[url(#1)] \stoptexdefinition \useURL[aUrl][https://Some.awfullylong.net/url_with_lots_of_places_to.html?make=a_reasonable] \useURL[bUrl][https

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
] \useURL[masteringarchimateblog][http://masteringarchimate.com] \useURL[masteringarchimatebook][http://masteringarchimate.com/mastering-archimate-edition-ii/] \setupinteraction [style=, color=, contrastcolor=] %\setupbackend[export=yes,xhtml=yes] \definelist[chaptertext] \setuplist[chaptertext

Re: [NTG-context] linking to html etc. documents from pdf.

2015-01-22 Thread Aditya Mahajan
On Thu, 22 Jan 2015, John Culleton wrote: DTP programs like Inkscape and Scribus have facilities for linking to urls. Pdftex does also. If this facility exists in Context can some kind soul point me to the documentation? You mean useURL? http://wiki.contextgarden.net/Command/useURL Aditya

[NTG-context] Does \url work like \from?

2014-10-20 Thread Sander Maijers
​Hi, On http://wiki.contextgarden.net/url#Overview is stated: You can use \url[aurl] as well, which behaves like \from[#1]. I may be wrong to interpret \url a synonym of \from based on the documentation, as \from has only one parameter though. Test: \useURL[author_email][mailto:invalid

Re: [NTG-context] Does \url work like \from?

2014-10-20 Thread Alan BRASLAU
behaves like \from[#1]. I may be wrong to interpret \url a synonym of \from based on the documentation, as \from has only one parameter though. Test: \useURL[author_email][mailto:invalid@invalid.invalid][][A Name] \setupinteraction[state=start] \starttext \from[author_email

[NTG-context] bug in \useURL?

2014-10-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \asciimode \starttext \useURL[url][only#one]\from[url] \stoptext \asciimode seems to repeat the hash char. I’m afraid this might be a bug. Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] bug in \useURL?

2014-10-19 Thread Wolfgang Schuster
Am 19.10.2014 um 21:52 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \asciimode \starttext \useURL[url][only#one]\from[url] \stoptext \asciimode seems to repeat the hash char. I’m afraid this might be a bug. It’s a known side effect

[NTG-context] hyphenating urls and \tex

2014-10-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A7] \define[1]\url{\useURL[url][#1]\from[url])} \starttext \hsize\zeropoint \tex{thisisthelongestcommandeverseen.com} \url{thisisthelongesturleverseen.com} \stoptext In a beta from this year a new feature

Re: [NTG-context] hyphenating urls and \tex

2014-10-05 Thread Hans Hagen
On 10/5/2014 10:58 AM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuppapersize[A7] \define[1]\url{\useURL[url][#1]\from[url])} \starttext \hsize\zeropoint \tex{thisisthelongestcommandeverseen.com} \url{thisisthelongesturleverseen.com

[NTG-context] hyperlinks with special characters

2014-08-29 Thread Prashanth N Rao
I have already asked this question on Stackexchange. It appears that no one who has seen the question knows an answer. I figure I'll ask here too, just to cover all bases. I need to link to some online resources in my PDF file. Based on the official documentation, I have written: \useURL

Re: [NTG-context] hyperlinks with special characters

2014-08-29 Thread Hans Hagen
on the official documentation, I have written: \useURL[dbdk] [http://dbpedia.org/page/The_Dark_Knight_(film)] [] [it's link to DBPedia] Lorem ipsum \goto{the LinkedMDB.org entry on The Dark Knight}[url(http://data.linkedmdb.org/page/film/6224)], and \from[dbdk] dolor sit amet. Note my code for the link

Re: [NTG-context] hyperlinks with special characters

2014-08-29 Thread Prashanth N Rao
to some online resources in my PDF file. Based on the official documentation, I have written: \useURL[dbdk] [http://dbpedia.org/page/The_Dark_Knight_(film)] [] [it's link to DBPedia] Lorem ipsum \goto{the LinkedMDB.org entry on The Dark Knight}[url(http://data.linkedmdb.org/page

[NTG-context] XML, XHTML, and HTML export issue with in URL

2014-08-28 Thread Rik Kabel
with the 2014-08-27 standalone. \setupbackend[export=xmltest.xml,xhtml=xmltest.xhtml,css=export-example.css] \setupinteraction[state=start] \useURL[avecAmpersand] [http://www.mail-archive.com/search?l=ntg-context@ntg.nlq=Epub] [][klik hier] \starttext \startsubject[title=Fails in xml

Re: [NTG-context] XML, XHTML, and HTML export issue with in URL

2014-08-28 Thread Hans Hagen
in that file. This was tested with the 2014-08-27 standalone. \setupbackend[export=xmltest.xml,xhtml=xmltest.xhtml,css=export-example.css] \setupinteraction[state=start] \useURL[avecAmpersand] [http://www.mail-archive.com/search?l=ntg-context@ntg.nlq=Epub] [][klik hier

[NTG-context] is there a better way to convert this

2014-08-10 Thread Pablo Rodriguez
Dear list, pandoc writes autolinks (links with the same text as target, such as http://www.example.com), thanks to the a kind suggestion of Wolfgang, as: \useURL[url27][http://example.com/]\from[url27] But with autolinks for email addresses (such as nob...@nowhere.net), conversion

[NTG-context] Accessing the URL of \useURL (for putting URLs into footnotes)

2014-08-07 Thread Matthias Weber
Dear All, for the printable version of a document I’d like to put the actual URLs into footnotes. In other words, I’d like to replace \setupinteraction [state=start] \starttext \useURL [garden] [http://wiki.contextgarden.net/Main_Page] [] [ConTeXtgarden] \starttext Look at the \from

Re: [NTG-context] Accessing the URL of \useURL (for putting URLs into footnotes)

2014-08-07 Thread Wolfgang Schuster
Am 07.08.2014 um 12:26 schrieb Matthias Weber matwe...@indiana.edu: Dear All, for the printable version of a document I’d like to put the actual URLs into footnotes. In other words, I’d like to replace \setupinteraction [state=start] \starttext \useURL [garden] [http

Re: [NTG-context] Accessing the URL of \useURL (for putting URLs into footnotes)

2014-08-07 Thread Matthias Weber
words, I’d like to replace \setupinteraction [state=start] \starttext \useURL [garden] [http://wiki.contextgarden.net/Main_Page] [] [ConTeXtgarden] \starttext Look at the \from[garden]! \stoptext with \setupinteraction [state=start] \starttext \useURL [garden] [http

[NTG-context] interaction (mailto) query

2014-07-16 Thread Alan Bowen
To open a new email message in the user’s email client, I have \useURL [xxx] [mailto:x...@yyy.org] [] [{xxx}] \setupinteraction[state=start,color=blue] \starttext send email to \from[xxx] \stoptext This sets the address to which the message is to be sent. Is there a way to set the subject

Re: [NTG-context] interaction (mailto) query

2014-07-16 Thread Peter Rolf
Hi Alan, Am 16.07.2014 13:27, schrieb Alan Bowen: To open a new email message in the user’s email client, I have \useURL [xxx] [mailto:x...@yyy.org mailto:x...@yyy.org] [mailto:x...@yyy.org?subject=foo] There are also 'body=' for the mail text and 'cc=' / 'bcc='. All worked well in a quick

Re: [NTG-context] interaction (mailto) query

2014-07-16 Thread Alan Bowen
16 2014, Peter Rolf wrote: Am 16.07.2014 13:27, schrieb Alan Bowen: To open a new email message in the user’s email client, I have \useURL [xxx] [mailto:x...@yyy.org mailto:x...@yyy.org] [mailto:x...@yyy.org?subject=foo] And if you need a newline in the body: [mailto:x...@yyy.org

Re: [NTG-context] interaction (mailto) query

2014-07-16 Thread Werner Hintze
:20 MKIV beta.) All best, Alan On Wed, Jul 16, 2014 at 8:28 AM, Peter Münster pmli...@free.fr wrote: On Wed, Jul 16 2014, Peter Rolf wrote: Am 16.07.2014 13:27, schrieb Alan Bowen: To open a new email message in the user’s email client, I have \useURL [xxx] [mailto:x...@yyy.org mailto:x

Re: [NTG-context] interaction (mailto) query

2014-07-16 Thread Alan Bowen
: To open a new email message in the user’s email client, I have \useURL [xxx] [mailto:x...@yyy.org x...@yyy.org] [mailto:x...@yyy.org?subject=foo] And if you need a newline in the body: [mailto:x...@yyy.org?subject=my subjectbody=Hi Peter,\%0ABye] -- Peter

Re: [NTG-context] Hash (#) in URL

2014-07-03 Thread Christoph Reller
On Thu, Jul 3, 2014 at 11:36 AM, Christoph Reller christoph.rel...@gmail.com wrote: Hi, Is occurrence of the # character in an URL not supported? \setupinteraction[state=start] \starttext \useURL[here][http://en.wikipedia.org/wiki/ConTeXt#Versions] \from[here] \stoptext Regards

Re: [NTG-context] \tt in \hyphenatedurl?

2014-04-28 Thread Pablo Rodriguez
the fourth argument for \useurl you can change the style and color for the url with the \setupurl command, it would even be split at page breaks because context already uses the \hyphenatedurl command in this case. \setupurl[style=mono,color=red] \starttext The wiki located at \useURL[url1

Re: [NTG-context] \tt in \hyphenatedurl?

2014-04-27 Thread Wolfgang Schuster
Am 27.04.2014 um 00:15 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \starttext The wiki located at \useURL[url1][http://wiki.contextgarden.net][][\hyphenatedurl{http://wiki.contextgarden.net}]\from[url1]. \stoptext This is actually ConTeXt output

[NTG-context] \tt in \hyphenatedurl?

2014-04-26 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext The wiki located at \useURL[url1][http://wiki.contextgarden.net][][\hyphenatedurl{http://wiki.contextgarden.net}]\from[url1]. \stoptext This is actually ConTeXt output generated from pandoc. Is there any way to have \hyphenatedrul with \tt

Re: [NTG-context] URL oddity

2014-04-03 Thread Hans Hagen
change? If so, is there a method to invoke the older behavior. \starttext \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf] \from[aurl] \stoptext that's not done by context but the viewer (can be an annoying automatism btw

[NTG-context] URL oddity

2014-04-02 Thread Rik Kabel
, is there a method to invoke the older behavior. \starttext \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf] \from[aurl] \stoptext \setupinteraction[state=start] \starttext \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf

[NTG-context] Problem with urls.

2013-11-21 Thread Robert Blackstone
. --- \useURL[apurl][http://wiki.contextgarden.net/Category:Commands] \starttext \from[apurl] \url[apurl] \stoptext I use TeXshop. The console gives me the following cryptic message about a LuaTeX error: \ctxcommand #1

Re: [NTG-context] Problem with urls.

2013-11-21 Thread Wolfgang Schuster
with mkiv of 24 sept, but not with that of 3 november and later. --- \useURL[apurl][http://wiki.contextgarden.net/Category:Commands] \starttext \from[apurl] \url[apurl] \stoptext I can process your example without problems. ConTeXt ver

[NTG-context] Another problem in Markdown processing

2013-11-12 Thread Xan
\letterbar{} anglès 11 \letterbar{} complicat de calcular (per tempteig). no me surt la 12 resposta teòria de 29 13 14 \useURL[url3][http://mrmeyer.com/threeacts/shrinkingdollar/][][DM-35]\from[url3] 15 16 : Encollir un dòlar \letterbar{} funció exponencial \letterbar

[NTG-context] How it works \setupurl?

2013-10-23 Thread Jaroslav Hajtmar
: \setupinteraction[state=start, style=normal, color=blue, contrastcolor=] \setupurl[style=type, color=green] \setupexternalfigures[location={local,default}] \useURL [garden] [http://wiki.contextgarden.net/][] [http://wiki.contextgarden.net/] \starttext \section[sect]{Section

[NTG-context] Problem with link colors.

2013-10-21 Thread Jaroslav Hajtmar
, contrastcolor=] \setupurl[style=type, color=green] \setupexternalfigures[location={local,default}] \useURL [garden] [http://wiki.contextgarden.net/][] [http://wiki.contextgarden.net/] \starttext \section[sect]{Section} This is testing Cow section. \placefigure[here][cowfig]{Cow figure

Re: [NTG-context] hyphenate urls in a non hyphenated text

2013-10-08 Thread Marco Patzer
to provide a minimal example, let me provide my interpretation of the problem: \useurl [somelink] [http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw_r=0] \setupalign [nothyphenated] \starttext \url [somelink] \input knuth \stoptext I don't know

Re: [NTG-context] hyphenate urls in a non hyphenated text

2013-10-08 Thread Hans Hagen
{\lefthyphenmin\the\lefthyphenmin \righthyphenmin\the\righthyphenmin \relax}% \fi \lefthyphenmin\maxdimen \righthyphenmin\maxdimen} \useurl [somelink] [http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw_r=0

[NTG-context] Confounding colour conundrums

2013-09-22 Thread Thangalin
for the chapter's page number (i.e., pagecolor=darkgreen). It appears that the default colour for links embedded with \useurl bucks trendy traditional *blue* hyperlinks, favouring *dark green*. (*Black* would also make sense as a default.) I am confounded because the code explicitly contains the line

[NTG-context] Change URL color to match layer

2013-07-30 Thread Michael Ash
(location) \useURL[author-email][mailto:m...@econs.umass.edu][][m...@econs.umass.edu] %% Would like this URL to match the color of the recipient's address (address) \useURL[recipient-email][mailto:addres...@gmail.com][][addres...@gmail.com] %% Would like this URL to match the color of the main body \useURL

Re: [NTG-context] Change URL color to match layer

2013-07-30 Thread Michael Ash
I think that I have found an answer: in the \setupinteraction command that manages URL's, hyperlinks, PDF properties, etc. include color=,contrastcolor=, \usemodule[letter] %% Would like this URL to match the color of the return address (location) \useURL[author-email][mailto:aut...@myhome.com

[NTG-context] mixed columns

2013-06-25 Thread Peter Münster
Hi, I have several questions concerning mixed columns. Here at first a minimal example: --8---cut here---start-8--- \useURL[test][http://www.site.com/very/long/long/long/long/long/long/long/long/url] \def\Section#1{% \startsection[title=Title] \dorecurse

[NTG-context] Processing URL with TeX macros

2013-05-15 Thread Jaroslav Hajtmar
Hello ConTeXist. I would like get right URL, when I use \useURL command. Is there possibilities put any TeX macro to first and second parameter? It was clear to me why this is about, but I need it for one application (in the cycle I change URL addresses). Thanx Jaroslav Hajtmar Here is my

Re: [NTG-context] Processing URL with TeX macros

2013-05-15 Thread Wolfgang Schuster
Am 15.05.2013 um 09:23 schrieb Jaroslav Hajtmar hajt...@gyza.cz: Hello ConTeXist. I would like get right URL, when I use \useURL command. Is there possibilities put any TeX macro to first and second parameter? It was clear to me why this is about, but I need it for one application

Re: [NTG-context] Processing URL with TeX macros

2013-05-15 Thread Jaroslav Hajtmar
://mydomain.com/path} \def\myfile{mypdffile\recurselevel.pdf} \def\urltext{This is link to my file \recurselevel} \unexpanded\def\unexpurltext{This is other link to my file \recurselevel} \expanded{\useURL[problemexample][\myurl][\myfile][\urltext]} \useURL[otherproblemexample][\myurl][\myfile

Re: [NTG-context] Issue with 2013.04.30 00:31

2013-05-07 Thread Hans Hagen
^^@-\directlua {commands.#1} \bibgotoURL #1#2\-\useURL [#1][#2][][#1] \from [#1] argument ...ded {\bibgotoURL {\@@pb@title }{\@@pb@biburl }} .\egroup \space

[NTG-context] Issue with 2013.04.30 00:31

2013-05-06 Thread Kip Warner
]' pagesflushing realpage 9, userpage 9, subpage 2 ! LuaTeX error [string \directlua ]:1: invalid escape sequence near '\#'. \ctxcommand #1^^@-\directlua {commands.#1} \bibgotoURL #1#2\-\useURL [#1][#2][][#1

Re: [NTG-context] Issue with 2013.04.30 00:31

2013-05-06 Thread Kip Warner
\directlua ]:1: invalid escape sequence near '\#'. \ctxcommand #1^^@-\directlua {commands.#1} \bibgotoURL #1#2\-\useURL [#1][#2][][#1] \from [#1] argument ...ded

[NTG-context] Odd /externalfigure behavior

2012-12-12 Thread Guy Stalnaker
A {\em project} in WiscWebCMS is the equivalent of a web site. You may 326 have access to multiple projects. For all projects you login at 327 \useURL[url2][https://wiscwebcms.wisc.edu][][https://wiscwebcms.wisc.edu]\from[url2]. 328 With WiscWeb CMS you are logging into a web application

Re: [NTG-context] Odd /externalfigure behavior

2012-12-12 Thread Wolfgang Schuster
\stopitemize 322 323 \subsubsubsection[one-url-for-all-projects]{One URL for All Projects} 324 325 A {\em project} in WiscWebCMS is the equivalent of a web site. You may 326 have access to multiple projects. For all projects you login at 327 \useURL[url2][https://wiscwebcms.wisc.edu

Re: [NTG-context] Interactive URL's and Acronyms

2012-09-07 Thread Wolfgang Schuster
] [acronyms] [\infull] | \setupsynonyms [acronym] [criterium=all] would be enough. But it's not... what I am missing here? There are different ways to create a hyperlink to a website, e.g. \setupinteraction[state=start] \useurl[NASA][http://www.nasa.gov] \starttext \from[NASA] \goto{NASA

Re: [NTG-context] Interactive URL's and Acronyms

2012-09-07 Thread Markus Hubig
] \useurl[NASA][http://www.nasa.gov] \starttext \from[NASA] \goto{NASA}[url(http://www.nasa.gov)] \stoptext Ahh thanks \from[] is what I need! but I have no idea why you need hyperlinks for a synonym. Because I have a \placelistofacronyms in the backmatter of my document and it I click

[NTG-context] Interactive image

2012-04-19 Thread Kip Warner
#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \href{www.something...}{\externalfigure[...]} Or is there a better way? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: [NTG-context] Interactive image

2012-04-19 Thread Wolfgang Schuster
\externalfigure in something like the following? \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \href{www.something...}{\externalfigure[...]} Or is there a better way? \setupinteraction[state=start] \starttext This is a cow: \goto{\externalfigure[cow][height=2ex]}[url(http

  1   2   3   4   >