Re: [NTG-context] attachment attaches twice - the fix was minimal
Dear Hans, when you fixed the bug with attachment being listed twice in the attachment list, you also enhanced attachment support On Mon, 28 Feb 2011, Hans Hagen wrote: as far as i can see there were a couple of issues: attachments without associated annotation, and labeling and both are covered, but using the same command and extra keys/values ... as far as I understand, attachments without associated annotation are called hidden in ConTeXt, as in \attachment[test][file=att.tex,title=Oeps,author=Hans,subtitle=TeX File,method=hidden] But that does not work and, as far as I can see from the current beta code, is not supposed to. For example, in lpdf-wid.lua we have local function flushembeddedfiles() if next(filestreams) then local e = pdfarray() for tag, reference in next, filestreams do if not reference then report_attachment(unreferenced file: tag '%s',tag) elseif referenced[name] == hidden then e[#e+1] = pdfstring(tag) e[#e+1] = reference -- already a reference else -- messy spec ... when annot not in named else twice in menu list acrobat end end lpdf.addtonames(EmbeddedFiles,pdfreference(pdfflushobject(pdfdictionary{ Names = e }))) end end Note the referenced[name] part, while there is no name variable. It seems the working code did not find its way into released version and some draft got shipped. Sincerely, Michail ___ 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 ___
Re: [NTG-context] bibliography basics
On Thu, Apr 14, 2011 at 11:40 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 14.04.2011 um 15:20 schrieb Hagmann Jörg: I haven't used bibliographies before and have a few basic questions. I am using mkiv, current version: 2011.04.03 22:32. [...] 2. Where can I get documentation? Can Taco's bib-module documentation still be used? (In my experiments in some cases, not in others). The manual is now available at the wiki: http://modules.contextgarden.net/bibman In TeX Live 2010, texdoc bibmod finds a 284752 byte bibmod-doc.pdf that is identical to the one available from the above URL. -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ 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 ___
[NTG-context] problems installing module »filter« using `./first-setup.sh --external=t-filter`
Dear ConTeXt folks, I am trying to install the module »filter« [1] but using the following does not work. Please remember that I am using a 64-bit Linux kernel but I run a 32-bit system. $ ./first-setup.sh --external=t-filter receiving incremental file list sent 31 bytes received 126 bytes 104.67 bytes/sec total size is 5179376 speedup is 32989.66 resolvers | resolving | creating instance resolvers | resolving | variable 'SELFAUTOLOC' set to '/opt/context/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/opt/context' resolvers | resolving | variable 'SELFAUTOPARENT' set to '/opt' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to 'context' resolvers | resolving | resolvers | resolving | unknown configuration file '/opt/texmf-local/texmfcnf.lua' resolvers | resolving | unknown configuration file '/opt/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/opt/texmf/texmfcnf.lua' resolvers | resolving | unknown configuration file '/opt/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/opt/texmfcnf.lua' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) mtxrun | forcing cache reload resolvers | resolving | unknown configuration file '/opt/texmf-local/texmfcnf.lua' resolvers | resolving | unknown configuration file '/opt/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/opt/texmf/texmfcnf.lua' resolvers | resolving | unknown configuration file '/opt/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/opt/texmfcnf.lua' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated mtxrun | using script: ./bin/mtx-update.lua mtx-update | state, loaded mtx-update | mtx-update | update, start mtx-update | run, rsync -rpztlv --delete contextgarden.net::'minimals/current/base/tex/ minimals/current/base/metapost/ minimals/current/fonts/common/ minimals/current/fonts/other/ minimals/current/misc/web2c minimals/current/base/xetex/ minimals/current/fonts/new/ minimals/current/fonts/new/ minimals/current/fonts/old/' '/opt/context/tex/texmf'receiving incremental file list sent 140 bytes received 64394 bytes 43022.67 bytes/sec total size is 91350927 speedup is 1415.55 mtx-update | run, rsync -rpztlv --delete contextgarden.net::'minimals/current/context/beta/ minimals/current/context/img/' '/opt/context/tex/texmf-context'receiving incremental file list sent 154 bytes received 44839 bytes 29995.33 bytes/sec total size is 34663659 speedup is 770.42 mtx-update | run, rsync -rpztlv contextgarden.net::'minimals/current/misc/setuptex/' '/opt/context/tex/.'receiving incremental file list sent 30 bytes received 99 bytes 86.00 bytes/sec total size is 8292 speedup is 64.28 mtx-update | run, rsync -rpztlv contextgarden.net::'minimals/current/bin/common/linux/ minimals/current/bin/context/linux/ minimals/current/bin/metapost/linux/ minimals/current/bin/man/ minimals/current/bin/luatex/linux/ minimals/current/bin/xetex/linux/ minimals/current/bin/luatex/linux/ minimals/current/bin/luatex/linux/ minimals/current/bin/pdftex/linux/' '/opt/context/tex/texmf-linux'receiving incremental file list bin/ bin/mtxrun sent 4071 bytes received 1473 bytes 3696.00 bytes/sec total size is 31287653 speedup is 5643.52 mtx-update | updating mtxrun for linux: rsync -tgo --chmod=a+x /opt/context/tex/texmf-context/scripts/context/lua/mtxrun.lua /opt/context/tex/texmf-linux/bin/mtxrun mtx-update | run, rsync -tgo --chmod=a+x /opt/context/tex/texmf-context/scripts/context/lua/mtxrun.lua /opt/context/tex/texmf-linux/bin/mtxrun resolvers | tds | no 'texmf-linux-64' under tree /opt/context/tex When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex in your shell or add
Re: [NTG-context] problems installing module »filter« using `./first-setup.sh --external=t-filter`
On Fri, Apr 29, 2011 at 17:48, Paul Menzel wrote: $ ./first-setup.sh --external=t-filter Try --extras=t-filter Mojca ___ 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 ___
Re: [NTG-context] [solved] problems installing module »filter« using `./first-setup.sh --external=t-filter`
Am Freitag, den 29.04.2011, 18:20 +0200 schrieb Mojca Miklavec: On Fri, Apr 29, 2011 at 17:48, Paul Menzel wrote: $ ./first-setup.sh --external=t-filter Try --extras=t-filter That is embarrassing. Thank you. I do not know why I memorized that incorrectly. Thanks, Paul signature.asc Description: This is a digitally signed message part ___ 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 ___
[NTG-context] t-filter: no table created when Unicode characters are included
Dear ConTeXt folks, the filter module installed using $ ./first-setup.sh --extras=t-filter does not work with the following example, which is also attached. \usemodule[filter] \defineexternalfilter[rest][filtercommand={pandoc -f rst -t context -o \externalfilteroutputfile\space \externalfilterinputfile}] \starttext There should be a table here. \startrest = = testtable = = α b c d \stoprest \stoptext The output file `minimal-temp-rest.tex` is just empty. Replacing »α« by »a« solves the problem. Running `filtercommand` in a terminal produces the *correct* output though and no empty file. Is that a known problem? I also include a patch adding this example into `tests/` in [1]. Thanks, Paul [1] https://github.com/adityam/filter \usemodule[filter] \defineexternalfilter[rest][filtercommand={pandoc -f rst -t context -o \externalfilteroutputfile\space \externalfilterinputfile}] \starttext There should be a table here. \startrest = = test table = = α b c d \stoprest \stoptext signature.asc Description: This is a digitally signed message part ___ 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 ___
[NTG-context] [t-filter] [PATCH] tests: add test file for reST (reStructuredText)
Date: Fri, 29 Apr 2011 23:03:04 +0200 • This file includes Unicode characters. Signed-off-by: Paul Menzel paulepan...@users.sourceforge.net --- tests/rest.tex | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 tests/rest.tex diff --git a/tests/rest.tex b/tests/rest.tex new file mode 100644 index 000..8ec2f52 --- /dev/null +++ b/tests/rest.tex @@ -0,0 +1,13 @@ +\usemodule[filter] +\defineexternalfilter[rest][filtercommand={pandoc -f rst -t context -o \externalfilteroutputfile\space \externalfilterinputfile}] +\starttext +There should be a table here. +\startrest += = + test table += = + α b + c d + +\stoprest +\stoptext -- 1.7.4.4 signature.asc Description: This is a digitally signed message part ___ 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 ___
Re: [NTG-context] t-filter: no table created when Unicode characters are included
On Fri, 29 Apr 2011, Paul Menzel wrote: Dear ConTeXt folks, the filter module installed using $ ./first-setup.sh --extras=t-filter does not work with the following example, which is also attached. \usemodule[filter] \defineexternalfilter[rest][filtercommand={pandoc -f rst -t context -o \externalfilteroutputfile\space \externalfilterinputfile}] \starttext There should be a table here. \startrest == testtable == α b c d \stoprest \stoptext The output file `minimal-temp-rest.tex` is just empty. Replacing »α« by »a« solves the problem. Weird. Running `filtercommand` in a terminal produces the *correct* output though and no empty file. Is that a known problem? No. The content of the file should not affect whether the filter is run or not. Can you add \traceexternalfilters on the top and check the output (look for lines starting with t-filter). I also include a patch adding this example into `tests/` in [1]. Thanks. I added it to the test suite. The file works correctly on my machine. Which version of pandoc are you using? Does the error also occur if you use the dev branch from github? $git checkout dev $context tests/rest 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 ___