ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* AW: Re: Answer too obvious?
@ 2003-09-04 14:07 "Höppner, Dierk"
  0 siblings, 0 replies; 3+ messages in thread
From: "Höppner, Dierk" @ 2003-09-04 14:07 UTC (permalink / raw)


Patrick,

I hope so, too. Thank's for looking into it.

Dierk

 
> It seems as if there is no way [1] to setup this kind of reference
> easily. 
> 
> 
> [1] this is probably wrong. I just can't find any obvious solution.
> Perhaps Hans sees this message and looks into his bag full of ConTeXt
> magic and reveals the magic spell.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AW: Re: Answer too obvious?
       [not found] <F15A23A5EBA5D411A38400D0B7B9EB5F015561D1@nts3040.tib.uni-h annover.de>
@ 2003-09-04 18:41 ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2003-09-04 18:41 UTC (permalink / raw)


At 16:07 04/09/2003 +0200, you wrote:
>Patrick,
>
>I hope so, too. Thank's for looking into it.


in cont-new.tex add: (after the \unprotect):

\unexpanded\def\referencepagenumber[#1]%
   {\doifelsenothing{#1}{?}
      {\preparepaginaprefix\??rf\paginaprefix\??rf[#1]\translatednumber[#1]}}

then in your doc:

\setupreferencing
   [partnumber=yes]

shpuld work (many other commands have thsi feature; somehow it got lost in refs

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* AW: Re: Answer too obvious?
@ 2003-09-04  9:19 "Höppner, Dierk"
  0 siblings, 0 replies; 3+ messages in thread
From: "Höppner, Dierk" @ 2003-09-04  9:19 UTC (permalink / raw)


Patrick,

> could you provide a minimal file?

here it comes. I could send to you directly my resulting PDF if that helps.

I use MikTex an fetched the full Context distribution from pragma. I also
followed the make steps mentioned in the readmes an installation
instructions.

Perhaps I missed some 'setup' things?

Greetings

Dierk

------------ 8< -------------
%% Do not care about the Umlauts. 
%% Der Teil-Titel soll angezeigt werden, ganz groß und mittig, auf einer
%% eigenen Seite
\setuphead[part]
    [placehead=yes,
    style=\tfd,
    alternative=middle,
    after=\page]
%% Hier fängt der Text an
\starttext

\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\setuppagenumber[number=1]

\completecontent

\stopfrontmatter

%% Haupttext
\startbodymatter

\setuppagenumbering[conversion=numbers]
\setuppagenumber[number=1]

\part[allgemeines]{Allgemeines}

\chapter{Grunds"atzliche Festlegungen}

blah blah blah

%% this should be referenced
\chapter[FarbenGrundsaetzlich]{Farben}

Auf den HTML-Seiten soll die Farbe der grafische Balken auf {\tt \#4A73A5}
enstspricht den Farben R=74, G=115 und B=165.

\part[formulare]{"Anderungen an den Formularen}

\chapter{Allgemeine Bemerkungen}

blah blah 

%% here is the reference
\chapter{Farben}

Die zu benutzende
Farbe findet man in \in{Kapitel}[FarbenGrundsaetzlich]
\atpage[FarbenGrundsaetzlich].

{\em What I want to have here is:}

Die zu benutzende
Farbe findet man in Kapitel 1-2 on page 1-3.

\stoptext

    vim: tw=75

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-04 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 14:07 AW: Re: Answer too obvious? "Höppner, Dierk"
     [not found] <F15A23A5EBA5D411A38400D0B7B9EB5F015561D1@nts3040.tib.uni-h annover.de>
2003-09-04 18:41 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2003-09-04  9:19 "Höppner, Dierk"

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).