Hi,
The following used to work:
\startMPrun{foo}
beginfig(1);
fill fullcircle scaled 1cm;
endfig;
\stopMPrun
\starttext
\externalfigure [mprun:foo.1] [width=4cm]
\stoptext
now I get:
! LuaTeX error ...ext-beta/tex/texmf-context/tex/context/base/grph-inc.lua:690:
bad argument #1 to
On 2013–02–08 Hans Hagen wrote:
default: texmftree
local : relative to source
global : path list
these can be combined
How to include MP graphics sitting in a dedicated directory, e.g.
“graphs”?
%% file: graphs/foo.mp
beginfig(1);
fill unitsquare scaled 2cm withcolor red;
endfig;
%%
Hi,
I know that MPinclusions are included only once and
MPinitializations are included once for each graphic. But how do
MPextensions fit in?
How can I define variables or definitions that are local to a
particular MP instance?
Marco
signature.asc
Description: Digital signature
On 2013–02–14 Hans Hagen wrote:
I know that MPinclusions are included only once and
MPinitializations are included once for each graphic. But how do
MPextensions fit in?
How can I define variables or definitions that are local to a
particular MP instance?
by defining a new instance
I
On 2013–02–11 Devendra Ghate wrote:
I am trying to reproduce as closely as possible the large double
quotes in the attached file.
Here are two solutions, one uses the delimitedtext mechanism. The
quotation marks are not printed within the quoted text, though.
The second solution using the
On 2013–02–07 Devendra Ghate wrote:
I want to use truly huge (40pt) fonts for chapter numbers.
In my latex code, I used
\newfont{\chapterNumber}{pplr9d scaled 7000}
From the context manual, I thought that
\definebodyfont [11pt] [rm] [ tfH=cmr12 scaled 7000]
should do it. Though the
On 2013–02–07 Devendra Ghate wrote:
\definebodyfont
[default]
[tfH= cmr12 scaled 7000]
still does not work and also wipes out definitions for \tfa \tfx etc.
So
{\tfa 1}{\tf 1}{\tfx 1}
will just yield
111
You're totally right.
My MWE is:
[…]
\definefontsize
[H]
On 2013–02–07 Devendra Ghate wrote:
How do I get Trademark (TM) and Registered Trademark (encircled R)
in ConTeXt?
There are several options:
- \fontchar{registered} (current font)
- ® (current font)
- \getnamedglyphdirect
{modern}
{registered}(any font)
On 2013–02–07 Markus Finke wrote:
\startnarrower doesn’t work for the left margin in lists. What is
wrong in my minimal example?
I did not check why it doesn't work. But to add a left margin you
can use:
\setuplist [margin=3cm]
Marco
signature.asc
Description: Digital signature
Yes, it’s possible to fix it on this way. But what is the right
conversion of 1*left in mm/em?
left, middle and right depend on the font size:
left=1.5\emwidth
right=1.5\emwidth
which means for your example:
\setuplist [margin=7.5em]
Marco
signature.asc
Description: Digital
Hi,
recently there was a discussion about search paths for external
figures. Now I noticed that the search path is much stricter than it
used to be and by default only local images are found.
Is it intended that images are not searched in the texmf tree unless
explicitly told to do so? Example:
On 2013–02–05 Mojca Miklavec wrote:
PS: I remember times when it used to be difficult to get
\externalfigure[cow] working without an extra command. Now it's
apparently vice versa ;)
Funnily this is already a complete working minimal example:
\externalfigure [example]
This compiles with
On 2013–02–05 Ingo Hohmann wrote:
Is it possible to update fields in the datasetvariables table, or is
it only possible to replace the whole table?
I don't know of an interface allowing that without directly dealing
with the Lua tables. Maybe you can use the tag for that:
On 2013–02–04 H. Özoguz wrote:
But how to reference to the image, if it is in another folger. Say
my context mainfile is in ...\projekt and the images are in
\projekt\images, then how to reference correctly directly to the
images in the subfolder images?
\setupexternalfigures
On 2013–02–04 H. Özoguz wrote:
\setupcaption
[figure]
[location=top]
\starttext
\startplacefigure [title=blub, reference=fig:demo, number=no]
\externalfigure[example][width=11.2cm]
\stopplacefigure
\stoptext
Marco
signature.asc
Description: Digital signature
Hi Wolfgang et al.
what do you think about uploading your title module to the modules
repository?
Or maybe it can even make it's way into the core. It's just a few
lines, nonetheless it's very versatile and handy.
Marco
signature.asc
Description: Digital signature
On 2013–02–04 Marco Patzer wrote:
what do you think about uploading your title module to the modules
repository?
An answer doesn't necessarily need words ;)
Thanks Wolfgang
Marco
signature.asc
Description: Digital signature
Hi,
I have MetaPost graphics that are generated by an external program.
Each graphic is an individual file and the code is enclosed by
beginfig(1)
…
endfig;
end
The beginfig argument is always “1”, it does not increment.
Including the graphics using MPrun fails, since the first
On 2013–02–01 H. Özoguz wrote:
how to deactivate numbering for the following (empty) picture?
\placefigure[here][fig:demo]{My description under the picture.}{}
\startplacefigure [title=My description, reference=fig:demo, number=no]
…
\stopplacefigure
Marco
signature.asc
Description:
On 2013–02–01 Aditya Mahajan wrote:
(Untested), something like:
let normalend=end;
let end=relax; % Don't know the MP equiv.
That works for the example and is quite elegant, but it fails on
real data. I need to investigate why.
Thanks for the quick answer.
Marco
signature.asc
On 2013–02–02 Ingo Hohmann wrote:
I'm trying to have the date in a layer in an environment. In the
text using the environment, I want to be able to set the date.
If the date is not set, the current date should be used, otherwise
the set date.
This is what I've tried, but it is always the
Hi,
the scale argument for \copypages does not work any more in a recent
beta:
\starttext
\copypages [cow] [scale=100]
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of
On 2013–01–30 Wolfgang Schuster wrote:
\copypages[cow][][scale=100]
Hans explained this change a while ago.
I found the thread. Thanks.
Marco
signature.asc
Description: Digital signature
___
If your question
On 2013–01–30 Keith J. Schultz wrote:
First I would like to ask not to change messages' subject if you want to
see another point.
Changing subject breaks the normal links of threads, further it becomes
very difficult to find a message embedded in another subject.
For a new subject
On 2013–01–29 Troy Henderson wrote:
How do I change the vertical spacing between chapter/section list items in
the Table of Contents?
\setuplist
[chapter]
[before={\blank[5ex]}]
\setuplist
[section]
[before={\blank[.6ex]}]
Marco
signature.asc
Description: Digital signature
On 2013–01–25 H. Özoguz wrote:
How to add 3mm cut space (extra space) on all four edges?
You did not make yourself clear what exactly you want and where to
add the space. Here you find an (incomplete) overview of the page
layout dimensions:
http://tex.stackexchange.com/a/71069/5245
Marco
On 2013–01–25 Alain Delmotte wrote:
I think it is for mkII and I use mkIV and that there has been many
changes in between.
Indeed.
- The example at the bottom of page 11 and page 12 gives me an
error:
! Argument of \head has an extra }.
\starttext
\startitemize
\starthead
On 2013–01–25 Alain Delmotte wrote:
I decided to give another try to ConTeXt.
I already did two years ago, I think, but I had problems mostly
because of the lack of documentation for MkIV.
Welcome back!
I did not succeed to install a stand alone version.
It should be as easy as running
On 2013–01–25 Jean-Philippe Rey wrote:
\def\ChapterHead#1#2{#1 --- #2}
\define[2]\ChapterHead{#1 --- #2}
or
\unexpanded\def\ChapterHead#1#2{#1 --- #2}
Marco
signature.asc
Description: Digital signature
___
If
On 2013–01–24 Andreas Mang wrote:
I am fine tuning my doc. I have problems with the publication
list, as some of the publications extend to the margin of my
document. I have not been able to find a solution. This is
probably a very common issue. I assume some of you had/have the
same
On 2013–01–23 Wolfgang Schuster wrote:
Out of curiosity: Is possible to set up the new filler mechanism in
a way to yield alternating dots like in the TeXbook?
default look:
1. First chapter ... 1
2. Second chapter ... 10
requested look:
On 2013–01–24 Devendra Ghate wrote:
\usemodule[tikz]
\usetikzlibrary{external}
Use brackets:
\usetikzlibrary [external]
\starttext
A
\stoptext
This example works here with current version: 2013.01.24 16:47.
Marco
signature.asc
Description: Digital signature
On 2013–01–25 Devendra Ghate wrote:
Just upgraded context installation( to 2013.01.24 16:47),
corrected my MWE and I am still getting exactly the same error.
You're right, it fails here, too. The message got lost in between
all the tikz log output. On my machine I get:
Package tikz: Error! I
On 2013–01–23 Hans Hagen wrote:
IIRC this was a feature request a while ago, the macros to print ?? and !!
are defined as
I'm the one to blame!
\def\dummyreference{{\tttf ??}}
\def\wrongreference{{\tttf !!}}
As there are indeed side effects I'll remove that options.
I hope you mean
On 2013–01–22 Mojca Miklavec wrote:
I don't know how to reproduce that even though I remember that I had
problem if I set export TEXMFHOME=/path/with/trailing/slash/.
I used the following setup to create a reproducible clean
environment without interference of possibly set variables.
curl -O
On 2013–01–23 Mojca Miklavec wrote:
On Wed, Jan 23, 2013 at 11:26 AM, Marco Patzer wrote:
I used the following setup to create a reproducible clean
environment without interference of possibly set variables.
echo '\sans' mymodules/t-gnuplot.tex
You should put the file under
Hi,
sometimes I get a paragraph indentation after a float and sometimes
I don't. Example:
\ctxlua{structures.lists.autoreorder = true}
\setupindenting [yes, medium]
\setupfloats[default=auto]
\starttext
\startchapter [title=Foo]
\startplacefigure
\externalfigure [cow] %% [height=21cm]
On 2013–01–23 Wolfgang Schuster wrote:
Out of curiosity: Is possible to set up the new filler mechanism in
a way to yield alternating dots like in the TeXbook?
default look:
1. First chapter ... 1
2. Second chapter ... 10
requested look:
1.
Hi Wolfgang et al.
The following example fails with
(virtual://annotation.noname.1)
! Undefined control sequence.
\usemodule [annotation]
\defineannotation [foo]
\starttext
\startfoo
Bar
\stopfoo
\stoptext
current version: 2013.01.21 18:18
%D \module
%D [ file=t-annotation,
%D
On 2013–01–23 Devendra Ghate wrote:
Use Adobe Acrobat and add that option to the PDF.
Best Martin _
Dear Martin,
Thank you for the pointer. Adobe Reader 9 (which is the latest
version available for linux) does not allow this. However, Adobe
Reader X (on windows) allowed comments and
Hi,
can I somehow set up that files within TEXMFHOME are preferred to
files found in the distribution? Or is there another variable which
is more suitable than TEXMFHOME for this purpose?
Marco
signature.asc
Description: Digital signature
On 2013–01–22 Mojca Miklavec wrote:
Doesn't it already have the highest priority?
I did assume that, but that's not the case. Take your t-gnuplot.tex
module, for instance, make some changes and place it in $TEXMFHOME.
ConTeXt still uses the old version found in
Hi,
PDF links to floats and footnotes change the zoom setting to fit
height even though focus=standard is set. Links to chapters/sections
behave as expected. Example:
\setupinteraction
[state=start,focus=standard]
\starttext
\in{figure}[foo]
\startplacefigure [reference=foo] \stopplacefigure
On 2013–01–20 Devendra Ghate wrote:
I am using a layout with wide right margin. For floats that are
\textwidth wide, I can place captions in the margin
using**\setupcaption[location=rightmargin,high/low].
However, for figures that are
(*\textwidth+\marginwidth+\margindistance*) wide, I
Hi,
When \asciimode is set some version info is printed instead of the
graph. Example:
\usemodule [gnuplot]
\asciimode
\starttext
\startGNUPLOTscript [foo]
plot sin(x)
\stopGNUPLOTscript
\useGNUPLOTgraphic [foo]
\stoptext
Marco
signature.asc
Description: Digital signature
On 2013–01–19 Hans Hagen wrote:
0) \setupFLOWcharts [bodyfont=\bfx] does not work.
because \bfx is not a bodyfont but a style switch
You're right. I confused bodyfont with style, it works as expected.
But this makes me wonder why bodyfont is used instead of style?
Marco
signature.asc
Hi,
I have a few questions regarding flow charts.
1) Setting “offset=none” yields to “Missing number, treated as zero.”
2) “option=test” should display a grid according to the manual, but
it doesn't. It only displays the anchors.
3) What does the maxwidth option do?
4) What are the options
On 2013–01–17 H. Özoguz wrote:
% ConTeXt LuaTeX
\usemodule[annotation]
\define[2]\AnnotationCommand
{\startblockquote
Remove the empty line:
\define[2]\AnnotationCommand{%%
\startblockquote
Marco
signature.asc
Description: Digital signature
On 2013–01–17 Marco Patzer wrote:
I have a few questions regarding flow charts.
One more issue:
0) \setupFLOWcharts [bodyfont=\bfx] does not work.
Marco
signature.asc
Description: Digital signature
___
If your
On 2013–01–17 Zenlima wrote:
But for whatever reason I cannot get context to show the smallcaps. I
tried an example out of this mailing list:
\definefontfeature[smallcapitals] [smcp=yes]
\definefontfeature[smallcapitals] [smcp=yes, script=latn]
Marco
signature.asc
Description: Digital
Hi,
I need different settings for code in inline and block mode. See the
following example:
\usemodule [vim]
\definetextbackground [C] [location=text]
\definevimtyping [C]
[syntax=c,
before={\starttextbackground[C]},
after=\stoptextbackground,
margin=2em]
\starttext
This is C:
On 2013–01–16 Wolfgang Schuster wrote:
\definevimytping
[C]
[…,
before={\ifhmode\startInlineBackground\else\startDisplayBackground\fi},
after={\ifhmode\stopInlineBackground\else\stopDisplayBackground\fi},
…]
That's a good idea and it seems to work.
You could also ask Aditya
On 2013–01–13 Malte Stien wrote:
One thing, though, it turns out the #pageno variable does not seem
to work. I had to rename it to #1 to do the trick. Even #p did not
work. Do those variables have to be numbers?
http://wiki.contextgarden.net/MkVI
Marco
signature.asc
Description: Digital
On 2013–01–13 Malte Stien wrote:
The trouble is that the page number is only a few millimetres wide
and gets positioned on the inside edge of my outside margin.
Hence, it does not end up close enough to the edge of the page. I
guess, I would like to right-align it 4mm from the edge of a
On 2013–01–12 Wolfgang Schuster wrote:
When you’re in the header you can just use \doifoddpageelse to set different
values for left/right pages, \signalrightpage is only necessary for text *in*
the document.
Thanks for the correction. I updated the wiki.
Marco
signature.asc
Description:
On 2013–01–10 Wolfgang Schuster wrote:
You can try the beta from my bitbucket site [0] which uses a two mechanism
for named buffers (\startannotation[NAME] … \stopannotation) which can
be accessed with \getannotation[NAME].
It doesn't work for me:
\usemodule[annotation]
On 2013–01–11 Wolfgang Schuster wrote:
Use
\defineannotation[myannotation][method=buffer]
to disable the output from \startmyannotation … \stopmyannotation.
\starttext
a
\getannotation [foo]
You need \getmyannotation[foo].
It works perfectly, though I don't have much to
On 2013–01–09 Hans Hagen wrote:
the latest beta has this:
% \enabletrackers[graphics.programs]
\starttext
\externalfigure[cow.pdf][conversion=stripped]
\stoptext
Nice feature, indeed. It might save a preprocessing step. We
preprocess with
-dProcessDSCComments=false
otherwise
Hi,
in the final stage of a document I always run a grep for ?? and
on the document to find invalid references and missing
bibliography entries.
However, in documents that do not have a section number the
references to the number are also wrong, they need to be references
to the name
On 2013–01–07 Troy Henderson wrote:
http://www.tlhiv.org/animations
There is one in particular that, I think, is quite impressive. It is an
animation of a function f(x,y,t) where t is time.
I love that one. Very impressive, indeed! Although my browser
flickers for about 20s until it
Hi,
what is the best solution to place the content of annotations before
they are defined in the text? What comes to mind is writing the
content into an external file and read it in the next run. But maybe
I overcomplicate things (usually I do) and there's a simpler
solution. Here's an example:
Hi,
if the first line after an annotation start is empty, a new line is
introduced. How can I make it tolerant so that the following both
examples come out equal (Content and the annotation text on the same
line)?
\usemodule
[annotation]
\defineannotation
[myannotation]
\setupannotation
On 2013–01–07 Hans Hagen wrote:
buffers (or blocks)
Buffers apparently can't be used before the content is defined, but
it works for blocks (I never used them). Test:
\defineblock [bar]
\starttext
buf: \getbuffer[foo]
BBB
\startbuffer[foo]
buf: AAA
\stopbuffer
\useblocks
On 2013–01–07 Wolfgang Schuster wrote:
That’s not possible because the content is stored only in memory and is
therefore only available after you put the environment in your document.
What you can do is to set the content of the environment at the begin of the
document and refer to it at
On 2013–01–07 Hans Hagen wrote:
The wrong \in[invalid] reference receives an easy to find error
marker and an entry in the log file. The wrong entry \in[sec:bar] is
hard to find.
Is there a way to add ?? for those cases as well?
I'll print an !! although it might become optional
That's
On 2013–01–07 Wolfgang Schuster wrote:
Blocks, in contrast to buffers, seem to be able to place content
before it is defined. I did not check how they work, but since I
didn't see any temporary files, the only possibility is to write the
data to the tuc file, I assume. It is by any chance
On 2013–01–07 Jaroslav Hajtmar wrote:
Last example is not working! I have installed last version of
\defineblock[question]
\defineblock[answer]
\hideblocks[answer]
\defineenumeration[question]
\defineenumeration[answer]
\starttext
\chapter{Questions} % Show only the question
On 2012–12–19 Hans Hagen wrote:
this kind of messy stuff needs some time to get right (apart from
messing up de code)
you cna try to patch this in strc-ref.lua
This seems to fix it. Thanks for the quick patch, Hans.
Marco
signature.asc
Description: Digital signature
On 2012–12–19 Troy Henderson wrote:
In case anyone cares, here is the finished product which is a
frame-by-frame animation of a hypocycloid. The following code will produce
a 190 page PDF where each page is an individual frame of the animation.
[…]
Very nice work, indeed. It reminds me of
On 2012–12–19 Troy Henderson wrote:
Very nice work, indeed. It reminds me of a drawing toy I had when I
was a kid. Thanks a lot for sharing.
Spirograph?
http://en.wikipedia.org/wiki/Spirograph
Exactly, that's it.
Plenty of beautiful patterns with just small change in parameters.
Hi,
the following two database examples produce different output due to
the white space between the field separator and the quotechar.
\usemodule [database]
\defineseparatedlist
[CSV]
[quotechar=,
before={\starttabulate[|l|l|]},
after=\stoptabulate,
first=\NC,last=\NR,
On 2012–12–08 Marco Patzer wrote:
Thanks. It does not break anything in the final document and all
numbers are correct.
Referring to the figures is messed up:
\useMPlibrary
[dum]
\setupfloat
[figure]
[default=top]
\ctxlua{structures.lists.autoreorder = true}
\starttext
\input knuth
On 2012–12–15 Sietse Brouwer wrote:
But when I tried to write a minimal example, I couldn't get it to compile.
%% begin example
\grabbufferdata[mybuffer][thisisthestart][thisistheend]
\thisisthestart
My friend, you would not tell with such high zest
To children ardent for some desparate
On 2012–12–06 Hans Hagen wrote:
New defined floats are still wrongly enumerated. Is there a workaround for
this?
adapted
Thanks. It does not break anything in the final document and all
numbers are correct.
Marco
On 2012–12–07 Wolfgang Schuster wrote:
The argument for the command keys has to be a macro with two parameters,
the first parameters contains the formatted header and the second argument
the formatted content of the environment.
That's how I used it in the past, but after an update I got an
On 2012–12–07 Peter Rolf wrote:
Am 06.12.2012 19:35, schrieb Marco:
On 2012–12–06 Aditya Mahajan wrote:
I always thought that shadows were possible to do in PDF (after all
TikZ does it using some type of PDF primitives).
It is. I use MetaPost to draw the shadows using the shading
On 2012–12–07 Wolfgang Schuster wrote:
Commands need to be unexpandable because when you use the “command”.
This is necessary because I check for a command and this needs
\unexpanded\def to work.
You can create a unexpandable command with \starttexdefintion by adding
the unexpanded
On 2012-12-04, Marco Patzer wrote:
2012-12-04 Hans Hagen:
Hi Hans,
As an experiment I've added some trickery. But keep in mind that messing
with numbers is never 100% foolproof. So, for the moment you can say
\ctxlua{structures.lists.autoreorder = true}
till we're sure about what
On 2012–11–25 Marco Patzer wrote:
in one of the last few betas the MetaPost instance
mechanism broke.
Did the interface change again? The following does not work on
today's beta, only “alpha” and “gamma” are printed.
\defineMPinstance
[myinstance]
[metafun]
\startuseMPgraphic{alpha
In the following example the content of the annotation is printed
twice. Bug?
\usemodule [annotation]
\defineannotation
[myannotation]
[alternative=command,
command=\cmd]
\def\cmd
{\placeannotationcontent}
\starttext
\startmyannotation
foo
\stopmyannotation
\stoptext
Marco
On 2012–12–06 Otared Kavian wrote:
It seems that your command \cmd places again the content…
That's not the case. Check this example:
\usemodule [annotation]
\defineannotation
[first]
[alternative=command,
command=\cmdFirst]
\defineannotation
[second]
[alternative=command,
Hi,
The setting
\setupfloat
[figure]
[default=top]
not only places the figures at the top of the page, but also messes
up the float numbering (the float placement is fine). In the
following example “Figure 2” comes after “Figure 3”. How to fix
that?
\useMPlibrary
[dum]
\setupfloat
2012-12-04 Hans Hagen:
Hi Hans,
As an experiment I've added some trickery. But keep in mind that messing
with numbers is never 100% foolproof. So, for the moment you can say
\ctxlua{structures.lists.autoreorder = true}
till we're sure about what level of control is needed. Beta later
2012-11-30 H. Özoguz:
How to define a new title - like section, but aligned in the center and
underlined?
So far I got:
\definehead[mysection][section]
\setuphead[mysection][alternative=middle]
How to get the underlining in that?
The following code is quite verbose, but it's the
2012-11-30 H. Özoguz:
Hi,
Im using Wolfgangs annotation module and have defined an annotation:
\defineannotation[bigquote]
with some setups.
Now \bigquote{...} works correctly. But I want for big annotations
\startbigquote \stopbigquote, how to do that?
First: Create a minimal
2012-11-26 Sietse Brouwer:
Since I don't use MetaPost, I don't think I'm the best person to
document this. But I took this as an opportunity to create the command
reference pages for a bunch of the \...MP... commands; perhaps one of
you could add this info to the proper page(s)?
Thanks. I
Hi Hans,
since you are working on the \unit code at the moment, I want to
remind you about an issue I reported a while ago.
Any thoughts on that one?
http://article.gmane.org/gmane.comp.tex.context/79275
Marco
Hi,
in one of the last few betas the MetaPost instance
mechanism broke.
\defineMPinstance
[myinstance]
[metafun]
\startuseMPgraphic{mympgraphic}
fill fullsquare scaled 1cm withcolor blue;
\stopuseMPgraphic
\starttext\null
\useMPgraphic{myinstance::mympgraphic}
\stoptext
Marco
2012-11-25 Aditya Mahajan:
I am still using the old 2012.11.16 version, but now you have to specify
the instance in the \startuseMPgraphic as well (Hans had announced this
on the mailing list a few weeks ago):
I missed that.
\startuseMPgraphic{instance::mygraphic}
...
\stopuseMPgraphic
2012-11-19 H. Özoguz:
Is there an equivalent of the LaTeX \includeonly ?
You can place individual chapters in components and use the mode
mechanism:
\startproduct *
\startmodeset
[alpha] {\component [alpha]}
[beta] {\component [beta]}
[gamma] {\component [gamma]}
Hi,
the \unit command produces wrong spacing when only the unit is given
without a value. Is there a way to improve the \unit command to not
print this space?
\starttext
\starttabulate
\NC wrong spacing \EQ (\unit{micro mol}) \NC\NR
\NC spacing OK\EQ (µmol) \NC\NR
\NC spacing
2012-11-16 H. Özoguz:
I use \startquotation \stopquotation for longer quotations.
I want to globally change the font in this quotations (f.e. to garamond
or helvetica - my default is times new roman). How to make this?
Quotations are defined as delimited text, see
2012-11-15 H. Özoguz:
\setuptolerance[stretch]
Are you sure, you want to use stretch? It will probably product
ugly results.
\tolerance 70
Why 70? I don't understand the use of stretch with such a strict
tolerance. What about using
\setuptolerance [tolerant] %% or verytolerant
instead of
2012-11-13 H. Özoguz:
Advice for your next posts: Try to provide a meaningful subject line
like “Enclosing quotations in guillemets” or “Emphasising
quotations”. And configure your mail reader to include a
“In-Reply-To” header to not break the thread with each post.
I want the complete
2012-11-13 yang.zhao:
is there a good way to display source(such as C language) in ConTeXt?
There is the vim module. It uses the editor vim to mark up the
source with syntax highlighting code. However, it does only
highlighting, not indentation. But it might be possible to hook in
an
2012-11-12 Andy Thomas:
I guess, I do not understand the relation completely. Please
compare the following
-- startcode --
\starttext
%
\chapter{One}
\input tufte
\placefigure[margin,none]{}{Let's put some text of at least two lines.}
\placefigure[none,margin]{}{Let's put some text
2012-11-12 Andy Thomas:
I am still struggling to achieve the page layout/look that I am
trying to get. For an image of the desired page spread please look
here: https://dl.dropbox.com/u/9089117/tufte-spread.png
How about this:
\useMPlibrary
[dum]
\setuplayout
[width=10cm,
2012-11-12 H. Özoguz:
but it returns the ending quotation mark in the wrong order. Why?
You forgot the braces:
Quote: \wr[{He said: \wrr[Hello!]}]
And how to correct that?
\setuplanguage
[leftquotation=»,
rightquotation=«,
leftquote=›,
rightquote=‹]
\starttext
Quote:
2012-11-12 H. Özoguz:
And if I want to have in
\quotation and \quote
additionaly \emphasis, how to make that?
To be clear (sorry for my english):
\quotation{\emph{Quote}}
\definehighlight
[emph]
[style=bolditalic]
Quote: \quotation{He said: \quote{Hello \emph{World!}}}
Marco
Hi Wolfgang,
the annotation module broke within the last few betas.
\usemodule [annotation]
\starttext
\startannotation {Foo}
Bar
\stopannotation
\stoptext
Marco
___
If your question is of
501 - 600 of 709 matches
Mail list logo