Hi,
whom to contact for user issue with the contextgarden-wiki?
Thanks
P.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mai
Thanks Wolfgang,
the solution with \startchapter and insidesection works fine.
I wasn't aware of that \startchapter-stucture at all. Regarding to
"The \startchapter command is recommended over \bookmark as the
latter might become obsolete" from
http://wiki.contextgarden
Hi,
few months ago (18th may) I asked about how to setup a counter that
resets after each heading (chapter, section, subsection, subsubsection
and so on.
I got three possibilities then but none of them was implemented (and
still is not):
1)
\definecounter[ParagraphNumber][prefix=no,way={bychapt
Hi,
I realized yesterday that my counter for the module does not reset
itself as before. What I need is a counter that resets after each
heading (chapter, section, subsection, subsubsection and so on).
This is what I know about counter reseting at the moment:
\definecounter[ParagraphNumber][pref
Thanks Wolfgang, your post helped me a lot! I am wondering if
only a subset of languages is able to be defined as I got following
result:
Should be Welcome: Welcome
Should be Guten Tag: Guten Tag
Should be Bonvenon: Guten Tag
The Esperanto text is not displayed. It does not matter wether I put
th
Hi,
to finish my first module I like to make it also available for
non-german users (remove the hardcoded german text). But I could not
figure out how in a way that works. So I wrote down a minimal example
in pseudo-tex to point out my goal. Can you give me an idea/solution
how to implement it in
Hi,
it tried to do a \atpage command that results
a) some page => nothing
b) different page => pagenumber with some text (e.g. "auf Seite XY")
\def\atPage[#1]%
{\doifnot{\at[#1]}{\currentpage}%
{\at[#1]}%
}
My problem with this is, that the \doifnot always results as not
Hi,
I am trying to pass a tex color as a paramter to a module. I used the
example from the wiki as a base. But as soon I hand over a color
directly it does not work.
Any help is welcome as I am looking forward to hand
in my first module. Are there any rules how and where to hand in a
module for c
> See this thread:
> http://archive.contextgarden.net/message/20120402.144627.e46a9f9f.en.html
>
> and try to construct a "minimal example" next time.
I converted my number to counter and shrinked my example - but the
problem still occurs:
Instead of the counter value when I set the reference I
Hi,
I "reactivated" some code that was working a year ago. But now it seems
that \expanded has no effect in my case (see below). I also tried it
with \normalexpanded and \expandedafter but both had also no effect. My
problem seems to be this line of the full example below:
\doifsomething
Hi Hans,
> I uploaded a beta that might do a better job but as well could
> introduce other problems, so testing is needed.
Thanks a lot! Started testing it and all margins look fine now :-) -
also in larger docs. Will continue testing...
P.
_
Hi,
I am using \ininner and \inouter to set text into the margins. As soon
I also use duplex the margins are messed up at every second page.
Unluckily the [stack=continue] option does not help.
I put an example incl. pictures of the results on my user talk page on
the wiki:
http://wiki.co
Hi,
during my work with context I wrote a bunch of fewliners mainly to test
how to do things. When there change from mkii to mkiv occured many of
my mini-tests failed and later with the growing of mkiv restartet to
work - some just without adaption.. some with some adjustment to a new
syntax.
I r
Hi,
I just tried an example from math-ali.mkiv:
\starttext
\placeformula \startformula \startalign
\NC a \NC \eq b \NR[+]
\NC c \NC \neq d \NR
\NC \NC \neq f \NR[+]
\NC \NC \geq g \NR[+][a]
\NC \NC \leq h
Hi,
sorry that I repeat my question but I have really no idea how to solve
this.
When I use \ininner and \inouter directly, always the correct
width is used.
\ininner{X X X X X X X X X X X X}\inouter{M M M M M M M M M M M
M }\input tufte
But as soon I put it into a function the wron
Hi,
I am trying to have the header text aligned at the outer border of
margin.
At the moment I have
\setupheadertexts[margin][][\rightaligned{\CurrentChapter}][\leftaligned{\CurrentChapter}][]
and in the text
\chapter{A very, very long long heading}
and it works like I expe
Hi,
as soon I have a linebreak inside a heading via \\ I get this
\\ also in the text of that heading in the pdf-bookmarks:
\setupinteraction[state=start]
\placebookmarks[chapter,section,subsection][chapter,section]
\starttext
\completecontent[criterium=all]
\chapter{A very,\\very long long titl
Hi,
the width of my inner and outer margin are different and the pagelayout
is double sided.
When I use \ininner and \inouter directly, always the correct width is
used. But as soon I put it into a function the wrong margin width is
often used.
I attached two files:
- simple example tex
Hi,
did something happend to the \fullstructureheadnumber in the last six
months? I still can find it in the source (strc-sec.mkiv) but is always
halts with "Undefined control sequence".
Is there a new command for this?
Thanks
P.
__
Hi all,
is it possible to mix severel fonts (for each script one font)? Regarding to
some fragments of the wiki I tried:
\setupdirections[bidi=global]
\definefontfeature[cyrl][script=cyrl]
\definefontfeature[brai][script=brai]
\definefontfeature[arab][script=arab]
\starttypescript [serif] [vol
Hi,
today I recognized that the tab parameter is not working in setuptyping
anymore (actual beta). As soon the tab paramter is set and a tabulator is
used in the text, ConTeXt breaks with following error message:
! LuaTeX error ...text/tex/texmf-context/tex/context/base/util-
s
Hi,
since mkiv (last updated 19.11.) \placeformua causes a bug regarding the
placing of inner- and outermargins.
If you remove the \placeformula in the following example the placing of
inner- and outermargins is right. But as soon there is a \placeformula from
that point on inner- and outerma
Hi,
I also ran into a problem with placeformula and margins. The attached
example runs fine with the margins. But as soon the placeformula is
uncommented the left and right margins are messed up. And if not all
paragraphs have at both side a marginnote is get worse. Is there a way to
solve thi
Hans Hagen wrote:
> - can you post your examples (so that they can be added to the test suite)
> - can you also test this with the current beta
done.. you can find the test file for formulas with mkiv attached to this
email.
I ran it with the latest beta. A couple of things are working.. but e.
I have to agree to Andreas... i just updated to the actual beta (for the
math examples). Now mtxrun answers with following statement:
...text/tex/texmf-context/tex/context/base/font-otp.lua:512: attempt to call
field 'register' (a nil value)
You can list all local availble fonts with:
mtxrun --script fonts --list --all
More details under: http://wiki.contextgarden.net/Fonts_in_LuaTeX
Cecil Westerhof wrote:
> Is there a list of the standard fonts to use? I found:
> serif
> regular
> roman
> sans
> support
> sansserif
> Hans Hagen wrote:
> i'll have a look at it
Did you found anything?
I tried to figure out which command in the examples of the wiki work/dont
work (I used mkiv stable). So far:
\formulanumber -> works in mkii and mkiv
\subformulanumber -> works only in mkii
\placenamedsubformula -> works only
Hi,
in my work I have a lot of formulas inkl. subformulas. Doing the examples at
the wiki two questions came up:
a) how to generate a table of formulas?
b) what is the right/better way for subnumbering?
a) I tried the example for generating a table of formulas from the wiki
(http://wiki.contex
I summarized this small discussion in the wiki as I also made a systemwide
installation (http://wiki.contextgarden.net/ConTeXt_Minimals#Cache)
Nicola wrote:
> In article
> ,
> Mojca Miklavec wrote:
>
>> The variable TEXMFCACHE is set in
>> tex/texmf/web2c/texmfcnf.lua
>> and that one s
I used the context from the ubuntu repository. So I switched to context-
minimals current-version and viola it works here too
Thanks
Wolfgang Schuster wrote:
> Am 25.08.10 00:23, schrieb Peter Schorsch:
>> Thanks Wolfgang! Your source code looks a lot different than mine...
>
Thanks Wolfgang! Your source code looks a lot different than mine... there
are some commands I have not seen before... so I have to learn :-)
Unluckily I still get an error message:
! Use of \startPARA doesn't match its definition.
l.21 \startPARA[
heading={lorem ipsum},mark=test
Hi,
I started to write under MkII a module to number and reference each
paragraph. I got it to work but it was not well done. Now I want to finish
and clean it to upload it on contextgarden for all. But I am stucking at the
port to MkIV.
(Reduced MkII Version):
\definenumber[paraNumber]
\set
I figured out that \fullstructureheadnumber returns inside a backmatter nil.
So it works for my own needs.
I do not know if the reported return behavior inside a bodymatter or
appendices is correct. But I leave this discussion to the context devs.
Anyways @devs: Thanks for your work! Context b
Thanks Wolfgang, that helped :-)
Only one additional question occured with that solution:
I am trying to use unnumbered chapters/sections and recognized that
\fullstructureheadnumber gives the number of the chapter/section before
instead of giving back and empty string:
\chapter{abc} >> \fulls
Hi,
I need to get the current *section/chapter title and number. I figured out
that \fullstructureheadnumber gives the current number. But I can not figure
out what gives the current head title.
In strc-sec.mkiv I found this comment:
\def\currentheadtext{obsolete, use marks}
Is this a
Hi,
finally I figured it out :-)
I entered the working example into the wiki:
http://wiki.contextgarden.net/Simple_Typescript_Example
and linked it into the catogory »Fonts« and at the page »Fonts in LuaTeX«
under »2.2.3 Very simple example of typescript«.
You know the best where to
Hi,
I am also using Context on ubuntu - and it works fine here. There is one
small change I like to do:
luatools --generate
is creating ~/luatex-cache. As this cache is not hidden it appears on the
desktop. Is it possible to change that directory into a hidden directory
e.g. ~/.luatex-cache?
Hi,
I reactivated my interest in Context. A lot changed since
then... so I am became a beginner again. E.g. I don't know / understand how
to use that Typescript-Framework. I tried to build a simple example, but I
do not get it to work.
I crosschecked successfully with simplefonts that the fon
Hi,
I am trying to put the pagenumber in the margin of the header. But I also want
it outer-aligned - not inner-aligned, which seems to be the standart
alignment of margin. But the inner-align of the body-margin should still be
inner-aligned. So I tried following:
\setuppagenumbering[conversio
Hi,
I have a small metapost graphic I like to use inline. But the arragement
behaves a little bit "unpractically". As soon there is no character in front
of the graphic context will break the line after the graphic - but as soon
there is a character in front of the graphic, context does not ad
> \placefigure
> [force][fig:xy]
> {captiontext}
> {\placelegend
> {\startcombination[2*1]
> {\externalfigure[xxx]}{}
> {\externalfigure[yyy]}{}
> \stopcombination}
> {Quelle: XY}}
Thanks, both solutions work. Is there something simelar for placelegend in
spl
Hi,
as soon I enter the cbox-line the combination is not longer centered. I tried
to embed the combination in a cbox, but that had no effect. Has anyone a hint
how to center the combination successfullly?
\starttext
\placefigure
[force][fig:xy]
{captiontext}
{\startcomb
ok,
I found the solution. In the documentation (cont-eni.pdf) at page 172
following is written:
For example:
\currentheadnumber : 8.3
\headnumber[chapter] : 8
\headnumber[section] : 8.3
but that is partly wrong. There should be standing (change example from 8.3 to
8.3.2):
For example:
\fina
Aditya wrote:
> Can you create a minimum example to play with?
I attached the module t-pararef.tex and the example pararef-test.tex. The ref1
is still wrong.
When I replace \currentheadnumber in \paragraphMark with the before defined
\presentheadnumber context is saying that a «Missing contro
Hi,
for an multilanguage document I need to write some rubytext. But I have no
idea how to realize this in context. Math-mode is not a solution as the
line-breaks with longer rubytext - but maybe it is the only way. Hints are
very welcome.
Here is a good and short explanation what rubytext is:
hm.. it still executes always the else-part of the doifelse-function
>
> (Untested)
>
> > \def\presentheadnumber%
> >{\doifelse{\headnumber[section]}{0}%
>
> ^^
>
> >{\headnumber[chapter]}%
> >{\headnumber[se
Hi,
I tried to get the full present heading-number. If I am using currentnumber
the result is only the last part of the heading-number. So I tried do
implement a function like this:
\def\presentheadnumber%
{\doifelse{\headnumber[section]}{}%
{\headnumber[chapter]}%
Hi,
I tried to get the full present heading-number. If I am using currentnumber
I am getting back only the last part of the heading-number. So I tried do
implement a function like this:
\def\presentheadnumber%
{\doifelse{\headnumber[section]}{}%
{\headnumber[chapter]}%
>> Started reading the doc on your site, created a myfile.tex as yours, but
>> % context myFile
>> zsh: command not found: context
use instead:
texexec --pdf myFile.tex (use pdftex but Unicode is not working)
or
texexec --xtx myFile.tex (use Xetex with Unicode but is not working in
Context-
Hi,
I could not figure out how to add a hairline between two rows of a matrix.
Following example is compiling but only results in a bigger vertical space.
Infos/Hints are welcome...
\startformula \startmatrix
\NC {a_1 } \NC {a_2 } \NC {a_3 } \NC \ldots \NC {a_X } \NR
\NC {b_1 } \
Wolfgang Schuster wrote:
>
> \def\MyMark[#1]%
> {\expanded{\textreference[#1]{Para. \currentheadnumber /
> {\getnumber[number]}}}
>
Thanks, it works with the expanded...
___
If your question is of interest to o
Aditya Mahajan wrote:
>
> \expanded{\subfunction[\labelembedded]}
>
Thanks, that was the solution :-)
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
Hi Aditya,
> Aren't you doing exactly what the bib module does? The only difference
> is that the bib module uses registers, so that you can also sort the
> publication list. And you can format different types of references
> differently. But the basic idea is the same.
The main issue for me was,
Thanks Wolfgang,
you were totally right. I made a typewriting error - I discovered it with
help of your examples.
I also updated the module in the wiki - and I will make it multilingual as
soon I will find a good doc about multilingual-commands.
I tried to add colors over module-parameter - but
Hi,
I need to forward an embedded commalist to an subfunction. The problem: how
can I get rid of the {}-brackets to access the embedded commalist?
The functions looks like:
\def\function#1[#2]
{\getparameters[label][a=,b=,embedded=,#2]
subfunction[\labelembedded]
...}
\def\subfunction#1[#2]
{\
Hi,
during my first tries of context-programming I bounced a couple of times
against a problem I am calling myself my value-copy-border.
E.g. number is a register/variable that helps numbering some paragraphs.
Some of these paragraphs also should be cross-linked. But the pointer gets
always the v
Hi Wolfgang,
> Replace this line with
>
> \expanded{\setupitemgroup[bibliography][1][n,
\currentmoduleparameter{itemspace}*broad]}
Unluckily that is not working :-( I also tried:
\setupitemgroup[bibliography][1][n
\expanded{\currentmoduleparameter{itemspace}}*broad]
and
\setupitemgroup[biblio
Hi,
first thanks for your help. I got it working at the basic-level. I put it
into a module for the case that other beginner looking for the
bibitem-replacement. But two questions are left before I think, that the
module could be uploaded to the wiki:
- how to make the 12*broad flexible? \current
Hi,
I have done a little with Context but I am still a beginner. As I can read
in the archive of this list, there is no possibility to divide the
bibliography into sections by the generated bibliography. If this
assumption is true, I would like to enter the bibitems into the
normal .tex-file. I wa
59 matches
Mail list logo