Hallo,
> > But how can I get my 3cm?
>
> If you do not use horizontal lines
>
> \starttable[o(3cm)|l|]
>
> Aditya
>
Not horizontal lines, but a gray header:
\starttable[o(3cm)|l|]
\RL\SR
\NC hmm \NC\AR
\stoptable
Thank you Aditya for this workaround.
If there is really no solution, I wi
Thank you Aditya and Wolfgang,
I will try it both:
> No page breaks possible:
>
> \defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before
> =,after=]
>
> \starttext
>
> vorher
>
> \startnarrower
>
> text
>
> \starttablebox
> \starttable[s0|l|]
> \NC table entry \NC\AR
> \stopta
Hallo,
if I write $0,8$ the distance between the ',' and the '8' is too big.
I can write $0,\!8$ or an other kern, but I don't see how I can write
a macro to avoid the extra effort.
Shouldn't be this gap in german (\mainlanguage[deo]) as big as $0.8$
in US? Is there a switch I have overseen?
Hallo,
I must do something wrong. It is not working for me:
\setupmathematics[autopunctuation=yes]
\starttext
$0,1$
\stoptext
tested on the garden.
Wolfgang
___
If your question is of interest to others as well, pl
Hallo,
I have an other problem which was asked for years if I remember
right. But I can not find it.
In the following
\starttext
\startnarrower
Und Gott der Herr machte Adam und seinem Weibe Röcke
von Fellen, und kleidete sie. \RA{\tfx (Genesis 3, 21)}
\stopnarrower
\stoptext
I want \RT a macr
Hallo,
can someone explain how to write a table column in color, please?
The following example worked in 2006 but is not working anymore:
\starttext
\starttable[o1|\{C{red}|]
\VL red \VL\SR
\stoptable
\stoptext
Wolfgang Schuster posted last year the following example:
\NewFormatKey W#1%
{\Read
> > Hallo,
> >
> > I must do something wrong. It is not working for me:
> >
> > \setupmathematics[autopunctuation=yes]
> > \starttext
> > $0,1$
> > \stoptext
>
> maybe an too old version
>
As I wrote, I tested on the garden. This version is current enough I
thinck.
Wolfgang
___
Hallo,
I work all the time with good old mkii-context, but I have had a lot
of problems last time, which could be solved easely if I switch to
mkiv. So I wonder if I should change. The main argument for me to
stay with mkii is the following:
I have a lot of lua scripts withhin scite which are
Hallo,
> > I work all the time with good old mkii-context, but I have had a lot
> > of problems last time, which could be solved easely if I switch to
> > mkiv. So I wonder if I should change. The main argument for me to
> > stay with mkii is the following:
> >
> > I have a lot of lua scripts with
Hallo,
the following example compiles ok
\starttext
\startformula
\frac{206}{7}=[29;2,2,1]
\stopformula
\stoptext
while this compiles not
\starttext
\startformula
[29;2,2,1]=\frac{206}{7}
\stopformula
\stoptext
Bug or user error?
Wolfgang
__
Sorry, I found it!
\starttext
\startformula[]
[29;2,2,1]=\frac{206}{7}
\stopformula
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@n
Hallo,
I have problems compiling this with
ConTeXt ver: 2010.03.20 22:59 MKIV
--
% coding: utf-8
\usemodule[letter][style=dina]
\mainlanguage[deo]
\enableregime[utf-8]
\setupletter
[fromname={\tfa Wolfgang Werners-Lucchini},
subject={Blub
Hallo Wolfgang,
> > I have problems compiling this with
> > ConTeXt ver: 2010.03.20 22:59 MKIV
> > [...]
> >
> I can't reproduce this. Can you take a look at the end of the log
> for
> this information:
>
> correspondence : t-correspondence.tex: 2010.02.28
> correspondence : t-letter.tex:
Hallo,
I am trying to make a simple invoice with Wolfgangs letter-module and
have some questions:
I have the following reference in mind
\setupletterstyle[reference][
alternative=d,
list={invoice,taxnumber,phone,date}]
1) How can one position this horizontaly and verticaly?
2)
Hallo,
how should the directory be named where a 600 dpi pk-font is searched
for by luatex?
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@nt
Hallo Wolfgang,
> > I am trying to make a simple invoice with Wolfgangs letter-module
> and
> > have some questions:
> >
> > I have the following reference in mind
> >
> > \setupletterstyle[reference][
> > alternative=d,
> > list={invoice,taxnumber,phone,date}]
> >
> > 1) How can one posit
On 26 Mar 2010 at 22:09, Hartmut Henkel wrote:
> On Fri, 26 Mar 2010, Hans Hagen wrote:
> > On 26-3-2010 21:30, Wolfgang Werners-Lucchini wrote:
> > >
> > > how should the directory be named where a 600 dpi pk-font is
> > > searched for by luatex?
> >
>
Hallo,
'backaddress' is composed from 'fromname' and 'fromaddress',
but this is to long and must be shortend. How can I overwritte
'backaddress'?
Gruß, Wolfgang
___
If your question is of interest to others as well,
Hallo,
> \setupletterstyle[backaddress=yes]
>
> it's a disabled by default but i forgot to do this also in the
> default style
> (most styles reset the layout and use default values before they
> modify it)
> > \setupletterstyle
> >[backaddress]
> >[alternative=auto,
> >
> 'auto' is n
On 27 Mar 2010 at 12:00, ntg-context-requ...@ntg.nl wrote:
> > That being said, I realize that it means Metafont fonts can't be
> > used in Mark IV, am I right?
>
> Dumping a ready-made pk file in the local directory worked last
> time I tried it.
No success! Neiter *.pk nor *.600pk
and not wi
Hallo,
on Vers 38 at page 2 (see example) text is green.
\setupcolors[state=start]
\newcounter\V
\def\Vers#1{\increment\V {\color[darkgreen]\rm\bi \V} #1}
\starttext
\startcolumns
\dorecurse{50}{\Vers{Dies ist ein Testsatz der gerad
> >
> > \setupcolors[state=start]
> > \newcounter\V
> > \def\Vers#1{\increment\V {\color[darkgreen]\rm\bi \V} #1}
> >
> \def\Vers#1{\increment\V \dontleavehmode{\color[darkgreen]\rm\bi \V}
> #1}
>
> but i think this is better
>
Hallo Wolfgang,
> You're mixing different things.
> > What is the difference between
> >
> > \setupletterstyle[option][backaddress=yes]
> >
> With \setupletterstyle[=yes|no] you can show or hide
> elements
ok!
> > \setupletterstyle[backaddress][alternative=yes]
> >
> > In 'default.nli'
> > Is there a debug-switch which informs the user what and where
> > luatex is searching?
>
> If you're working in a shell, try setting the KPATHSEA_DEBUG
> environment variable to -1, you will get tons of information about
> path lookups and directory searches.
>
> Arthur
I thought lua
Hallo Taco,
> >> Dumping a ready-made pk file in the local directory worked last
> >> time I tried it.
> >
> >
> > No success! Neiter *.pk nor *.600pk
> > and not with a local subdir /dpi600
> >
> > What extension have you used?
>
> .600pk (but that was ages ago, when I still cared about pk f
Hallo Hans,
> > so it would be nice, if a user could see (from a log) what and
> > where luatex is searching. Isn't there any switch?
>
> --track=resolvers.locating,resolvers.detail
Hmm! luatex ignores this and luatex --help does not list an option
named --track nor does it context.
Wolfgang
_
Hallo,
I have it found!
In chapter 4.1.1.10 of the luatex reference one can read:
The argument name is a bit special in this case. Its form is
dpi/.pk
Wolfgang
___
If your question is of interest to others as well,
Hallo,
I don't know if the maintainer of the minimals or Hans is the person
I have to ask.
Is it possible to change the line
set PATH=%TEXMFOS%\bin;%PATH%
to
set PATH=%TEXMFLOCAL%\bin;%TEXMFOS%\bin;%PATH%
or
set PATH=%TEXMFPROJECT%\bin;%TEXMFOS%\bin;%PATH%
in 'setuptex.bat'?
Wolfgang
__
> > I have it found!
> >
> > In chapter 4.1.1.10 of the luatex reference one can read:
> >
> > The argument name is a bit special in this case. Its form is
> >
> > dpi/.pk
>
> well, i could turn
>
> 600dpi/manfnt.720pk
>
> into
>
> manfnt.720pk
>
No, no! That makes sense this way.
--
Hallo,
how can I find the complete path of a existing font
with luatex under context mkiv. I am looking for an
equivalent function to
kpse.lookup(fontname)
Wolfgang
___
If your question is of interest to others as w
Hallo,
I get allways (10 times at least) the same result:
-
\starttext
\startluacode
math.randomseed(os.time())
\stopluacode
Encode your Name and Surname as a
\startluacode
local a = {'null-terminated', 'dollar-terminated', 'Pascal'}
con
Thank you Wolfgang,
> > how can I find the complete path of a existing font
> > with luatex under context mkiv. I am looking for an
> > equivalent function to
> >
> > kpse.lookup(fontname)
> >
> Here is a solution which consults ConTeXt?s font database, no path
> in the output means the font i
> Am 06.04.10 00:21, schrieb Wolfgang Werners-Lucchini:
> > Hallo,
> >
> > I get allways (10 times at least) the same result:
> > -
> > \starttext
> > \startluacode
> > math.randomseed(os.time
> > I get allways (10 times at least) the same result:
> > -
> > \starttext
> > \startluacode
> > math.randomseed(os.time())
> > \stopluacode
> >
> > Encode your Name and Surname as a
> > \startluacode
> > local a = {'null-terminated', 'do
> > When you know the filename, you can get the complete path like
> this:
> >
> > \starttext
> >
> \ctxlua{tex.print(resolvers.find_file("texgyrepagella-regular.otf"))
> }
> > \stoptext
> >
> Your question is now answered but why do you need the complete
> path?
>
> Wolfgang
I want to modify
> >> Delete the tuc file with 'context --purgeall'.
> >>
> > This does not work! I get allways the same.
> >
> Delete
>
> \startluacode
> math.randomseed(os.time())
> \stopluacode
>
> in your file.
Now it works. But WHY?
Wolfgang
___
> > Now it works. But WHY?
>
> Because that's the way random number generators works. They're
> not
> random at all, they generate completely predictable number
> sequences
> from a "seed": each time you use the same seed, you get the exact
> same
> sequence. In your case, you used os.time() a
> > I know this and I have triggerd this by hand. So there is a lot of
> > time between. I have purged files between every run and I got the
> > same result if I wait 1 second, 1 minute or 1 day.
>
> Well, then it probably qualifies as a bug, and, since the .tuc
> file
> has apparently been dism
Hallo,
I tried the following
--
\starttext
\startluacode
local OldPreLB
function MyPreLB(head,gc)
texio.write_nl("### Here I am!")
OldPreLB(head,gc)
end
OldPreLB = callback.find('pre_linebreak_filter')
callback.register('pre_linebreak_filter',MyPr
> > I tried the following
> >
> > --
> > \starttext
> > \startluacode
> > local OldPreLB
> >
> > function MyPreLB(head,gc)
> > ?texio.write_nl("### Here I am!")
> > ?OldPreLB(head,gc)
> > end
> >
> > OldPreLB = callback.find('pre_linebreak_filter')
> > ca
> Hello,
>
> Here a patch for luat-cbk.lua:
>
> function callbacks.register(name,func,freeze)
> if frozen[name] then
> if trace_callbacks then
> frozenmessage("registering",name)
> end
> return nil, name .. " is frozen"
> elseif freeze then
> fr
> there are two user hooks:
>
> tasks.appendaction("processors","before","modules.mine.whatever_a")
> tasks.appendaction("processors","after","modules.mine.whatever_b")
> -
My example looks now
\starttext
\startluacode
function MyPreLB(head,gc)
texio.wri
Hallo,
on the garden there is am module called 'simplebib'
which has commands \bibitem and \bibsource
Are these two commands meant alternativly?
Wolfgang
___
If your question is of interest to others as well, please
> > on the garden there is am module called 'simplebib'
> > which has commands \bibitem and \bibsource
> >
> > Are these two commands meant alternativly?
> >
> Both are unrelated to each other, they are two different ways to
> create a bibiliography without the bib module and a bib file.
>
> W
> > Sorry, I meant the first only.
> >
> > There are two commands \bibitem and \bibsource which are not clear
> to me.
> >
> When i decode the code (ugly formatting) correct this works:
>
> \starttext
>
> bla \in{book}[knuth:1] bla
>
> bla \bibref[knuth:2]{} bla
>
> bla \bibref[knuth:3]{} b
Hallo,
I have to typeset a division and have two diverent solutions but they
both have problems.
%-
\starttext
{\setuptables[rulethickness=0.05em,distance=small]
\starttable[s0|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|]
\NC\NC 1\NC 1\NC
> \define[1]\divisionrule
> {\dontleavehmode\blap
> {\vskip-\strutht
> \blackrule[width=\the\dimexpr.5em*#1\relax,height=2\linewidth]}%
> \vskip-\lineheight}
Ahh! Yes, this helps a lot.
Thank you very much!
Wolfgang
_
> Follows is an example of a document that illustrates 1, above:
>
> \starttext
> \startfrontmatter
>
> \completecontent[alternative=c]
>
> \setuppagenumbering[state=start,alternative=doublesided,conversion=r
> omannume
> rals]
>
> \chapter{Preface}
> \input knuth
>
> \chapter{Introduction}
>
Hallo Wolfgang!
> >> \starttext
> >> \startfrontmatter
> >>
> >> \completecontent[alternative=c]
> >>
> >> \setuppagenumbering[state=start,alternative=doublesided,conversion=romannumerals]
> >>
> >> ...
> >>
> >> \setuppagenumbering[state=start,alternative=doublesided,conversion=numbers]
> >> \set
Hallo,
shouldn't \textvisiblespace work in mkiv?
Wolfgang
___
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/mailman/listinfo/nt
Hallo,
I have a little problem which I can not solve.
The following example works with the definition
of \broad in position 1 and it fails in position 2.
-
% Position 1
% \def\broad{5*broad}
\defineitemgroup[Tst]
\setupitemgroup[Tst][1][n,\broad ]
% Position
Hallo,
on the garden at
http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions
one can read to the command \doifinset
'If the first string expands 'empty', it is considered to be always
in the set.'
But
\starttext
\doifinset{}{A,B,C}{should go}
\stoptext
seams to show that this
Hallo Taco and Wolfgang,
> > Why is this?
>
> Because \setupitemgroup expands its third argument.
>
> > And how can I make it work in position 2?
>
>\setupitemgroup[Tst][1][n,\noexpand\broad ]
>
thank you very much!
> \defineitemgroup[Tst]
>
> \setvariables[tst][set={\setupTst[1][n,\g
> > What is the following command for:
> >
> >
> \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broa
> d]
> > }]
> >
> > This is enough, or are there any problems?
> >
> > \setupTst[1][n,\getvariable{tst}{broad}*broad]
> >
> To explain it with simpler macros
>
> \setvariables[
201 - 254 of 254 matches
Mail list logo