ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: Re: \typefile not including file and returning success
Date: Wed, 21 Dec 2022 13:17:15 +0100	[thread overview]
Message-ID: <796dff7e-ef1f-7200-90c3-98e98efb8447@freedom.nl> (raw)
In-Reply-To: <20221217182744.74595121@homerow>

On 12/17/2022 6:27 PM, Marco via ntg-context wrote:
> On Sat, 17 Dec 2022 17:43:48 +0100
> Otared Kavian <otared@gmail.com> wrote:
> 
> Thanks for your quick reply.
> 
>> It seems that one can fool ConTeXt into typing a file without suffix
>> by giving the path to that file…
> 
> That works, I can confirm.
> 
>> \typefile{/Users/kavian/Context/essais/mkiv/bar-bis}
> 
> Hard-coded absolute paths in TeX files are something I avoid, but I
> assume that's just for demonstration here.
> 
>> \typefile{./bar-bis}
> 
> That works as well. It's a workaround at least.
> 
> But context returning success when it clearly doesn't include the
> file is unfortunate. The missing file might go completely unnoticed.
> I'd expect an error there.
The next upload will have:

\adddefaultsuffix[foo,{},crap]
\adddefaultsuffix[{}]

\typefile{./crapcrap}
\typefile{crapcrap}

which someone has to document on the wiki

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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 / 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
___________________________________________________________________________________

  reply	other threads:[~2022-12-21 12:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-17 15:06 Marco Patzer via ntg-context
2022-12-17 15:25 ` Otared Kavian via ntg-context
2022-12-17 15:47   ` Marco Patzer via ntg-context
     [not found]     ` <484EE253-BF9E-4E91-94B8-0D627F334606@gmail.com>
2022-12-17 17:27       ` Marco via ntg-context
2022-12-21 12:17         ` Hans Hagen via ntg-context [this message]
2022-12-21 13:03           ` Marco Patzer via ntg-context
2023-02-21 13:12           ` Marco Patzer via ntg-context
2022-12-17 18:41   ` skyhorse--- via ntg-context
2022-12-17 19:39     ` Marco Patzer via ntg-context

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=796dff7e-ef1f-7200-90c3-98e98efb8447@freedom.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@freedom.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).