[NTG-context] presentation in ConTeXt and XeTeX
Dear all, I tested presentation mode with pre-green module and it worked fine. I also tested the same file with the addition of few lines which set my personal font script for XeTeX-ConTeXt. \usetypescriptfile[type-xkor] \usetypescript[myface] \switchtobodyfont[Myface, 12pt, rm] Save the file(utf-8) and compiled it and I got errors: (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-xtx.tex) (/Users/dalyoung/Library/texmf/tex/xetex/type-xkor.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-dis.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-xtx.tex) (/Users/dalyoung/Library/texmf/tex/xetex/type-xkor.tex)) (./context- pre.tuo) Runaway argument? {^^G^^[⻊\usedmapfile {=}{original-base}\usedmapfile {=}{ec-public-l \ETC. ! File ended while scanning use of \thisisbytesequence. inserted text \par to be read again \relax \dodoreadfile ...normalinput \readfilename \relax \the \everyafterreadfile \doutilities ...textension }\donothing \donothing \the \everyafterutilityrea... argument ...pass }\jobname \empty \relax \relax \ifx \twopassdata \empty \... \firstofoneargument #1-#1 ... l.20 \starttext ? x No pages of output. Is there a way to use presentation module in ConTeXt-XeTeX environment using my fonts? Thank you. Dalyoung___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] presentation in ConTeXt
I added following two lines in conf-pre-main.tex, \usetypescriptfile[type-xall] %script file \usetypescript[myface] %typeface In type-xall.tex, \starttypescript[serif][smmjr][uc] % Regular variant: \definefontsynonym[smMyungjoRegular][smMyungjoR\space W30][encoding=uc] \definefontsynonym[smMyungjoBold][smMyungjoR\space W70][encoding=uc] \definefontsynonym[smMyungjoLight][smMyungjoR\space W10][encoding=uc] \definefontsynonym[smMyungjoBlack][smMyungjoR\space W90][encoding=uc] \stoptypescript % Start another typescript that associates generic names with % mid-level names: \starttypescript[serif][smmjr][name] \definefontsynonym[Serif][smMyungjoRegular] \definefontsynonym[SerifBold][smMyungjoBold] \definefontsynonym[SerifItalic][smMyungjoLight] \definefontsynonym[SerifBoldItalic][smMyungjoBlack] % The fallbacks \definefontsynonym[SerifSlanted][Serif] \definefontsynonym[SerifBoldSlanted][SerifBold] \definefontsynonym[SerifCaps][Serif] \stoptypescript ... Then, I got a following error, This is MetaPost, Version 0.641 (Web2C 7.5.3) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) (pre-main-mpgraph.mp ! Extra tokens will be flushed. to be read again smMyungjoR l.42 defaultfont:=smMyungjoR W30; ? It may be the problem in XeTeX. However, is it related with ConTeXt? Thank you. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] presentation in ConTeXt
Hi all, It is my first mail to this list. I am using XeTeX and XeTeX + ConTeXt environment for my most files for sometime. It worked fine and the output is really great. I'd like to use it to create a presentation instead of using LaTeX + beamer. I have seen many output samples of the presentation styles like s-pre-#.tex. But I didn't find how to use it in the ConTeXt manual. Recently, I googled and found some files for presentation including Hraban's source, but I didn't succeed. I try to compile it in the pure ConTeXt environment, texexec --pdf project_pdf-info.tex and got some error messages. . bodyfont: bodyfont 16pt is defined (can better be done global) bodyfont: bodyfont 16pt is defined (can better be done global) system : macros of module chart loaded (/usr/local/teTeX/share/texmf.local/tex/context/base/m-chart.tex XML : loading flowchart support )) systems : end file env_pdf-info at line 3 systems : begin file prd_grundlagen at line 46 (./prd_grundlagen.tex ! Undefined control sequence. \StartTitlePage ...lign [right] \stelinterliniein \vfil \let \\=\vfil l.4 \StartTitlePage ? x No pages of output. . Now I am using OS X 10.3.8 and Gerben's installation. What should I do to remove this error? Is there any place or samples to show how to create presentation? I am sorry if it is too well known subject. Regards, Dalyoung ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context