[NTG-context] A problem with \useURL or \from
Hi, With current context and luatex revision 3038 I use this sample: \setupinteraction[state=start] \setupurl[color=blue] \starttext \useURL[here][http://google.com] \from[here] \stoptext It compiles with the link shown correctly but in greenish color. Pressing on it, the browser tries to visit http://here/ . I am not sure where the source of the problem is, context or luatex. Thank you, Eythan ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug in footnotes in columns
On Sat, 22 Aug 2009, Hans Hagen wrote: Aditya Mahajan wrote: Hi, \setupfootnotes [location=columns] \starttext \startcolumns \input knuth \stopcolumns \stoptext gives ! Undefined control sequence. \currentbackupnoteins you can comment that line (for the moment) \def\docalculatetotalnoteheight {\ifcase\clevernotes % tricky here ! ! ! to be sorted out ! ! ! \doaddtototalnoteheight\currentnoteins \else %\doaddtototalnoteheight\currentbackupnoteins \fi} Perhaps the example was a bit too minimal. With this change, notice the output of \setupfootnotes [location=columns] \setupcolumns[balance=no] \starttext \startcolumns Don Knuth's\footnote{The creator of \TEX} quote: \input knuth \stopcolumns \stoptext Notice the box0 in the 2nd column. keep in mind that footnotes in columns are not yet done (in mkiv) awaiting access to inserts (later this year) OK. I will just use MKII for the moment. 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setuptyping in MKIV
On Sat, 22 Aug 2009, Hans Hagen wrote: Aditya Mahajan wrote: Hi, If I set option to empty in setuptyping, the output of \starttyping stoptyping is colored. \setuptyping[option=] \starttext \starttyping % This is a test \stoptyping \stoptext This works fine in MKII, but in MKIV the % is colored. The color goes away if I set option=none. I think this is a bug, but cannot figure out its cause. it's just the fallback: \edef\prettyidentifier{\executeifdefined{\??ty\??ty\ascii}{TEX}}% add \setvalue{\??tp:\c!option:\empty}{\let\obeycharacters\relax} to buff-ver.mkiv and it will work ok Thanks. 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] make references somewhere in text
Xan wrote: Hi, perhaps a stupid question, but I can't find it. How can I define a reference in the plain text. For example something like: "Hello this is the \reference[here] text" and do something like \in[here] \pagereference[xxx] \textreference[xxx]{...} \reference[xxx]{xxx} \setreference[xxx][a=...,b=...] % in mkiv beta but not yet interfaced - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug in footnotes in columns
Aditya Mahajan wrote: Hi, \setupfootnotes [location=columns] \starttext \startcolumns \input knuth \stopcolumns \stoptext gives ! Undefined control sequence. \currentbackupnoteins you can comment that line (for the moment) \def\docalculatetotalnoteheight {\ifcase\clevernotes % tricky here ! ! ! to be sorted out ! ! ! \doaddtototalnoteheight\currentnoteins \else %\doaddtototalnoteheight\currentbackupnoteins \fi} keep in mind that footnotes in columns are not yet done (in mkiv) awaiting access to inserts (later this year) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] setuptyping in MKIV
Aditya Mahajan wrote: Hi, If I set option to empty in setuptyping, the output of \starttyping stoptyping is colored. \setuptyping[option=] \starttext \starttyping % This is a test \stoptyping \stoptext This works fine in MKII, but in MKIV the % is colored. The color goes away if I set option=none. I think this is a bug, but cannot figure out its cause. it's just the fallback: \edef\prettyidentifier{\executeifdefined{\??ty\??ty\ascii}{TEX}}% add \setvalue{\??tp:\c!option:\empty}{\let\obeycharacters\relax} to buff-ver.mkiv and it will work ok - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bug in footnotes in columns
Hi, \setupfootnotes [location=columns] \starttext \startcolumns \input knuth \stopcolumns \stoptext gives ! Undefined control sequence. \currentbackupnoteins \doaddtototalnoteheight #1->\ifdim \ht #1 >\zeropoint \advance \totalnoteheig... \docalculatetotalnoteheight ...rrentbackupnoteins \fi \doprocesssomenote {\v!footnote } \doprocesssomenote {\v!endn... \processnotes ...note #1}\the \tobeprocessednotes \settotalinsertionheight ...culatetotalnoteheight \totalinsertionheight \tot... ... 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] setuptyping in MKIV
Hi, If I set option to empty in setuptyping, the output of \starttyping stoptyping is colored. \setuptyping[option=] \starttext \starttyping % This is a test \stoptyping \stoptext This works fine in MKII, but in MKIV the % is colored. The color goes away if I set option=none. I think this is a bug, but cannot figure out its cause. 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bib module: changing citation style locally
Mojca Miklavec wrote: > > The confusing fact is that it still works with normal cite even if one > loads bibliography at the end, else I would probably figure out that I > need to load bibliography at the beginning of document earlier :) I > normally do that, but I had a component with all bibliography being > loaded at the end this time and it worked so far until I have tried > this. Bibliographies are never really loaded at the end, it just looks that way to the user :) Best wishes, Taco ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bib module: changing citation style locally
On Fri, Aug 21, 2009 at 16:04, Derek CORDEIRO wrote: > Try taking the \startpublication ... \stoppublication before \starttext. > Seems to work for me that way. Oh, true, thanks a lot. But it seems that it's not so much related to before or after \starttext but more related to whether one loads bibliography before or after one cites it. (I cannot put it before starttext since I'm using project-component setup). The confusing fact is that it still works with normal cite even if one loads bibliography at the end, else I would probably figure out that I need to load bibliography at the beginning of document earlier :) I normally do that, but I had a component with all bibliography being loaded at the end this time and it worked so far until I have tried this. Anyway, thanks a lot for pointing it out. I'll be more careful about that next time. Mojca > On Fri, Aug 21, 2009 at 7:18 PM, Mojca Miklavec > wrote: >> >> Hello (Taco or anyone else), >> >> I have an impression that it used to be possible to say >> \cite[author][reference], but I'm obviously doing something wrong >> here, I only get Xxx or in case of [data] I don't get anything at >> all (I'm using mkii). Here's an almost-minimal example: >> >> \usemodule >> [bib] >> \setuppublications >> [alternative=num, >> criterium=all, >> sorttype=cite] >> \setuppublicationlist >> [artauthor=\normalshortauthor, >> author=\normalshortauthor] >> >> \starttext >> >> first: \cite[Knoll] >> >> second: \cite[author][Knoll], \cite[alternative=author][Knoll] >> >> third: \cite[data][Knoll] >> >> \startpublication[k=Knoll,t=book,a=Knoll] >> \title{Radiation Detection and Measurement} >> \author[]{Glenn Frederick}[G.~F.]{}{Knoll} >> \pubname{Wiley, John \& Sons, Incorporated} >> \pubyear{1979} >> \stoppublication >> >> \placepublications >> >> \stoptext >> >> Thanks in advance for any hints, >> Mojca >> >> ___ >> 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://tex.aanhet.net >> archive : https://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> >> ___ > > > > -- > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > Blog: http://www.derekcordeiro.com > Follow Me: http://twitter.com/derekcordeiro > Get a great webhosting deal: http://is.gd/jrA2 > > ___ > 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://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bib module: changing citation style locally
Try taking the \startpublication ... \stoppublication before \starttext. Seems to work for me that way. On Fri, Aug 21, 2009 at 7:18 PM, Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > Hello (Taco or anyone else), > > I have an impression that it used to be possible to say > \cite[author][reference], but I'm obviously doing something wrong > here, I only get Xxx or in case of [data] I don't get anything at > all (I'm using mkii). Here's an almost-minimal example: > > \usemodule >[bib] > \setuppublications >[alternative=num, > criterium=all, > sorttype=cite] > \setuppublicationlist >[artauthor=\normalshortauthor, > author=\normalshortauthor] > > \starttext > > first: \cite[Knoll] > > second: \cite[author][Knoll], \cite[alternative=author][Knoll] > > third: \cite[data][Knoll] > > \startpublication[k=Knoll,t=book,a=Knoll] >\title{Radiation Detection and Measurement} >\author[]{Glenn Frederick}[G.~F.]{}{Knoll} >\pubname{Wiley, John \& Sons, Incorporated} >\pubyear{1979} > \stoppublication > > \placepublications > > \stoptext > > Thanks in advance for any hints, >Mojca > > ___ > 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://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___ > -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Blog: http://www.derekcordeiro.com Follow Me: http://twitter.com/derekcordeiro Get a great webhosting deal: http://is.gd/jrA2 ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] bib module: changing citation style locally
Hello (Taco or anyone else), I have an impression that it used to be possible to say \cite[author][reference], but I'm obviously doing something wrong here, I only get Xxx or in case of [data] I don't get anything at all (I'm using mkii). Here's an almost-minimal example: \usemodule [bib] \setuppublications [alternative=num, criterium=all, sorttype=cite] \setuppublicationlist [artauthor=\normalshortauthor, author=\normalshortauthor] \starttext first: \cite[Knoll] second: \cite[author][Knoll], \cite[alternative=author][Knoll] third: \cite[data][Knoll] \startpublication[k=Knoll,t=book,a=Knoll] \title{Radiation Detection and Measurement} \author[]{Glenn Frederick}[G.~F.]{}{Knoll} \pubname{Wiley, John \& Sons, Incorporated} \pubyear{1979} \stoppublication \placepublications \stoptext Thanks in advance for any hints, Mojca ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___