Thank you, Wolfgang, this works better.
Actually I need to use '%' in the condition and that fails:
---
...
\startrawsetups layer
% The value of 'n' is used here to set the appropriate background,
% = n-th page of a PDF, and also to draw a filled rectangle on
% the left or right side (depe
Hello,
a weird thing happens when setting up layers - I'm getting different results
depending on whether setup is performed by native Ctx code or by Lua:
---
\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[page]
\definelayer[T][x=10mm,y=0mm]
\startuseMPgraphic{VerticalRule}
draw (0
Thanks you, Hans, -
On Tue, 25 Jan 2011 09:33:04 +0100, Hans Hagen wrote:
On 25-1-2011 8:44, Wolfgang Schuster wrote:
\startsetups layer
% In my real code (= not in this example)
% the value of 'n' is used here to set the appropriate background,
% = n-th page of a PDF, and also to draw
On Tue, 25 Jan 2011 16:31:24 +0100, Hans Hagen wrote:
i have a patch now that handles
\setupbackgrounds[page][setups=S1,background={T}]
\setupbackgrounds[page][setups=lua(S2),background={T}]
\setupbackgrounds[page][setups=S3,background={T}]
\setupbackgrounds[page][setups={S1,lua(S2
Dear Mojca,
On Wed, 26 Jan 2011 22:32:34 +0100, Mojca Miklavec
wrote:
So if you thought this would be useful (actually it may depend on whether an
explicit 'mtxrun --generate' after update is necessary what I don't know -
It *is* necessary if some new files appear. The problem was that
usua
Hello,
how to test by Lua whether a Ctx buffer exists?
---
\startbuffer[A]
Aaa aaa
\stopbuffer
\starttext
\getbuffer[A]
Test
%\getbuffer[NonExisting]
Vvv
\stoptext
---
To get something like 'context.buffers.A' -> no-nil and
'context.buffers.NonExisting' -> nil?
Best regards,
Lukas
On Fri, 28 Jan 2011 16:29:03 +0100, Mojca Miklavec
wrote:
2011/1/28 Procházka Lukáš Ing. - Pontex s. r. o. :
- But I'm wondering about why 'mtxrun' doesn't find the 'context.lua' today
although it did yesterday.
(I forgot to notice that the computer was powe
Hello,
thanks Aditya, \placefigure does the job:
- multiple paragraphs flow the picture - OK,
- heads may flow the picture as well ("\setupheads[aligntitle=float]" required)
- OK,
- "tabulate" is still drawn over the picture, but it doesn't cause jumping to the bottom
of the picture - useful
Hello,
still some problems inserting a "tabulate" next to the picture (to be flowed
around) - see the case study:
- Case 1:
There is some (unwanted) space bellow the picture which is not occupied by the surrounding text. It
seems the height of "tabulate" is added bellow the picture and create
Hello,
the \em statement being placed as the first command of a paragraph to flow
around a \placefigure seems to SCRATCH the figure instead of to flow around
(bug?). See the minimal example:
---
\starttext
\placefigure
[left,none]
{}
{ \startMPcode
draw (0,0)--(6cm,6cm);
Hello,
sorry for repeating this topic, maybe it's not too attractive.
Please, have a look to the following problem.
I wonder why the behaviour described bellow occurs and how to typeset a paragraph
starting with some text enclosed into {\em ...} group inside the "free" area
formed (affected)
... Thanks for the answers.
I'm familiar with using \dontleavehmode when needing to keep a figure
midaligned; I had no idea that this would be a similar situation (and solution).
Best regards,
Lukas
On Fri, 25 Feb 2011 09:37:40 +0100, Wolfgang Schuster
wrote:
Am 25.02.2011 um 09:16 schr
Hello,
maybe already questioned in the past, but I cannot find the answer:
How to change the numbering style for a particular head (e.g. section) from
numbers (1, 2...) to letters (A, B...) - which option and value
(http://wiki.contextgarden.net/Reference/en/setuphead)?
Thank you in advance.
Hello,
thank you for the piece of code.
\definestructureconversionset[myconversion][numbers,Characters][numbers]
\setupheads[sectionconversionset=myconversion]
Could you describe the meaning of the second and the third parameter? I found
only this on wiki (http://wiki.contextgarden.net/Table
Hello,
what exactly should the "ownnumber=yes|no" option do in \setuphead?
The following code crashes Ctx:
---
%\setuphead[subsection][number=no] % OK
\setuphead[subsection][ownnumber=yes] % ERROR
\starttext
\chapter{Ch1}
\section{Sec1}
\subsection{SSec1}
\stoptext
---
Is it possi
... Works perfectly, thanks a lot!
Lukas
what exactly should the "ownnumber=yes|no" option do in \setuphead?
It disables the automatic numbering to allow you set your own number.
\definehead[topic][section]
\setuphead [topic][ownnumber=yes]
\starttext
\section{Section}
\topic{3}{Topic}
\st
Hello,
I'm new to ConTeXt; I've been working with LaTeX but I'd like to try ConTeXt
due to some reasons.
The question is -
- is there a manual, web site or something where comparison of LaTeX/ConTeXt
packages/modules would be done?
I'm interested how to include a part of a text file and how
... OK, thanks to all for the answers.
I'll keep on trying.
Lukas
On Mon, 29 Mar 2010 18:45:38 +0200, Mojca Miklavec
wrote:
2010/3/29 Procházka Lukáš Ing. - Pontex s. r. o. wrote:
- is there a manual, web site or something where comparison of LaTeX/ConTeXt
packages/modules would be
Hello,
my opinion is that ConTeXt including capitalization of some preselected letters
is OK.
Imagine - how new mode of work brings ConTeXt (and other TeX family) to someone
who knows only or has been working with Word before!
If it's to much to someone to remember correct "ConTeXt" writing (
701 - 719 of 719 matches
Mail list logo