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
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
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
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