ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Dump table of contents
@ 2012-04-09  3:09 Kip Warner
  2012-04-09  4:08 ` Aditya Mahajan
  0 siblings, 1 reply; 7+ messages in thread
From: Kip Warner @ 2012-04-09  3:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 878 bytes --]

Hey list,

Is it possible to instruct ConTeXt to generate just the table of
contents, skipping all other front matter, back matter, appendices, body
matter, etc.? For example, only the following I'd like to see in the
outputted PDF:

    % Contents at a glance...
    \title{Contents at a Glance}
    \placelist[chapter]

    % Complete table of contents...
    \title{Table of Contents}
    \placecontent

Right now I am generating the full book, but then passing through pdftk
manually to extract just the pages that fall within the aforementioned.

I tried putting the aforementioned code in its own product file and then
passing that through ConTeXt with the book's environment, but the
problem is that the TOC now has nothing in it, of course.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: 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] 7+ messages in thread

* Re: Dump table of contents
  2012-04-09  3:09 Dump table of contents Kip Warner
@ 2012-04-09  4:08 ` Aditya Mahajan
  2012-04-09  6:59   ` Kip Warner
  0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan @ 2012-04-09  4:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 8 Apr 2012, Kip Warner wrote:

> Hey list,
>
> Is it possible to instruct ConTeXt to generate just the table of
> contents, skipping all other front matter, back matter, appendices, body
> matter, etc.? For example, only the following I'd like to see in the
> outputted PDF:
>
>    % Contents at a glance...
>    \title{Contents at a Glance}
>    \placelist[chapter]
>
>    % Complete table of contents...
>    \title{Table of Contents}
>    \placecontent
>
> Right now I am generating the full book, but then passing through pdftk
> manually to extract just the pages that fall within the aforementioned.
>
> I tried putting the aforementioned code in its own product file and then
> passing that through ConTeXt with the book's environment, but the
> problem is that the TOC now has nothing in it, of course.

I don't know if there is proper interface to this, but you can just load 
the tuc file and reuse the labels.

\def\loaddatafile#1%
     {\ctxlua {
         job.initialize("#1.tuc","#1.tua")
     }}%

\loaddatafile{full-book} %with the .tex extension

\starttext
\placelist[chapter]
\stoptext


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

* Re: Dump table of contents
  2012-04-09  4:08 ` Aditya Mahajan
@ 2012-04-09  6:59   ` Kip Warner
  2012-04-09  8:07     ` Aditya Mahajan
  0 siblings, 1 reply; 7+ messages in thread
From: Kip Warner @ 2012-04-09  6:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 517 bytes --]

On Mon, 2012-04-09 at 00:08 -0400, Aditya Mahajan wrote:
> \def\loaddatafile#1%
>      {\ctxlua {
>          job.initialize("#1.tuc","#1.tua")
>      }}%
> 
> \loaddatafile{full-book} %with the .tex extension
> 
> \starttext
> \placelist[chapter]
> \stoptext

Thanks Aditya, but I tried doing that. ConTeXt doesn't seem to emit an
error, but neither does it a PDF. I've attached the output log.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.1.2: Table_of_Contents_Standalone_Product.log --]
[-- Type: text/x-log, Size: 7965 bytes --]

resolvers       > resolving > loading configuration file '/usr/share/texmf/web2c/contextcnf.lua'

(Source/Makeup/Table_of_Contents_Standalone_Product.tex

ConTeXt  ver: 2012.04.07 14:42 MKIV  fmt: 2012.4.8  int: english/english

system          > cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > Table_of_Contents_Standalone_Product.top loaded

system          > options > start used options

used options    > % runtime options files (command line driven)
used options    > \unprotect
used options    > % feedback and basic job control
used options    > % handy for special styles
used options    > \startluacode
used options    > document = document or { }
used options    > document.arguments={
used options    >  ["environment"]="Source/Environment.tex",
used options    > }
used options    > document.files={
used options    >  "Source/Makeup/Table_of_Contents_Standalone_Product.tex",
used options    > }
used options    > \stopluacode
used options    > % process info
used options    > \setupsystem[inputfile=Source/Makeup/Table_of_Contents_Standalone_Product.tex]
used options    > \setupsystem[\c!n=1,\c!m=1]
used options    > % modes
used options    > % options (not that important)
used options    > \startsetups *runtime:options
used options    > \stopsetups
used options    > % styles and modules
used options    > \startsetups *runtime:modules
used options    > \environment Source/Environment.tex 
used options    > \stopsetups
used options    > % done
used options    > \protect \endinput

system          > options > stop used options

(Table_of_Contents_Standalone_Product.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
(Source/Environment.tex
resolvers       > modules > loaded: 'units'
(/usr/share/texmf/tex/context/base/m-units.mkiv<+ /usr/share/texmf/tex/context/base/x-mathml.lua>)
resolvers       > modules > loaded: 'simplefonts'
(/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex
loading         > ConTeXt User Module / Simplefonts
<+ /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua>)
fonts           > typescripts > unknown: library 'loc'
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}) )

system          > files > start used files

used files      >    1: filename=Source/Makeup/Table_of_Contents_Standalone_Product.tex | foundname=Source/Makeup/Table_of_Contents_Standalone_Product.tex | usedmethod=direct
used files      >    2: filename=cont-new.mkiv | filetype=tex | foundname=/usr/share/texmf/tex/context/base/cont-new.mkiv | usedmethod=database
used files      >    3: filename=Table_of_Contents_Standalone_Product.top | foundname=Table_of_Contents_Standalone_Product.top | usedmethod=direct
used files      >    4: filename=lang-us.lua | filetype=lua | foundname=/usr/share/texmf/tex/context/patterns/lang-us.lua | usedmethod=database
used files      >    5: filename=Source/Environment.tex | foundname=Source/Environment.tex | usedmethod=direct
used files      >    6: filename=m-units.mkiv | filetype=tex | foundname=/usr/share/texmf/tex/context/base/m-units.mkiv | usedmethod=database
used files      >    7: filename=m-units.mkiv | filetype=tex | format=tex | foundname=/usr/share/texmf/tex/context/base/m-units.mkiv | usedmethod=database
used files      >    8: filename=usr/share/texmf/tex/context/base/m-units.mkiv | foundname=/usr/share/texmf/tex/context/base/m-units.mkiv | usedmethod=qualified
used files      >    9: filename=x-mathml.lua | filetype=tex | format=tex | foundname=/usr/share/texmf/tex/context/base/x-mathml.lua | usedmethod=database
used files      >   10: filename=t-simplefonts.tex | filetype=tex | foundname=/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex | usedmethod=database
used files      >   11: filename=t-simplefonts.tex | filetype=tex | format=tex | foundname=/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex | usedmethod=database
used files      >   12: filename=usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex | foundname=/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex | usedmethod=qualified
used files      >   13: filename=t-simplefonts.lua | filetype=tex | format=tex | foundname=/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua | usedmethod=database
used files      >   14: filename=lm.lfg | filetype=tex | foundname=/usr/share/texmf/tex/context/fonts/lm.lfg | usedmethod=database
used files      >   15: filename=lm-math.lfg | filetype=tex | foundname=/usr/share/texmf/tex/context/fonts/lm-math.lfg | usedmethod=database
used files      >   16: filename=lm-math.map | filetype=map | format=map | foundname=/usr/share/texmf/fonts/map/dvips/lm/lm-math.map | usedmethod=database
used files      >   17: filename=lm-rm.map | filetype=map | format=map | foundname=/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map | usedmethod=database
used files      >   18: filename=mkiv-base.map | filetype=map | format=map | foundname=/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map | usedmethod=database
used files      >   19: filename=Ubuntu-R.ttf | filetype=ttf | format=ttf | foundname=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf | usedmethod=database
used files      >   20: filename=lmmath-regular.otf | filetype=otf | format=otf | foundname=/usr/share/texmf/fonts/opentype/public/lm/lmmath-regular.otf | usedmethod=database

system          > files > stop used files


system          > structure > start used structure

used structure  > text: Table_of_Contents_Standalone_Product
used structure  >   environment: Environment

system          > structure > stop used structure


mkiv lua stats  > used config file          - /usr/share/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - readable: '/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d' (order 2)
mkiv lua stats  > used cache path           - writable: '/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d'
mkiv lua stats  > resource resolver         - loadtime 0.273 seconds, 4 scans with scantime 0.221 seconds, 426 shared scans, 20 found files, scanned paths: /usr/local/share/fonts /usr/share/fonts /usr/share/texmf /usr/share/texmf-texlive
mkiv lua stats  > stored bytecode data      - 302 modules, 65 tables, 367 chunks
mkiv lua stats  > cleaned up reserved nodes - 36 nodes, 9 lists of 436
mkiv lua stats  > node memory usage         - 3 glue, 2 penalty, 10 attribute, 21 glue_spec, 3 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 5 instances (re)created, 1377 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded tex modules        - 2 requested, 2 found (*-simplefonts *-units), 0 missing
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > jobdata time              - 0.027 seconds saving, 0.002 seconds loading
mkiv lua stats  > callbacks                 - 1407 direct, 2821 indirect, 4228 total
mkiv lua stats  > randomizer                - resumed with value 0.93422427351318
mkiv lua stats  > result saved in file      - Table_of_Contents_Standalone_Product.pdf
mkiv lua stats  > loaded fonts              - 2 files: ubuntu-r.ttf lmmath-regular.otf
mkiv lua stats  > fonts load time           - 0.295 seconds 
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.71.0-2012033112 (rev 4366)
mkiv lua stats  > control sequences         - 34693 of 65536 + 100000
mkiv lua stats  > current memory usage      - 58 MB (ctx: 59 MB)
mkiv lua stats  > runtime                   - 2.016 seconds


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: 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] 7+ messages in thread

* Re: Dump table of contents
  2012-04-09  6:59   ` Kip Warner
@ 2012-04-09  8:07     ` Aditya Mahajan
  2012-04-10  1:08       ` Kip Warner
  0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan @ 2012-04-09  8:07 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users

On Sun, 8 Apr 2012, Kip Warner wrote:

> On Mon, 2012-04-09 at 00:08 -0400, Aditya Mahajan wrote:
>> \def\loaddatafile#1%
>>      {\ctxlua {
>>          job.initialize("#1.tuc","#1.tua")
>>      }}%
>>
>> \loaddatafile{full-book} %with the .tex extension

Sorry, this should have read: WITHOUT the .tex extension

>> \starttext
>> \placelist[chapter]
>> \stoptext

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

* Re: Dump table of contents
  2012-04-09  8:07     ` Aditya Mahajan
@ 2012-04-10  1:08       ` Kip Warner
  2012-04-10  1:57         ` Aditya Mahajan
  0 siblings, 1 reply; 7+ messages in thread
From: Kip Warner @ 2012-04-10  1:08 UTC (permalink / raw)
  To: Aditya Mahajan; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 416 bytes --]

On Mon, 2012-04-09 at 04:07 -0400, Aditya Mahajan wrote:
> Sorry, this should have read: WITHOUT the .tex extension

I tried both with and without it. ConTeXt doesn't appear to raise any
error and it doesn't generate a PDF. I've attached the log in case it is
helpful. 

Thanks for your help Aditya.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.1.2: Table_of_Contents_Standalone_Product.log --]
[-- Type: text/x-log, Size: 7965 bytes --]

resolvers       > resolving > loading configuration file '/usr/share/texmf/web2c/contextcnf.lua'

(Source/Makeup/Table_of_Contents_Standalone_Product.tex

ConTeXt  ver: 2012.04.07 14:42 MKIV  fmt: 2012.4.9  int: english/english

system          > cont-new.mkiv loaded
(/usr/share/texmf/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > Table_of_Contents_Standalone_Product.top loaded

system          > options > start used options

used options    > % runtime options files (command line driven)
used options    > \unprotect
used options    > % feedback and basic job control
used options    > % handy for special styles
used options    > \startluacode
used options    > document = document or { }
used options    > document.arguments={
used options    >  ["environment"]="Source/Environment.tex",
used options    > }
used options    > document.files={
used options    >  "Source/Makeup/Table_of_Contents_Standalone_Product.tex",
used options    > }
used options    > \stopluacode
used options    > % process info
used options    > \setupsystem[inputfile=Source/Makeup/Table_of_Contents_Standalone_Product.tex]
used options    > \setupsystem[\c!n=1,\c!m=1]
used options    > % modes
used options    > % options (not that important)
used options    > \startsetups *runtime:options
used options    > \stopsetups
used options    > % styles and modules
used options    > \startsetups *runtime:modules
used options    > \environment Source/Environment.tex 
used options    > \stopsetups
used options    > % done
used options    > \protect \endinput

system          > options > stop used options

(Table_of_Contents_Standalone_Product.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
(Source/Environment.tex
resolvers       > modules > loaded: 'units'
(/usr/share/texmf/tex/context/base/m-units.mkiv<+ /usr/share/texmf/tex/context/base/x-mathml.lua>)
resolvers       > modules > loaded: 'simplefonts'
(/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex
loading         > ConTeXt User Module / Simplefonts
<+ /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua>)
fonts           > typescripts > unknown: library 'loc'
{/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map}) )

system          > files > start used files

used files      >    1: filename=Source/Makeup/Table_of_Contents_Standalone_Product.tex | foundname=Source/Makeup/Table_of_Contents_Standalone_Product.tex | usedmethod=direct
used files      >    2: filename=cont-new.mkiv | filetype=tex | foundname=/usr/share/texmf/tex/context/base/cont-new.mkiv | usedmethod=database
used files      >    3: filename=Table_of_Contents_Standalone_Product.top | foundname=Table_of_Contents_Standalone_Product.top | usedmethod=direct
used files      >    4: filename=lang-us.lua | filetype=lua | foundname=/usr/share/texmf/tex/context/patterns/lang-us.lua | usedmethod=database
used files      >    5: filename=Source/Environment.tex | foundname=Source/Environment.tex | usedmethod=direct
used files      >    6: filename=m-units.mkiv | filetype=tex | foundname=/usr/share/texmf/tex/context/base/m-units.mkiv | usedmethod=database
used files      >    7: filename=m-units.mkiv | filetype=tex | format=tex | foundname=/usr/share/texmf/tex/context/base/m-units.mkiv | usedmethod=database
used files      >    8: filename=usr/share/texmf/tex/context/base/m-units.mkiv | foundname=/usr/share/texmf/tex/context/base/m-units.mkiv | usedmethod=qualified
used files      >    9: filename=x-mathml.lua | filetype=tex | format=tex | foundname=/usr/share/texmf/tex/context/base/x-mathml.lua | usedmethod=database
used files      >   10: filename=t-simplefonts.tex | filetype=tex | foundname=/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex | usedmethod=database
used files      >   11: filename=t-simplefonts.tex | filetype=tex | format=tex | foundname=/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex | usedmethod=database
used files      >   12: filename=usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex | foundname=/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex | usedmethod=qualified
used files      >   13: filename=t-simplefonts.lua | filetype=tex | format=tex | foundname=/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua | usedmethod=database
used files      >   14: filename=lm.lfg | filetype=tex | foundname=/usr/share/texmf/tex/context/fonts/lm.lfg | usedmethod=database
used files      >   15: filename=lm-math.lfg | filetype=tex | foundname=/usr/share/texmf/tex/context/fonts/lm-math.lfg | usedmethod=database
used files      >   16: filename=lm-math.map | filetype=map | format=map | foundname=/usr/share/texmf/fonts/map/dvips/lm/lm-math.map | usedmethod=database
used files      >   17: filename=lm-rm.map | filetype=map | format=map | foundname=/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map | usedmethod=database
used files      >   18: filename=mkiv-base.map | filetype=map | format=map | foundname=/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map | usedmethod=database
used files      >   19: filename=Ubuntu-R.ttf | filetype=ttf | format=ttf | foundname=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf | usedmethod=database
used files      >   20: filename=lmmath-regular.otf | filetype=otf | format=otf | foundname=/usr/share/texmf/fonts/opentype/public/lm/lmmath-regular.otf | usedmethod=database

system          > files > stop used files


system          > structure > start used structure

used structure  > text: Table_of_Contents_Standalone_Product
used structure  >   environment: Environment

system          > structure > stop used structure


mkiv lua stats  > used config file          - /usr/share/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - readable: '/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d' (order 2)
mkiv lua stats  > used cache path           - writable: '/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d'
mkiv lua stats  > resource resolver         - loadtime 0.263 seconds, 4 scans with scantime 0.217 seconds, 426 shared scans, 20 found files, scanned paths: /usr/local/share/fonts /usr/share/fonts /usr/share/texmf /usr/share/texmf-texlive
mkiv lua stats  > stored bytecode data      - 302 modules, 65 tables, 367 chunks
mkiv lua stats  > cleaned up reserved nodes - 36 nodes, 9 lists of 436
mkiv lua stats  > node memory usage         - 3 glue, 2 penalty, 10 attribute, 21 glue_spec, 3 attribute_list
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 5 instances (re)created, 1378 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded tex modules        - 2 requested, 2 found (*-simplefonts *-units), 0 missing
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > jobdata time              - 0.034 seconds saving, 0.002 seconds loading
mkiv lua stats  > callbacks                 - 1408 direct, 2823 indirect, 4231 total
mkiv lua stats  > randomizer                - resumed with value 0.49683554353976
mkiv lua stats  > result saved in file      - Table_of_Contents_Standalone_Product.pdf
mkiv lua stats  > loaded fonts              - 2 files: ubuntu-r.ttf lmmath-regular.otf
mkiv lua stats  > fonts load time           - 0.274 seconds 
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.71.0-2012033112 (rev 4366)
mkiv lua stats  > control sequences         - 34693 of 65536 + 100000
mkiv lua stats  > current memory usage      - 58 MB (ctx: 59 MB)
mkiv lua stats  > runtime                   - 1.918 seconds


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: 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] 7+ messages in thread

* Re: Dump table of contents
  2012-04-10  1:08       ` Kip Warner
@ 2012-04-10  1:57         ` Aditya Mahajan
  2012-04-11  1:56           ` Kip Warner
  0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan @ 2012-04-10  1:57 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users

On Mon, 9 Apr 2012, Kip Warner wrote:

> On Mon, 2012-04-09 at 04:07 -0400, Aditya Mahajan wrote:
>> Sorry, this should have read: WITHOUT the .tex extension
>
> I tried both with and without it. ConTeXt doesn't appear to raise any
> error and it doesn't generate a PDF. I've attached the log in case it is
> helpful.

It works at my end (but I am using a 1.5 month old beta), so sorry, I 
cannot say what is going wrong with your file.

Did you try it with a small example file to see if that works?

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

* Re: Dump table of contents
  2012-04-10  1:57         ` Aditya Mahajan
@ 2012-04-11  1:56           ` Kip Warner
  0 siblings, 0 replies; 7+ messages in thread
From: Kip Warner @ 2012-04-11  1:56 UTC (permalink / raw)
  To: Aditya Mahajan; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 677 bytes --]

On Mon, 2012-04-09 at 21:57 -0400, Aditya Mahajan wrote:
> It works at my end (but I am using a 1.5 month old beta), so sorry, I 
> cannot say what is going wrong with your file.
> 
> Did you try it with a small example file to see if that works? 

I haven't tried with a minimal, but I think what I will end up doing is
just extracting the pages manually using pdftk. The direct ConTeXt
method is rather cumbersome and difficult to get working on a very large
and convoluted document, like my book.

Thanks for your help anyways Aditya. Helpful as always.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: 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] 7+ messages in thread

end of thread, other threads:[~2012-04-11  1:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-09  3:09 Dump table of contents Kip Warner
2012-04-09  4:08 ` Aditya Mahajan
2012-04-09  6:59   ` Kip Warner
2012-04-09  8:07     ` Aditya Mahajan
2012-04-10  1:08       ` Kip Warner
2012-04-10  1:57         ` Aditya Mahajan
2012-04-11  1:56           ` Kip Warner

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