Re: [NTG-context] \placefigure and \em (again)

2011-02-25 Thread Henning Hraban Ramm
Am 2011-02-25 um 08:56 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: --- \starttext \placefigure [left,none] {} { \startMPcode draw (0,0)--(6cm,6cm); \stopMPcode } This is a normal text -- it flows around the picture on the left side of the page as expected.

Re: [NTG-context] \placefigure and \em (again)

2011-02-25 Thread Wolfgang Schuster
Am 25.02.2011 um 08:56 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, sorry for repeating this topic, maybe it's not too attractive. Please, have a look to the following problem. I wonder why the behaviour described bellow occurs and how to typeset a paragraph starting with

Re: [NTG-context] \placefigure and \em (again)

2011-02-25 Thread Wolfgang Schuster
Am 25.02.2011 um 09:16 schrieb Henning Hraban Ramm: You can add a \strut in front of {\em - that’s a usual workaround for problems with non-letters starting a paragraph. The usual workaround is \dontleavehmode. Wolfgang

Re: [NTG-context] \placefigure and \em (again)

2011-02-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks for the answers. I'm familiar with using \dontleavehmode when needing to keep a figure midaligned; I had no idea that this would be a similar situation (and solution). Best regards, Lukas On Fri, 25 Feb 2011 09:37:40 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com

Re: [NTG-context] \placefigure and \em (again)

2011-02-25 Thread Willi Egger
Hello, of course I do not have the solution for the underlaying problem. I found out, that you can put a \strut in front of the problematic text and then it comes out ok. Another point is, that placing the whole text-part i.e. all 4 paragraphs in your example between \bgroup \egroup results in

[NTG-context] post_linebreak_filter in context

2011-02-25 Thread Patrick Gundlach
Hi, how do I install a custom post_linebreak_filter in ConTeXt? I have this LaTeX file: \documentclass[12pt,a4paper]{scrartcl} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{fontspec}

Re: [NTG-context] inmargin problem in mkiv with luatex when specified with stack

2011-02-25 Thread Wolfgang Schuster
Am 25.02.2011 um 05:20 schrieb Dinh Tran: Hello, Running the following context code doesn't seem to work with context --luatex. Works with context --xetex however. It works in a (currently private) beta but stacking isn’t perfect yet. BTW: The --luatex switch isn’t necessary to run

Re: [NTG-context] [t-vim] Line numbers

2011-02-25 Thread Hans Hagen
On 23-2-2011 5:54, Marco wrote: On 2011-02-23 Aditya Mahajanadit...@umich.edu wrote: [...] I do not think that either of these options is worth the trouble. No, definitely not. I am not sure what you want. Do you want [...] context --purgeall This will probably be difficult to

[NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Heilmann, Till A.
Maybe the ConTeXt community can be of assistance to the LuaTeX bunch ... As a new LuaTeX user, I came across the following problem: Using Lua(La)TeX, customized kerning of letter pairs (via the FeatureFile capability of fontspec) is ignored when it coincides with a possible hyphenation of a

Re: [NTG-context] \placefigure and \em (again)

2011-02-25 Thread Hans Hagen
On 25-2-2011 9:44, Procházka Lukáš Ing. - Pontex s. r. o. wrote: ... Thanks for the answers. I'm familiar with using \dontleavehmode when needing to keep a figure midaligned; I had no idea that this would be a similar situation (and solution). {\em xxx ..} the first x triggers the start of a

Re: [NTG-context] reencode fonts with fonts.trigger

2011-02-25 Thread Hans Hagen
On 23-2-2011 6:05, Ulrike Fischer wrote: But I wished they were some documentation about the general structure of the font loading and processing and all this fields (fonts.manipulators, fonts.triggers, tfmdata.postprocessors, ...). There will be some documentation once it is stable enough. I

Re: [NTG-context] post_linebreak_filter in context

2011-02-25 Thread Hans Hagen
On 25-2-2011 12:28, Patrick Gundlach wrote: Hi, how do I install a custom post_linebreak_filter in ConTeXt? I have this LaTeX file: \documentclass[12pt,a4paper]{scrartcl} \usepackage[english]{babel}

Re: [NTG-context] how to make chapter starts from odd page always?

2011-02-25 Thread Hans Hagen
On 24-2-2011 3:32, Jeong Dalyoung wrote: \setuphead[chapter][page=odd] - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 |

Re: [NTG-context] btex and DeclareGraphicsRule question

2011-02-25 Thread Hans Hagen
On 24-2-2011 10:12, Rebecca Searls wrote: Why does stmt, label(btex Au dessus etex, (0,0)); fail when using stmt, \DeclareGraphicsRule{*}{mps}{*}{} but works with stmt, \DeclareGraphicsRule{*}{eps}{*}{} looks like latex I am running texlive/2010. Here is the error msg I get when using mps.

[NTG-context] Letters in the first level head instead of numbers

2011-02-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, maybe already questioned in the past, but I cannot find the answer: How to change the numbering style for a particular head (e.g. section) from numbers (1, 2...) to letters (A, B...) - which option and value (http://wiki.contextgarden.net/Reference/en/setuphead)? Thank you in advance.

Re: [NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Hans Hagen
On 25-2-2011 1:18, Heilmann, Till A. wrote: Maybe the ConTeXt community can be of assistance to the LuaTeX bunch ... As a new LuaTeX user, I came across the following problem: Using Lua(La)TeX, customized kerning of letter pairs (via the FeatureFile capability of fontspec) is ignored when it

Re: [NTG-context] Float option “top” affects page break (on following pages)

2011-02-25 Thread Hans Hagen
On 24-2-2011 2:15, Andreas Harder wrote: Hi all, consider the following example. \starttext \showgrid Try to comment the \tex{placefigure} command, there will be 40 lines on the second page. If you uncomment it again there are 41 lines!

Re: [NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Ulrike Fischer
Am Fri, 25 Feb 2011 14:35:10 +0100 schrieb Hans Hagen: As a new LuaTeX user, I came across the following problem: Using Lua(La)TeX, customized kerning of letter pairs (via the FeatureFile capability of fontspec) is ignored when it coincides with a possible hyphenation of a word (e.g. between

[NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Heilmann, Till A.
Am Fri, 25 Feb 2011 14:41:10 +0100 schrieb Ulrike Fischer: In base mode kerning and and hyphenation happen in the traditional tex way, so there is not much extra trickery taking place. Well, as you mention base mode: This reminded me that I had to force base mode to get my reencoding to

Re: [NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Ulrike Fischer
Am Fri, 25 Feb 2011 16:37:26 +0100 schrieb Heilmann, Till A.: Am Fri, 25 Feb 2011 14:41:10 +0100 schrieb Ulrike Fischer: In base mode kerning and and hyphenation happen in the traditional tex way, so there is not much extra trickery taking place. Well, as you mention base mode: This

Re: [NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Ulrike Fischer
Am Fri, 25 Feb 2011 16:45:31 +0100 schrieb Ulrike Fischer: Ah, yes, the transcript of my first example clearly shows fontspec operating in node mode. Yes, but I could also reproduce the problem without fontspec (only with luaotfload). Please excuse my naive asking: Is there any way to

[NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Heilmann, Till A.
Am Fri, 25 Feb 2011 16:45:31 +0100 schrieb Ulrike Fischer: Please excuse my naive asking: Is there any way to continue using fontspec's setmainfont command (it is convenient for someone unexperienced like me) and at the same force luaotfload into using base mode? The following seems to

Re: [NTG-context] Hyphenation patterns and adjusted kerning: ConTeXt vs. LuaTeX

2011-02-25 Thread Khaled Hosny
On Fri, Feb 25, 2011 at 03:41:10PM +0100, Ulrike Fischer wrote: So I think it isn't true that the manual of luaotfload claims By default mode=base is used. It used to be like that but we changed it a while ago, looks like I didn't update the manual. Regards, Khaled -- Khaled Hosny

Re: [NTG-context] Hyphenation patterns and adjusted kerning:?ConTeXt vs. LuaTeX

2011-02-25 Thread Khaled Hosny
On Fri, Feb 25, 2011 at 04:45:31PM +0100, Ulrike Fischer wrote: Ah, yes, the transcript of my first example clearly shows fontspec operating in node mode. Please excuse my naive asking: Is there any way to continue using fontspec's setmainfont command (it is convenient for someone

Re: [NTG-context] \halign

2011-02-25 Thread Eythan Weg
Wolfgang Schuster schuster.wolfg...@googlemail.com Thu, 24 Feb 2011 22:20:01 +0100 Am 24.02.2011 um 17:56 schrieb Eythan Weg: Hi, I have just installed beta. The line: \starttext \halign{\hfil#\hfil\quad\cr This That\cr12\cr} \stoptext

[NTG-context] Configuration files

2011-02-25 Thread Eythan Weg
Hi, Where can I find information about the contents of following files? context.cnf contextcnf.lua texmf.cnf texmfcnf.lua Also I used to have cont-sys.tex in ~/texmf/tex. What is the analogous file for mkiv? Thank you. Eythan

Re: [NTG-context] \halign

2011-02-25 Thread Khaled Hosny
On Fri, Feb 25, 2011 at 11:16:06AM -0500, Eythan Weg wrote: Wolfgang Schuster schuster.wolfg...@googlemail.com Thu, 24 Feb 2011 22:20:01 +0100 Am 24.02.2011 um 17:56 schrieb Eythan Weg: Hi, I have just installed beta. The line: \starttext

Re: [NTG-context] \halign

2011-02-25 Thread Hans Hagen
On 25-2-2011 5:16, Eythan Weg wrote: Wolfgang Schusterschuster.wolfg...@googlemail.com Thu, 24 Feb 2011 22:20:01 +0100 Am 24.02.2011 um 17:56 schrieb Eythan Weg: Hi, I have just installed beta. The line: \starttext

Re: [NTG-context] Configuration files

2011-02-25 Thread Hans Hagen
On 25-2-2011 5:18, Eythan Weg wrote: Where can I find information about the contents of following files? context.cnf not used in mkiv, standard setup for mkii contextcnf.lua standard setup for mkiv texmf.cnf used by mkii texmfcnf.lua used by mkiv, most variables concern the

Re: [NTG-context] Latest betas break tikz matrix

2011-02-25 Thread Hans Hagen
On 23-2-2011 5:38, Mathieu Boespflug wrote: Hi Aditya, Could be due to the change in catcode of. Try adding \donknuthmode. It doesn't make any difference if I put the \donknuthmode just before \starttikzpicture. But If I put it before the \usemodule[tikz], then I get another error: Package