ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Charles Doherty <charles.doherty@upcmail.ie>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: EnglishRule and Lua / Simplefonts module
Date: Tue, 24 Nov 2009 12:57:12 +0000	[thread overview]
Message-ID: <0DD98DB5-4DAF-4ED1-9C12-418BE6B5C27A@upcmail.ie> (raw)

[-- 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
___________________________________________________________________________________

             reply	other threads:[~2009-11-24 12:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 12:57 Charles Doherty [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0DD98DB5-4DAF-4ED1-9C12-418BE6B5C27A@upcmail.ie \
    --to=charles.doherty@upcmail.ie \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).