On 2012-07-26 Bill Meahan wmeaha...@gmail.com wrote:
Hi Bill,
it's a typo:
\stopmakup
\stopmakeup
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
On 2012-07-30 Steffen Wolfrum cont...@st.estfiles.de wrote:
Hi Steffen,
Any idea where this attr2 comes from, and how to get rid of it??
Sorry, no clue.
Second question: how can I add a separator, like this:
a) Test one 47– b) Test two 51
\setuplist
[section]
On 2012-07-31 Martin martin.alth...@yahoo.com wrote:
Hi Martin,
The footnote numbers turn red(ish) as soon as \setupinteraction is present.
Is that intended?
Yes, it is. There is a special setting, when the link appears on the
same page, it's contrastcolor.
\setupinteraction
On 2012-07-31 Martin Althoff martin.alth...@yahoo.com wrote:
With the definition, as you give it, the footnote numbers at the
bottom of the page turn green, but the ones in the text remain
black.
Not here with 2012.07.27 16:41. Which context version are you
running?
Marco
Hi,
how can I adjust the left margin of the output of the vim module?
The core typing mechanism implements a “margin” key for this. The
vim output also does not react to the “leftoffset” setting of the
background mechanism.
\usemodule [vim]
\definetextbackground [code]
[location=paragraph,
On 2012-08-01 Aditya Mahajan adit...@umich.edu wrote:
I'll add a margin key to vim module (but not the oddmargin and
evenmargin keys; they would require a complete low-level rewrite
of the module).
Thanks a million. That was fast :)
The dev version on github now includes a margin key,
On 2012-08-02 Mari Voipio mari.voi...@iki.fi wrote:
Hi Mari,
I'm being a bit clueless about the MPgraphics again...
Read http://wiki.contextgarden.net/Metapost and 3.3 Integrated
Graphics in the MetaFun Manual.
Any ideas of how to do this in a smart way? Preferably without having
to go into
On 2012-08-02 Jan Pohanka xhpoha...@gmail.com wrote:
Hi Jan,
\def\myheading#1#2{%
#1 #2}
\define[2]\myheading{%
#1 #2}
Also interesting in this context:
http://article.gmane.org/gmane.comp.tex.context/77610
Marco
Hi Robert,
\starttext
See \in{section}[sec:foo] on \at{page}[sec:foo]
or the text on \at{page}[ref:a].
\page
\startsection [title=Foo, reference=sec:foo]
\stopsection
\page
Some text\reference[ref:a]
\stoptext
Marco
The following example throws a LuaTeX error:
\starttext
\showhyphens{foolish bartender}
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
On 2012-08-30 Malte Stien ma...@stien.de wrote:
Hi Malte,
1. The top left cell is divided in two by a diagonal line with
separate text into each triangle
This should get you started:
http://article.gmane.org/gmane.comp.tex.context/67721
2. Another cell in the table body has a bulleted list
Hi,
in the following example the AAAs disappear. Column sets without
float and floats without column sets work fine.
\definecolumnset [Columns] [n=2]
\starttext
\startcolumnset [Columns]
AAA
\startplacefigure [title=Some figure]
\stopplacefigure
BBB
\stopcolumnset
\stoptext
Hi Malte,
1. The top left cell is divided in two by a diagonal line with
separate text into each triangle
This should get you started:
http://article.gmane.org/gmane.comp.tex.context/67721
That solution is very hackish and the result ugly. Here is a more
clean solution. It has (at
Hi,
the subfootnote feature is broken or changed the interface. Is there
a workaround or fix?
\starttext
Alpha\footnote{alpha}
Beta\subfootnote{beta}
\stoptext
Marco
___
If your question is of interest to
Hi,
moving the page number into the edge in the following way seems
straightforward, but fails. “edge” is not recognised as “margin” or
“header” is. I wonder why.
Is this intended or am I misusing the command?
\setuplayout
[backspace=5cm,
width=10cm,
edge=1cm]
\setuppagenumbering
Hi,
how do I include the chapter number in the figure numbering?
The following example used to produce (as of November 2011) “Figure 1.1”.
A current beta yields merely “Figure 1”.
\starttext
\startchapter [title=Foo]
\startplacefigure [title=Bar]
\stopplacefigure
\stopchapter
On 2012-09-04 Sietse Brouwer sbbrou...@gmail.com wrote:
Hi Sietse,
how do I include the chapter number in the figure numbering?
Untested:
\setupcaptions[prefixsegment=chapter]
This works with beta 2011-11-29, but unfortunately not in a current
one. Does it work for you?
Marco
On 2012-09-04 Jeong Dalyoung hak...@me.com wrote:
Hi Jeong,
\startchapter[title=Test] is working inside \starttext and \stoptext.
But it is not working inside \startcomponent and \stopcomponent.
Is it a natural behavior?
Yes. \startcomponent expects an argument.
\startcomponent
On 2012-09-04 Rogers, Michael K mrog...@emory.edu wrote:
Hi Rogers,
I think the key name is plural, and you need to turn on prefixes.
\setupcaptions[prefix=yes,prefixsegments=chapter]
Thanks, that works. I updated the wiki.
Marco
Hi,
I discovered strange behaviour concerning Lua conditionals within
texdefinitions.
ConTeXt complains: 'then' expected near 'thenelseend'.
I guess it has something to do with how the content of a
texdefinitions is grabbed. Seems like a bug or is this by design?
% This works fine
Hi,
the luacode environment chokes on macro names with underscores.
Example:
\starttext
\unprotect
\def\number_two{two}
\startluacode
userdata = userdata or { }
function userdata.number_one() context(one) end
-- works
userdata.number_one()
-- fails
-- context.number_two()
--
Hi,
please have a look at the following example:
\starttext
\def\cmd{%
\def\mymacro{Foobar}
\newtoks\mytoks
\mytoks={mytoks}}
\startluacode
context.cmd()
context.mymacro()
-- this fails
-- context(tex.toks.mytoks)
\stopluacode
-- this works
\startluacode
On 2012-09-04 Aditya Mahajan adit...@umich.edu wrote:
Hi Aditya,
Instead of
context(tex.toks.mytoks)
use
context(function () context(tex.toks.mytoks) end)
See the ConTeXt Lua Document manual for explanation.
Thanks. This works indeed. But what to do in the following
case?
On 2012-09-04 Martin Schröder mar...@oneiros.de wrote:
Hi Martin,
http://tracker.luatex.org/view.php?id=682
It seems that I just hit a very hard to solve issue which needs
not yet available support from the luatex side.
Patricks solution seems not very practical and error prone, so I
settled
On 2012-09-04 Wolfgang Schuster wolfgang.schus...@gmail.com wrote:
Is there a good reason why you put \newdimen because dimen/count
etc. registers should always be defined once.
The definitions are not in a macro, they are defined at the top of
the file. I messed around while creating a
On 2012-09-04 Wolfgang Schuster wolfgang.schus...@gmail.com wrote:
Why does adding semicolon not work?
Do you have a example?
\starttext
\startluacode
if true then;
context(true)
else;
context(false)
end
\stopluacode
\stoptext
Marco
On 2012-09-04 Wolfgang Schuster wolfgang.schus...@gmail.com wrote:
What prevents you from setting the dimen value in Lua?
Some background:
The code is part of a smarter float placement. It takes the size of
the float into account and decides for a location. For example, it
positions the float
On 2012-09-04 Herbert Voss herbert.v...@fu-berlin.de wrote:
Hi Herbert,
\starttext
\startluacode
if true then;
context(true)
else;
context(false)
end
\stopluacode
\stoptext
that is no Lua syntax
if true then;
print(true)
else;
print(false)
end
This
On 2012-09-04 Herbert Voss herbert.v...@fu-berlin.de wrote:
voss@shania:~/ConTeXt lua zzz.lua
lua: zzz.lua:1: unexpected symbol near ';'
marco@homerow:/tmp$ lua t.lua
true
voss@shania:~/ConTeXt lua -v
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
marco@homerow:/tmp$ lua -v
Lua 5.2.1
On 2012-09-04 Herbert Voss herbert.v...@fu-berlin.de wrote:
voss@shania:~/ConTeXt lua -v
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
marco@homerow:/tmp$ lua -v
Lua 5.2.1 Copyright (C) 1994-2012 Lua.org, PUC-Rio
the syntax changes, see
Hi,
I am working on some float placement code for a project. To
not reinvent the wheel I like to know what is currently possible in
ConTeXt.
Small floats should be placed in the margin and bigger ones centred
in the text. Captions always go into the margin. That is the idea.
The key to automate
On 2012-09-05 Hans Hagen pra...@wxs.nl wrote:
Hi Hans,
you probably over code things
Yes, that's not unlikely, I tend to do that (unintentional).
instead of storing you can pass the valus directly
\def\largerthantextwidth#1%
{\cldcontext
{if \number\dimexpr#1tex.dimen.textwidth
On 2012-09-05 Hans Hagen pra...@wxs.nl wrote:
Hi Hans,
I am working on some float placement code for a project. To
not reinvent the wheel I like to know what is currently possible in
ConTeXt.
fyi: As I often need conditional placement in projects (mostly width
related), it's likely
Hi,
I was wandering if we should promote the ConTeXt IRC channel on the
contextgarden home page, e.g. underneath “Welcome to ConTeXt garden”
or “External Help”. The current page
(http://wiki.contextgarden.net/IRC) is unlikely to be found by
anyone.
I think most questions should stay on the
On 2012-09-07 Bill Meahan subscribed_li...@meahan.net wrote:
After being on the internet since the early 1980's I can say with
certainty if one person is having a particular problem others have or
will have it, too. A searchable archive of answers (like a mailing list
archive) is far more
I've added a note to the [[Main Page]] (edit it at
http://wiki.contextgarden.net/Template:Main_Page), and a note to the
[[IRC]] page. How does that look to you guys?
Looks good to me. Future will show if this leads to interesting
conversations. Everyone is invited.
I think that someone who
On 2012-09-10 Ian Lawrence physics.roo...@gmail.com wrote:
Hi Ian,
I'd like to pass variables into context on invocation, just as you can do
with setting modes
So
context --arguments=number=8, time=full-time --mode=trial test.tex
context --number=8 --time=full-time test.tex
2012-09-10: Peter Münster pmli...@free.fr
Then you have to be sure, that --number and --time will never be special
parameters for context.
Indeed.
Alternatives:
--MarcoPatzerNumber=8 --MarcoPatzerTime=full-time
Or:
% context --arguments=number=8,time=full-time test.tex
This seems
Hi,
when \unit is used just with a unit, without a number, the spacing
at the left is wrong. Example:
\starttext
% wrong spacing
(\unit{micro mol per second})
% spacing OK
(\unit{3 micro mol per second})
\stoptext
Marco
Hi,
I am often surprised that some nice-to-have feature is already
present in ConTeXt and I just wasn't aware. But I am not sure about
this one.
Is there something like an adaptive structure code which keeps track
of the nesting level? In this example the first structure would
become the
Hi,
how can I refer to multiple elements at the same time?
\starttext
\startplacefigure [title=foo, reference=alpha]
\stopplacefigure
\startplacefigure [title=bar, reference=beta]
\stopplacefigure
\startplacefigure [title=bar, reference=gamma]
\stopplacefigure
\in{figure}[alpha,beta,gamma]
2012-09-13 Andreas Mang m...@imt.uni-luebeck.de:
I do not know if there is a solution to this. The following would
work for your example:
\in{figure}[alpha]--\in[gamma]
Of course this is a quite rigid solution, that does not safeguard
against changes in figure order
That's what I am
Hi,
with wide description heads I have the problem that the following
description protrudes into the margin.
\definedescription
[description]
[alternative=hanging,
width=broad]
\starttext
\startdescription{conclusion that}
\input knuth
\stopdescription
\startdescription{conclusion
2012-09-14 Philipp Gesang ges...@stud.uni-heidelberg.de:
Hi Philipp,
you can hack the hanging alternative and substitute a glue for
the kern that is used for spacing (strc-con.mkvi):
[…]
This works perfectly. Thanks a lot for digging into the sources.
But maybe this could be made an
2012-09-14 Sietse Brouwer sbbrou...@gmail.com:
Hi Sietse,
I'm sorry for my late reply.
The heart of what you need is a lua function that will take an array
of numbers, and return an array of consective-number runs, like so:
[…]
I've written one below, plus the scaffolding required to feed
2012-09-13 Marco Patzer home...@lavabit.com:
when \unit is used just with a unit, without a number, the spacing
at the left is wrong.
Still the same in 2012.09.16 23:18, it doesn't seem that hard to
fix. Maybe just an if-statement to check if the number is provided
and add a space in that case
Hi,
the last beta includes the chapter number in formulas, former betas
didn't. Example:
\starttext
\startchapter [title=Foo]
\startplaceformula
\startformula
E=mc^2
\stopformula
\stopplaceformula
\stopchapter
\stoptext
∙ Is this intended?
∙ How to remove the chapter number
2012-09-17 Sietse Brouwer sbbrou...@gmail.com:
Hi Sietse,
It's a bug, I think.
The keys that control this are way and prefixsegments:
\setupformulas[way=bychapter, prefixsegments=chapter]
way=bychapter means 'resume numbering at each chapter'
prefixsegments=chapter means 'precede each
2012-09-17 Pavel Dohnal pavel.doh...@twobits.cz:
Hi Pavel
Problem is that users enter international texts into database and
some characters are not present in final pdf.
Here is my minimal example:
%interface=en translate-file=utf-8
\enableregime[utf]
ConTeXt MkIV uses UTF-8 by default.
2012-09-17 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
Hi Lukáš
1) is there a Ctx command/switch which would generate list of all
current ConTeXt commands? E.g.
Not that I'm aware of. Wolfgang started to maintain a list of
ConTeXt commands, but I'm not sure if he's still on it:
Hi,
I have some questions regarding the bibliography.
1)
The style files bibl-ams.tex, bibl-ssa.tex, etc contain strings like
``, ~. This does not make sense to me. The `` ends up like that in
the output and the tilde might interfere with the \asciimode
setting. Wouldn't it be better to use the
2012-09-18 Schmitz Thomas A. thomas.schm...@uni-bonn.de:
Hi Thomas
The problem is that users of bibtex in ConTeXt are a minority, and
users of such precooked styles a tiny minority
With a handful of up-to-date working common citation styles
citations would be much more easy. But I get your
2012-09-18 Schmitz Thomas A. thomas.schm...@uni-bonn.de:
Hi Thomas
On Sep 18, 2012, at 2:25 PM, Marco Patzer home...@lavabit.com wrote:
This doesn't work, either:
\setupbibtex [database=sample]
\setuppublications [alternative=apa, criterium=cite, sorttype=author]
\starttext
2012-09-18 Philipp Gesang ges...@stud.uni-heidelberg.de:
[0] http://www.mail-archive.com/ntg-context@ntg.nl/msg62855.html
Thanks for the link. Since I usually don't deal much with
different bibliography styles I tend to skip those threads.
And BibTeX is used since it understands
2012-09-19 Eidenbenz Michael eidenb...@arch.ethz.ch:
Hi Michael
is there a way to setup the layout of the publicationlist? I would
like to add a blank line after every entry.
untested:
\setuplist
[pubs]
[after=\blank]
Marco
Hi,
inside a TEXpage the tolerance and the whitespace settings are not
applied. The whitespace can be set in a setup and the tolerance can
be set directly with \spaceskip, but that seems a bit hackish.
Is that intended and is there a cleaner solution? Example:
\setuplayout [width=8cm]
2012-09-25 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
Hi Lukáš,
is there a built-in parameter for \setupcaptions which would affect the space
after the caption?
\setupcaptions
[figure]
[spaceafter=1cm,align=middle]
\starttext
2012-09-27 Sietse Brouwer sbbrou...@gmail.com:
Hi Sietse,
As I understand it, \define[2] is preferred over \def#1#2 because it
refuses to overwrite existing commands.
\define overwrites existing commands with pleasure. In contrast to
\def it prints a message to the log file: “\mycommand is
2012-09-28 Sietse Brouwer sbbrou...@gmail.com:
Hi Sietse,
\in{figure}[alpha,beta,gamma]
This outputs “figure 1”. What I'd like to have is “figure 1-3”.
The attached quasi-module seems to do it! On my computer, at least. (I
call it 'quasi' because it is really nothing more than code in
Hi,
chemical structures and reactions produce wrong results. Here is one
example from the wiki and two from the manual.
\starttext
%% does not typeset the reaction, prints the commas, wrong spacing
%% and no arrow
\startformula
\chemical{2H_2,+,O_2,-,2H_2O}
\stopformula
%% same here, GIVES is
2012-10-02 Alan BRASLAU alan.bras...@cea.fr:
Hi Alan
chemical structures and reactions produce wrong results. Here is one
example from the wiki and two from the manual.
[…]
\startchemicalformula
not
\startformula
\startchemicalformula
\chemical{2H_2}
2012-10-02 Alan BRASLAU alan.bras...@cea.fr:
Try the following:
\starttext
\startchemicalformula
\chemical{2H_2}
\chemical{+}
\chemical{O_2}
\chemical{-}
\chemical{2H_2O}
\stopchemicalformula
\chemical{-} is not rendered correctly.
\startchemicalformula
\chemical{2H_2}
2012-10-03 Malte Stien ma...@stien.de:
Hi Malte
\placetable[here][tab:some-table]{Some Table}
\starttabulate[|w(.30\textwidth)p|w(.70\textwidth)p|]
\HL
\NC {\bf Animal} \NC {\bf Comment} \NC\FR
\HL
\NC Cat \NC Pretty cool \NC\MR
\NC Bear \NC Kind of lazy
2012-10-03 pa...@hanak.name:
Hi Pavel
But when I try to process the whole project with context
my-project.tex, the file is processed but I get no pdf output,
which surprise me, because in the reference manual contextref.pdf
I read:
A project cannot be typeset, only products and components.
Hi,
I discovered some issues with the legend mechanism.
1) A newline after \startplacelegend fails:
\starttext
\startplacelegend
\startcontent
Foo
\stopcontent
\startcaption
Bar
\stopcaption
\stopplacelegend
\stoptext
2) location != top | bottom throws “Infinite glue
2012-10-08 Malte Stien:
Hi Malte
I am trying to define two tabulate styles as follows:
- \setuptabulate[split=yes, bodyfont=small]
- \setuptabulate[split=yes]
\definetabulate [alpha] [|l|l|l|]
\setuptabulate [alpha] [bodyfont=small]
\definetabulate [beta] [|l|l|]
\setuptabulate [beta]
2012-10-08 Troy Henderson:
I would like to create a header on every page with some fixed text in the
header. Simply doing
\setupheadertexts[Some text]
\setupheader[state=start]
Does not produce a header on any page, yet
\setupfootertexts[Some text]
\setupfooter[state=start]
does
2012-10-09 Wolfgang Schuster:
Can you explain which numbers this should represent:
\m{12\,345,567\,89}~kg
12345.56789 kg
\m{345,567\,89}~kg
345.56789 kg
Marco
___
If your question is of interest to others
2012-10-09 Wolfgang Schuster:
The problem is that Hans number parser doesn’t check for a
separator in the decimal numbers.
If the unit code is being touched maybe you can address this one as
well:
http://article.gmane.org/gmane.comp.tex.context/78251
Marco
2012-10-14 Andre Caldas:
Since context is a very common word, I'd like to know from ConTeXt users...
How do you look for ConTeXt stuff using search engines?
http://tex.stackexchange.com/questions/41918/how-to-search-for-information-about-context-in-search-engines
Marco
2012-10-14 Andre Caldas:
How can I make commutative diagrams in ConTeXt?
Have a look at the MetaFun manual¹ and the TikZ manual²
Marco
[1] http://www.pragma-ade.com/general/manuals/metafun-s.pdf
[2]
http://www.ctan.org/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf
2012-10-15 Otared Kavian:
On 14 oct. 2012, at 15:52, Wolfgang Schuster wolfgang.schus...@gmail.com
wrote:
[…]
I don’t know if the bug was also in the stable but it’s in the beta version
I use. You can use the following example to check for the bug:
\starttext
2012-10-15 Marcin Borkowski:
Hi Marcin
\placefigure[here]{none}{image} seems to actually typeset none as a
caption. What do I do if I want no caption (not even the Figure 1
thing, in fact)?
\startplacefigure [location=none]
\externalfigure [cow]
\stopplacefigure
Marco
2012-10-15 Aditya Mahajan:
2. check if the file somefile.tex exists in the directory being
popped from the stack.
Just for bug catching...
it all happens before a file is loaded so the normal reporting is applied
Actually, it is a bit annoying that \environment and \component
do not
2012-10-15 Marcin Borkowski:
\placefigure[here]{none}{image} seems to actually typeset none
as a caption. What do I do if I want no caption (not even the
Figure 1 thing, in fact)?
\startplacefigure [location=none]
\externalfigure [cow]
\stopplacefigure
Interesting. Is
2012-10-16 Nicholas Ulle:
Hi Nicholas
How would I go about inserting the total number of pages in my document?
\lastpage
Marco
___
If your question is of interest to others as well, please add an entry to the
A week ago I had a conversation with mpfusion and another user over IRC
about the ConTeXt test suite. mpfusion had a tarball with some test and
an elaborate machinery to see if the testfiles compile. He kindly
provided the tarball,
That's me, by the way.
and I took the liberty to do it
2012-10-17 Philipp Gesang:
With Context as of today and Luatex from minimals, I get lining
figures and a triple dash.
Did I miss something?
Confirmed.
works with 2012.09.23 12:40
fails with 2012.10.16 23:38
Marco
2012-10-17 Marco Pessotto:
Ok, this is my first bug report. I noticed that the column width/margin
is quite altered since TL12. There are some other problems, tough.
Full report here:
https://github.com/melmothx/context-unofficial-test-suite/commit/8575456ae9e5dfe1f5dea5ac1224f75b5d1eb0a2
2012-10-20 Hans Hagen:
Another option is to use pdftrimwhite, which is part of the minimals rather
than pdfcrop.
if needed I can make a mtx-trimwhite (lua instead of perl)
If you decide to rewrite pdftrimwhite, maybe you can consider making
it work with multiple page files as well. The
Hi,
the `way` setting cannot be applied globally to all floats using
`\setupcaptions`. For the `prefix` value it works. Can this be
fixed?
\setupblackrules
[width=4cm, height=1cm]
%% prefix is applied, way is not
%% \setupcaptions
%% [prefix=no,
%% way=bytext]
%% prefix and way is applied
Hi,
I have narrow margin floats and wide floats that protrude into the
margin. Currently they overlap with the narrow figures. How to avoid
this?
\useMPlibrary [dum]
\definefloat
[marginfigure] [marginfigures]
[figure]
\setupfloat
[marginfigure]
[default=margin]
\definefloat
2012-10-22 Procházka Lukáš Ing. - Pontex s. r. o.:
On Mon, 22 Oct 2012 16:41:46 +0200, Aditya Mahajan adit...@umich.edu wrote:
If you want only the bottom border (and no other border),
... No, I want all borders with default thickness but head bottom border
thicker;
this is most common
2012-10-23 Malte Stien:
Hi Malte
For a particular document, though, I don't want page numbers. Is
there a way of locally suppressing the page numbers while still
importing (via environment) the layout.tex file? I guess, what I
am asking is, is there a way to override the setuppagenumbering
2012-10-25 WolfgangZ:
Hi WolfgangZ
I'm trying to insert a newline between the number and the head text
(chaper). Where do I have to put the \crlf ?
It sohould look like:
1
This is the chapter text
\defineheadalternative
[mine]
[renderingsetup=mine]
\startsetups [mine]
2012-10-26 Alan BRASLAU:
Does anyone have a solution to \dorecurse within TABLE?
Alan
Minimal example:
\starttext
\dorecurse{8}{\recurselevel\crlf}
\bTABLE
\dorecurse{8}{\bTR\bTD\recurselevel\eTD\eTR}
\dorecurse{8}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}}
\eTABLE
\stoptext
2012-10-26 Sietse Brouwer:
Hello Piotr,
I cannot get defineindenting to work. Example attached.
To input example text, use
\input knuth
not
\knuth .
After that change your example works for me, apart from producing something
like
'. . . :' in the indent space --- I am
2012-10-26 Piotr Kopszak:
Right, so is there a replacement for \defineindenting which works in
the recent version?
I don't know what \defineindenting is supposed to do. I can hardly
believe that the dots in the output are intended. What about this:
\definedelimitedtext
[indenting]
2012-10-26 Alan BRASLAU:
Now, is there some better way, or perhaps not, around creating my own
counter (of course, I can use a counter for the column as well...)
You can use \currentTABLEcolumn and \currentTABLErow
\starttext
\bTABLE
\dorecurse{8}{
\bTR
\dorecurse{5}{\bTD
2012-10-26 Piotr Kopszak:
Many thanks! The wiki says it is used to define a collection of
indenting settings. I used it to indent more then in the case of
other paragraphs the first line of the first paragraph in a chapter,
so your solution is unfortunately not exactly what I mean.
To
2012-10-27 Jeong Dal:
In the output of the following sample, figures are left flushed.
I found some discussions about the align and location in \setupcombination.
align= is for caption and location=middle is for figures' location.
But align=worked while location= has no effect at all.
2012-10-29 Mari Voipio:
The problem: I don't know how to input the logo graphic into Metapost
code. This did not work, even though the pdf is in the same directory:
externalfigure vaaka-logo.pdf scaled 1cm;
This works here:
\startbuffer [image]
\useMPlibrary [dum]
\startTEXpage
2012-10-30 Wolfgang Schuster:
\midaligned
{\startcombination[2*1]
{\externalfigure[dummy][]}{aa}
{\externalfigure[dummy][]}{bb}
\stopcombination}
With the new beta you can replace
\midaligned{…}
with
\startmidaligned
…
\stopmidaligned
2012-10-30 John Devereux:
What is the correct way to set or modify the search path for tex files?
I want to make it mode-dependent. For example, for figures I have
something like
\doifmode{en}
{\def\FigDirLanguage{fig/lang_en}\def\DocumentSuffix{EN}\mainlanguage[en]}
\doifmode{de}
2012-10-30 John Devereux:
It looks like \usepath is the key to what I want, thank you.
Yes, combine \usepath with the \startmodeset syntax that Wolfgang
suggested and you should have a clean solution.
I don't quite understand your overall structure.
You're right. Without file names it's hard
2012-11-01 Uwe Koloska:
There is stability in that /bin/sh always must be a (posix compatible)
bourne (not again) style shell!
True
* rewrite the scripts to be truly posix and use #! /bin/sh (the dash
links from another mail may help)
* leave the scripts alone with all their bashisms and
Hi!
How do I highlight the current chapter in the table of contents? The
TOC is displayed on each page. For illustration I misused the
interaction colour, which of course only works for the first page of
a chapter.
\setupheadertexts
[\setups{headlist}]
\startsetups [headlist]
2012-11-08 Wolfgang Schuster:
Hi Wolfgang!
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
[highlight]
[renderingsetup=list:highlight]
I like the flexibility of
2012-11-08 Hans Hagen:
the next beta has: \namedstructureheadlocation{name}
so that you can compare
\currentlistentrylocation
with
\namedstructureheadlocation{chapter}
Thanks Hans.
Best document this before we forget about it.
I assume that's my part, right? I'll extend or
2012-11-08 Marco Patzer:
Best document this before we forget about it.
I assume that's my part, right? I'll extend or add a wiki page the
weekend after the beta is released.
http://wiki.contextgarden.net/Command/definelistalternative
Marco
1 - 100 of 709 matches
Mail list logo