languages.current() == en then
context(Something B)
else
context(Something C)
end
\stopluacode
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki
The »graphictext« makro does not work in mkiv, is it a bug
or intended? This example works in mkii:
\starttext
\startMPcode
draw image(graphictext FooBar scaled 8);
\stopMPcode
\stoptext
Marco
___
If your question
check the manuals at
http://wiki.contextgarden.net/Official_ConTeXt_Documentation
there's also a link to the sources.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki
\setuphead[chapter][alternative=middle]
\setuphead[chapter][align=middle]
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
=white,
style=bold]
\stopsetups
\defineseparatedlist
[MyTable]
[separator=tab,
left=\bTD,right=\eTD,
first=\bTR,last=\eTR,
setups=Table:NT,
before=\bTABLE,after=\eTABLE]
Marco
___
If your question
How can I get the chapter name in a new line, like:
Chapter 1
Foo Bar
The following yields to “Chapter1Foo Bar”.
\setuplabeltext [en] [chapter=Chapter~]
\def\MyChapter#1#2{#1\blank#2}
\setuphead [chapter] [command=\MyChapter]
\starttext
\chapter{Foo Bar}
\stoptext
Marco
If you don't want to use framedtext (cfr wolfgang)
\setuplabeltext [en] [chapter=Chapter~]
\def\MyChapter#1#2{\vbox{#1\blank#2}}
\setuphead [chapter] [command=\MyChapter]
\starttext
\chapter{Foo Bar}
\stoptext
Thanks to both of you. Added to the wiki.
Marco
}
\stoppublication
A web resource should include the title, url and the
access date.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
On 2011-06-06 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote:
If you don't need fancy language-dependent printout of
date, you can
No, I don't.
define a simple \newbibfield[accessdate] and then use
\insertaccessdate{before}{after}{if absent}
Brilliant. Thanks a lot
Marco
have one .
\usetypescript [modern] [texnansi]
\setupbodyfont [modern]
Or use MkIV.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
]
\stopsubsection
\startsubsection [title=New Sub Sec]
\stopsubsection
\stopsection}
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
is still
version 0.66, wasn't there a 0.70.??? some weeks ago?)
Marco
___
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
\stoptext
Shorter example:
\starttext
Foo
\startTEXpage [height=21cm, width=40cm]
\stopTEXpage
Bar
\stoptext
When the width of the TeXpage is larger than the preceding
page the following pages also get larger, a smaller size
works. I don't thing this behaviour is intended.
Marco
On 2011-06-08 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
Is there a way how to avoid this, how to force
continuing on the same line?
Add “space=fixed” to your setup.
And what is “lines=no” for?
Marco
=fixed”) are confusing, or at least not
transparent, in my opinion.
Marco
___
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
[Model.pdf]}
Marco
___
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-context
webpage : http://www.pragma
Hi Martin,
Try to replace
\startstructureblockenvironment with
\startsectionblockenvironment
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
with 2011.06.11 16:45
Marco
___
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-context
webpage : http
Or can anyone provide me with a?
minimalistic example ?
Not that flexible, but easy to use and broad language
coverage has the vim module [2].
Marco
[1] http://wiki.contextgarden.net/Custom_pretty_printer
[2] http://dl.contextgarden.net/modules/t-vim/doc
no sense. Next time try to
provide a *minimal* example (with every line removed, that
is not related to the problem).
I have no clue what you want to achieve.
Marco
___
If your question is of interest to others as well
%
Regards
Marco
___
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-context
webpage : http://www.pragma-ade.nl
using “Swoosh” does not trigger the error.
Regards
Marco Patzer
(generic-talk-15min-45min.tex
ConTeXt ver: 2011.09.06 17:46 MKIV fmt: 2011.10.13 int: english/english
system cont-new.mkiv loaded
(/usr/local/share/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system
Does anyone have an idea?
What I do at the moment is that I manually reference my
sections. But I'm convinced, there's a neat solution for
that.
Regards
Marco Patzer
___
If your question is of interest
On 2011-10-13 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
\setupreferencestructureprefix[default][prefixsegments=2:*]
Thanks.
Wikified. (Although without explanations, just an example)
Marco
Hi,
I stumbled upon the problem of how to add a command to the
command reference in the wiki. More general: How to add a
new page (not editing an existing one)?
Am I missing the obvious? What is the secret trick?
Marco
On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote:
I stumbled upon the problem of how to add a command to the
command reference in the wiki. More general: How to add a
new page (not editing an existing one)?
Am I missing the obvious? What is the secret trick?
Marco
1
On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote:
On Fri, Oct 14, 2011 at 4:13 PM, Marco net...@lavabit.com wrote:
2)
How to delete pages?
There is tab delete just near the head of the page (if you have the right
permission)
Hmm. I don't see it. Maybe I don't have
”).
Regards
Marco Patzer
\definelayer [Kontaktdaten]
[
x=20mm,
y=30mm,
width=65mm,
height=30mm,
state=start
]
\setupbackgrounds [paper]
[
%setups=ALayer,
% The setup ALayer is never defined
background=Kontaktdaten,
state=start
]
\starttext
\strut
On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote:
On Fri, Oct 14, 2011 at 6:57 PM, Marco net...@lavabit.com wrote:
On 2011-10-14 luigi scarso luigi.sca...@gmail.com wrote:
On Fri, Oct 14, 2011 at 4:13 PM, Marco net...@lavabit.com wrote:
2)
How to delete pages
}
\stoplines
% Workaround
% for whatever
\startlines [space=on]
for {\it{}whatever} % or
for{\it whatever}
\stoplines
\stoptext
Regards
Marco Patzer
___
If your question is of interest to others
On 2011-10-16 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
% for whatever
\startlines [space=on]
for {\it whatever}
for \italic{whatever}
This works, thanks.
However I still don't know, where the space comes from,
since the space after \it is eaten by TeX.
Marco
On 2011-10-15 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
[Description of \setupreferencestructureprefix]
wikified
Marco
___
If your question is of interest to others as well, please add an entry
} % also left ??
\stopFLOWcell
\stopFLOWchart
\starttext
\FLOWchart [mychart]
\stoptext
%
Regards
Marco Patzer
___
If your question is of interest to others as well, please add an entry
,
+ corresponds to the top point and - to the bottom
point.
According to this, [tb+] should yield to the desired
result. However, it produces the same output as [tb].
Marco
___
If your question is of interest
.
Marco
___
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-context
webpage : http://www.pragma-ade.nl
: According to the manual, “action” should be
the default shape. However, when no shape is specified, an
error is raised. Is it a bug?
Regards
Marco Patzer
___
If your question is of interest to others as well, please add
. Confirmed with versions:
works:
2011.06.11 16:45, beta-0.70.1-2011051911
fails:
2011.10.17 10:36, beta-0.70.1-2011051918
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki
On 2011-10-18 Hans Hagen pra...@wxs.nl wrote:
On 18-10-2011 21:32, Marco wrote:
Another issue: According to the manual, “action” should be
the default shape. However, when no shape is specified, an
error is raised. Is it a bug?
fixed in next beta
Thanks for the quick fix. It works
\framed[align=flushright,width=broad]{Hello~World!}
\framed[align=flushright,width=broad]{Hello World!}
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki
Hans Hagen pra...@wxs.nl writes:
On 5-11-2011 15:52, Marco Pessotto wrote:
Hello there.
While exporting the ellipses are completely lost. Is there a workaround
for cases like that (I have the feeling this is the top of the iceberg)?
Not using \unknown but \textellipsis
Thanks.
I'm
Hans Hagen pra...@wxs.nl writes:
On 6-11-2011 21:38, Marco Pessotto wrote:
Hi!
The highlight seems to act strangely. In addition to the previous
report, I get an unwantedbreak/:
%%% start example
\setupbackend[export=yes]
\definehighlight[emph][style=italic]
\starttext
\section{test
show using different transitions.
Marco
[1] http://impressive.sourceforge.net/
___
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
or
\times)?
Marco Patzer
___
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-context
webpage : http
On 2011-12-07 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote:
On Wed, Dec 7, 2011 at 22:27, Marco net...@lavabit.com wrote:
There seems to be a bug in the new unit system for \unit{kbit}:
% bit
\unit{kilo bit} % kbit
\unit{kilobit} % kbit
\unit{kbit} % kB, shouldn't
:
% generates bookmark ”References”
\startchapter [title=References]
\placepublications
\stopchapter
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
or a \cdot?
Marco Patzer
___
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-context
webpage : http
On 2011-12-09 Hans Hagen pra...@wxs.nl wrote:
On 8-12-2011 11:24, Marco wrote:
There is an inconsistency concerning the bookmarks for
the publications list. It generates the section head
“References”, but the PDF bookmark “pubs”.
\setupinteraction [state=start
On 2011-12-09 Hans Hagen pra...@wxs.nl wrote:
On 9-12-2011 20:41, Marco wrote:
One feature request: Could it be make configurable to
either insert a \times or a \cdot?
is already possible
How
.
+1
Marco
___
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-context
webpage : http://www.pragma-ade.nl
is to substitute the equations with
assignments or to “save” the values beforehand.
See also:
http://archive.contextgarden.net/message/20101205.035356.1b7bfb72.en.html
Marco
___
If your question is of interest to others
is as same as the case of [1*2], that is, two
cows are aligned vertically not horizontally.
Add the missing braces. Works here.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki
Hi!
Citations don't work when components are present in
a bodymatter. The presence of a component breaks the
citations.
Tested with versions:
MkIV, 2011.11.29 23:11
MkIV, 2012.01.16 18:33
Regards
Marco
Example:
%%
% report.bbl %
%%
\startpublication
Citations don't work when components are present in
a bodymatter.
Sorry for the missing error description. It displays
[[error 2]] instead of the expected [1].
Regards
Marco
___
If your question
On 2012-01-16 Marco net...@lavabit.com wrote:
Hi!
Citations don't work when components are present in a
bodymatter. The presence of a component breaks the
citations.
Any ideas?
Some more information: A file \jobname.blg is created,
which seems to be the log file of bibtex
\pdfcompresslevel9 You can also try
\maximumpdfcompression, which is apparently preferred
(see some recent thread on the list).
Marco
___
If your question is of interest to others as well, please add an entry
[…]
[pid 14816] execve(/usr/bin/inkscape, [inkscape,
/home/marco/Temp/fig.svg, --export-dpi=600, -A,
/home/marco/Temp/m_k_i_v_fi...],
[…]
ConTeXt doesn't seem to list inkscape as a dependency on
my distro:
Inkscape should not be a dependency of ConTeXt. 99.9% work
very well without inkscape
://archive.contextgarden.net/message/20111229.184755.b0199f53.en.html
Marco
___
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
, quit], [/* 55 vars */])
Marco
___
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-context
webpage : http
On 2012-01-20 Kip Warner k...@thevertigo.com wrote:
On Sat, 2012-01-21 at 01:22 +0100, Marco wrote:
On 2012-01-20 Kip Warner k...@thevertigo.com wrote:
So what does ConTeXt do when it typesets an \externalfigure?
Does it always use inkscape, or only sometimes?
If the image type
On 2012-01-21 Hans Hagen pra...@wxs.nl wrote:
On 21-1-2012 01:40, Marco wrote:
However, these external helpers (like ghostscript as well)
should be listed as a recommendation or suggestion [not as
dependency]). In that case the user is notified that
he/she might get a benefit
, frame=on]}
\stopplacefigure
\page
\startplacefigure [title=This one works]
\rotate[rotation=90]{\externalfigure [\jobname-fig]}
\stopplacefigure
\stoptext
Is this a bug?
Used version:
context 2011.11.29 23:11
Doesn't compile at all using:
context 2012.01.16 18:33
Marco
rotate.pdf
message
would be:
!LuaTeX error: cannot find inkscape to convert image file 'pic.svg'
== Fatal error occurred, no output PDF file produced!
Marco
___
If your question is of interest to others as well, please add
[placeholder]
\stopTEXpage}
\stoptext
Regards
Marco Patzer
___
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
://randomdeterminism.wordpress.com/2011/05/07/images-for-documentation-examples/
+ Nice idea
+ Natural \externalfigure UI
+ Great use case of ConTeXts http capability
+ Cute kitties
+ Even more cute kitties
- Relies on an internet connection
Marco
, numbercolor=red]
Marco
___
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-context
webpage : http://www.pragma
On 2012-02-07 Kip Warner k...@thevertigo.com wrote:
On Tue, 2012-02-07 at 08:36 +0100, Marco wrote:
\setuplist [chapter] [color=yellow, pagecolor=green]
\setuplist [section] [color=blue, numbercolor=red]
Thanks Marco. Where can I find a list of the parameters relevant
to chapter
\setupcaptions [width=fit]
\startplacefigure [title=Foo Bar]
\externalfigure [placeholder]
\stopplacefigure
\input knuth
\stoptext
Marco
___
If your question is of interest to others as well, please add
%%%
But the question is, why does setting the float width in \setupfloat
fail? What else is it supposed to do? It doesn't seem to do
anything.
Marco
___
If your question is of interest to others
\p_framed_...
ConTeXt ver: 2012.02.08 21:58 MKIV
Marco
___
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
] [orientation=90, frame=on]
\stopplacefigure
\startplacefigure [title=Rotation]
\rotate[rotation=90]{\externalfigure [te]}
\stopplacefigure
\stoptext
Marco
g.pdf
Description: Adobe PDF document
%
Marco
___
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-context
webpage
\startplacefigure [title=90°]
\externalfigure [cow] [orientation=90, frame=on]
\stopplacefigure
\startplacefigure [title=89°]
\externalfigure [cow] [orientation=89, frame=on]
\stopplacefigure
\stoptext
Marco
…. If your
photos are not numbered according to this scheme, the 10th picture
will bite you.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
context.getfiguredimensions({somefile.pdf})
local numpages = figures.get(used, pages, 0)
context(numpages)
\stopluacode
\stoptext
Marco
___
If your question is of interest to others as well
and not the number from the first page.”
How to fix this?
Check out the second one of the two examples of the wiki¹.
It works here.
Marco
[1] http://wiki.contextgarden.net/layers#Use_dynamic_content
___
If your question
()
Thanks for the snippet, Hans.
Marco
___
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-context
webpage
] [right=\myrules]
\starttext
\startitemize
\startitem \input knuth \stopitem
\startitem \input ward \stopitem
\stopitemize
\stoptext
Marco
___
If your question
On 2012-02-21 John Kitzmiller jki...@gmail.com wrote:
Thanks Marco, it is a start and would have taken me a long time to
get there, however, the rule number is not inside the margin
You're right. This should help:
\define\myrules
{\inright{\getnumber[itemgroup:itemize]. \thinrules[n=1
Marco
[1] http://pragma-ade.com/general/magazines/mag-1101.pdf
___
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
://permalink.gmane.org/gmane.comp.tex.context.devel/1974
Marco
___
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
Text] [\setups{header:right}]
\startsetups header:right
\framed [align=broad,frame=off]
{Right Text 1. \\ Right Text 2}
\stopsetups
\starttext
Foo Bar
\stoptext
Marco
___
If your
as well:
context --generate context --make
Regards
Marco
___
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
=, % To remove the space
%after={\blank[1cm]},
%after={\blank[2cm]},
]
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
On 2012-03-08 Emmanuel Asante emmanuela.asa...@gmail.com wrote:
How do I turn off the title on the top of the table of contents ie the text
Content that appears on top of the table?
Use \placecontent instead of \completecontent
Marco
] [bottomframe=on]
I'd like to know, if there's a simple solution (I would write a
MetaPost three-liner for this) without touching the leftmargindis-
tance.
Regards
Marco
___
If your question is of interest to others
)}
\stopcombination
\stopplacetable
\input knuth
\stopchapter
\stoptext
Marco
___
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
]}
\placefigure{beta} {\externalfigure[cow.pdf][width=2cm]}
\placefigure{gamma}{\externalfigure[cow.pdf][width=3cm]}
\placefigure{delta}{\externalfigure[cow.pdf][width=4cm]}
\stopfloatcombination
\stoptext
Marco
loading module gantt
! TeX capacity exceeded, sorry [expansion depth=1].
systemtex error on line 21 in file gantt.tex: TeX capacity exceeded,
sorry [ ...
\moduleparameter #1#2-\csname
\??module \ifcsname \??module #1:#2\endcsname...
Marco
][width=2cm]}{beta}
{\externalfigure[dummy][width=3cm]}{gamma}
{\externalfigure[dummy][width=4cm]}{delta}
\stopcombination
\stoptext
Marco
___
If your question is of interest to others as well, please add
:
∙ The gantt module now works (again) with the MetaPost backend
(which was broken for quite some time) and is a zillion times
faster than the TikZ backend.
∙ Multiple gantt charts per document are allowed.
Marco
___
If your
(/home/marco/bin/context-beta/tex/texmf/tex/plain/base/plain.tex
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
(/home/marco/bin/context-beta/tex/texmf/tex/generic/hyphen/hyphen.tex)))
*
Any help
On 2012-03-13 Hans Hagen pra...@wxs.nl wrote:
I fail to create a format with luatex. I followed Hans'
instructions¹ from TUG 2009. Example:
just use luatex-plain.tex from the context distribution
Thanks for the pointer.
For the record: The \dump at the end was missing.
Marco
pages
\setuplinetable [c][1] [width=\textwidth]
\setuplinetable [c][2] [width=\textwidth]
\getbuffer
\stoptext
Regards
Marco Patzer
___
If your question is of interest to others as well, please add an entry
On 2012-04-10 Charles c...@vejnar.org wrote:
With an older version of Context […] the paragraphs with the
section title were shorter and not overlapping with the page
number.
I don't see any overlapping here. Maybe you use an older version
or the example was too minimal.
Marco
version: 2012.04.10 19:46
and gnuplot 4.7 patchlevel 0.
Marco
___
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
On 2012-04-12 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote:
Oh, indeed. It seems that a recent change in ConTeXt core broke
functionality of the module (the version I tested on earlier worked
fine).
Can you please update and try again?
Works perfectly. Thanks for the fix.
Marco
]
Watch out the percent signs, they are essential.
Question to the others: Why, in contrast to most other ConTeXt
commands, is it necessary to escape the line endings in the \usepath
call?
Marco
___
If your
Why do the newlines in \usepath to be escaped?
% fails
\usepath
[
chapters,
environments,
]
% works
\usepath
[%
chapters,%
environments,%
]
A bug?
Marco
\NC\NR
\stoptabulate
\startlinetable
\NC Foo \NC Bar \NC\NR
\stoplinetable
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry
On 2012-04-20 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote:
your code seems hopefully, but it doesn't compile (?!)...
Your file works here with 2012.04.17 and 2011.05.18.
Marco
___
If your question
1 - 100 of 1168 matches
Mail list logo