2010/10/15 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
Hello,
I'd need to \typefile a file from n-th line (= ignoring first n-1 lines).
Is there such an option for \typefile macro?
(http://wiki.contextgarden.net/Reference/en/typefile is silent.)
I tried:
Am 2010-10-15 um 09:16 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
I'd need to \typefile a file from n-th line (= ignoring first n-1
lines).
\typefile[default][start=10]{a_file.txt} % Start at line 10
According to older ML messages and the source, \typefile[start=10]
should work.
On Fri, Oct 15 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
I'd need to \typefile a file from n-th line (= ignoring first n-1 lines).
\starttext% 1
\typefile[range=3]{test.tex} % 2
bla % 3
bla % 4
Hello, it doesn't seem to work.
Let's have t-TypeF2.mkiv with the following content:
---
\setuptyping[default][bodyfont=small,style={\ttx\setupinterlinespace}] % 1
% 2
\starttext % 3
\typefile[default][start=4]{t-TypeF2.mkiv} % = This file; 4
... Yes, thanks, that's it:
\typefile[default][range={3,5}]{t-TypeF2.mkiv} % If also the upper limit is to
be specified
Regards,
Lukas
On Fri, 15 Oct 2010 10:09:13 +0200, Peter Münster pmli...@free.fr wrote:
On Fri, Oct 15 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
I'd need to