Re: [NTG-context] A BibTeX problem ?
Thomas Bottini wrote: Hello, I would like to use BibTeX files with ConTeXt, but I encounter a strange problem. I must admit that I'm completely lost... Thank you in advance for your precious help... The error is certainly not your fault, an internal macro that used to be expandable isn't any more so I have to change something in the module. Will get back to you. Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] system modes
Alan Stone wrote: Hi, There are *some* system modes listed in the modes manual and main manual. Are *all* system modes listed somewhere ? only the official ones -) when you uncover features in the manual that is not documented it can be - something new, official, that should be documented - something secret (maybe experimental) but visible since everything is visible - something just for me (can be something obscure) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] system modes
Alan Stone wrote: Hi, There are *some* system modes listed in the modes manual and main manual. Are *all* system modes listed somewhere ? The modes manual has all modes documented except for a really obscure one (as Hans explained). There is a small error, though: *marking should be marking (without *) Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font eatures with fallback fonts
Khaled Hosny wrote: Font features doesn't seem to work with fallback fonts (or I didn't get it right). See the attached file (has some comments) keep in mind that this is still somewhat experimental and that i might add a bit more control over things % This doesn't use the fallback featue, so is OK \definefont[ArabType][Arabtype*fea] you need to keep in mind that the *featureset specification is notr always interpreted, so you need to specify the feature with the (symbolic) font name: \definefontfallback [ara] [Arabtype*fea] [arabic] [force=yes] \definefontsynonym[Arabicserif][Serif][fallbacks=ara] % This renders Arabic, but no OpenType features \definefont[Arabic][Arabicserif] we might deal withthe following later but currently it is not supported % This doesn't render Arabic too \definefont[ArabicFea][Arabicserif*fea] (one aspect of fallbacks is that each 'subfont' can have its own features so inheriting from the parent font is not a good idea) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] system modes
Unless I'm mistaken, the non-documented *headertext isn't operational any more. Has it been replaced with something else ? If not, I'm misunderstanding its meaning. Alan On Fri, Aug 1, 2008 at 10:20 AM, Hans Hagen [EMAIL PROTECTED] wrote: Alan Stone wrote: Hi, There are *some* system modes listed in the modes manual and main manual. Are *all* system modes listed somewhere ? only the official ones -) when you uncover features in the manual that is not documented it can be - something new, official, that should be documented - something secret (maybe experimental) but visible since everything is visible - something just for me (can be something obscure) Hans ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error when calling \placecontent from product
Elliot Clifton wrote: Thanks Wolfgang, On 2008-07-31 11:38 +100 Wolfgang Schuster \def\dostartArticle[#1]% {\getparameters[my][title=,#1]% \expanded{\chapter{\mytitle}}} I have tried wrapping the call to \chapter in \expanded. Hans, also suggested that here: www.ntg.nl/maps/20/12.pdf Unfortunately doesn't seem to work. I think the problem occurs in the final run of TeXexec, whilst finalising the ToC. Is it something to do with the .tuo file? systems : begin file prd-test at line 1 systems : begin file ../env-test at line 2 systems : end file ../env-test at line 2 (./prd-test.tuo ! Undefined control sequence. argument \mytitle \listtextcommand #1-\begstrut #1 \endstrut \doattributes ...sname [EMAIL PROTECTED] \endcsname \fi {#4 }\dostopattributes argument ...ont \limitatedlistentry {\mytitle }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2-#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... l.30 ...}{1}{1}{\mytitle }{2--0-1-0-0-0-0-0--1}{1} Just to be clear, \mytitle is defined by \getparameters in my environment file -- 'env-test'. The product 'prd-test' includes the component 'cmp-test'. The problem only occurs when ConTeX tries to build the product, not the component. What is it about the relationship between the product and component that cuases the trouble? it might depend on the order, i.e. when the need is there to load the tuo file, the \mytitle might not be defined yet; make sure you load the env as soon as possible - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] xml mapping on the fly - revisit
Johannes Graumann wrote: Hello, I have been trying to extend the example sent by Hans as shown below and run into trouble. Can I please have another nudge? On a side note - \xmlprocess{main}{zip::\env{odt}::content.xml}{} used to work in this context (;0) but doesn't anymore. What's currently accepted? \xmlprocess{main}{zip://\env{odt}/content.xml}{} or something like that - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] system modes
Never mind, the main sections system modes do the trick. Best, Alan On Fri, Aug 1, 2008 at 11:42 AM, Alan Stone [EMAIL PROTECTED]wrote: Unless I'm mistaken, the non-documented *headertext isn't operational any more. Has it been replaced with something else ? If not, I'm misunderstanding its meaning. Alan On Fri, Aug 1, 2008 at 10:20 AM, Hans Hagen [EMAIL PROTECTED] wrote: Alan Stone wrote: Hi, There are *some* system modes listed in the modes manual and main manual. Are *all* system modes listed somewhere ? only the official ones -) when you uncover features in the manual that is not documented it can be - something new, official, that should be documented - something secret (maybe experimental) but visible since everything is visible - something just for me (can be something obscure) Hans ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] endnotes and navigation
I am using endnotes and footnotes. Is it possible to add navigation to these, that is, when I am reading the PDF file I can click on a endnote number, go to the endnote and when I click on the endnote number there I get transported back to the location where it was used? G ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] endnotes and navigation
Gerben Wierda wrote: I am using endnotes and footnotes. Is it possible to add navigation to these, that is, when I am reading the PDF file I can click on a endnote number, go to the endnote and when I click on the endnote number there I get transported back to the location where it was used? This works out of the box, afaik. Just do \setupinteraction[state=start] Best wishes, Taco ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font eatures with fallback fonts
On Fri, Aug 01, 2008 at 11:04:01AM +0200, Hans Hagen wrote: Khaled Hosny wrote: Font features doesn't seem to work with fallback fonts (or I didn't get it right). See the attached file (has some comments) keep in mind that this is still somewhat experimental and that i might add a bit more control over things I see. % This doesn't use the fallback featue, so is OK \definefont[ArabType][Arabtype*fea] you need to keep in mind that the *featureset specification is notr always interpreted, so you need to specify the feature with the (symbolic) font name: \definefontfallback [ara] [Arabtype*fea] [arabic] [force=yes] \definefontsynonym[Arabicserif][Serif][fallbacks=ara] Aha, I should somehow expected that (given all the combinations I tried). we might deal withthe following later but currently it is not supported % This doesn't render Arabic too \definefont[ArabicFea][Arabicserif*fea] (one aspect of fallbacks is that each 'subfont' can have its own features so inheriting from the parent font is not a good idea) Right, it might not be desired at all. Thanks, Khaled -- Khaled Hosny Arabic localizer and member of Arabeyes.org team signature.asc Description: Digital signature ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Using module:bib
Hi, What is wrong with my attempt to create a bibliography and a reference to it? All I get is a (X,) where I use \cite, and no list of references at \placepublications. %- \enableregime[utf] \mainlanguage[pt] \usemodule[bib] \setuppublicationlist[] \startpublication[t=manual, a=Fung, y=1993, n=1] \author{}[Y.C.]{}{Fung} \title{Mechanical Properties of Living Tissues} \stoppublication \starttext According to \cite[1]. \placepublications \stoptext %- Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bibliographic entries
Dear ConTeXt experts, I have a question about bibliographic entries and I'm using ConTeXt bib module (which is really great!!). I have an article with a title that ends in a question mark. When the entry is typeset an additional period is placed at the end of the article via the \insertarttitle{ \bgroup``}{.'' \egroup}{} command. Is there an easy way to adjust the \insertarttitle command so that if the last character of the title entry in the bib-file is a punctuation character (say ! or ?), then we do not append a period? Thanks in advance for any suggestions. Best regards, Ernesto___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using module:bib
Manuel Pacheco Guerrero --- El vie, 1/8/08, Maurício [EMAIL PROTECTED] escribió: De: Maurício [EMAIL PROTECTED] Asunto: [NTG-context] Using module:bib Para: ntg-context@ntg.nl Fecha: viernes, 1 agosto, 2008 1:45 Hi, What is wrong with my attempt to create a bibliography and a reference to it? All I get is a (X,) where I use \cite, and no list of references at \placepublications. %- \enableregime[utf] \mainlanguage[pt] \usemodule[bib] \setuppublicationlist[] \startpublication[k=1,t=manual, a=Fung, y=1993, n=1] \author{}[Y.C.]{}{Fung} \title{Mechanical Properties of Living Tissues} \stoppublication \starttext According to \cite[1]. \placepublications \stoptext %- Thanks, Maurício ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ __ Enviado desde Correo Yahoo! La bandeja de entrada más inteligente. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] list bug when using margin?
The following list \startitemize[n,packed,joinedup] \item A is larger than B. \item B is larger than C. \item Therefore, A is larger than C. \stopitemize displays fine except it is not indented. So I added: \startitemize[n,packed,joinedup,margin=4em] \item A is larger than B. \item B is larger than C. \item Therefore, A is larger than C. \stopitemize and as a result, the list was not enumerated and it was not packed or joined up. Bug? Or misunderstanding? G ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] list bug when using margin?
Am 01.08.2008 um 18:53 schrieb Gerben Wierda: The following list \startitemize[n,packed,joinedup] \item A is larger than B. \item B is larger than C. \item Therefore, A is larger than C. \stopitemize displays fine except it is not indented. So I added: \startitemize[n,packed,joinedup,margin=4em] \startitemize[n,packed,joinedup][margin=4cm] \item A is larger than B. \item B is larger than C. \item Therefore, A is larger than C. \stopitemize and as a result, the list was not enumerated and it was not packed or joined up. Bug? Or misunderstanding? You can mix both setup methods in LaTeX but not in ConTeXt. Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] endnotes and navigation
On Aug 1, 2008, at 12:57 PM, Taco Hoekwater wrote: Gerben Wierda wrote: I am using endnotes and footnotes. Is it possible to add navigation to these, that is, when I am reading the PDF file I can click on a endnote number, go to the endnote and when I click on the endnote number there I get transported back to the location where it was used? This works out of the box, afaik. Just do \setupinteraction[state=start] Indeed. Why isn't this on by default? G ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] list bug when using margin?
On Fri, 1 Aug 2008, Gerben Wierda wrote: The following list \startitemize[n,packed,joinedup] \item A is larger than B. \item B is larger than C. \item Therefore, A is larger than C. \stopitemize displays fine except it is not indented. So I added: \startitemize[n,packed,joinedup,margin=4em] \item A is larger than B. \item B is larger than C. \item Therefore, A is larger than C. \stopitemize and as a result, the list was not enumerated and it was not packed or joined up. Bug? Or misunderstanding? Try, \startitemize[n,packed,joinedup][margin=4em] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Error when calling \placecontent from product
Thanks, Hans and Wolfgang. On 2008-08-01 15:12 +100, Wolfgang Schuster wrote: Delete the temporyry files and remove ../ from \environment ../env- test in prd-test.tex. Spotted that on closer inspection. Pesky typos! Also realised I was using square brackets with \startenvironment which is not permitted. I should pay more attention ;-) Elliot ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] endnotes and navigation
Gerben Wierda wrote: On Aug 1, 2008, at 12:57 PM, Taco Hoekwater wrote: Gerben Wierda wrote: I am using endnotes and footnotes. Is it possible to add navigation to these, that is, when I am reading the PDF file I can click on a endnote number, go to the endnote and when I click on the endnote number there I get transported back to the location where it was used? This works out of the box, afaik. Just do \setupinteraction[state=start] Indeed. Why isn't this on by default? several reasons ... to mention a few: - in some cases the output can be different (whatsit interference, breaking long interactive refs, e.g. bold ref can influence linebreaks, contents can have whole clickable areas) - some features make no sense in print - processing can be longer, files become bigger, etc Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mkii and xetex with tl2008: invalid fontname errors
Mojca Miklavec [EMAIL PROTECTED] writes: On Thu, Jul 17, 2008 at 9:24 PM, Jesse Alama wrote: \definetypeface [busted] [rm] [serif] [palatino] [default] \setupbodyfont [busted] \starttext \input tufte \stoptext Using XeTeX and ConTeXt MkII with the TeX Live 2008 developer snapshot (as of a few days ago), I run into a bunch of invalid fontname errors when compiling some documents: $ texmfstart texexec --xtx file.tex TeXExec | processing document 'file.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file file.top TeXExec | using randomseed 518 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeXk, Version 3.1415926-2.2-0.999.2 (Web2C 7.5.7) %-line parsing enabled. entering extended mode (./file.tex ConTeXt ver: 2008.07.14 18:07 MKII fmt: 2008.7.15 int: english/english [snip] kpathsea: Invalid fontname `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':' kpathsea: Invalid fontname `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':' kpathsea: Invalid fontname `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':' kpathsea: Invalid fontname `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':' kpathsea: Invalid fontname `texgyrepagella-italic:+liga;+kern;mapping=tlig;+trep;', contains ':' kpathsea: Invalid fontname `texgyrepagella-bolditalic:+liga;+kern;mapping=tlig;+trep;', contains ':' kpathsea: Invalid fontname `texgyrepagella-bolditalic:+liga;+kern;mapping=tlig;+trep;', contains ':' [many more errors like that] Any idea what might be going on? Does it only complain or does it fail to work? As far as I can tell this is only a complaint, in the sense that the XeTeX run finishes and produces a PDF. Is that what you mean? I'm not sure whether those invalid fontnames errors are having an effect. I suspect what the error could be (harmless, though it makes sense to fix it), but I only think that error reporting got more verbose since it works here despite many warnings. Outside of TL (probably some branch of xetex trunk + latest context) I don't get that warning. Thanks, Jesse -- Jesse Alama ([EMAIL PROTECTED]) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___