Hallo ConTeXt list member, I am new member in the list so apologize if I ask for something trivial. But I have been looking in documentation, in ConTeXt source code, in the Net... Unsuccessfully. Perhaps someone here will known. I have this simple file zk.tex: %--------------------- \starttext Hallo. \startuseMPgraphic{zk} picture p; p:= btex Text1 etex; % p:= textext("Text2"); % label(btex Text3 etex, origin); draw p; draw origin--(1cm,1cm); \stopuseMPgraphic \useMPgraphic{zk} \stoptext %---------------------- When I run texexec zk the compilation pass successfuly but the result is without line and "Text1". In the case of "Text2" I obtain line and "unknown" (picture) text and in the case of "Text3" the same as in "Text1". The log file from my recent context distribution on Linux web2c is in the attachment. The file mpgraph.mpx is created with correct content (Text1). But next run of metapost does not include it. The only way how to obtain desired result is to run mpost directly mpost mpgraph.mp But it is not possible with the "textext". The instalation is standard. Only I set \setupoutput[pdftex] \usesymbols[nav] \setupsymbolset[navigation 1] \recycleMPslotstrue \runMPgraphicstrue \runMPTEXgraphicstrue \useMETAFUNformattrue in cont-sys.tex So, what I am doing worse? Thanks Vit -- _________________________________ | Vit Zyka, researcher, CTU FEE | | Center for Machine Perception | | zyka@ http://cmp.felk.cvut.cz | ---------------------------------
Vit Zyka wrote:
Hallo ConTeXt list member,
Hi Vit.
[test case snipped]
In your first test case (where you draw the string "Text1" and a line) my output .dvi file is also without "Text1" and the line. If I run the first test case with the options: texexec --pdf zk my pdf file does have the line and "Text1"
Vit Zyka
I am new member in the list so apologize if I ask for something trivial. But I have been looking in documentation, in ConTeXt source code, in the Net... Unsuccessfully. Perhaps someone here will known.
I bet you don't have \protectbufferstrue enabled in cont-sys.tex. Please double check and enable this option if disabled. Don't know where or if this is documented. Patrick
I bet you don't have \protectbufferstrue enabled in cont-sys.tex. Please double check and enable this option if disabled.
Ou, yesss! Have I miss this switch in the documentation (metafun, ...) or it is secret options with indent to inprove ConTeXt skils by spending some days by searching the code? ;-) Thanks for the answer (to Patrick) and many thanks (to Hans) for fascinating ConTeXt. It is only one sw I know to create document in the form of dodecahedron (after glueing) with photo on every face with semitransparent text along the curve to fit deaf place in the photo. Vit Zyka
participants (3)
-
Guy Worthington
-
Patrick Gundlach
-
Vit Zyka