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

Re: [NTG-context] MLA Bibliography

2012-04-16 Thread Mojca Miklavec
?command=SEARCHbase=COBIBselect=BN=0521867444lani=en \def\gotoCOBISS#1#2% {\ifbibinteractionelse {\useURL[bibfoo#1][http://www.cobiss.si/scripts/cobiss?command=DISPLAYbase=cobibrid=#2]% \goto{#2}[url(bibfoo#1)]}% {#2}} and then my book layout uses \insertcobissid{ {\sc cobiss.si-id

Re: [NTG-context] MLA Bibliography

2012-04-13 Thread Kip Warner
idea. \hyphenatedurl allows the url to be split nicely, but doesn't make it clickable; for that the tricks detailed at http://wiki.contextgarden.net/url should work. I'd guess that something like address = {\useURL[dummy][http://www.example.com]\from[dummy]} should make a clickable

Re: [NTG-context] MLA Bibliography

2012-04-12 Thread Pontus Lurcock
detailed at http://wiki.contextgarden.net/url should work. I'd guess that something like address = {\useURL[dummy][http://www.example.com]\from[dummy]} should make a clickable bibliography URL. Pont ___ If your

Re: [NTG-context] interaction kills hyperlinks

2012-03-22 Thread Hans Hagen
/1058704515970.html}}[{url(http://www.ftd.de/politik/deutschland/1058704515970.html)}] or even better, use an abstraction (easier to maintain): \useurl[spiegel-1][www.spiegel.de/spiegel/0,1518,288433,00.html] \useurl[politik-1][www.ftd.de/politik/deutschland/1058704515970.html] 3: \goto{\url[spiegel-1

Re: [NTG-context] Why doesn't his URL work?

2012-01-15 Thread Wolfgang Schuster
Am 14.01.2012 um 15:16 schrieb Gerben Wierda: This code below gets me a working URL, but instead of the word kudos in blue I get the entire URL in my text. Why is that? \setupcolors[state=start] \setupurl [color=blue] \setupinteraction [state=start,color=blue] \useURL[kudos

Re: [NTG-context] Why doesn't his URL work?

2012-01-15 Thread Steffen Wolfrum
[state=start] \setupurl [color=blue] \setupinteraction [state=start,color=blue] \useURL[kudos][http://nl.wikipedia.org/wiki/Kudos_(computerterm)][][kudos] \setuppapersize[A4,portrait][A4,portrait] \starttext \url[kudos] \stoptext G

[NTG-context] Why doesn't his URL work?

2012-01-14 Thread Gerben Wierda
This code below gets me a working URL, but instead of the word kudos in blue I get the entire URL in my text. Why is that? \setupcolors [state=start] \setupurl [color=blue] \setupinteraction [state=start,color=blue] \useURL[kudos][http://nl.wikipedia.org/wiki/Kudos_(computerterm

Re: [NTG-context] ∫ and $\intop$ is not displayed correctly compared to $\int$.

2011-12-11 Thread Paul Menzel
. Using XITS it does also work although in display math mode(?) ∫ and $\intop$ are not scaled. I use the following example. \setupbodyfont[xits] \setupinteraction[state=start] \useurl[context2008][http://wiki.contextgarden.net/Context_2008.04.10][][\ConTeXt

[NTG-context] url: subscripts not displayed

2011-11-24 Thread Paul Menzel
} to put in a clickable link % with footnoted URL \def\Site[#1][#2]#3{\useURL[#1][#2][][#3]\from[#1]\footnote[#1]{\tt\hyphenatedurl{#2}}} \setupbibtex[database=bib] \starttext Everybody should read the \MetaFun\ manual \cite{hh2010}. Buy it at \Site

Re: [NTG-context] url: Add macros to the ConTeXt core

2011-11-14 Thread Aditya Mahajan
On Sun, 13 Nov 2011, Paul Menzel wrote: looking into typesetting URLs I find typesetting URLs quite cumbersome. Maybe I have not used that feature that often so I am not seeing the advantage to first define a URL somewhere and give it a name \useURL[aurl] [http://xkcd.com/149

Re: [NTG-context] url: Add macros to the ConTeXt core

2011-11-14 Thread Khaled Hosny
On Mon, Nov 14, 2011 at 04:42:54AM -0500, Aditya Mahajan wrote: I support having commands which typeset the urls directly, but the macros on the wiki are not the best ones. \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} Why not simply: \def\href#1#2{\goto{#2}[url(#1

Re: [NTG-context] url: Add macros to the ConTeXt core

2011-11-14 Thread mathew
On Mon, Nov 14, 2011 at 03:42, Aditya Mahajan adit...@umich.edu wrote: Why not simply: \def\href#1#2{\goto{#2}[url(#**1)]} Or did I miss something? I use this: % Define \Site[id][url]{description} to put in a clickable link % with footnoted URL \def\Site[#1][#2]#3{\useURL[#1][#2][][#3

[NTG-context] url: Add macros to the ConTeXt core

2011-11-13 Thread Paul Menzel
Dear ConTeXt folks, looking into typesetting URLs I find typesetting URLs quite cumbersome. Maybe I have not used that feature that often so I am not seeing the advantage to first define a URL somewhere and give it a name \useURL[aurl] [http://xkcd.com/149/] [] [I prefer hot

[NTG-context] Project structure: Do macros go into the environment?

2011-11-13 Thread Paul Menzel
}] \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \def\ahref#1{\color[linkcolor]{\ttx \href{#1}{#1}}} \def\fullahref#1{\color[linkcolor]{\ttx \href{#1}{http://#1}}} \def\mailto#1{\useURL[#1][mailto:#1][][#1]\from[{#1}]} \def\MailTo#1

Re: [NTG-context] Project structure: Do macros go into the environment?

2011-11-13 Thread Wolfgang Schuster
Doe, keyword={keyword}] \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \def\ahref#1{\color[linkcolor]{\ttx \href{#1}{#1}}} \def\fullahref#1{\color[linkcolor]{\ttx \href{#1}{http://#1}}} \def\mailto#1{\useURL[#1][mailto:#1][][#1]\from

Re: [NTG-context] [solved] Project structure: Do macros go into the environment?

2011-11-13 Thread Paul Menzel
[title=Titel, author=John Doe, keyword={keyword}] \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \def\ahref#1{\color[linkcolor]{\ttx \href{#1}{#1}}} \def\fullahref#1{\color[linkcolor]{\ttx \href{#1}{http://#1

Re: [NTG-context] Links in exported XHTML file

2011-10-25 Thread Andreas Harder
\useURL[google][http://www.google.com/][][Google] \from[google] \textreference[txt:ref]{some text} \in[txt:ref] % OK \goto{Google}[url(http://www.google.com/)] \stoptext in next beta Thanks Hans, but now the text reference is *not* wrapped in xhml:a-tags. at.href = # .. gsub

Re: [NTG-context] Links in exported XHTML file

2011-10-24 Thread Hans Hagen
On 21-10-2011 11:27, Andreas Harder wrote: \setupinteraction[state=start] \setupbackend[export=yes,xhtml=yes,css=export-example.css] \starttext \useURL[google][http://www.google.com/][][Google] \from[google] \textreference[txt:ref]{some text} \in[txt:ref] % OK \goto{Google}[url(http

[NTG-context] Links in exported XHTML file

2011-10-21 Thread Andreas Harder
Hi all, how do I manage to get proper links in the exported XHTML document. It works well with intern references. \setupinteraction[state=start] \setupbackend[export=yes,xhtml=yes,css=export-example.css] \starttext \useURL[google][http://www.google.com/][][Google] \from[google

Re: [NTG-context] new beta

2011-10-03 Thread Thomas A. Schmitz
Another problem: interactive links appear to be broken with the latest beta. This works with 2011.09.20, but not with the latest: \setupinteraction [state=start, color=darkblue] \useURL[luatex][http://www.luatex.org][][luatex website] \starttext Does this work? \from[luatex

Re: [NTG-context] new beta

2011-10-03 Thread Hans Hagen
On 3-10-2011 12:42, Thomas A. Schmitz wrote: Another problem: interactive links appear to be broken with the latest beta. This works with 2011.09.20, but not with the latest: \setupinteraction [state=start, color=darkblue] \useURL[luatex][http://www.luatex.org][][luatex website] \starttext

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
)]} · \definefontfeature[default][default][onum=yes] \setupbodyfontenvironment[default][em=italic] \setupinteraction[state=start,color=,style=em,contrastcolor=,focus=standard] %%% First, define the switch for text figures: \definefontfeature[url][default][onum=no] %%% Best use context’s default url commands: \useURL

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Pablo Rodríguez
will work, but they won't if I rewrite both: \definefontfeature[default][default][onum=yes,smcp=yes] \definefontfeature[url][default][onum=no,smcp=no] %%% Best use context’s default url commands: \useURL[aurl][http://www.pragma-ade.com/download-1.htm] After having to write the second

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
=no,smcp=yes] and come back with a complete example if it doesn’t help. (Btw, looks like you consider setting the default font style to small caps. Is this really what you intended?) After having to write the second url, I began to think it was unnecessarily complex. Fwiw I think that \useURL

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Pablo Rodríguez
] \setupbodyfontenvironment[default][em=italic] \setupinteraction[state=start,color=,style=em,contrastcolor=,focus=standard] %%% First, define the switch for text figures: \definefontfeature[url][onum=no,smcp=yes] %%% Best use context’s default url commands: \useURL[aurl][http://www.pragma-ade.com

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Wolfgang Schuster
: […] Use \addfs{url} to disable the onus feature. After having to write the second url, I began to think it was unnecessarily complex. Fwiw I think that \useURL fits the context style best as it separates the declaration of an element from its use in the document. Sorry, but I'm

Re: [NTG-context] disabling onum in url

2011-10-02 Thread Philipp Gesang
” key of the interaction setups: · \setupbodyfontenvironment[default][em=italic] \setupinteraction[state=start,color=,style=\em,contrastcolor=,focus=standard] \useURL[aurl][http://www.pragma-ade.com/download-1.htm] \setupurl[style

  1   2   3   4   >