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
At 16:45 +0900 31/03/05, Dalyoung wrote:
Hi all,
Is there any place or samples to show "how to create presentation"?
I am sorry if it is too well known subject.
Regards, Dalyoung
Hi, I am sending you a small zip file containing all the necessary files I use to create presentation with ConTeXt, together with some macros creating steps. Sorry if the text of the presentation is in French... (however the explanation of the macros is in English). Best regards: OK
Dear Otared, Thank you for your nice file. I have seen your another "SlideWithSteps" file in ConTeXt Wiki whose output is A4 size. But this one looks much better. Although it wokred fine, there is some warning message. Did I do something wrong? ! pdfTeX warning (ext4): destination with the same identifier (name{eq:1.1}) ha s been already used, duplicate ignored <recently read> fit <to be read again> \egroup \thisisdestination ... \dostartthisislocation {#1} \dostopthisislocation \fi ... \dodowritereference ...nceprefix \lastreference }} \referentieinfo
\lastrefe...
\rawprocesscommaitem ...commalevel \endcsname {#1} \expandafter \rawprocessco... \rawprocesscommalist ... \rawprocesscommaitem #1,] ,\global \advance \commale... ... l.21 } I'll test your macros in the XeTeX-ConTeXt to use non roman characters. Thank you again. Regards, Dalyoung
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.
Dalyoung said this at Thu, 31 Mar 2005 23:00:20 +0900:
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?
Yeah, I haven't really worked on ConTeXt's MetaFun links at all, and MetaPost invocations will choke on the XeTeX-y font names with spaces (and quotes). I'm sorry, but those waters are a bit too deep for me to go into right now. I hope someone else can take that topic up. Incidentally, Dalyoung, have you used the new \XeTeXlinebreaklocale="locale-id" feature? That seems tailor-made for Korean typesetting. I haven't had a chance to test it yet. best, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
At 22:21 +0900 31/03/05, Dalyoung wrote:
Although it wokred fine, there is some warning message. Did I do something wrong?
! pdfTeX warning (ext4): destination with the same identifier (name{eq:1.1}) has been already used, duplicate ignored <recently read> fit
Hi, You didn't do anything wrong: the warning is due to the fact that the same equation appears in several steps although its number doesn't change. Some time ago discussions with David Munger resulted in a better version of the stepping macros, in particular avoiding the side effect you are mentionning. However the files I sent you were prepared before that... and I didn't manage to update the presentation I sent you. After our discussions, David Munger wrote a nice "third party" module named t-rsteps.tex which you can use alternatively. Best regards: OK
participants (4)
-
Adam Lindsay
-
Dalyoung
-
Otared Kavian
-
정 달영