Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to use the grid features in ConTeXt, but some of the commands are somehow not recognized by the compiler.

Whenever I try to use the commands \placeongrid or \moveongrid, the compiler exits with an error message such as:

l.27 \moveongrid [both] ? >Exit code: -1073741510

the grid=yes option for the \setuplayout works well, but this is not what I intend to use.

I have both the TeXLive 2012 package and the ConTeXt Standalone (ver. 2012.10.17), and both distributions produce the same error message.

One concern is that when I try to update my ConTeXt standalone files, I get a message saying

The program can't start because kpathsea611.dll is missing from your computer. Try reinstalling the program to fix this problem.

I wonder if this has any relevance to the issue. Btw, I am on a Win7-x64 system.

share|improve this question
1  
Welcome to TeX.sx! – Kurt Oct 18 '12 at 7:33
2  
1. have you read the grid related instructions in the reference? 2. \moveongrid is mkii only, if you think you need it you will have to run your file through texexec. 3. kpathsea is linked into LuaTeX. It is, however, unnecessary and even disabled in Context (mkiv) so afaict the warning shouldn’t hurt. – phg Oct 18 '12 at 7:56
1. yes I am relying on this reference 2. this explains why I am having problems since I have been using context instead of texexec. Using texexec solved the problem. thank you! 3. actually, the kpathsea problem is quite annoying since it makes the texexec unavailable for the standalone package. The distribution that comes with the TeX Live package has no problems with kpathsea so this can be my solution. 4. I found an adhoc solution in case I want to use context. Repeated usage of \startlinecorrection and \stoplinecorrection until I get desired results seems to work a bit. – user21044 Oct 18 '12 at 8:20
For some reason it is not mentioned in the manual that you do in fact need \setuplayout[grid=yes] (or strict or verystrict) to activate snapping in the first place. What do you mean when you say you do not intend to use it? Btw. here is some additional documentation in the details doc and on the wiki in case you missed it. – phg Oct 18 '12 at 8:27
In fact, I have just been testing and noticed that without the [grid =yes] the commands don't make a difference. Guess I kinda misunderstood the mechanism. I thought that the snapping commands would effectively bring in a grid locally. Now, my options seem to be narrowed down to either using the global grid setting or just living with \startlinecorrection on a non-grid. Probably the grid is the way to go. Anyway, thanks for all your help! – user21044 Oct 18 '12 at 9:47

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.