From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: Hans Hagen via ntg-context <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: \jobname and \doifelse
Date: Sun, 6 Nov 2022 14:12:45 +0100 [thread overview]
Message-ID: <503476ee-d0b2-e56d-fc08-70cc0ba280e4@gmx.es> (raw)
In-Reply-To: <35b152e9-44ed-cacc-8e81-811eb91b347f@xs4all.nl>
On 11/6/22 11:21, Hans Hagen via ntg-context wrote:
> [...]
> More relevan tis that you'r on TeX where catcodes matter
> (here letter vs other)
>
> \doifelse{\inputfilebarename}{oeps}
> {yes}{no}
>
> \doifelse{\detokenize\expandafter{\jobname}}{\detokenize{oeps}}
> {yes}{no}
Many thanks for your explanation, Hans.
I think I have to start studying basic notions in TeX.
Many thanks for your help again,
Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2022-11-06 13:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-05 15:30 Pablo Rodriguez via ntg-context
2022-11-05 15:55 ` Wolfgang Schuster via ntg-context
2022-11-06 13:11 ` Pablo Rodriguez via ntg-context
2022-11-06 10:21 ` Hans Hagen via ntg-context
2022-11-06 13:12 ` Pablo Rodriguez via ntg-context [this message]
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=503476ee-d0b2-e56d-fc08-70cc0ba280e4@gmx.es \
--to=ntg-context@ntg.nl \
--cc=oinos@gmx.es \
/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).