Re: [NTG-context] media wiki ConTeXt

2006-02-22 Thread Patrick Gundlach
Hi Jan and others,

>> > He was impressed by ConTeXt and wanted to:
>> > 1.) integrate something similar to  command on contextgarden
>> > while keeping  functionality (can be done in ConTeXt too, most
>> > probably no need to keep LaTeX)

the  tag is completely independent of all other tags. I have
no idea how the  is implemented and if it can be changed to use
ConTeXt math.


>> > 2.) perhaps change the mentioned WikiPDF to generate ConTeXt documents
>> > -> PDF (perhaps that could be done via XML as well?)
>>
>> Interesting notion (the link helped a lot)
>>
>> I would definately welcome a way to make ConTeXt documents from
>> wiki pages! :-)

I have a mediawiki2... ruby script where ... is currently html and
xml. Its not perfect yet and not published anywhere, but if anybody is
interested in doing some ConTeXt stuff there

> Firstly i would like to integrate Context in my wiki, like you have on
> www.contextgarden.net. I belive that Patrick is the man a need to ask. Than
> i would like to make back compatibility with 

Maybe you can contact me at my email address and I will put all
answers on a wiki page as well.

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Arggh, Nimbus font instead of original Adobe

2006-02-22 Thread Taco Hoekwater
Berend de Boer wrote:
>>Or: Hans, Taco: is this feature best left as a dangerous curve, best 
>>left to specific users who need it?
> 
> It was a core feature I used: the ability to create small PDF files
> with better looking fonts than the Nimbus ones.

Out of curiousity: what *does* you previewer show in the 'fonts'
dialog?

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Mail- (or text-)merge with ConteXt

2006-02-22 Thread vittorio
Alle 20:43, mercoledì 22 febbraio 2006, vittorio ha scritto:
> I would like to write letters using some mail-merge or text merge procedure
> under ConTeXt.
> Could you please help me indicating where should I start with and, above
> all, giving some example of that?
>
Perhaps I need to be more precise!!

What I've been doing for some years has been to send some 1800 2-page letters 
in a shot. What change are the addresses of the recipients and some small 
parts of the text according to certain circumstances. Years ago I dismissed 
the mail-merge capabilities of MS-Word because it was unable to deal with 
that amount of letters. So I tailored a *-sty file for my letters and started 
to use latex with the textmerge. Bingo, it was THE solution!

Now I want to give ConTeXt a chance. I mean that a Context doc seems to me 
more "readable" and "intuitive" than latex. So I would have a go with ConTeXt 
to solve the same problem.

Ciao
Vittorio
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Mail- (or text-)merge with ConteXt

2006-02-22 Thread vittorio
I would like to write letters using some mail-merge or text merge procedure 
under ConTeXt.
Could you please help me indicating where should I start with and, above all, 
giving some example of that?

Thanks a lot
Vittorio
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Substack in Context

2006-02-22 Thread Aditya Mahajan
<--- On Feb 22, Taco Hoekwater wrote --->

>
> Does this look ok?
> (code is not production-ready yet, but seems reasonable to me)
>
> [code snipped]

Yes, looks good to my eyes. Thanks a lot.

Aditya



-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Arggh, Nimbus font instead of original Adobe

2006-02-22 Thread Berend de Boer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adam Lindsay <[EMAIL PROTECTED]> writes:

> Now, can you take it out for an extended spin/test? I'd like to be able 
> to package it up in a way that (potentially) allows others to use
> it.

I already did. Works perfectly for every document.


> Or: Hans, Taco: is this feature best left as a dangerous curve, best 
> left to specific users who need it?

It was a core feature I used: the ability to create small PDF files
with better looking fonts than the Nimbus ones.

- -- 
Live long and prosper,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iD8DBQFD/KCTIyuuaiRyjTYRAqXKAKCUl+d3PE6R6D5SccPVadkCvSx7+gCgvWYl
kgFpLuEVXBM0f9JRAzj6caw=
=jNsM
-END PGP SIGNATURE-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] BibTeX and \placelistoffloats questions

2006-02-22 Thread Mojca Miklavec
On 2/22/06, Fabian Doerk wrote:
> Taco wrote:
> >About those hyperlinks: it would normally be something like a chapter
> >number, and it would link back to the chapter head itself. In a
> >bibliography, it just points to itself, because the 'main reference'
> >is the item in the list. Maybe I can make a link back to the first
> >cited location. Would that make sense?
>
> I'am not sure in which scenarios the reverse referencing to the first usage
> makes sense. Perhaps its more useful if the bibtex entry gets an associated
> list of forward references and make this list available for usage in
> \setuppublicationlayout. See the following exemplary publicationlist entry:
>
> [KKY03]   D. Katz, K. Kompella, and D. Yeung. "RFC3630: Traffic
>   Engineering (TE) Extensions to OSPF Version 2" (September,
>   2003). Status: PROPOSED STANDARD.
>   Source: http://www.ietf.org/rfc/rfc3630.txt
>   Pages: 23, 34, 37, 61
>
> But I haven't neither an idea of the complexity to implement it nor of the
> realisability et al. What do you think of this idea? Makes it more sense to 
> you
> than the "first cited reverse reference"?

I didn't play with the exaples in this thread, but hyperlinks with
page numbers pointing to the exact locations of citations make a lot
of sense.

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] skipping parts in compiling

2006-02-22 Thread Mojca Miklavec
> > If you mean "can I recompile only page 3 and 4 out of my 100-page book
> > and get the whole document" that answer is no I think. But there are
> > other ways.
> >
>
> I suspected.

Well, you also have
texmfstart newtexexec.rb --pfdcombine | copy | select | trim

I don't know how exactly to use them (to hans: lines 351-359 in
newtexexec.rb, "def copyortrim" seem to be broken a bit - wrong number
of arguments), but I guess that you could combine parts of your
document together again this way (I wouldn't use this approach
however).

But what's wrong with using modular approach (to compile just the
chapter or section you're currently working on, so that it compiles
fast enough and you can fix bugs, and then compile everything together
when you need the whole document)? You don't need to change a single
line if you compile separate chapters or if you compile everything
together. Except that you might need to split the document in separate
files (using projects/products is really a great thing). If you don't
want to split your document, you can also use modes:

\starttext

\startmode[everything]
\enablemode[chapter1]
\enablemode[chapter2]
\stopmode

\chapter{Introduction}

\startmode[chapter1]
\chapter{Chapter A}
\stopmode

\startmode[chapter2]
\chapter{Chapter B}
\stopmode

\stoptext

Then you can compile the document with
texexec --mode=chapter1 filename
or
texexec --mode=chapter1,chapter2 filename
or
texexec --mode=everything filename

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Substack in Context

2006-02-22 Thread Taco Hoekwater

Does this look ok?
(code is not production-ready yet, but seems reasonable to me)

Taco

\def\startsubstack
   {\begingroup
\null
\vcenter\bgroup
\pushmacro\domatrixNC
\let\endmath\relax
\def\NC{\domatrixNC}%
\def\MC{\domatrixNC\ifmmode\else$\def\endmath{$}\fi}%
\global\let\domatrixNC\dodomatrixNC
\def\NR{\endmath%
  \global\let\domatrixNC\dodomatrixNC
  \vadjust{\kern -.33\bodyfontsize}\crcr}%
\mathsurround\zeropoint
\everycr\emptytoks
\halign\bgroup  \hfil$\scriptstyle ##$\hfil\crcr }

\def\stopsubstack
   {\crcr
\egroup
\popmacro\domatrixNC
\egroup
\endgroup}

\starttext

\startformula
   \sum_{%
 \startsubstack
  i = 1 \NR
  i \neq n \NR
  i \neq m
  \stopsubstack
}a_i
\stopformula

\stoptext

Aditya Mahajan wrote:
> <--- On Jan 28, Taco Hoekwater wrote --->
> 
>>Aditya Mahajan wrote:
>>
The definition from m-newmat is at least partly superceded by the
new core math definitions Hans added last week, so a new implementation
would be better.
>>>
>>>Can you suggest something?
>>
>>Like this maybe?
>>
>>\def\substack#1%
>>  {\begingroup
>>   \let\\\cr
>>   \startmathmatrix #1\stopmathmatrix
>>   \endgroup}
>>
>>Probably needs a bit of tweaking to make it look better
>>(perhaps a [strut=no] parameter?).
>>
> 
> 
> <--- On Jan 28, Vit Zyka wrote --->
> 
>>What about use math primitive \atop:
>>
>>\def\substack#1%
>>   {\begingroup
>>\let\\\atop
>>#1
>>\endgroup}
>>
> 
> 
> 
> Sorry for not getting back for almost a month. Both suggestions work 
> only partially. Consider
> 
> \startmathformula
>   \sum_{%
> \startmathmatrix
>   i = 1 \NR i \neq n \NR i \neq m
>  \stopmathmatrix
>}a_i
> \stopformula
> 
> As Taco mentioned, the spacing is bad.
> 
> \atop gives correct spacing but you need to put subscripts in groups 
> of two.
> 
> \startformula
>\sum_{ {i = 1 \atop i \neq n}\atop i \neq m } a_i
> \stopformula
> 
> Moreover, the font size is incorrect in both cases. Compare with the 
> size of the subscript in \sum_{i = 1}.
> 
> Any suggestions?
> 
> Aditya
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] BibTeX and \placelistoffloats questions

2006-02-22 Thread Fabian Doerk
Hi Taco,

Taco wrote:
1. BibTeX xrefs: 
   Is it possible to get interactive references (maybe even with
   different colour than the global interaction color) from the \cite
   command to the referring entry in the publicationlist working at the
   moment? 
>>>
>>>What \cite style are you using? I can probably make something work
>>>quickly for all but the authoryear(s) style(s).
>> 
>> I'am using the following setup and referring to the .bib file by \cite[key]:
>
>I have two different solutions available:
>
>% for the 'official version':
>\def\dobibshort#1%
>   {\addthisref{#1}\refsep
>\doifbibreferencefoundelse{#1}{\goto{\getvalue{@@pbs}}[#1]}{??}}
>
>% for the beta:
>\def\dobibshortref#1%
>   {\addthisref{#1}\refsep
>\doifbibreferencefoundelse{#1}{\goto{\getvalue{pbds-#1}}[#1]}{??}}
>
>Put one of these (or even both) in your environment, somewhere after
>\usemodule[bib], and you should be set.

Great! Thats exactly what i'am looking for! :) Please make this
available in the next release as option, perhaps to \setupcite? It is
quite useful for reading large documents on screen when you're able to
jump forward to the publication list and back to the referring text to
read on (the backward jump requires reader support). 

>About those hyperlinks: it would normally be something like a chapter
>number, and it would link back to the chapter head itself. In a
>bibliography, it just points to itself, because the 'main reference'
>is the item in the list. Maybe I can make a link back to the first
>cited location. Would that make sense?

I'am not sure in which scenarios the reverse referencing to the first usage
makes sense. Perhaps its more useful if the bibtex entry gets an associated
list of forward references and make this list available for usage in
\setuppublicationlayout. See the following exemplary publicationlist entry:

[KKY03]   D. Katz, K. Kompella, and D. Yeung. "RFC3630: Traffic
  Engineering (TE) Extensions to OSPF Version 2" (September,
  2003). Status: PROPOSED STANDARD.
  Source: http://www.ietf.org/rfc/rfc3630.txt
  Pages: 23, 34, 37, 61

But I haven't neither an idea of the complexity to implement it nor of the
realisability et al. What do you think of this idea? Makes it more sense to you
than the "first cited reverse reference"?

Thanks for your help Taco! :)

Fabian
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Vertical text in the margin on every page

2006-02-22 Thread Jilani Khaldi
Hi,
I found this solution:

\defineoverlay[SN][{\black
\scale[factor=300]{\rotate[rotation=90]{~TR-A02-123456~}}}]
\setupbackgrounds[text][rightmargin][background=SN]

jk

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Capitalisation of titles in headers

2006-02-22 Thread Taco Hoekwater


Elliot Clifton wrote:
> Hi,
> 
> I want to ensure that the titles displayed in the header always begin
> with a capital letter regarless of any truncation with \nomarking..

Why don't you add explicit marking then? That may be easiest in
this case.

   \marking[Title]{Whatever you desire with Cap aplied already
   and no need for }

Cheers, taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] $\to$: addendum

2006-02-22 Thread andrea valle
hhhmmm,

It seemed consistent but now I see that it happens randomly.
So I guess it should depend on me.
I'll check better the whole (long) code and in case I come back

Thanks a lot

-a-

On 22 Feb 2006, at 12:34, Taco Hoekwater wrote:

> Aditya Mahajan wrote:
>> <--- On Feb 22, andrea valle wrote --->
>>
>>> Ah,
>>> also $\rightarrow$ doesn't work
>>>
>>
>> I do not understand. Both $\rightarrow$ and $\to$ work fine for me.
>
> Same here, and I am clueless as to what could be wrong at andrea's.
>
> Good luck, Taco
>
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Capitalisation of titles in headers

2006-02-22 Thread Elliot Clifton
Hi,

I want to ensure that the titles displayed in the header always begin
with a capital letter regarless of any truncation with \nomarking..

I tried the following in my environment but it doesn't work:

\setupheadertexts[\Cap{\getmarking[Title][current]}][Author]

What should I use?

Thanks,

Elliot
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] $\to$: addendum

2006-02-22 Thread Taco Hoekwater
Aditya Mahajan wrote:
> <--- On Feb 22, andrea valle wrote --->
> 
>>Ah,
>>also $\rightarrow$ doesn't work
>>
> 
> I do not understand. Both $\rightarrow$ and $\to$ work fine for me.

Same here, and I am clueless as to what could be wrong at andrea's.

Good luck, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] $\to$: addendum

2006-02-22 Thread Aditya Mahajan
<--- On Feb 22, andrea valle wrote --->

> Ah,
> also $\rightarrow$ doesn't work
>

I do not understand. Both $\rightarrow$ and $\to$ work fine for me.


-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] $\to$: addendum

2006-02-22 Thread andrea valle
Ah,
also $\rightarrow$ doesn't work

-a-

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] $\to$ doesn't work anymore

2006-02-22 Thread andrea valle
Hi to all,

I've always used $\to$ to create arrows in my presentations. After last 
update I have an undefined control sequence arrow.
I can use $\rigtharrow$ but cannot understand...

Thaks
Best

-a-


Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] skipping parts in compiling

2006-02-22 Thread andrea valle
Thanks Mojca,
>

> If you mean "can I recompile only page 3 and 4 out of my 100-page book
> and get the whole document" that answer is no I think. But there are
> other ways.
>

I suspected.

-a-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Substack in Context

2006-02-22 Thread Aditya Mahajan
<--- On Jan 28, Taco Hoekwater wrote --->

> Aditya Mahajan wrote:
>>> The definition from m-newmat is at least partly superceded by the
>>> new core math definitions Hans added last week, so a new implementation
>>> would be better.
>>
>> Can you suggest something?
>
> Like this maybe?
>
> \def\substack#1%
>   {\begingroup
>\let\\\cr
>\startmathmatrix #1\stopmathmatrix
>\endgroup}
>
> Probably needs a bit of tweaking to make it look better
> (perhaps a [strut=no] parameter?).
>

<--- On Jan 28, Vit Zyka wrote --->

> What about use math primitive \atop:
>
> \def\substack#1%
>{\begingroup
> \let\\\atop
> #1
> \endgroup}
>


Sorry for not getting back for almost a month. Both suggestions work 
only partially. Consider

\startmathformula
  \sum_{%
\startmathmatrix
  i = 1 \NR i \neq n \NR i \neq m
 \stopmathmatrix
   }a_i
\stopformula

As Taco mentioned, the spacing is bad.

\atop gives correct spacing but you need to put subscripts in groups 
of two.

\startformula
   \sum_{ {i = 1 \atop i \neq n}\atop i \neq m } a_i
\stopformula

Moreover, the font size is incorrect in both cases. Compare with the 
size of the subscript in \sum_{i = 1}.

Any suggestions?

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] columns in framedtext

2006-02-22 Thread Hans van der Meer


On Feb 20, 2006, at 23:56, Hans Hagen wrote:

> Hans van der Meer wrote:
>> I had already experimented with simplecolumns, because these can be
>> placed within framed and at first did seem to do the trick.
>> But the problem I then encountered -- and could not see how to
>> correct that -- is balancing of the columns, both at normal
>> linespacing and with fixed lineskip.
>> The bottomline of the columns is not consistently comeing out  
>> straight.
>> It is then also difficult to get the whitespace above and below at
>> equal size.
>> Is there a solution?
>>
> actually, pdftex now has a feature to manipulate lineheights/depths  
> but i will start using that when i'm sure that this version of  
> pdftex is widely spreak

Thanks Hans. This remark pointed the way. It is so simple I nearly  
feel ashamed.
\startsimplecolumns can be forced to a neat straight bottomline just  
by setting a \baselineskip without stretch or shrink. I therefore did:
\baselineskip\bodyfontsize
\advance\baselineskip (dimension)
this extra space settable with [lineskip=dimension] in the calling  
command.

By the way, I did this work in order to implement into ConTeXt the  
LaTeX files of Dennis van Dok's recent article in the NTG MAPS "Jewel  
case listings for mp3 cdroms". If the code seems stable enough, I  
will make it available through Dennis.


yours sincerely,
dr. H. van der Meer


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] media wiki ConTeXt

2006-02-22 Thread PChot
On 22/02/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
Mojca Miklavec wrote:>> Jan, perhaps you weren't clear enough. I hope you don't mind if I> explain your question once more.>> Jan is setting up some server for student-to-student materials and
> integrated (most probably slightly fixed version of) WikiPDF into it> (http://aluno.no-ip.info/juca/index.php/WikiPDF). This makes a LaTeX> document out of wiki syntax and processes it to generate PDFs.
>> He was impressed by ConTeXt and wanted to:> 1.) integrate something similar to  command on contextgarden> while keeping  functionality (can be done in ConTeXt too, most
> probably no need to keep LaTeX)> 2.) perhaps change the mentioned WikiPDF to generate ConTeXt documents> -> PDF (perhaps that could be done via XML as well?)Interesting notion (the link helped a lot)
I would definately welcome a way to make ConTeXt documents fromwiki pages! :-)Cheers, TacoI'm working with main developer but at the moment is development on hold, because he have other things to do first.  
Firstly i would like to integrate Context in my wiki, like you have on www.contextgarden.net. I belive that Patrick is the man a need to ask. Than i would like to make back compatibility with 
Have a good day, Jan
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] media wiki ConTeXt

2006-02-22 Thread Taco Hoekwater


Mojca Miklavec wrote:
> 
> Jan, perhaps you weren't clear enough. I hope you don't mind if I
> explain your question once more.
> 
> Jan is setting up some server for student-to-student materials and
> integrated (most probably slightly fixed version of) WikiPDF into it
> (http://aluno.no-ip.info/juca/index.php/WikiPDF). This makes a LaTeX
> document out of wiki syntax and processes it to generate PDFs.
> 
> He was impressed by ConTeXt and wanted to:
> 1.) integrate something similar to  command on contextgarden
> while keeping  functionality (can be done in ConTeXt too, most
> probably no need to keep LaTeX)
> 2.) perhaps change the mentioned WikiPDF to generate ConTeXt documents
> -> PDF (perhaps that could be done via XML as well?)

Interesting notion (the link helped a lot)

I would definately welcome a way to make ConTeXt documents from
wiki pages! :-)

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] BibTeX and \placelistoffloats questions

2006-02-22 Thread Taco Hoekwater
Fabian Doerk wrote:
> Hi Taco,
> 
> 
>>>1. BibTeX xrefs: 
>>>   Is it possible to get interactive references (maybe even with
>>>   different colour than the global interaction color) from the \cite
>>>   command to the referring entry in the publicationlist working at the
>>>   moment? 
>>
>>What \cite style are you using? I can probably make something work
>>quickly for all but the authoryear(s) style(s).
> 
> I'am using the following setup and referring to the .bib file by \cite[key]:

I have two different solutions available:

% for the 'official version':
\def\dobibshort#1%
   {\addthisref{#1}\refsep
\doifbibreferencefoundelse{#1}{\goto{\getvalue{@@pbs}}[#1]}{??}}

% for the beta:
\def\dobibshortref#1%
   {\addthisref{#1}\refsep
\doifbibreferencefoundelse{#1}{\goto{\getvalue{pbds-#1}}[#1]}{??}}

Put one of these (or even both) in your environment, somewhere after
\usemodule[bib], and you should be set.

> Uhm, am i blind? Sorry, but i can't find the thread you mentioned (searched in
> the ml archives by the www.ntg.nl webfrontend). The only mail of Torge i've
> found is his reply to this thread. Btw. I can confirm his statement, we do not
> know each other (yet). ;)

Private email.

> Thanks, that worked just fine here! :) The red ones are wrong, i suppose, than
> i set the interactive color to blue (by setting the color argument). Thats why
> the rest is blue. Whats the difference of the "color" and the "contrastcolor"
> argument of \setupinteraction? Sounds semantically equal to me.

If I understand correctly, the 'contrastcolor' indicates a
nested/embedded link.

About those hyperlinks: it would normally be something like a chapter
number, and it would link back to the chapter head itself. In a
bibliography, it just points to itself, because the 'main reference'
is the item in the list. Maybe I can make a link back to the first
cited location. Would that make sense?

Cheers, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bib question

2006-02-22 Thread Patrick Gundlach
Taco,

>> the 6th entry. So, how do I get [1] both in the place where I cite
>> [knuth:texbook] and in the list of publications?
>
> [...]
>
>> \setuppublications
>>   [sorttype=cite,
>> refcommand=number,
>
> Make this line:
>   refcommand=num,

Thanks, that's it. I should have read 3.1) Cite options more
thoroughly.

Patrick

-- 
ConTeXt wiki and more: http://contextgarden.net
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context