ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* EnglishRule and Lua / Simplefonts module
@ 2009-11-24 12:57 Charles Doherty
  2009-11-24 13:38 ` Wolfgang Schuster
  2009-11-24 18:06 ` Otared Kavian
  0 siblings, 2 replies; 11+ messages in thread
From: Charles Doherty @ 2009-11-24 12:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

Dear Hans and Wolfgang,

I have started experimenting with the Lua engine through TeXShop. I use \EnglishRule in a Newsletter to separate major items. When I use it in the attached file it works as always when I use the ConteXt engine (TL2009) and in my minimals installation it works fine using MinimalsConTeXt engine and MinimalsXeConTeXt engine. When I switch to using the simplefonts module in MinimalsLua engine the \EnglishRule does not behave properly. Also the text switches to italic. I have attached a small file and if you comment out the lines and switch between the engines you can see what I mean. 

Thanks for any help,
Best wishes,
Charlie

[-- Attachment #2: EnglishRuleTest.tex --]
[-- Type: application/octet-stream, Size: 591 bytes --]

% Simplefont definitions 

%\usemodule[simplefonts][size=10pt]
%\setmainfont[DejaVu Serif]
%\setsansfont[DejaVu Sans]
%\setmonofont[DejaVu Sans Mono]

% XeTeX font definitions 

\definetypeface[DejaVu][rm][Xserif][DejaVu Serif]
\definetypeface[MyDejaVu][rm][Xserif][DejaVu Serif]
 \setupbodyfont[MyDejaVu, 10pt]

% style definitions 

\setupcolors[state=start]
        
\useMPlibrary [txt]
\setupMPvariables
[EnglishRule] [color=darkgray,
width=\textwidth]


\starttext 


\EnglishRule
\blank
\input knuth 
\EnglishRule
\input knuth
\EnglishRule
\blank
\input knuth 
\EnglishRule

\stoptext 

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-11-24 19:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 12:57 EnglishRule and Lua / Simplefonts module Charles Doherty
2009-11-24 13:38 ` Wolfgang Schuster
2009-11-24 14:52   ` Charles Doherty
2009-11-24 15:36     ` Wolfgang Schuster
2009-11-24 16:17       ` Charles Doherty
2009-11-24 17:07         ` Wolfgang Schuster
2009-11-24 18:03           ` Charles Doherty
2009-11-24 18:20             ` Wolfgang Schuster
2009-11-24 18:06 ` Otared Kavian
2009-11-24 18:16   ` Wolfgang Schuster
2009-11-24 19:59     ` Otared Kavian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).