... Thanks, Wolfgang. Lukas
On Thu, 14 Oct 2010 22:43:44 +0200, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
context.typefile( { default }, MyFile.txt )
Wolfgang
___
If your question is of
Am 2010-10-14 um 15:57 schrieb Hans Hagen:
(for module writers)
The latest beta gives access to modes at the lua end
Wikified (unmodified):
http://wiki.contextgarden.net/Modes#Modes_in_LuaTeX
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
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:
\typefile[default][lines={10}]{a_file.txt} % Start at line 10
Am 15.10.2010 07:16, schrieb Peter Münster:
On Thu, Oct 14 2010, Peter Rolf wrote:
Nice to have. Is this also possible from the lua side?
Hello,
Perhaps with the img library of luatex (see luatex manual).
Thanks Peter! Stupid me haven't thought about the luatex manual.
local f =
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
Ok so after reading the source code of strc-des.mkiv, I found that
contrary to earlier documentation such as
http://www.ntg.nl/maps/36/09.pdf
it is not the 'number' parameter that should be used to share
numbering but the 'counter' parameter. After fixing that in my code,
theorems now have
Hi,
I just noticed that there is an extra space after the booktitle and before ',
pages' in the publicationlayout inproceedings in the english APA bibliography
style.
Here is a suggested patch:
--- texmf-context/tex/context/bib/bibl-apa.tex.orig 2009-01-05
15:03:34.0 +0100
+++
Hi,
in BibTeX databases ranges of numbers are usually listed with a single dash
(e.g. 3-7) for compatibility reasons. Therefore the standard BibTeX styles
convert a single dash in page numbers or range of numbers to a double dash
(3--7). How do I get the same behaviour for \volume \issue
Am 15.10.2010 um 10:20 schrieb Mathieu Boespflug:
Ok so after reading the source code of strc-des.mkiv, I found that
contrary to earlier documentation such as
http://www.ntg.nl/maps/36/09.pdf
it is not the 'number' parameter that should be used to share
numbering but the 'counter'
Hi all,
Today I wanted to use the command \date[d=15,m=10,y=2010][weekday].
It gives Friday as it should. However
\date[d=2,m=1,y=2011][weekday] gives the same result which is wrong
(it's a Sunday). In fact, whatever the supplied date, it gives
Friday. I guess the parameter isn't taken into
On Fri, Oct 15 2010, Cedric Mauclair wrote:
Today I wanted to use the command \date[d=15,m=10,y=2010][weekday].
It gives Friday as it should. However
\date[d=2,m=1,y=2011][weekday] gives the same result which is wrong
(it's a Sunday). In fact, whatever the supplied date, it gives
Friday. I
I use the minimal from 3 days ago.
Here is what I do actually.
\def\mydate{\doifnextcharelse\space\domydate\domydate }
\def\domydate #1/#2/#3{\date[d=#1,m=#2,y=#3][weekday,day+,month,year]}
\mydate 2/1/2011 -- Friday 2 january 2011
\date[d=2,m=1,y=2011][weekday,day+,month,year] -- Sunday 2
On Fri, Oct 15 2010, Cedric Mauclair wrote:
Any ideas?
Test file:
\def\mydate{\doifnextcharelse\space\domydate\domydate }
\def\domydate #1/#2/#3{\date[d=#1,m=#2,y=#3][weekday,day+,month,year]}
\starttext
\mydate 2/1/2011 \par % token #3 = 2
\mydate 2/1/2 \par % token #3 = 2
\mydate
Right, I forgot about the catcodes. Thank you.
-- Cédric
On Fri, Oct 15, 2010 at 15:37, Peter Münster pmli...@free.fr wrote:
On Fri, Oct 15 2010, Cedric Mauclair wrote:
Any ideas?
Test file:
\def\mydate{\doifnextcharelse\space\domydate\domydate }
\def\domydate
Thank you, it's almost working. I am making use of projects, products,
environments and components.
My \usemodule[ruby] sits in my environment file, but I'm using the \ruby
command down in the component file. The environment is only called in
the project file, but the component links back to the
Wow, thank you very much for your fix, Wolfgang! I can confirm that it
works. I hope this fix makes it into the next beta?
Abount documenting these extra parameters that \setupenumerations has
over \setupdefinitions, I figure that I should contribute that to the
wiki. But I wonder, how does this
But I wonder, how does this kind of user generated documentation
on the wiki get synchronized with the ConTeXt Reference manual hosted
at Supelec?
How do you think? There are little dwarves collecting the data and doing
semantic analysis on it in order to update the reference manual
I confess, I hadn't considered anything quite so bold as reading the whole
of the text into Lua and then processing it back out. I suppose I was
expecting one of the true TeXperts to offer suggestions involving
\appendtoks ... \to \everypar.
I also realized that I forgot to mention that I want to
On Fri, 15 Oct 2010, Mathieu Boespflug wrote:
Ok so after reading the source code of strc-des.mkiv, I found that
contrary to earlier documentation such as
http://www.ntg.nl/maps/36/09.pdf
it is not the 'number' parameter that should be used to share
numbering but the 'counter' parameter.
On Mon, 4 Oct 2010, Shishir Kumar wrote:
I am a PhD student and am starting on writing my thesis. I have looked
at Aditya's and The Thanh's thesis, and they are very nice.
Unfortunately, I could not find the sources for these. Does anybody
know if they are available somewhere? It would be nice
When a figure is placed, but this figure size is much smaller than the
textwidth, the caption length will adjust after the figure size.
\placefigure
[][fig:xxx]
{}
{\externalfigure[xxx]}
when set the figure size to an arbitrary size, the caption length will also
25 matches
Mail list logo