On 10/27/11 13:05, Hans Hagen wrote:
With “tex.dimen[…]” you get the value in scaled points but
util-dim.lua provides some functions to convert the value in points,
centimeter etc.
\starttext
\startluacode
context.blackrule{ width = number.topoints(tex.dimen[textwidth]/2) }
\stopluacode
On Fri, Oct 28, 2011 at 8:23 AM, Thomas A. Schmitz
thomas.schm...@uni-bonn.de wrote:
On 10/27/11 13:05, Hans Hagen wrote:
With “tex.dimen[…]” you get the value in scaled points but
util-dim.lua provides some functions to convert the value in points,
centimeter etc.
\starttext
\startluacode
On Fri, Oct 28, 2011 at 8:37 AM, luigi scarso luigi.sca...@gmail.com wrote:
soryy, typos
number.topoints(tex.dimen[textwidth]/2) gives XYZ.ABSpt
number.topoints(tex.dimen[textwidth]/2) gives XYZ.ABCpt
TeX reads XYZ.ABC.pt and convert to xyzsp and drops sp
TeX reads XYZ.ABCpt and convert to
context.blackrule{ width = number.topoints(tex.dimen[textwidth]/2) }
or just tex.dimen[textwidth]/2 .. sp
Wait, just so I understand: your solution would imply that
tex.dimen[textwidth] holds a number, not a dimension, right? (Because you
simply concatenate it with a dimension
On 10/28/11 08:44, Patrick Gundlach wrote:
context.blackrule{ width = number.topoints(tex.dimen[textwidth]/2) }
or just tex.dimen[textwidth]/2 .. sp
Wait, just so I understand: your solution would imply that
tex.dimen[textwidth] holds a number, not a dimension, right? (Because you
Am 28.10.2011 um 08:55 schrieb Thomas A. Schmitz:
Luigi, Patrick,
thanks for your explanations! The point of my question was: can I feed the
content of tex.dimen[textwidth] directly back to TeX, and the answer to
this appears to be no; you need to add some unit to it (otherwise, you get
Hi Thomas,
thanks for your explanations! The point of my question was: can I feed
the content of tex.dimen[textwidth] directly back to TeX, and the
answer to this appears to be no; you need to add some unit to it
(otherwise, you get an error message). Which was a bit confusing to me
at first,
On 28-10-2011 10:35, Wolfgang Schuster wrote:
Am 28.10.2011 um 08:55 schrieb Thomas A. Schmitz:
Luigi, Patrick,
thanks for your explanations! The point of my question was: can I feed the content of
tex.dimen[textwidth] directly back to TeX, and the answer to this appears to be no;
you need
The title page of a book of notes contains
{\tfe This is the title of my book}
where I have previously defined
\definebodyfont[10pt,11pt,12pt][rm][tfe=Bold at 32pt]
However, the title is long and is broken into two lines, which are squashed
together vertically. How can I ensure that \tfe uses
On 10/28/11 12:18, Alasdair McAndrew wrote:
How can I ensure that \tfe uses more interline space?
by adding a \par at the end.
Thomas
___
If your question is of interest to others as well, please add an entry to
Thanks, but it doesn't work:
{\tfe This is the title of my book\par}
still gives vertically squashed text.
-Alasdair
On Fri, Oct 28, 2011 at 9:19 PM, Thomas A. Schmitz
thomas.schm...@uni-bonn.de wrote:
On 10/28/11 12:18, Alasdair McAndrew wrote:
How can I ensure that \tfe uses more
On 10/28/11 12:37, Alasdair McAndrew wrote:
Thanks, but it doesn't work:
{\tfe This is the title of my book\par}
still gives vertically squashed text.
Which means you should probably provide a complete example.
Thomas
Am 28.10.2011 um 12:18 schrieb Alasdair McAndrew:
The title page of a book of notes contains
{\tfe This is the title of my book}
{\tfe\setupinterlinespace …\par}
where I have previously defined
\definebodyfont[10pt,11pt,12pt][rm][tfe=Bold at 32pt]
However, the title is long and is
Yes, that works fine - thanks very much!
-Alasdair
On Fri, Oct 28, 2011 at 9:41 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 28.10.2011 um 12:18 schrieb Alasdair McAndrew:
The title page of a book of notes contains
{\tfe This is the title of my book}
On 10/28/11 10:56, Hans Hagen wrote:
Just switch to philosopher mode for a while and ask yourself what
implications that would have in the rather fuzzy world of printing.
What is a 'real' dimension? What we call points (pt) is in other
application also called points but happens to be basepoints
On Fri, Oct 28, 2011 at 10:56 AM, Hans Hagen pra...@wxs.nl wrote:
Hi Thomas,
thanks for your explanations! The point of my question was: can I feed
the content of tex.dimen[textwidth] directly back to TeX, and the
answer to this appears to be no; you need to add some unit to it
(otherwise,
i.e it's a Lua number -- a floating point.
So a kind of conversion can happen between a floating point and a sp
number (which has a limited range)
Of course Lua has its routines, but probably they differs from TeX
If I recall correctly, both use 32 bits, but if you extend to lets say
48 bit
Hello,
I have a project where I think ConTeXt really fits well, so I have a first
question (after a looong period of absence). Is there a recommended table
environment? I give an example in the attached PDF. What I need:
* have influence on the column width (2 columns, both same size)
*
Dear ConTeXt-ers,
in the following days we will piecewise move parts of old server to a
new machine (this will happen once again, but this time it might be
slightly more dramatic change). Thus I would like to ask you to be
patient if something stops working.
The wiki has already been moved, so
Am 2011-10-27 um 18:31 schrieb Aditya Mahajan:
Personally, I am not a big fan of garden based analogy. I think that
the advertisement should be of ConTeXt (with link to context garden)
rather than of Contextgarden.
Mojca asked for a contextgarden ad, not a generic ConTeXt ad.
Am
Am 2011-10-27 um 19:29 schrieb Hans Hagen:
On 27-10-2011 18:31, Aditya Mahajan wrote:
My vote is for something alone the lines of this year's graphic for
the
context meeting.
Attached. Maybe I should commission Duane for a couple of small
context lions so that we have some variation.
On Fri, Oct 28, 2011 at 15:23, Henning Hraban Ramm wrote:
Am 2011-10-27 um 18:31 schrieb Aditya Mahajan:
Personally, I am not a big fan of garden based analogy. I think that the
advertisement should be of ConTeXt (with link to context garden) rather than
of Contextgarden.
Mojca asked for a
Hi,
I uploaded a new beta. The biggest new thing is that there is yet
another table mechanism: extreme tables. There is a manual too:
http://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf
It says in the introduction:
This is a short introduction to yet another table mechanism built
in
On 28-10-2011 15:47, Mojca Miklavec wrote:
PS: It is a pitty that Taco didn't send you the original high
The scanning happened here, so I have the several resolution scans on my
machine. On the other hand, you don't want too large images on a wiki
(and there's also the issue of limiting the
On 10/28/11 16:24, Hans Hagen wrote:
I uploaded a new beta. The biggest new thing is that there is yet
another table mechanism: extreme tables.
Extreme tables - be careful, leave yourself some room for the next
iteration; you might run out of superlatives. What will be next:
supermongous
On 28-10-2011 16:46, Thomas A. Schmitz wrote:
On 10/28/11 16:24, Hans Hagen wrote:
I uploaded a new beta. The biggest new thing is that there is yet
another table mechanism: extreme tables.
Extreme tables - be careful, leave yourself some room for the next
iteration; you might run out of
On Fri, Oct 28, 2011 at 5:07 PM, Hans Hagen pra...@wxs.nl wrote:
On 28-10-2011 16:46, Thomas A. Schmitz wrote:
On 10/28/11 16:24, Hans Hagen wrote:
I uploaded a new beta. The biggest new thing is that there is yet
another table mechanism: extreme tables.
Extreme tables - be careful, leave
The only remaining problem is photoshoping the image to remove 2011
and Belgium if we want to create a generic add.
Here you are:
http://wiki.contextgarden.net/File:context_castle_2011.png
Can you add wiki in the same style as ConTeXt from the space where
2011 was removed?
Aditya
On 27-10-2011 11:45, Alan Braslau wrote:
\usemodule[graph]
\starttext
\startMPcode
draw unitsquare scaled 1cm;
\stopMPcode
\stoptext
fixed in next upload
--
-
On 28-10-2011 14:25, Patrick Gundlach wrote:
Hello,
I have a project where I think ConTeXt really fits well, so I have a first
question (after a looong period of absence). Is there a recommended table
environment? I give an example in the attached PDF. What I need:
* have influence on the
On Fri 28 Oct 2011, Patrick Gundlach wrote:
I have a project where I think ConTeXt really fits well, so I have a
first question (after a looong period of absence). Is there a
recommended table environment?
Indeed there is -- see http://wiki.contextgarden.net/Tables_Overview :
* Tabulate
Am 2011-10-28 um 18:07 schrieb Aditya Mahajan:
The only remaining problem is photoshoping the image to remove 2011
and Belgium if we want to create a generic add.
Here you are:
http://wiki.contextgarden.net/File:context_castle_2011.png
Can you add wiki in the same style as ConTeXt from the
On 27-10-2011 11:22, Stefan Goßrau wrote:
thanks for your answer Hans.
Now i found some examples. Bot for me it doesnt work. I tried the documents in
http://minimals.contextgarden.net/current/context/test/doc/context/tests/mkiv/tags/
but there are no spaces between words in reflow-mode.
I am
33 matches
Mail list logo