From: "Meigen, Thomas" <T.Meigen@augenklinik.uni-wuerzburg.de>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: ConTeXt on the Mac (TexShop). Problem of a newbie
Date: Mon, 7 Jan 2013 15:07:31 +0000 [thread overview]
Message-ID: <8E16D40C6A36AF46A9050494F6F6A7BB35B28EED@wklex07v.klinik.uni-wuerzburg.de> (raw)
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
) )</Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman10-regular.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman10-bold.otf>
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
<argument> ... 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!
</Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman10-bold.otf>
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
___________________________________________________________________________________
next reply other threads:[~2013-01-07 15:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 15:07 Meigen, Thomas [this message]
2013-01-09 9:00 ` Hans Hagen
2013-01-09 16:01 ` Sietse Brouwer
2013-01-10 8:13 ` Meigen, Thomas
2013-01-10 9:11 ` Hans Hagen
2013-01-10 10:47 ` Keith J. Schultz
2013-01-10 11:19 ` Martin Schröder
2013-01-10 11:58 ` Hans Hagen
2013-01-10 12:01 ` Hans Hagen
2013-01-10 11:22 ` Aditya Mahajan
2013-01-10 13:03 ` Aditya Mahajan
2013-01-10 9:22 ` Keith J. Schultz
2013-01-11 10:58 ` Meigen, Thomas
2013-01-11 13:11 ` Hans Hagen
2013-01-11 11:32 ` Meigen, Thomas
2013-01-11 12:09 ` Khaled Hosny
2013-01-11 13:15 ` Hans Hagen
2013-01-11 23:13 ` Sietse Brouwer
[not found] ` <8A5FF695-AC2A-493E-81D6-322090E1B895@klinik.uni-wuerzburg.de>
2013-01-13 22:03 ` Meigen, Thomas
2013-01-13 22:44 ` Hans Hagen
[not found] <mailman.269.1357821208.2489.ntg-context@ntg.nl>
2013-01-10 14:17 ` Pavneet Arora
2013-01-10 14:23 ` Pavneet Arora
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=8E16D40C6A36AF46A9050494F6F6A7BB35B28EED@wklex07v.klinik.uni-wuerzburg.de \
--to=t.meigen@augenklinik.uni-wuerzburg.de \
--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).