![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
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 ?" I think yes, but I'm not sure (Of course, on can write things like \Input[style=combine, file=fo] and so on) -- luigi
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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
I think yes, but I'm not sure
i dunny, but is some weird syntax you're proposing
(Of course, on can write things like \Input[style=combine, file=fo] and so on)
indeed, or \loadfile[...] depending on your needs ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Fri, Mar 20, 2009 at 2:15 PM, Hans Hagen
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
luigi scarso wrote:
indeed, or \loadfile[...] depending on your needs
there is no \loadfile but there are many other variants -) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 20.03.2009 um 14:11 schrieb luigi scarso:
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 ?"
I think yes, but I'm not sure
(Of course, on can write things like \Input[style=combine, file=fo] and so on)
And what is this supposed to do? Wolfgang
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Fri, Mar 20, 2009 at 2:17 PM, Wolfgang Schuster
Am 20.03.2009 um 14:11 schrieb luigi scarso:
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 ?"
I think yes, but I'm not sure
(Of course, on can write things like \Input[style=combine, file=fo] and so on)
And what is this supposed to do?
save the world ? -- luigi
participants (3)
-
Hans Hagen
-
luigi scarso
-
Wolfgang Schuster