ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <gip.bilotta@iol.it>
Cc: ntg-context@ntg.nl
Subject: Re[3]: What has become of X-Desc?
Date: Sun, 28 Jul 2002 23:48:39 +0200	[thread overview]
Message-ID: <618772132.20020728234839@iol.it> (raw)
In-Reply-To: <154339375.20020728222534@beeger.net>

Sunday, July 28, 2002 Robert F. Beeger wrote:

RFB> Hello Giuseppe,

RFB> Sunday, July 28, 2002, 7:18:39 PM, you wrote:
GB>> Ok, I just forgot to upload the new version when I was done ...
GB>> it's there now :)

RFB> Thanks! But (there's always a but :) ) it does not seem to work for
RFB> me.
RFB> I copied the files in the zip to my texmf-dir and copied xdesc.pm also
RFB> to my TexLive/bin/win32-dir.

RFB> In my tex-file I have :
RFB> \starttemplate[epigraph][normal]
RFB>   \setupframedtexts[frame=off, 
RFB>                     leftframe=on, 
RFB>                     rightframe=on, 
RFB>                     rulethickness=2pt,
RFB>                     framecolor=darkgreen,
RFB>                     backgroundcolor=lightgray,
RFB>                     align=right,
RFB>                     width=13cm]
RFB>   \startframedtext[right]
RFB>   {\ix
RFB>   {\sl \getslot{content}}
RFB>   \blank
RFB>   \rightaligned{--- \getslot{author} : {\sl \getslot{work}}}}
RFB>   \stopframedtext
RFB> \stoptemplate
RFB> \selecttemplate[epigraph][normal]

RFB> \epigraph[button][author={James Blish}, work={Cities in Flight}]
RFB>   {\language[en] He touched the button over his heart. Creation began}

RFB> Now pdfetex complains:

[snip]

RFB> ! Undefined control sequence.
RFB> l.81 \epigraph
RFB>               [button][author={James Blish}, work={Cities in Flight}]
RFB> ?

Did you give a

\defineextendeddescription[epigraph][epigraphs][author,work]

before that?

Does it work with \startepigraph ... \stopepigraph?

RFB> I found out that the modules that come bundled with ConTeXt are
RFB> referenced like so
RFB> use cont_set ;
RFB> So I thought xdesc.pm probably needs to be included in a similar way.
RFB> When I put a use xdesc; into texutil.pl it had no effect. When I put
RFB> it into texexec.pl, Perl complained :
RFB> Can't locate xdesc.pm in @INC (@INC contains: D:/Perl/lib D:/Perl/site/lib .) at
RFB>  d:\TeXLive\bin\win32\texexec.pl line 39.
RFB> BEGIN failed--compilation aborted at d:\TeXLive\bin\win32\texexec.pl line 39.
RFB> I put xdesc.pm in D:/Perl/lib and had again the situation from the
RFB> beginning.

There is no need to patch texutil. It should automatically load
the modules. The error occurs before texexec can get to the second
pass, it's a TeX-side problem.

-- 
Giuseppe "Oblomov" Bilotta


  reply	other threads:[~2002-07-28 21:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-28 10:39 Robert F. Beeger
2002-07-28 17:18 ` Giuseppe Bilotta
2002-07-28 20:25   ` Re[2]: " Robert F. Beeger
2002-07-28 21:48     ` Giuseppe Bilotta [this message]
2002-07-28 22:03       ` Re[4]: " Robert F. Beeger
2002-07-29  8:26         ` Re[5]: " Giuseppe Bilotta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=618772132.20020728234839@iol.it \
    --to=gip.bilotta@iol.it \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).