From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80145 Path: news.gmane.org!not-for-mail From: "Meigen, Thomas" Newsgroups: gmane.comp.tex.context Subject: ConTeXt on the Mac (TexShop). Problem of a newbie Date: Mon, 7 Jan 2013 15:07:31 +0000 Message-ID: <8E16D40C6A36AF46A9050494F6F6A7BB35B28EED@wklex07v.klinik.uni-wuerzburg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357636507 1131 80.91.229.3 (8 Jan 2013 09:15:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2013 09:15:07 +0000 (UTC) To: "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 08 10:15:23 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TsVHF-0001OG-Kz for gctc-ntg-context-518@m.gmane.org; Tue, 08 Jan 2013 10:15:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ACEC9101EE; Tue, 8 Jan 2013 10:15:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kIczWTEwWLTk; Tue, 8 Jan 2013 10:15:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 78666101E6; Tue, 8 Jan 2013 10:15:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B96D5101E7 for ; Mon, 7 Jan 2013 16:11:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MshuoQ64Goyc for ; Mon, 7 Jan 2013 16:11:18 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id D0A85101E5 for ; Mon, 7 Jan 2013 16:11:18 +0100 (CET) Original-Received: from mailrelay.rz.uni-wuerzburg.de (wrz3035.rz.uni-wuerzburg.de [132.187.3.35]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r07FBHbf028535 for ; Mon, 7 Jan 2013 16:11:17 +0100 Original-Received: from virusscan-slb.rz.uni-wuerzburg.de (localhost [127.0.0.1]) by mailrelay-slb.rz.uni-wuerzburg.de (Postfix) with ESMTP id 8E8007AAD8 for ; Mon, 7 Jan 2013 16:11:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by virusscan-slb.rz.uni-wuerzburg.de (Postfix) with ESMTP id 8D3B17AAD1 for ; Mon, 7 Jan 2013 16:11:17 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-wuerzburg.de Original-Received: from mailmaster.uni-wuerzburg.de ([127.0.0.1]) by localhost (vmail001.slb.uni-wuerzburg.de [127.0.0.1]) (amavisd-new, port 10225) with ESMTP id N4MF4e3GvAtU for ; Mon, 7 Jan 2013 16:11:17 +0100 (CET) Original-Received: from mail.uk-wuerzburg.de (wkli053.klinik.uni-wuerzburg.de [132.187.191.53]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 7905B7AAC8 for ; Mon, 7 Jan 2013 16:11:17 +0100 (CET) Original-Received: from WKLEX03V.klinik.uni-wuerzburg.de (10.200.217.203) by TMGSERV01.klinik.uni-wuerzburg.de (192.168.252.211) with Microsoft SMTP Server (TLS) id 14.2.318.1; Mon, 7 Jan 2013 16:11:16 +0100 Original-Received: from WKLEX07V.klinik.uni-wuerzburg.de ([fe80::8dd6:d6d8:78c1:5e72]) by wklex03v.klinik.uni-wuerzburg.de ([::1]) with mapi id 14.02.0318.001; Mon, 7 Jan 2013 16:07:32 +0100 Thread-Topic: ConTeXt on the Mac (TexShop). Problem of a newbie Thread-Index: AQHN7Oi3qHSYmS9W6Ua+ttGJwbzk6A== Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.61.5.14] Content-ID: <5E62474C4B184047BAC6F6219DA231B2@klinik.uni-wuerzburg.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.187.3.35; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QIJ3bhmF - 00b122523bb4 - 20130107 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Mailman-Approved-At: Tue, 08 Jan 2013 10:15:01 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80145 Archived-At: Hi, after using LaTeX for article writing, presentations (beamer) and posters for about 15 years I wanted to try ConTeXt last week. I am not sure whether I installed all components correctly, so I tried to compile different simple test files. As I don't understand the error messages, I would like to ask for help. **************** 0. Installation **************** My configuration is - Macbook Pro, OSX 10.6.8 - TexShop 2.47 - Engine: ConTeXt-MKIV.engine I followed the instructions on http://wiki.contextgarden.net/ConTeXt_Standalone/Mac_Installation step by step and installed a standalone version in the folder /Applications/Context. **************************************************************** 1. A simple "Hello world" example works fine! **************************************************************** \starttext Hello world \stoptext **************************************************************** 2. A simple presentation works fine and displays the nice black-red-gray background (see log below) **************************************************************** \usemodule[s-pre-03] \starttext \TitlePage{A simple presentation} \Topics{Today's talk} \Topic{First item} \Topic{Second item} \stoptext **************************************************************** 3. A similarly simple presentation _does not work_ (see log below) **************************************************************** \usemodule[s-pre-05] \starttext \TitlePage{A simple presentation} \Topics{Today's talk} \Topic{First item} \Topic{Second item} \stoptext **************** My questions: **************** - What is different between s-pre-03 and s-pre-05? - Does the error messages indicate that the installation was incomplete in some way...? - The error message says " error on line 11 in file Pres2.tex " although the file contains only 7 lines...? Thanks for your help Thomas Meigen ********************************************************************** Attachment 1: log-file of successful presentation "Pres1.tex" ********************************************************************** mtx-context | run 1: luatex --fmt="/Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="Pres1" --lua="/Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./Pres1.tex" --c:input="./Pres1.tex" --c:kindofrun=1 "cont-yes.mkiv" This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541) \write18 enabled. (/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.4 int: english/english system > cont-new.mkiv loaded (/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > files > jobname: Pres1, input: Pres1, result: Pres1 fonts > latin modern fonts are not preloaded languages > language en is active (Pres1.tex resolvers > modules > loaded: 's-pre-03' (/Applications/ConTeXt/tex/texmf-context/tex/context/base/s-pre-03.tex resolvers > modules > loaded: 'pre-general' (/Applications/ConTeXt/tex/texmf-context/tex/context/base/s-pre-00.tex) fonts > preloading latin modern fonts (third stage) fonts > typescripts > unknown: library 'loc' {/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > fallback modern rm 14.4pt is loaded colors > rgb color space is supported colors > cmyk color space is supported ) metapost > initializing instance 'metafun' using format 'metafun' metapost > loading 'metafun': /Applications/ConTeXt/tex/texmf-context/metapost/context/base/metafun.mpiv, using method: default backend > xmp > using file '/Applications/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1 structure > sectioning > Nopic @ level 2: 0.0 -> Today's talk pages > flushing realpage 2, userpage 1 structure > sectioning > Topic @ level 2: 0.1 -> First item pages > flushing realpage 3, userpage 2 structure > sectioning > Topic @ level 2: 0.2 -> Second item pages > flushing realpage 4, userpage 3 ) ) mkiv lua stats > used config file - selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path - /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver - loadtime 0.008 seconds, 3 scans with scantime 0.164 seconds, 0 shared scans, 28 found files, scanned paths: /Library/Fonts /System/Library/Fonts /Users/thomasmeigen/Library/Fonts mkiv lua stats > stored bytecode data - 316 modules (0.141 sec), 68 tables (0.003 sec), 384 chunks (0.145 sec) mkiv lua stats > cleaned up reserved nodes - 44 nodes, 10 lists of 442 mkiv lua stats > node memory usage - 2 glue, 3 penalty, 12 attribute, 54 glue_spec, 3 attribute_list mkiv lua stats > node list callback tasks - 6 unique task lists, 5 instances (re)created, 164 calls mkiv lua stats > used backend - pdf (backend for directly generating pdf output) mkiv lua stats > loaded tex modules - 2 requested, 2 found (*-pre-00 *-s-pre-03), 0 missing mkiv lua stats > loaded patterns - en::2 mkiv lua stats > jobdata time - 0.002 seconds saving, 0.001 seconds loading mkiv lua stats > callbacks - 543 direct, 613 indirect, 1156 total mkiv lua stats > randomizer - resumed with value 0.30593731268586 mkiv lua stats > lxml preparation time - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls mkiv lua stats > interactive elements - 10 references, 3 destinations mkiv lua stats > result saved in file - Pres1.pdf, compresslevel 3, objectcompreslevel 3 mkiv lua stats > loaded fonts - 3 files: latinmodernmath-regular.otf lmroman10-bold.otf lmroman10-regular.otf mkiv lua stats > fonts load time - 0.364 seconds mkiv lua stats > metapost processing time - 0.074 seconds, loading: 0.091 seconds, execution: 0.073 seconds, n: 4 mkiv lua stats > pdf annotations - 10 embedded, 4 unique mkiv lua stats > luatex banner - this is luatex, version beta-0.74.0-2012122517 (tex live 2013/dev)(rev 4541) mkiv lua stats > control sequences - 36292 of 65536 + 100000 mkiv lua stats > current memory usage - 38 MB (ctx: 37 MB) mkiv lua stats > runtime - 1.078 seconds, 3 processed pages, 4 shipped pages, 3.711 pages/second system | total runtime: 1.340 ********************************************************************** Attachment 2: log-file of unsuccessful presentation "Pres2.tex" ********************************************************************** mtx-context | run 1: luatex --fmt="/Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="Pres2" --lua="/Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./Pres2.tex" --c:input="./Pres2.tex" --c:kindofrun=1 "cont-yes.mkiv" This is LuaTeX, Version beta-0.74.0-2012122517 (rev 4541) \write18 enabled. (/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.4 int: english/english system > cont-new.mkiv loaded (/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > files > jobname: Pres2, input: Pres2, result: Pres2 fonts > latin modern fonts are not preloaded languages > language en is active (Pres2.tex resolvers > modules > loaded: 's-pre-05' (/Applications/ConTeXt/tex/texmf-context/tex/context/base/s-pre-05.tex resolvers > modules > loaded: 'pre-general' (/Applications/ConTeXt/tex/texmf-context/tex/context/base/s-pre-00.tex) fonts > preloading latin modern fonts (third stage) fonts > typescripts > unknown: library 'loc' {/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > fallback modern rm 14.4pt is loaded colors > rgb color space is supported colors > cmyk color space is supported ) fonts > bodyfont 24pt is defined (can better be done global) fonts > bodyfont 28.8pt is defined (can better be done global) fonts > bodyfont 19.2pt is defined (can better be done global) metapost > initializing instance 'metafun' using format 'metafun' metapost > loading 'metafun': /Applications/ConTeXt/tex/texmf-context/metapost/context/base/metafun.mpiv, using method: default backend > xmp > using file '/Applications/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1 structure > sectioning > Topic @ level 2: 0.1 -> First item ! Undefined control sequence. system > tex > error on line 11 in file Pres2.tex: Undefined control sequence ... 1 \usemodule[s-pre-05] 2 \starttext 3 \TitlePage{A simple presentation} 4 \Topics{Today's talk} 5 \Topic{First item} 6 \Topic{Second item} 7 \stoptext ... internal(\currentlistentryinternal )\!!es ,\luaconditional \h... \ctxcommand #1->\directlua {commands.#1 } \doifreferencefoundelse ...ional \gotonewwindow )} {\expandtexincurrentrefere... \scrn_button_make ...ke_yes \scrn_button_make_nop #1#2#3#4 {#5}\endgroup \startbut ...\setinteractionmenuparameter {#2}{#1} \scrn_menu_action_stop \strc_lists_apply_renderingsetup ...nderingsetup } \relax \the \t_lists_every... ... l.6 \Topic{Second item} ? x LuaTeX warning (dest): Page 2 has been referenced but does not exist! mkiv lua stats > used config file - selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path - /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver - loadtime 0.007 seconds, 3 scans with scantime 0.003 seconds, 0 shared scans, 28 found files, scanned paths: /Library/Fonts /System/Library/Fonts /Users/thomasmeigen/Library/Fonts mkiv lua stats > stored bytecode data - 316 modules (0.143 sec), 68 tables (0.003 sec), 384 chunks (0.147 sec) mkiv lua stats > cleaned up reserved nodes - 42 nodes, 10 lists of 442 mkiv lua stats > node memory usage - 24 hlist, 9 vlist, 55 glue, 4 kern, 13 penalty, 9 glyph, 139 attribute, 73 glue_spec, 34 attribute_list, 13 temp, 20 if_stack, 6 local_par, 12 dir, 1 late_lua mkiv lua stats > node list callback tasks - 6 unique task lists, 5 instances (re)created, 56 calls mkiv lua stats > used backend - pdf (backend for directly generating pdf output) mkiv lua stats > loaded tex modules - 2 requested, 2 found (*-pre-00 *-s-pre-05), 0 missing mkiv lua stats > loaded patterns - en::2 mkiv lua stats > jobdata time - 0.000 seconds saving, 0.001 seconds loading mkiv lua stats > callbacks - 243 direct, 593 indirect, 836 total mkiv lua stats > randomizer - initialized with value 0.44303764563195 mkiv lua stats > lxml preparation time - 0.000 seconds, 0 nodes, 11 lpath calls, 0 cached calls mkiv lua stats > interactive elements - 1 references, 0 destinations mkiv lua stats > result saved in file - Pres2.pdf, compresslevel 3, objectcompreslevel 3 mkiv lua stats > loaded fonts - 3 files: latinmodernmath-regular.otf lmroman10-bold.otf lmroman10-regular.otf mkiv lua stats > fonts load time - 0.246 seconds mkiv lua stats > metapost processing time - 0.246 seconds, loading: 0.060 seconds, execution: 0.190 seconds, n: 1 mkiv lua stats > pdf annotations - 1 embedded, 1 unique mkiv lua stats > luatex banner - this is luatex, version beta-0.74.0-2012122517 (tex live 2013/dev)(rev 4541) mkiv lua stats > control sequences - 36790 of 65536 + 100000 mkiv lua stats > current memory usage - 44 MB (ctx: 44 MB) mkiv lua stats > runtime - 30.142 seconds, 1 processed pages, 1 shipped pages, 0.033 pages/second mtx-context | fatal error: return code: 1 ___________________________________________________________________________________ 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 ___________________________________________________________________________________