# Tag Info

4

I adapted egreg’s answer and ported it to ConTeXt. This is feasible in this case, because bussproofs was written to be also compatible to plain TeX, which makes it way easier. Unfortunately, the developer of bussproofs thought it was a good idea to define his own \newcount, which results in this ugly hack in the first lines of the example. If the slash in ...

2

Looking at the general manual I found mention of a syntax on page 207. In my environment, I added: \setuphead[chapter][prefix=+] Then, in chapter heads, I titled them uniquely: \chapter[chapter06]{this is a chapter title} \chapter[chapter09]{this is a different chapter title} Then, in chapter 6, I can reference figure five b of chapter 9 by ...

2

To see that is happening, add \showframed before \starttext, which shows: So, the distance is equal to the distance between the left margin and text box, which is controlled by leftmargindistance key to \setuplayout. So, if you add: \setuplayout[leftmargindistance=0.25ex] you get Edit Up on replying to a comment by Manuel, if occurred to me that ...

5

You have typos in you code. The correct syntax is before={\blank[...]} (in your code the = is missing). But more importantly, TeX ignores \vskip (which is what \blank is internally) at the top of the page. To get blanks at the top of the page, use \blank[forece,line] etc. (i.e., add the keyword force). Here is a minimal example: \setuppapersize[A5] ...

2

Your code is not "almost same as Khaled Hosny's code," you left out the most important parts of the code in the answer you linked to. If I follow Khaled's procedure and produce an amiri.lfg file, then copy all his code (not just some bits and pieces), I get colored output. No idea if the diacritics are in the correct position, I don't know any Arabic).

4

ConTeXt needs to redefine some of the definitions of graph module. To use these redefinitions, you have to use MP instance graph. To do so, Add \usemodule[graph] in your preamble. If you are using the MPcode environment, use \startMPcode{graph}. If you are using MPpage environment, use \startMPpage[instance=graph]. You do not need to add begingraph(..) ... ...

Top 50 recent answers are included