ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF not generated from XML
@ 2011-12-31 13:16 Pablo Rodríguez
  2011-12-31 16:49 ` Thomas A. Schmitz
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodríguez @ 2011-12-31 13:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

Hi there,

with the files form
http://meeting.contextgarden.net/2011/talks/day2_03_thomas_xml-tutorial/, I
tried:

	context --environment=mysecondstyle.tex myexample.xml

But I don't get the PDF output (attached log file).

What is wrong here? (Using ConTeXt stable from TL2011.)

Best wishes for 2012,


Pablo
-- 
http://www.ousia.tk

[-- Attachment #2: myexample.log --]
[-- Type: text/x-log, Size: 4996 bytes --]

(myexample.run

ConTeXt  ver: 2011.05.18 18:04 MKIV  fmt: 2011.8.1  int: english/english

system          > cont-new.mkiv loaded
(/usr/local/texlive/2011/texmf-dist/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > myexample.top loaded
system          > options > begin of optionfile
system          > options >
system          > options > % runtime options files (command line driven)
system          > options > \unprotect
system          > options > % feedback and basic job control
system          > options > % handy for special styles
system          > options > \startluacode
system          > options > document = document or { }
system          > options > document.arguments={
system          > options >  ["environment"]="mysecondstyle.tex",
system          > options > }
system          > options > document.files={
system          > options >  "myexample.xml",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=myexample.xml]
system          > options > \setupsystem[\c!n=2,\c!m=3]
system          > options > % modes
system          > options > % options (not that important)
system          > options > \startsetups *runtime:options
system          > options > \stopsetups
system          > options > % styles and modules
system          > options > \startsetups *runtime:modules
system          > options > \environment mysecondstyle.tex 
system          > options > \stopsetups
system          > options > % done
system          > options > \protect \endinput
system          > options >
system          > options > end of optionfile
(myexample.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
system          > begin file mysecondstyle.tex at line 1
(mysecondstyle.tex)
system          > end file mysecondstyle.tex at line 1
{/usr/local/texlive/2011/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(/usr/local/texlive/2011/texmf-dist/tex/context/base/type-siz.mkiv) (/usr/local/texlive/2011/texmf-dist/tex/context/base/type-otf.mkiv){/usr/local/texlive/2011/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/local/texlive/2011/texmf-dist/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
system          > begin file myexample.xml at line 1
system          > end file myexample.xml at line 3
 )
mkiv lua stats  > used config file          - selfautoparent:/texmfcnf.lua;selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - readable: '/usr/local/texlive/2011/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026' (order 1)
mkiv lua stats  > used cache path           - readable: '/home/ousia/.texlive2011/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026' (order 2)
mkiv lua stats  > used cache path           - writable: '/home/ousia/.texlive2011/texmf-var/luatex-cache/context/210a96fef5fbab446fd11afa77acb026'
mkiv lua stats  > input load time           - 0.234 seconds
mkiv lua stats  > stored bytecode data      - 285 modules, 60 tables, 345 chunks
mkiv lua stats  > cleaned up reserved nodes - 30 nodes, 9 lists of 423
mkiv lua stats  > node memory usage         - 18 glue_spec
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 1 instances (re)created, 2329 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > callbacks                 - 2404 direct, 3017 indirect, 5421 total
mkiv lua stats  > randomizer                - resumed with value 0.1355928728057
mkiv lua stats  > xml load time             - 0.001 seconds, 1 files, 1 converted
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 23 nodes, 2 lpath calls, 0 cached calls
mkiv lua stats  > result saved in file      - myexample.pdf
mkiv lua stats  > loaded fonts              - 33 files: stmary10.afm lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-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 lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats  > fonts load time           - 0.428 seconds 
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.70.1-2011061416 (rev 4277)
mkiv lua stats  > control sequences         - 30319 of 165536
mkiv lua stats  > current memory usage      - 35 MB (ctx: 36 MB)
mkiv lua stats  > runtime                   - 1.493 seconds


[-- Attachment #3: Type: text/plain, Size: 485 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] 3+ messages in thread

* Re: PDF not generated from XML
  2011-12-31 13:16 PDF not generated from XML Pablo Rodríguez
@ 2011-12-31 16:49 ` Thomas A. Schmitz
  2011-12-31 17:51   ` Pablo Rodríguez
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Schmitz @ 2011-12-31 16:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users, pragma

On 12/31/2011 02:16 PM, Pablo Rodríguez wrote:
> Hi there,
>
> with the files form
> http://meeting.contextgarden.net/2011/talks/day2_03_thomas_xml-tutorial/, I
> tried:
>
> 	context --environment=mysecondstyle.tex myexample.xml
>
> But I don't get the PDF output (attached log file).
>
> What is wrong here? (Using ConTeXt stable from TL2011.)
>
> Best wishes for 2012,
>
>
> Pablo
> --

Hi,

the style defines the "tag" attribute as a context mode, so you need to 
run it as
context --mode=11_09_21 --environment=mysecondstyle myexample.xml

(which is also explained in the accompanying document xmlgeneral.org)

But these files really are just a convenience for people who were 
present at the conference. I'm currently trying to finish a paper about 
this for the conference proceedings; you better wait for that. It 
doesn't make much sense just taking these files out of context (no pun 
intended) and running them; that's not what they were intended to be.

A happy new year to all of you as well!

Thomas
___________________________________________________________________________________
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] 3+ messages in thread

* Re: PDF not generated from XML
  2011-12-31 16:49 ` Thomas A. Schmitz
@ 2011-12-31 17:51   ` Pablo Rodríguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodríguez @ 2011-12-31 17:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/31/2011 05:49 PM, Thomas A. Schmitz wrote:
> Hi,

Many thanks for your help, Thomas.

> the style defines the "tag" attribute as a context mode, so you need to 
> run it as
> context --mode=11_09_21 --environment=mysecondstyle myexample.xml
> 
> (which is also explained in the accompanying document xmlgeneral.org)

I overlooked it, sorry. No pun intended, but XML in ConTeXt is all Greek
to me.

> But these files really are just a convenience for people who were 
> present at the conference. I'm currently trying to finish a paper about 
> this for the conference proceedings; you better wait for that. It 
> doesn't make much sense just taking these files out of context (no pun 
> intended) and running them; that's not what they were intended to be.

Your files were important to see that things work and maybe to start
tinkering.

Of course, I'm very interested in reading your paper as an introduction
to the topic.

Thanks again for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2011-12-31 17:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-31 13:16 PDF not generated from XML Pablo Rodríguez
2011-12-31 16:49 ` Thomas A. Schmitz
2011-12-31 17:51   ` Pablo Rodríguez

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).