Hi Hans,
Did you try this:
\startchapter[title={the-title},reference={reference-to-this-chapter}]
see: http://www.mail-archive.com/ntg-context@ntg.nl/msg66342.html
Adam
On Sun, Feb 24, 2013 at 3:32 PM, Meer, H. van der h.vanderm...@uva.nlwrote:
Previously I could use
Hi list,
I'm trying to scale a text to the textwidth and textheight by keeping
the aspect ratio, using different papersizes.
When the dimensions get too big I get an Arithmetic overflow.
(I'm trying to do something similar to resizebox in LaTeX:
Hi
Here's a minimal example to follow up:
http://www.ntg.nl/pipermail/ntg-context/2011/060169.html
(having some file.tex in folder test)
\starttext
\input test/file
\stoptext
gives:
! LuaTeX error .../ctx/tex/texmf-context/tex/context/base/data-env.lua:234: bad
argument #1 to 'gsub' (string
Hi
tracefiles seems to be broken.
\starttext
Hello world!
\stoptext
context --tracefiles hello.tex
gives:
! Undefined control sequence.
system tex error on line 4 in file test.tex: Undefined control
sequence ...
By using latest minimals 2011.06.24 16:57.
Adam
ah, an obsolete feature, I'll remove it (there is so much tracing
nowadays under tracker and directive control that this flag makes not
much sense any more).
Thought so. Thanks.
Adam
___
If your question is of
Could we just add a \textstar in char-def.lua? (And maybe use that to
redefine \symbol[star])
I'd welcome that, seeing that we already have textbullet.
char-def.lua, line 56213:
+ contextname=textstar,
what unicode?
U+22C6
Adam
Hi
pdf.js is a technology demonstrator prototype to explore whether the HTML5
platform is complete enough to faithfully and efficiently render the ISO
32000-1:2008 Portable Document Format (PDF) without native code assistance.
You can read more about pdf.js here:
better is #xA0;
I see, I should've used the \lettertilde instead then, sorry.
no, it's the utf character
So what would be the correct way to do this then?
---
\setupinteraction[state=start]
\setupbackend[export=test.xml]
\starttext
\bgroup
\catcode`\~=11
So what would be the correct way to do this then?
Right, so is this ok, or is there a better way?
---
\setupinteraction[state=start]
\setupbackend[export=test.xml]
\starttext
\goto{projects.dcs.kcl.ac.uk/\lettertilde
reviczky}[url(http://projects.dcs.kcl.ac.uk/\string~reviczky/)]
\stoptext
---
Hi
Can someone confirm this:
---
\starttext
\star
\stoptext
---
Nothing shows up in the PDF.
ConTeXt is current version: 2011.06.20 10:47 (it is fine on
live.contextgarden.net, and worked a couple of days ago).
Adam
You could try (untested)
\def\googlechart[#1][#2]%
{\externalfigure[#1][...]%
\endgroup}
Thanks, but it has the same result.
\def\dogooglechart[#1][#2]%
{\useexternalfigure[googlechart][#1]%
\endgroup
\externalfigure[googlechart][...]}
That screws up the url in the
Use $\star$ or \symbol[star].
Thanks, but both will use the math font (in my case:
https://github.com/khaledhosny/euler-otf) which doesn't have this symbol.
Missing character: There is no ⋆ (U+22C6) in font euler!
Using \star only worked as a workaround until recently.
I'm not doing anything
This came up a while ago, I believe this is the solution:
http://www.mail-archive.com/ntg-context@ntg.nl/msg47703.html
Thanks.
So if I want to typeset the star in non-math mode instead, how do I do that?
I just tested it (\star) with version: 2011.06.19 14:17, and there it works.
With
It's a side effect of ~ becoming a utf character for nbsp. I'll change
Yeah, I completely forgot about that, because it was natural in an url.
the definition to:
\unexpanded\edef~{\utfchar{00A0}}
Then you get this:
\goto{a.c.d/~reviczky}[url(http://a.c.d/~reviczky)]
could you please use a mail program which sets the correct header fields
so that threading is working [1]?
I know, sorry about that, but I couldn't figure out why this doesn't work when
I'm at the university.
Any hints appreciated (for outlook web).
Adam
Hans,
I'm getting this error if I put an image within a table using the export
backend:
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:297: bad argument
#3 to 'format' (string expected, got boolean).
Minimal example:
---
\setupbackend[export=yes]
\starttext
%
Hi
I just noticed that making the persian formats (context --make cont-pe) fails
with:
! Undefined control sequence.
-\zwnj
argument تعریف
درونحاشیه
\do@sicom #1#2-\@EA \gdef \csname #2
\@EA \endcsname \@EA {\csname
Hi
The following example results in a broken xml as well:
--
\setupbackend[export=test.xml]
\starttext
\externalfigure[https://chart.googleapis.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello\letterbar
World][method=png,scale=4000]
\stoptext
---
XML Parsing Error: not well-formed
Location:
Hi
The following minimal example gives a broken xml:
---
\setupinteraction[state=start]
\setupbackend[export=test.xml]
\starttext
\goto{projects.dcs.kcl.ac.uk/~reviczky}[url(http://projects.dcs.kcl.ac.uk/~reviczky/)]
\stoptext
---
XML Parsing Error: not well-formed
Location:
xits is part of the minimals
It is certainly on contextgarden:
http://minimals.contextgarden.net/current/fonts/extra/xits/fonts/opentype/public/xits/
But I don't think it comes with the minimals.
I just did a fresh minimals setup and it gives me the same:
! Math error: parameter
Hi
Using math with dejavu as the bodyfont produces:
! Math error: parameter \Umathquad\displaystyle is not set.
minimal example:
---
\setupbodyfont[dejavu]
\starttext
$e = mc^2$
\stoptext
---
Installing the xits-math (https://github.com/khaledhosny/xits-math/) solves the
problem.
Shouldn't
Hi
I'm getting the following error with PNG images:
libpng error: PNG file corrupted by ASCII conversion
!LuaTeX error: libpng: internal error
== Fatal error occurred, no output PDF file produced!
minimal example
---
\starttext
\placefigure{}{\externalfigure[mill.png]}
\stoptext
---
LuaTeX in
Hey folks,
I noticed some other people had issues with \startitemize[n] counting
starting from zero as a bug a while ago. In my case, I need a specific
list to start counting from zero.
Is there any way to do this?
see: http://wiki.contextgarden.net/Enumerations
example:
---
\starttext
Hi
It appears that something went wrong with the svn rev. 4283 (I think 4282 was
still ok).
Simple hello world tex gives me:
mtx-context | run 1: luatex
--fmt=/home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en
Hans,
Don't we need rather this change too?
line 487 in lang-txt.lua:
-fr=aoât,
+fr=août,
Adam
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
Any chance of a (smallish) test file?
I've attached the test file, log and broken pdf/synctex files.
Do you need anything else?
Adam
\enabledirectives[system.synctex]
\setupbibtex[database={sample},sort=author]
\starttext
\chapter{Bibliography}
\completepublications[criterium=text]
\stoptext
Hi
Not sure where the problem is but using the latest beta (2011.05.14) I get this
error:
!LuaTeX error (file
/usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-bold.otf):
Parsing CFF DICT failed. (error=-1)
== Fatal error occurred, no output PDF file produced!
This used to work
It seems to be syntex/luatex related.
Here's a minimal example using the sample.bib from the wiki
(http://wiki.contextgarden.net/sample_bib):
%%%
\enabledirectives[system.synctex]
\setupbibtex[database={sample},sort=author]
\starttext
\chapter{Bibliography}
\completepublications[criterium=text]
It seems to be syntex/luatex related.
Just noticed that there's no luatex banner in the log because of the error, so:
This is LuaTeX, Version beta-0.71.0-2011051313 (rev 4265)
Adam
___
If your question is of
Hans,
Since I didn't got a working epub for the first few tries, I did some further
inspections with epubcheck[1].
Using this minimal example:
\setupbackend[export=test.xml,xhtml=test.xhtml,css={test.css,mathml.css}]
\starttext
Test
\stoptext
The main errors are:
* opf: id has to be either
What would I have to do to get small capitals?
I tried style=smallcaps, but that only gave me capitals all of the same
height, and no small capitals.
use textstyle=... (smallcaps or cap)
Adam
___
If your question
Anyhow,
\setupbackend[export=yes]
\definefontsynonym [Dingbats] [name:dingbats] [features=dingbats]
\starttext
Hello world!
(\getnamedglyphdirect{Dingbats}{a79})
(\getnamedglyphdirect{Dingbats*dingbats}{a79})
(\getglyphdirect{Dingbats*dingbats}{\number2756})
no clue
So it looks like having the urw zapfding fonts from texlive mess this up
(uzdr.afm, uzdr.pfb and uzdr.pfm).
Don't you have them? Why is it a problem if context finds those?
Without those fonts, I have this in the log:
fontsnames font database has matching configuration
Something else to play with, making an epub archive. At some point I
will add support for images etc. At the end of a run you will see:
export saving specification in 'oeps.specification' (mtxrun --script
epub --make oeps.specification)
The mentioned mtxrun call will make an archive.
export saving specification in 'oeps.specification' (mtxrun --script
epub --make oeps.specification)
Somehow I can't get this working yet, this doesn't get triggered at my end, do
I forget something?
shouldn't also
back-exp.lua line 406:
-handle:write( url=',file,')
+
Do you set a value for the xhtml key?
Yeah, I figured that out now, epub is generated now, still playing with it,
trying with calibre ..
Thanks
___
If your question is of interest to others as well, please add an
I still must miss something, because the epub doesn't seem to contain anything.
So here's a simple example:
\setupbackend[export=yes,xhtml=test.xhtml]
\starttext
Hello world!
\stoptext
Then after running context:
mtxrun --script epub --make test.specification
table={
[files]={ test.xhtml },
The xhtml seems to be missing from OPS, but even putting that in there
doesn't give me a working epub (even though it increases the epub size).
Right, adding a title solves that, but still empty when trying to open it ...
just send me a patch after the next beta then (i just merged in other
fixes)
I've attached the newly patched lang-txt.lua against the current experimental
(2011.05.08) with the hu fixes.
Adam
lang-txt.lua.gz
Description: lang-txt.lua.gz
fixed in next beta
(you can replace gmatch by string.gmatch as a fast fix)
Thanks, that fixed the problem for one, but still it fails on my thesis with:
! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:868: attempt to
index field '?' (a nil value).
empty file
I hope it is not
Further, using an example with dingbats:
%%%
\setupbackend[export=cld-mkiv-export.xml,xhtml=cld-mkiv-export.xhtml,css={cld-mkiv-export.css,mathml.css}]
\starttext
Hello world! \getnamedglyphdirect{name:dingbats}{a79}
\stoptext
%%%
Produces a broken xhtml (XML Parsing Error: not well-formed),
If it would be easier, I can send fixed lang-txt.lua.
indeed easier
Hans
While we're at it, attached is a patched one for the Hungarian language
(against the current beta).
Adam
lang-txt.lua.gz
Description: lang-txt.lua.gz
\setupbackend
[export=cld-mkiv-export.xml,
xhtml=cld-mkiv-export.xhtml,
css={cld-mkiv-export.css,mathml.css}]
There's an article in the eurotex proceedings about these issues. I
don't know if Mojca has put the presentation somewhere online.
Since this worked nicely on a simple
While we're at it, attached is a patched one for the Hungarian language
(against the current beta).
Adam
Sorry, there's one typo in it:
line 2232:
-hu=ábrák,
+hu=Ábrák,
Adam
___
If your question is of
I tested your code both with mkii and mkiv, and everything seems to work
correctly, both with frame= on or off.
What version of context/luatex do you use?
I suspect its a problem in luatex, but I have to experiment with it more.
I'm using context beta 2011.04.24 with luatex svn rev 4232, but
Upgrading to the latest context beta (2011.05.01) solved the problem.
Adam
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Hi
Here's another qpdf problem I've encountered lately. Not sure if it's ConTeXt's
fault (simpleslides perhaps?) or qpdf.
Given the following very minimalistic examples:
% slides.tex
\usemodule[simpleslides][style=BigNumber,font=Helvetica]
\starttext
\placeTitle
\stoptext
%handout.tex
Does the problem appear if you use do not use simpleslides? If not, does
it appear if you use style=default? This will help narrowing down the
cause.
I've tried a Hello world file and also a non-simpleslides presentation tex
file, all of them work.
So it seems it's simpleslides and yeah,
Hmm, well, I can reproduce this on my presentation even with style=default ...
Adam
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Right, I have a feeling that this is MetaPost related, hence the random
problems with different styles.
I can reproduce this now without simpleslides too, using only metapost.
Here's a minimal example:
Get logo_ignite.mp from: http://pastebin.com/raw.php?i=VqvcWniu
% slides.tex
found it: There were 4 null objects in an ObjStm in handout.pdf, stored
now compress: nullnullnullnull (not yet so in 0.70.x). Each null
object has a correct pointer to its begin (the 'n'), so one should
suppose that an object ends at the character ('l') just before the start
('n') of the
the PNG_FP_1 i have added recently, it's defined in png.h. Must be some
configure problem, maybe system png.h is used instead of the one coming
with the libpng within luatex. i don't have the problem here. Sorry,
needs investigation...
I was indeed using the system's libpng, my bad.
Strange
Thanks for the info. Now I'll think of what to do with the other module.
Patrick
I you mean the gantt module, have a look at the mailinglist:
http://www.ntg.nl/pipermail/ntg-context/2010/054051.html
It was advised to upload it to tlcontrib instead, so the module is located here:
Hi,
I'm trying to make some (mkiv) handouts from my simpleslides presentation.
Unfortunately the resulting pdf is blank for the slides, no frames either. Can
someone give me an example that works?
Here's my minimal:
% slides.tex
\usemodule[simpleslides][style=BigNumber,font=Helvetica]
I'm trying to make some (mkiv) handouts from my simpleslides presentation.
Unfortunately the resulting pdf is blank for the slides, no frames either.
Can someone give me an example that works?
So I just ran tested it with mkii, and there it works.
Is there any mkiv way for doing a handout?
Hi
This is very likely luatex related, but I hope it's fine to post it here.
I'm using this example:
http://www.ntg.nl/pipermail/ntg-context/2011/058519.html
This works with luatex svn rev 4195, but with the latest 4196 I get this:
thanks for the report and sorry for inconvenience. I'm sifting through
the PDF backend, it's not fully stable yet. Will check...
Regards, Hartmut
Don't worry, I just thought I mention it, in case somebody else is running into
it.
Thanks for the reply.
Cheers
Adam
some day leaving out the \stop's will backfire on you
why oh why did I never think about that (probably thought it was a setup)?
thanks for pointing that out
add added a fallback in the beta
much appreciated
Adam
Hi
With the latest beta (2011.04.22) I cannot compile my thesis any more.
I think I've narrowed it down to this minimal example:
%%%
\starttext
\startpart[title={Table of Contents}]
\completecontent[criterium=all]
\stoptext
%%%
! LuaTeX error /usr/share/texmf/tex/context/base/strc-lst.lua:496:
Further, I have two more problems with the new label system:
1) The label Part is not shown any more in the ToC.
2) Showing the label in the ToC but not in the parts (bodypart for example)
doesn't work any more with this solution:
http://www.ntg.nl/pipermail/ntg-context/2011/058614.html
Here's
Set the labels with the “en” tag:
\setuplabeltext[en] [chapter=Chapter ]
\setuplabeltext[en][appendix=Appendix ]
Excellent, thanks.
My last question about labels:
If I don't use setuplist, then I have labels in the document and no labels in
the toc.
How can I achieve the opposite, means
The names of the keys are
- frontpartlabel,
- bodypartlabel,
- appendixlabel and
- backpartlabel
Appreciate!
I've added this to the wiki, because I had a look at it earlier on but didn't
find anything regarding the labels in setuphead.
Adam
But it run into compiling error. For you convenience, append the
sources for mpost and context.
As for metauml, have a look at this example:
http://www.ntg.nl/pipermail/ntg-context/2010/049511.html
This works for me with the latest beta.
For quick testing purposes just put the metauml (mp)
I slightly modified the code and the output is now better than before, please
add it to the wiki.
\startuseMPgraphic{tableborders}
draw leftboundary OverlayBox withpen pensquare scaled \frameddimension
{leftrulethickness} ;
draw rightboundary OverlayBox withpen pensquare scaled
Hi
As a follow-up to this:
http://www.ntg.nl/pipermail/ntg-context/2011/058569.html
I was wondering if it is possible to something like this:
\startsetups test
\setupframed[frame=off,topframe=on,leftframe=on]
\stopsetups
\starttext
\framed[setups=test]{A fancy title}
\stoptext
Adam
PS: I am
It has to be fixed by Hans. ConTeXt looks only for the label of the current
heading (e.g. chapter) and not for the label which is set for a certain
sectionblock (e.g. “chapter” for the bodypart and “appendix” for the
appendices).
I wrote a minimal which can be used to see the problem
Do you have “\enabledirectives[schemes.cleanmethod=md5]” in your preamble?
Silly me, I've forgot that.
Thanks again for your help!
Adam
___
If your question is of interest to others as well, please add an entry to
It’s the same as in the past, use MetaPost but there are better ways to
change values of certain borders:
As much as I like and prefer this solution, I can't get it to work as the old
one.
With the old one I had a frame 1pt, and just made a 2pt metapost frame around
the last row.
With the
17 0 obj
/Type /Annot
/Q 0 /Subtype /Widget /Parent 16 0 R /DA (/rmtf 11.9552 Tf 1.1955 Ts 0 0
0 rg 0 0 0 RG) /MK /CA () /F 4
/Rect [0 14.4275 59.7758 26.3827]
endobj
18 0 obj
/Type /Annot
/Q 0 /Subtype /Widget /Parent 16 0 R /DA (/rmtf 11.9552 Tf 1.1955 Ts 0 0
0 rg 0 0 0 RG)
\asciimode can be overkill because it makes also “%” a normal character,
better you define a command which change the catcodes.
\def\googlechart
{\begingroup
\setcatcodetable\vrbcatcodes
\dodoubleempty\dogooglechart}
\def\dogooglechart[#1][#2]%
{\endgroup
Hi
I stumbled upon this while making a table with rules, where I wanted to have a
particular row highlighted with a thicker border:
http://www.mail-archive.com/ntg-context@ntg.nl/msg33678.html
Since this was posted more then two years ago, I just wanted to know if
anything changed on this
Thanks Hans!
That was it, now it works again.
Best wishes
Adam
From: Hans Hagen [pra...@wxs.nl]
Sent: 17 April 2011 15:57
To: Reviczky, Adam
Cc: mailing list for ConTeXt users
Subject: Re: [NTG-context] bug with \cite in latest beta (2011.04.13)
On 16-4
Hi
I have a PDF with widgets and everything's fine with it, and I'm testing it by
opening it with Adobe Reader.
Now I had a look again with other viewers and when I open it with evince
(poppler based), then it gives me some strange errors like this:
Error: Annotation rectangle is wrong type
So does anybody have a working example with 2011.04.13 for the cite?
Using this example gives me a luatex error, and it used to work with earlier
beta's:
% sample.bib: http://wiki.contextgarden.net/sample_bib
%%%
\setupbibtex[database={sample},sort=author]
% apa works, but I don't want apa
%
Hi
I have problems with special characters in URL's.
What I wanted at first place, is embedding a google chart image, so I've tried
this:
\starttext
\externalfigure[{https://chart.googleapis.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello|World}]
\stoptext
which fails with:
! Undefined control
\starttext
\externalfigure[https://chart.googleapis.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello\letterbar
World][method=png,scale=4000]
\stoptext
Wolfgang
Thank you very much.
Adam
___
If your question is
Hmm
I still have some problems with this. How would it look like for this URL?
I've tried asciimode and \letterbar + \letterpercent, but no luck.
22:29
To: mailing list for ConTeXt users
Cc: Reviczky, Adam
Subject: Re: [NTG-context] bug with \cite in latest beta (2011.04.13)
On 16-4-2011 8:53, Reviczky, Adam wrote:
So does anybody have a working example with 2011.04.13 for the cite?
Using this example gives me a luatex error, and it used
there are some problems with the citecommand in the latest beta. I always get
a LuaTeX error...
I've hit the same problem, though apa doesn't seem to be affected, so in the
meantime you can use:
\setuppublications[alternative=apa]
Adam
Hi
If I have two frames within one frame, how can I vertically align the first
(well, or both) framed to top or middle.
Here's a minimal example:
\starttext
\framed[strut=no,height=fit,framecolor=green,background=screen,backgroundscreen=.80]
You need “location=middle” for the *inner* frames.
I'm so sure that I've tried that already, anyhow.
It works as expected, so thanks!
Adam
___
If your question is of interest to others as well, please add an entry to
I'm getting this since today morning:
mtx-context | run 1: luatex
--fmt=/home/08/reviczky/local32/texlive/experimental/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en
Hi
I'm getting the same lines by using setupfields (in widgets), but this time I
don't even get an output.
Here's the minimal example:
%%%
\starttext
\setupfields
[label,frame,horizontal]
[offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80]
Hi
Using context experimental 2011.03.18 I get this line when using
definebodyfontenvironment:
fontsbeware: fontclass ignored (if needed use:
[fontclass][size][settings])
Minimal example:
http://wiki.contextgarden.net/Reference/en/definebodyfontenvironment
%%%
\starttext
Hi
I'm getting lines like these since context experimental 2011.03.11 (including
2011.03.18) by using definelayout reset.
checkmissing or ungrouped '=' after 'reset' in line 8 (@@ly2)
checkmissing or ungrouped '=' after 'reset' in line 12 (@@ly9)
Did something change
The example is wrong, for \definelayout only assignments are valid parameters
while \setuplayout accepts also “reset” for the first (with one argument)
or second (with two arguments) argument.
Hmm, but it's the only way it produces the output with the right layouts.
So what needs to be changed for
So I tried to set words.threshold = 4 in context/base/lang-wrd.lua to
smaller values but this does not change anything.
You have to regenerate the formats too, after you changed the value.
Otherwise you could use directly in your document:
\ctxlua{languages.words.threshold=1}
Adam
I’m Sorry, I missed the intext part. For MkIV you need “location=text” to
move the numbers in the text.
Yeah, I just figured it out, though there's still a % todo: text in
page-lin.mkiv, but it works.
Wolfgang
Thanks again.
Adam
Line numbers in the text as well as
Works here with the last beta.
I'm using the latest beta too. Attached is my PDF, do you get something
different?
I want to have intext numbers (inside the frame), not outside. As I said, works
with mkii though.
/BTEX … /ETEX (for colors) don't work.
Hi,
When using verbatim text (for source code) in mkiv:
Line numbers in the text as well as
/BTEX … /ETEX (for colors) don't work.
It is fine using mkii.
Attached the two minimal examples.
Adam
\setupcolors[state=start]
\starttext
%% SC colors %%
\definecolor [SCwhite] [r=1.0, g=1.0, b=1.0]
Hi
Context fails to run with an input (filename or directoryname) that includes
special characters.
example files:
%%%
reviczky@arlequin ~/minimal % la
total 0
drwxrwxr-x 1 reviczky reviczky 60 2011-03-05 19:58 ./
drwxr-xr-x 1 reviczky reviczky 2148 2011-03-05 20:00 ../
drwxrwxr-x 1 reviczky
Yeah, please fix this ASAP. I keep all my context files in
a directory which I call /dev/null, and for some reason,
this doesn't really work. But I am not going to change the
name of my directory, no, you have to rewrite your
software!
Thomas
Dear Thomas
I understand, that it's not a good
only Hans can decide if this can/should be changed
I won't argue for any changes, just thought to ask about it.
A simple yes, can be done or no, its a really bad idea is perfectly enough
for me.
I'll think about a workaround outside context.
Cheers,
Adam
Hi
I'm trying to use MathML with mkiv (latest beta), but I'm getting errors.
I'm attaching the minimal example (borrowed from the wiki) and the log file.
Adam
\usemodule[mathml]
\starttext
test
\xmlprocessdata{}{
math xmlns='http://www.w3.org/1998/Math/MathML'
mrow
msup mix/mimn2/mn /msup
The only letter (g) I have left in the logo has two spaces that I want to cut
out.
I can't make a single path out of it so that it doesn't go through the entire
letter, so what to do in this case?
Here's the example:
%%%
\starttext
Just as a thought ... what you currently do with metapost at the
moment is a bit of cheating to overcome lack of a feature in metapost
- there is still an infinitely thin line between segments and a dumb
renderer might display artifacts.
Yes, I am aware of this, just wanted to hear something
Hi
Is it possible to fill out a space between two outlines?
As for an example, I'd like to draw two circles (same center, one bigger than
the other) and fill out the difference.
Something like the letter O.
Here's a concrete example:
%%%
draw (6.949220,13.046900)..controls (9.539060,13.046900)
to be precise, the attachment is attached once
(can be seen if one inspects the sample PDF files in uncompressed form with
any text or binary editor - if you do not have Adobe Acrobat), but is
listed twice by Adobe Reader.
Thanks, but the question is still why the beta produces this while it
You can fill out the bigger one, than clips the smaller one.
Can you give me an example with the clip? I can't get it work in a way I want
to have it.
I've found another thread here:
http://www.tug.org/pipermail/metapost/2006-September/000650.html
But I fail to see the conclusion there too.
\startMPpage
path p ;
p := fullcircle scaled 1cm ;
path q ;
q := fullcircle scaled .5cm ;
path r ;
r := p -- reverse q -- cycle ;
drawarrow r withcolor green ;
fill r withcolor red ;
\stopMPpage
This works here.
Based on this I can now cut out the smaller one from a fullcircle, but it
1 - 100 of 118 matches
Mail list logo