* 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
* Re: EnglishRule and Lua / Simplefonts module
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 18:06 ` Otared Kavian
1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-11-24 13:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 24.11.2009 um 13:57 schrieb Charles Doherty:
> 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.
MkIV works fine for me, update your minimals to the last ConTeXt version and tell us if the problem remains.
Wolfgang
___________________________________________________________________________________
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
* Re: EnglishRule and Lua / Simplefonts module
2009-11-24 13:38 ` Wolfgang Schuster
@ 2009-11-24 14:52 ` Charles Doherty
2009-11-24 15:36 ` Wolfgang Schuster
0 siblings, 1 reply; 11+ messages in thread
From: Charles Doherty @ 2009-11-24 14:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1738 bytes --]
Dear Wolfgang,
I deleted my Minimals folder and did a complete re-install following instructions on ConTeXtGarden curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh
etc.
I also downloaded simplefonts using the sh ./first-setup.sh --extras="t-simplefonts"
I still get the results as described below.
Charlie
On 24 Nov 2009, at 13:38, Wolfgang Schuster wrote:
>
> Am 24.11.2009 um 13:57 schrieb Charles Doherty:
>
>> 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.
>
> MkIV works fine for me, update your minimals to the last ConTeXt version and tell us if the problem remains.
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 3162 bytes --]
[-- Attachment #2: 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
* Re: EnglishRule and Lua / Simplefonts module
2009-11-24 14:52 ` Charles Doherty
@ 2009-11-24 15:36 ` Wolfgang Schuster
2009-11-24 16:17 ` Charles Doherty
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-11-24 15:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 452 bytes --]
Am 24.11.2009 um 15:52 schrieb Charles Doherty:
> Dear Wolfgang,
>
> I deleted my Minimals folder and did a complete re-install following instructions on ConTeXtGarden curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh
> etc.
>
> I also downloaded simplefonts using the sh ./first-setup.sh --extras="t-simplefonts"
>
> I still get the results as described below.
Can you send the log file.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1554 bytes --]
[-- Attachment #2: 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
* Re: EnglishRule and Lua / Simplefonts module
2009-11-24 15:36 ` Wolfgang Schuster
@ 2009-11-24 16:17 ` Charles Doherty
2009-11-24 17:07 ` Wolfgang Schuster
0 siblings, 1 reply; 11+ messages in thread
From: Charles Doherty @ 2009-11-24 16:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]
Here it is:
Thanks for taking the time.
Charlie
On 24 Nov 2009, at 15:36, Wolfgang Schuster wrote:
>
> Am 24.11.2009 um 15:52 schrieb Charles Doherty:
>
>> Dear Wolfgang,
>>
>> I deleted my Minimals folder and did a complete re-install following instructions on ConTeXtGarden curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh
>> etc.
>>
>> I also downloaded simplefonts using the sh ./first-setup.sh --extras="t-simplefonts"
>>
>> I still get the results as described below.
>
> Can you send the log file.
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2.1: Type: text/html, Size: 214 bytes --]
[-- Attachment #1.2.2: EnglishRuleTest.log --]
[-- Type: application/octet-stream, Size: 14686 bytes --]
(./EnglishRuleTest.tex
ConTeXt ver: 2009.11.24 10:13 MKIV fmt: 2009.11.24 int: english/english
system : cont-new loaded
(/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(cont-new.mkiv))
system : cont-fil loaded
(/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system : cont-sys.rme loaded
(/Users/charlesdoherty/context/tex/texmf-context/tex/context/user/cont-sys.rme (/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/type-tmf.tex (type-tmf.mkiv)) (/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/type-siz.tex (type-siz.mkiv)) (/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/type-otf.tex (type-otf.mkiv)))
system : EnglishRuleTest.top loaded
%
% begin of optionfile
%
% % runtime options files (command line driven)
% \unprotect
% % special commands, mostly for the ctx development team
% % feedback and basic job control
% % handy for special styles
% \startluacode
% document = document or { }
% document.arguments={
% }
% document.files={
% "EnglishRuleTest.tex",
% }
% \stopluacode
% % process info
% \setupsystem[\c!n=1,\c!m=1]
% \setupsystem[\c!type=unix]
% % modes
% % options (not that important)
% \startsetups *runtime:options
% \setupoutput[pdftex]
% \stopsetups
% % styles and modules
% \startsetups *runtime:modules
% \stopsetups
% % done
% \protect \endinput
%
% end of optionfile
%
(EnglishRuleTest.top)
fonts : preloading latin modern fonts
bodyfont : 12pt rm is loaded
language : language en is active
system : module simplefonts loaded
(/Users/charlesdoherty/context/tex/texmf-context/tex/context/third/simplefonts/t-simplefonts.tex
loading : ConTeXt User Module / Simplefonts
)
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
!fonts : font database matches configuration and file hashes
color : system all is global activated
metapost : loading metapost library txt
(/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/meta-txt.tex)
systems : begin file EnglishRuleTest at line 24
mplib : initializing instance 'metafun' using format 'metafun'
mplib : loading 'metafun.mp' from '/Users/charlesdoherty/context/tex/texmf-cache/luatex-cache/context/c88018b417b6c351b8e7c8c0eda6c44a/formats/cont-en-metafun.mem'
fonts : resetting map file list
{/Users/charlesdoherty/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts : using map file: original-base
{/Users/charlesdoherty/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts : using map file: original-ams-base
{/Users/charlesdoherty/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts : using map file: original-ams-euler
{/Users/charlesdoherty/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts : using map file: original-public-lm
{/Users/charlesdoherty/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts : using map file: lm-math
{/Users/charlesdoherty/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts : using map file: lm-rm
{/Users/charlesdoherty/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} (knuth) (knuth) (knuth)
system : xmp data not flushed (needs luatex upgrade)
!pages : flushing page, realpage 1, userpage 1
systems : end file EnglishRuleTest at line 37
system : cont-err loaded
(/Users/charlesdoherty/context/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )</Library/Fonts/DejaVuSerif-Italic.ttf>
mkiv lua stats : used config path - /Users/charlesdoherty/context/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path - /Users/charlesdoherty/context/tex/texmf-cache
mkiv lua stats : input load time - 0.051 seconds
mkiv lua stats : stored bytecode data - 195 modules, 48 tables, 243 chunks
mkiv lua stats : node list callback tasks - 4 unique tasks, 3 created, 63 calls
mkiv lua stats : cleaned up reserved nodes - 25 nodes, 9 lists of 1410
mkiv lua stats : node memory usage - 20 glue_spec, 2 dir
mkiv lua stats : h-node processing time - 0.052 seconds including kernel
mkiv lua stats : used backend - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns - en:us:pat:exc:2
mkiv lua stats : startup time - 1.151 seconds (including runtime option file processing)
mkiv lua stats : callbacks - direct: 1811, indirect: 4812, total: 6623
mkiv lua stats : loaded fonts - 39 files: dejavuserif-italic.ttf lmmono10-regular.otf lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman10-bold.otf lmroman10-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans10-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr10.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats : fonts load time - 1.241 seconds
mkiv lua stats : metapost processing time - 0.001 seconds, loading: 0.023 seconds, execution: 0.001 seconds, n: 1
mkiv lua stats : result saved in file - EnglishRuleTest.pdf
mkiv lua stats : luatex banner - this is luatex, version beta-0.45.0-2009111904
mkiv lua stats : control sequences - 32970 of 165536
mkiv lua stats : current memory usage - 62 MB (ctx: 63 MB)
mkiv lua stats : runtime - 4.386 seconds, 0 processed pages, 1 shipped pages, 0.228 pages/second
[-- Attachment #1.2.3: Type: text/html, Size: 2655 bytes --]
[-- Attachment #2: 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
* Re: EnglishRule and Lua / Simplefonts module
2009-11-24 16:17 ` Charles Doherty
@ 2009-11-24 17:07 ` Wolfgang Schuster
2009-11-24 18:03 ` Charles Doherty
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-11-24 17:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 24.11.2009 um 17:17 schrieb Charles Doherty:
> Here it is:
> Thanks for taking the time.
There is nothing I can see here which produce this results.
What do you get with the following lines on the command line:
mtxrun --script font --list dejavuserif
mtxrun --script font --list dejavuserifnormal
Can you also try to delete the luatex cache (everything below /Users/charlesdoherty/context/tex/texmf-cache/) and regenerate (luatools --generate) it.
Wolfgang
___________________________________________________________________________________
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
* Re: EnglishRule and Lua / Simplefonts module
2009-11-24 17:07 ` Wolfgang Schuster
@ 2009-11-24 18:03 ` Charles Doherty
2009-11-24 18:20 ` Wolfgang Schuster
0 siblings, 1 reply; 11+ messages in thread
From: Charles Doherty @ 2009-11-24 18:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear Wolfgang,
I deleted the luatex cashe. I got the same output. Then I ran the scripts. This is the result:
dejavuserif dejavuserif /Library/Fonts/DejaVuSerif.ttf
dejavuserifnormal dejavuserifitalic /Library/Fonts/DejaVuSerif-Italic.ttf
Charlie
On 24 Nov 2009, at 17:07, Wolfgang Schuster wrote:
> There is nothing I can see here which produce this results.
>
> What do you get with the following lines on the command line:
>
> mtxrun --script font --list dejavuserif
> mtxrun --script font --list dejavuserifnormal
>
> Can you also try to delete the luatex cache (everything below /Users/charlesdoherty/context/tex/texmf-cache/) and regenerate (luatools --generate) it.
>
> Wolfgang
___________________________________________________________________________________
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
* Re: EnglishRule and Lua / Simplefonts module
2009-11-24 12:57 EnglishRule and Lua / Simplefonts module Charles Doherty
2009-11-24 13:38 ` Wolfgang Schuster
@ 2009-11-24 18:06 ` Otared Kavian
2009-11-24 18:16 ` Wolfgang Schuster
1 sibling, 1 reply; 11+ messages in thread
From: Otared Kavian @ 2009-11-24 18:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Charles and Wolfgang,
I have noticed the same problem, as the one Charles is describing, with the « English rule » or the « swelled rule » and mkiv, and I think that this has nothing to do with fonts. Maybe, it is rather with the way \localhsize is defined in recent versions of mkiv: the « rule » appears in a rather starnge way on different pages.
My minimal example test file:
%%%%%%%%%%%
%% defining swelled rule, or English rule...
\setupMPvariables[SwelledRule][height=2pt,breadth=.667\localhsize]
\startuniqueMPgraphic{SwelledRule}{height,breadth}
x1 = 0; x2 = x6 = .333x4; x3 = x5 = .667x4; x4 = \MPvar{breadth};
y1 = y4 = \MPvar{height}/2; y2 = y3 = \MPvar{height}; y5 = y6 = 0;
fill z1--z2--z3--z4--z5--z6--cycle;
\stopuniqueMPgraphic
\def\SwelledRule{\blank%
\setlocalhsize\midaligned{\reuseMPgraphic{SwelledRule}}\blank}
%% end swelled rule
\starttext
\dorecurse{20}{\input knuth \par \blank
\SwelledRule
\input knuth \page}
\stoptext
%%%%%%%%%%%
Best regards: OK
On 24 nov. 2009, at 13:57, Charles Doherty wrote:
> 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
> <EnglishRuleTest.tex>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
* Re: EnglishRule and Lua / Simplefonts module
2009-11-24 18:06 ` Otared Kavian
@ 2009-11-24 18:16 ` Wolfgang Schuster
2009-11-24 19:59 ` Otared Kavian
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-11-24 18:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 24.11.2009 um 19:06 schrieb Otared Kavian:
> Hi Charles and Wolfgang,
>
> I have noticed the same problem, as the one Charles is describing, with the « English rule » or the « swelled rule » and mkiv, and I think that this has nothing to do with fonts. Maybe, it is rather with the way \localhsize is defined in recent versions of mkiv: the « rule » appears in a rather starnge way on different pages.
>
> My minimal example test file:
And what should I see here, I get the same rule on each page.
Wolfgang
___________________________________________________________________________________
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
* Re: EnglishRule and Lua / Simplefonts module
2009-11-24 18:03 ` Charles Doherty
@ 2009-11-24 18:20 ` Wolfgang Schuster
0 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Schuster @ 2009-11-24 18:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 24.11.2009 um 19:03 schrieb Charles Doherty:
> Dear Wolfgang,
>
> I deleted the luatex cashe. I got the same output. Then I ran the scripts. This is the result:
>
> dejavuserif dejavuserif /Library/Fonts/DejaVuSerif.ttf
> dejavuserifnormal dejavuserifitalic /Library/Fonts/DejaVuSerif-Italic.ttf
This explains why you get italic text, you can try to copy the fonts in your TeX directory
(dont't forget 'luatools --generate' and 'mtxrun --script font --reload' to let ConTeXt know
there are new fonts) and look if this works or you write
\setmainfont[DejaVu Serif][regularfont={*}]
Wolfgang
___________________________________________________________________________________
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
* Re: EnglishRule and Lua / Simplefonts module
2009-11-24 18:16 ` Wolfgang Schuster
@ 2009-11-24 19:59 ` Otared Kavian
0 siblings, 0 replies; 11+ messages in thread
From: Otared Kavian @ 2009-11-24 19:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
On 24 nov. 2009, at 19:16, Wolfgang Schuster wrote:
>> […]
>
> And what should I see here, I get the same rule on each page.
>
> Wolfgang
Sorry, Wolfgang I didn't attach the PDF file in order to pass through the mailing list.
I get English rules of various sizes placed almost at random somewhere on the page:
[-- Attachment #2: swelled-rule.pdf --]
[-- Type: application/pdf, Size: 36901 bytes --]
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
I am running the latest release on Mac OS X 10.6.2:
This is LuaTeX, Version beta-0.45.0-2009111904
ConTeXt ver: 2009.11.24 10:13 MKIV fmt: 2009.11.24 int: english/english
Best regards: OK
[-- Attachment #4: 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).