and not
LuaJitTeX - unless I'm doing something wrong.
This is by design, see
http://comments.gmane.org/gmane.comp.tex.luatex/3000
Marco
signature.asc
Description: Digital signature
___
If your question
);
\stopuseMPgraphic
\starttext
\useMPgraphic{foo}
\scale[width=3cm]{\useMPgraphic{foo}}
\scale[width=3cm,height=5cm] {\useMPgraphic{foo}}
\scale[scale=2500] {\useMPgraphic{foo}}
\stoptext
Marco
signature.asc
Description: Digital signature
this to be able to use key-value syntax or default
values if you like.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
is the line-break in the margin of the second paragraph
different than above?
The margin box itself is positioned correctly, but I have no clue
where the empty line comes from. You can visualise the box with:
\setupmarginframed [inouter] [frame=on]
Marco
signature.asc
Description
Text in paragraph.
\stopmarginblock
\input knuth
\inright{Text in paragraph.}
\input knuth
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add
://www.ntg.nl/pipermail/ntg-context/2013/072892.html
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
};
\stopMPcode}
\stoptext
Marco
signature.asc
Description: Digital signature
___
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
On 2013–04–28 Wolfgang Schuster wrote:
Am 28.04.2013 um 19:56 schrieb Marco Patzer home...@lavabit.com:
Hi,
why is the second line right-aligned in the following example?
The first you use the iwona font in your document context has to load the
typescript
for it from a external
edge-case and there's a simple
workaround, see Wolfgangs answer.
Except if there's an easy fix for that, I'm personally fine knowing
where the spaces are coming from and how to prevent them, which I do
now.
Marco
signature.asc
Description: Digital signature
this
mtxrun --script plain --make
Doesn't work here:
..beta/tex/texmf-context/scripts/context/lua/mtx-plain.lua:61: attempt to get
length of local 'fmtpathspec' (a nil value)
Marco
signature.asc
Description: Digital signature
On 2013–04–21 Jörg Hagmann wrote:
Has the code for starting pagenumbering at a given number changed? I'm
using last year's template for an annual report, but can't get it to
work.
Minimal example:
\setuppagenumber[number=3]
\setcounter[userpage][3]
Marco
signature.asc
Description
command, it's declarative
and doesn't interfere with \asciimode.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
\input luatex-mplib\relax
}
\edef\fmtversion{\fmtversion+luatex}
\dump
2) Build the format:
luatex --ini luatex-plain.tex
3) Compile with:
luatex --fmt=luatex-plain.fmt somefile.tex
Marco
signature.asc
Description: Digital signature
On 2013–04–20 Tim Li wrote:
Marco, many thanks. By the way, how can I load the
`luatex-plain.fmt` by default when typing luatex somefile.tex?
TeX checks for a format which is named the same as the binary. You
can create a link:
ln -s /path/to/binary/luatex luatex-plain
and then call
\relax
\input luatex-mplib\relax
}
\edef\fmtversion{\fmtversion+luatex}
\dump
there is a luatex-plain.tex in the context distribution
Indeed. That's probably where I got the snippet from.
@Tim: That means running
luatex --ini luatex-plain.tex
is sufficient.
Marco
signature.asc
.
Marco
signature.asc
Description: Digital signature
___
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/ntg
On 2013–04–19 Alan BRASLAU wrote:
\bTD\numexpr\currentTABLErow\minusone\relax\dTD
\bTD\the\numexpr\currentTABLErow-1\relax\eTD
Marco
signature.asc
Description: Digital signature
___
If your question
\startmarker
\input knuth
\stopmarker
\blank
Some \marker{very important} text
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well
On 2013–04–18 H. Özoguz wrote:
Thanks Marco, but I was not precise enough: I want this underlied
gray in the header for the chapter-marking. The direct attempt below
fails:
\definetextbackground
[marker]
[background=color,
backgroundcolor=gray,
frame=off]
\setupheadertexts
On 2013–04–16 H. Özoguz wrote:
How to prevent line break in figure captions?
\setupcaption
[figure]
[width=\textwidth,
align=middle]
Marco
signature.asc
Description: Digital signature
___
If your
to detect wrong references. It's not
pretty, but it does it's job reasonably well.
pdftotext file.pdf - | grep -E '\?\?|!!'
Marco
signature.asc
Description: Digital signature
___
If your question is of interest
On 2013–04–17 H. Özoguz wrote:
How to get the default results with indentation?
headalign=left
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please
'__newindex'
...ext-beta/tex/texmf-context/tex/context/base/trac-vis.lua:524: in
function 'ruledbox'
...ext-beta/tex/texmf-context/tex/context/base/trac-vis.lua:810: in
function 'visualize'
Marco
signature.asc
Description: Digital signature
-context | redirect texlua - luajittex: luajittex --luaonly
/home/marco/usr/local/share/context-beta/tex/texmf-linux-64/bin/mtxrun
--script context --jit b7r.tex
--redirected...r/local/share/context-beta/tex/texmf-linux-64/bin/mtxrun:177:
attempt to index field 'searchers' (a nil value)
Marco
Hi,
\starttext
\math{\frac12}
\stoptext
gives
! LuaTeX error [string \directlua ]:1: attempt to call field 'math_frac' (a n
il value)
stack traceback:
[string \directlua ]:1: in main chunk.
Marco
signature.asc
Description: Digital signature
On 2013–04–16 Hans Hagen wrote:
Marco tries to do something like
\define[3]\Test{#one#two#three}
which doesn’t work.
hm, ok, do \define is not mkvi then ... too messy to catch that one too
No need to bother with that. I was just pointing out the differences
between \def and \define
, \setvalue or texdefinition
are being used and \define for in-document markup, wherefore
numbered parameters are perfectly fine. The only thing that could be
improved is a definition which doesn't interfere with \asciimode,
but that's low priority and can easily be worked around.
Marco
=empty]
\starttext
\startchapter [title=Foo]
\input knuth
\stopchapter
\startdedication [title=Dedication]
\input knuth
\stopdedication
\startchapter [title=Bar]
\input knuth
\stopchapter
\stoptext
Marco
signature.asc
Description: Digital signature
On 2013–04–16 Hans Hagen wrote:
- frac fixed
Thanks.
- fixed more restrictive tex file lookup in run
context s-pre-17.mkiv
still works on my machine. I'm fine with that, just want to let you
know, it might not be the intended behaviour.
Marco
signature.asc
Description: Digital
On 2013–04–15 H. Özoguz wrote:
\startitemize[joinedup, margin=1em]
\startitemize[joinedup][margin=1em]
Options and key-value pairs cannot be mixed in ConTeXt.
Marco
signature.asc
Description: Digital signature
-sys.mkiv)
! Missing \endcsname inserted.
system tex error on line 1 in file virtual://buffer.noname.2:
Missing \endcsname inserted ...
empty file
to be read again
\hsize
\namedcounterparameter ...er \csname \??counter #1
Marco
signature.asc
Description: Digital signature
…
\stoptexdefinition
\starttexdefinition mycmd $#first #second
…
\stoptexdefinition
\starttexdefinition unexpanded mycmd #first #second
…
\stoptexdefinition
Marco
signature.asc
Description: Digital signature
as a number in brackets, which
makes it hard to refer to them by name:
%% fails, of course
\define[2]\foo{#first, #second}
Marco
signature.asc
Description: Digital signature
___
If your question is of interest
on my side (as Wolfgang already noticed).
It's strc-not.mkvi that fails, not core-sys.mkiv.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add
:
%% \startcombination [][nx=3, ny=1]
%% suggestion, fails at the moment
\startcombination [nx=3, ny=1]
{a}{x}
{b}{x}
{c}{x}
\stopcombination
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your
On 2013–04–15 H. Özoguz wrote:
With \vskip-0.9cm one can relocate 0.9cm. If one uses grid-setting,
it would be easier to give the dimension in lines, like
\vskip-2*line – but this gives an error, how to do that correctly?
\vskip-\lineheight
Marco
signature.asc
Description: Digital
-pre-17.mkiv
Marco
signature.asc
Description: Digital signature
___
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
[string \directlua ]:3: attempt to index global 'f' (a nil
value)
stack traceback:
[string \directlua ]:3: in main chunk.
Why does this fail in luatex but works in lua5.2 ? What is the
correct way to obtain the output of a command?
Marco
signature.asc
Description: Digital signature
On 2013–04–14 Alan BRASLAU wrote:
Two problems, though:
1. I tried label= in \setupcaption to suppress Figure . This does not
work,
and looking at the source I do not see how to do this...
\setuplabeltext [figureitem=]
Marco
signature.asc
Description: Digital signature
for consistency, the sole purpose of this
feature.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
\stopcombination
\stopplacefigure
A cow is shown in \in{figure}{a}[fig:scenery] and a mill in
\in{figure}{b}[fig:scenery].
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest
Hi,
Including local SVG graphics works, so does including remote PNGs.
Remote SVGs are not displayed, however. Example:
\starttext
\externalfigure[http://www.gnu.org/graphics/gnu2.svg]
\stoptext
Is this not supported or am I missing a required option?
Marco
signature.asc
Description
context output filter.
Marco
signature.asc
Description: Digital signature
___
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
.
Marco
signature.asc
Description: Digital signature
___
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/ntg
On 2013–04–03 Hans Hagen wrote:
On 4/3/2013 12:46 PM, Marco Patzer wrote:
Hi,
the latest beta throws:
mtx-context | redirect texlua - luajittex: luajittex --luaonly
/tmp/luajitbug/newbeta/tex/texmf-linux-64/bin/mtxrun --script context
--jit t
--redirected/tmp/luajitbug/newbeta
format is not generated:
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
\write18 enabled.
kpathsea: Running mktexfmt cont-en.fmt
mktexfmt: No such file or directory
I can't find the format file `cont-en.fmt'!
Marco
signature.asc
Description: Digital signature
On 2013–04–04 Marco Patzer wrote:
On 2013–04–04 Hans Hagen wrote:
Indeed, LuajitTeX works, but you broke MkII. The format generation
already fails:
…
(/tmp/mkiitest/tex/texmf/metapost/base/string.mp
(/tmp/mkiitest/tex/texmf-context/metapost/context/base/mp-func.mpii
On 2013–04–03 Meer H. van der wrote:
The latest downloaded ConTeXt manual to be found on my system is:
ConTeXt reference manual
Hans Hagen, Taco Hoekwater
June 1,2011
Is there a more recent one?
October 18, 2012:
http://wiki.contextgarden.net/Manual_being_revised
Marco
)
Example:
\starttext
Foobar
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
On 2013–04–03 luigi scarso wrote:
Hans is working on a new beta that (among other things)
That's good news.
will fix the issue, in the meanwhile you can try to comment the offending
line .
Not necessary, I'll wait for the new beta.
Marco
signature.asc
Description: Digital signature
On 2013–03–28 pol stra wrote:
Is there a way to automatically attach the source file to the produced pdf?
\setupinteraction [state=start]
\starttext
\attachment[file=attachfile.tex, title=Some file, author=Me]
\stoptext
signature.asc
Description: Digital signature
On 2013–03–27 Hans Hagen wrote:
(in fact, setting up doublesided should be in setuplayout but i'll
keep that one)
Perhaps both locations could be supported for some time.
\setuppagenumbering is indeed an awkward place to set up the layout.
Marco
signature.asc
Description: Digital signature
[Header][Text];
%% error
fill Area[Header][Text] shifted Location[Header][Text];
\stopuseMPgraphic
\starttext
\useMPgraphic{foo}
\stoptext
%
Marco
signature.asc
Description: Digital signature
with an hskip. That said, it's
unlikely that *I* will run into issues. And I'm curious about an
example where this fails and yields unacceptable results (like the
unpatched version does).
Thanks Hans for taking the time to look into that.
Marco
signature.asc
Description: Digital signature
On 2013–03–26 Thomas A. Schmitz wrote:
shouldn't this work?
\setupuserpagenumber[number=34]
I don't know if that's the recommended way, but I set the page
number as follows:
\setcounter [userpage] [34]
Marco
signature.asc
Description: Digital signature
Hi,
rebuilding the font cache fails in the latest beta. I didn't check
the last few beta, though.
mtxrun --script fonts --reload
..beta/tex/texmf-context/scripts/context/lua/mtx-fonts.lua:173: attempt to
index global 'arguments' (a nil value)
Marco
signature.asc
Description: Digital
is applied on all four sides
\startfoo
\input ward
\stopfoo
\input knuth
%% this is what I'm aiming for
\startnarrower [-1cm]
\startfoo [backgroundoffset=0cm, loffset=1cm]
\input ward
\stopfoo
\stopnarrower
\stoptext
Marco
signature.asc
Description: Digital signature
? It would be intuitive and
consistent. Suggestion:
content background
--- --
offset backgroundoffset
loffset backgroundloffset
roffset backgroundroffset
toffset backgroundtoffset
boffset backgroundboffset
Marco
signature.asc
Description: Digital signature
This, however invalidates any later setup. I am working on fixing
the module.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki
run a script an time its run
This should be rephrased, although I don't have suggestions since I
have no clue what this option is for.
Marco
signature.asc
Description: Digital signature
___
If your question
There should be more examples on the mailing list, search for
\defineheadalternative
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry
files (especially LuaTeX and
3rd party modules) get out of sync you'll run into errors no one
else can reproduce.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well
On 2013–03–16 Aditya Mahajan wrote:
See the visualcounter module for an alternative way to pass values
from TeX to MP.
I see, you create an initialisation graphic and include it where
necessary. And it's local to the MP instance. Thanks for the
pointer.
Marco
signature.asc
Description
of solutions to pass from TeX to MP.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
]
\useMPgraphic{alpha} %% diameter = 1cm
\def\somesize{2cm}
\processMPbuffer[foo]
\useMPgraphic{alpha} %% diameter = 2cm
\stoptext
Is there a better way?
Marco
signature.asc
Description: Digital signature
___
If your
mysize withcolor red ;
\stopuseMPgraphic
However, in the minimal example it works, too. So the problem lies
be somewhere else. I will investigate why it fails. I like the MPvar
solution and try to get it working. Thanks
Marco
signature.asc
Description: Digital signature
On 2013–03–16 Thomas A. Schmitz wrote:
\setupMPvariables
[mycircle]
[diameter=\Circlediameter,
]
MPvariables are local to a particular MP graphic. I need a way to
set the variables global to all MPgraphics of that MP instance.
Marco
signature.asc
Description: Digital signature
is
MPinitializations, but the values affect all MP instances.
I will settle for MPinitializations until I find a better solution,
it allows for a cleaner code compared to the MPbuffer workaround.
But still, I would prefer to have the setting non-global.
Marco
signature.asc
Description: Digital signature
On 2013–03–14 Philipp Gesang wrote:
I’ve been using \start...\stop as a synonym for grouping for ages
but never realized it could take an argument.
You're not alone :)
Marco
signature.asc
Description: Digital signature
On 2013–03–08 Wolfgang Schuster wrote:
The following change in typo-del.mkiv prevents the line break.
[…]
Thanks Wolfgang for the code and thanks to Hans for incorporating
this into the core.
Marco
signature.asc
Description: Digital signature
\stopreusableMPgraphic
\starttext
\reuseMPgraphic{alpha}
\reuseMPgraphic{beta}
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry
.
Have a look at the project structure.
http://pragma-ade.com/general/magazines/mag-1101.pdf
To set the directory for included images, use:
\setupexternalfigures
[directory=images]
To set the directory for included text files, use:
\usepath [directory] e.g.
\usepath [chapters]
Marco
within the box.
\simplealignedbox{width}{left|right|flushleft|flushright|middle}{content}
translates to
\hbox to width{content\hss} %% left alignment
\hbox to width{\hsscontent} %% right alignment
\hbox to width{\hsscontent\hss}
\hss pushes the content to the left or right, respectively.
Marco
is broken please post a minimal example.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
On 2013–03–06 Hans Hagen wrote:
i get in the pdf:
[1]
Hagen, H. (2010b). The font name mess. MAPS, 40, 2-8.
I updated the distribution and now it works fine. Either it's fixed
now or it was never broken and I messed something up yesterday.
Sorry for the noise.
Marco
signature.asc
,
foregroundstyle=bolditalic,
foregroundcolor=darkred,
background=encadrement]
\starttext
\boxframed{Devoir de mathématiques}
\blank [2cm]
\boxframed{Devoir de mathématiques and some more text}
\stoptext
Marco
signature.asc
Description: Digital signature
}{flushright}]
\starttext
\startitemize [n, packed, columns]
\dorecurse{32}{\startitem foo \stopitem}
\stopitemize
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest
, will be
so kind as put this there.
Done.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
] %% works
\lesshyphens%% no effect
\starttext
\input zapf
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry
On 2013–03–02 Marcin Borkowski wrote:
Is it possible to find the official ConTeXt repo somewhere,
There is no official repo. But you can use
git://gitorious.org/context/context.git
Marco
signature.asc
Description: Digital signature
=darkgreen,numbercolor=darkgreen]
None of this has ever given me any problems before.
It's easier to tell with a minimal example. But here's a guess. Try
\unexpanded\def#1#2\chap{…}
or
\define[2]\chap{…}
Marco
signature.asc
Description: Digital signature
=red]
Marco
signature.asc
Description: Digital signature
___
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
[default]
[em=slantedred]
\definehighlight
[slantedred]
[style=slanted,
color=red]
\starttext
foo {\em bar}
\stoptext
You cannot update, you can try this instead of \definehighlight:
\definealternativestyle
[slantedred]
[{\slanted\color[red]}]
Marco
signature.asc
Description: Digital
, Paul , Betty
\stopMyTable
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
-script fonts -list -all myriad
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
On 2013–02–26 Hans Hagen wrote:
Hans, is this a bug? Has something changed?
I don't know .. no example
I provided an example in
http://www.ntg.nl/pipermail/ntg-context/2013/071552.html
However, it seems to be fixed in a recent beta. At least it works
for me.
Marco
signature.asc
Hi Mikael,
your original example works for me with a current beta if you
replace uniqueMPgraphic with useMPgraphic.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to others
On 2013–02–24 Hans Hagen wrote:
You can add this to cont-new.mkiv:
[…]
and then do:
[…]
\startMPpage[instance=myinstance,offset=1cm]
Thanks Hans for adding this!
Marco
signature.asc
Description: Digital signature
Hi,
how to specify a particular MP instance for a MPpage?
\defineMPinstance
[myinstance]
[metafun]
[textcolor=green]
\starttext
\startMPpage
draw textext(Foo) scaled 1cm;
\stopMPpage
\stoptext
Marco
signature.asc
Description: Digital signature
file.tex
Marco
signature.asc
Description: Digital signature
___
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/ntg
]
\stopbuffer
\dorecurse{10}{%%
\blackrule[width=\textwidth]
\advance\cnt1cm \hskip\cnt
\getbuffer[greenbar]\page}
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest
\startCSV
alpha, 10
beta, 20
gamma, 30
\stopCSV
\stopplacetable
\stoptext
This looks like a bug.
Marco
signature.asc
Description: Digital signature
___
If your question is of interest
. It's a markup language that simply
states that *this* element is a header and *that* element is a list,
etc. How the HTML is rendered is mostly controlled by the CSS.
\stopnitpicking
Within the limits of CSS you obtain a quite close match¹. But it's
up to you to create the matching CSS.
Marco
On 2013–02–18 Mikael P. Sundqvist wrote:
Thank you Marco for giving a better example.
I thought that uniqueMPgraphic meant it was redrawn everytime while
useMPgraphic meant it was done once and then gave the same result
everytime used.
http://thread.gmane.org/gmane.comp.tex.context/79507
Hi Mojca et al.
todays beta broke the gnuplot module. This is probably due to the
changes in the MP inclusion mechanism.
\usemodule [gnuplot]
\starttext
\stoptext
Marco
signature.asc
Description: Digital signature
\stopcombination
\stoptext
Marco
signature.asc
Description: Digital signature
___
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
. Philipps buffer solution seems to work with either
version.
\asciimode
\starttext
%% works
\startfootnote
foo \type{#bar}
\stopfootnote
%% fails
%% \startfootnote
%% foo
%% \starttyping
%%#bar
%% \stoptyping
%% \stopfootnote
\stoptext
Marco
signature.asc
Description: Digital signature
,
prefix=no]
\setupexternalfigures
[directory=graphics,
location={global,local}]
\startMPrun
%% works
%% input graphics/foo;
%% fails
input foo;
\stopMPrun
\starttext
\externalfigure [mprun.1]
\stoptext
Marco
signature.asc
Description: Digital signature
text editors
already know what a sentence is. That means it's as easy as looping
over all sentences and counting the characters/bytes and performing
some action (e.g. placing the cursor or injecting a ConTeXt macro).
Marco
signature.asc
Description: Digital signature
sentence
goto start
Or just define a regular expression for a sentence (google is your
friend) and use a scripting language directly if your editor is not
scriptable.
Marco
signature.asc
Description: Digital signature
401 - 500 of 1194 matches
Mail list logo