From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \input file with parameter ?
Date: Fri, 20 Mar 2009 14:28:30 +0100 [thread overview]
Message-ID: <fe8d59da0903200628l3d0a502dv2b5250678b7660b1@mail.gmail.com> (raw)
In-Reply-To: <49C396E5.8020301@wxs.nl>
On Fri, Mar 20, 2009 at 2:15 PM, Hans Hagen <pragma@wxs.nl> wrote:
> luigi scarso wrote:
>>
>> Hi
>> today , while writing some code I have made a mistake like this
>> \input combine[file=depliant-block.pdf]
>> instead of
>> \input combine
>>
>> (I have combine.tex in my path of course)
>>
>> After a while I have thought :
>> "Is it possibile to implement this (as a macro) in mkiv ?"
>
> parsing of \input is somewhat special as the name has to be delimited by a
> space or unexpandable token
ok
>
> i dunny, but is some weird syntax you're proposing
just curiosity ,
(btw curiosity killed the cat)
>
>> (Of course, on can write things like
>> \Input[style=combine, file=fo] and so on)
>
> indeed, or \loadfile[...] depending on your needs
hmm, grepping for \loadfile gives nothing
(but I'm using a rather old context , contextversion : 2008.10.31 13:58 )
--
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2009-03-20 13:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-20 13:11 luigi scarso
2009-03-20 13:15 ` Hans Hagen
2009-03-20 13:28 ` luigi scarso [this message]
2009-03-20 13:43 ` Hans Hagen
2009-03-20 13:54 ` luigi scarso
2009-03-20 13:17 ` Wolfgang Schuster
2009-03-20 13:19 ` luigi scarso
2009-03-20 13:25 ` Wolfgang Schuster
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=fe8d59da0903200628l3d0a502dv2b5250678b7660b1@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--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).