[NTG-context] Lettrine link broken
Hi, the link to the lettrine module(download zip file) on the lettrine module page is broken. I guess the only one who can fix it is the maintainer. Regards, D ___ 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] Lettrine link broken
On Thu, Jul 23, 2009 at 10:37, Derek CORDEIRO wrote: > Hi, the link to the lettrine module(download zip file) on the lettrine > module page is broken. I guess the only one who can fix it is the > maintainer. The maintaner of "software that runs the module" you mean? :) In the meantime you can use http://dl.contextgarden.net/modules/ to get the file. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] I can't put footnote
En/na Hans Hagen ha escrit: Xan wrote: En/na Hans Hagen ha escrit: Xan wrote: No, with the version line commented I get the same error: i don't get that error so i need a smaller test file Hans I hope this serves you. Now I have another error. What fails??? you have a dollar wrong around $G({\cal P})$ % \footnote{Recordem que abusem del llenguatge, identificant $\iota(X)$ i $X$, i que, realment, $\iota(X)$ és el generador de $G(\cal{P})$.} and so you end up in math mode where soms restrictions apply mtxrun --script check yourfile.tex In ubuntu 8.04, I ger: mtxrun --script check memoria.context MtxRun | unknown script: check But what's the wrong dollar Sorry but I don't see it. Xan. ___ 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] I can't put footnote
Hans, I can't do footnote with the most simple file, that I attach. Why. I'm desesperated. Xan. This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=cont-en 2009.3.12) 23 JUL 2009 12:34 entering extended mode %&-line parsing enabled. (/usr/share/texmf/web2c/natural.tcx) **prova.tex emergencyend (./prova.tex ConTeXt ver: 2007.09.28 16:52 MKII fmt: 2009.3.12 int: english/english language: language en is active system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/share/texmf/tex/context/base/cont-new.mkii) (/usr/share/texmf/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/usr/share/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/etc/texmf/tex/context/user/cont-sys.rme (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex)) bodyfont: 12pt rm is loaded language: patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi :texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec- >13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec ->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded specials: tex,postscript,rokicki loaded \openout3 = `prova.tui'. system : prova.top loaded (./prova.top specials: loading definition file tpd (/usr/share/texmf/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/usr/share/texmf/tex/context/base/spec-fdf.tex (/usr/share/texmf/tex/context/base/spec-fdf.mkii)) specials: fdf loaded ) specials: fdf,tpd loaded ) \openout0 = `prova-mpgraph.mp'. \openout0 = `mpgraph.mp'. systems : system commands are disabled (/usr/share/texmf/tex/context/base/type-pre.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex)) color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated system : module bib loaded (/usr/share/texmf/tex/context/bib/t-bib.tex publications: loading formatting style from bibl-apa (/usr/share/texmf/tex/context/bib/bibl-apa.tex)) system : module bibltx loaded (/usr/share/texmf/tex/context/bib/t-bibltx.tex) publications: wrote a new auxiliary file prova.aux publications: loading formatting style from bibl-ams (/usr/share/texmf/tex/context/bib/bibl-ams.tex) system : module newmat loaded (/usr/share/texmf/tex/context/base/m-newmat.tex) system : module math-ams loaded (/usr/share/texmf/tex/context/base/math-ams.tex) system : module tikz loaded (/usr/share/texmf/tex/context/pgf/frontendlayer/t-tikz.tex (/usr/share/texmf/tex/context/pgf/basiclayer/t-pgf.tex (/usr/share/texmf/tex/context/pgf/basiclayer/t-pgfcor.tex (/usr/sh
Re: [NTG-context] Lettrine link broken
Hello Derek, > Hi, the link to the lettrine module(download zip file) on the lettrine > module page is broken. I guess the only one who can fix it is the > maintainer. Fixed. Thanks for the report (and Mojca for the cc:) Patrick -- ConTeXt wiki and more: http://contextgarden.net ___ 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] I can't put footnote
Xan wrote: Hans, I can't do footnote with the most simple file, that I attach. Why. I'm desesperated. seems that you're running mkii ... the following is not permitted as 'note' is actually the internal footnote class so you basically redefine footnote (footnotes happen to be notes in the footer) \defineenumeration [note] [definition] [text={Nota},style=tf,titlestyle=bf,indenting=yes] so, use something else than note (mkiv is not so sensitive for this as there notes are enumerations whils in mkii only the rendering of the note is a description) 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] I can't put footnote
Xan wrote: But what's the wrong dollar Sorry but I don't see it. you had %$ instead of $% - 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] I can't put footnote
En/na Hans Hagen ha escrit: Xan wrote: Hans, I can't do footnote with the most simple file, that I attach. Why. I'm desesperated. seems that you're running mkii ... the following is not permitted as 'note' is actually the internal footnote class so you basically redefine footnote (footnotes happen to be notes in the footer) \defineenumeration [note] [definition] [text={Nota},style=tf,titlestyle=bf,indenting=yes] so, use something else than note (mkiv is not so sensitive for this as there notes are enumerations whils in mkii only the rendering of the note is a description) Hans Thank you very much, Hans. This is definitely the reason of that error. The conclusion is that we always should define command with non-english names ;-) And yes, I have mkii. Sorry. I should mentioned it. Xan. ___ 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] I can't put footnote
On Thu, 23 Jul 2009, Xan wrote: > Thank you very much, Hans. This is definitely the reason of that error. > The conclusion is that we always should define command with non-english > names Or uppercase names (as suggested in the manual)! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] I can't change startitemize[n]--> startitemize[1]
Hi Hans, First of all, thank you very much for helping in the above problem. Can you solve this now ? ;-) When I change startitemize[n] to startitemize[1] in line 394 I get this error: ! Argument of \dodoregister has an extra }. \par } \doattributes ...name #1...@ea \endcsname \fi {#4} \dostopattributes \dolistitem ...evel \c!style \c!color {\listitem } \fi \fi }\ifconditional \f... \complexdoitemgroupitem ...obreak \fi \dolistitem \relax \ifconditional \pac... $ l.395 \item $ \pi(x^{-1}) = \pi(x)^{-1}$ per a tot $x \in X$. ? x Why? I attach the source file and log file. This is a long file, I know, but I don't know why with 'n' works and '1' does not. Thanks in advance, Xan. PS: Please, CCme. % interface=en output=pdftex %\environment capcalera.context % Capçalera % Regime \enableregime[utf] % Choose a font \setupbodyfont [cmr,11pt] % cmr, 11pt % Be tolerant with paragraph building \setuptolerance [horizontal,verytolerant,stretch] % Choose a language, and associated hyphenation rules. %\language [ca] \mainlanguage[ca] % Page number \setuppagenumbering [location={footer}] % White space between paragraphs %\setupwhitespace [big] % Paper size \setuppapersize [a4] % Margins %\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight] %\setuplayout[footer=2cm, header=2cm] %\showlayout %\showframe %\showsetups % Format de marges %\setuplayout[topspace=1.5cm, % marge d'adalt %margin=1.5cm, %marges dels costats %header=1.0cm,%separació entre adalt i primera lÃnia %footer=1.0cm,%separació entre abaix i darrera lÃnia %width=fit,height=fit,backspace=2cm] % Enable colors and activate hyperlinks \setupcolors [state=start] \definecolor[lightblue][r=0.5, g=0.5, b=1.0] %\setupinteraction [state=start, color=lightBlue] %\setupurl[style=small, space=yes] \setupurl[space=yes] % Enumerate the URLs %\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki] %\useURL[nagorko-pdf][http://www.math.bgu.ac.il/~barakw/probseminar/nagorko/slides.pdf][][http://www.math.bgu.ac.il/\~{}barakw/\quad\quad\quad\quad probseminar/nagorko/slides.pdf] %\useURL[govern-me][http://sgtrelinst.caib.es/llibrestil/00index.html][][http://sgtrelinst.caib.es/llibrestil/00index.html] %\useURL[context-manual-pdf][http://www.pragma-ade.com/general/manuals/cont-eni.pdf][][http://www.pragma-ade.com/general/manuals/ cont-eni.pdf] %\useURL [contextgarden] [{http://www.contextgarden.net}] %\useURL [mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}] % Fonts %% Chapters... \setupheads[align=flushleft] \setuphead[chapter][style={\tfd\bf}] \setuphead[section][style={\bfc}, header=nomarking] \setuphead[subsection][style={\bfb}] \setuphead[subsubsection][style={\bfa}] %\setuphead[section][textstyle=bold] % Bibliography options % BIBTEX \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=memoria,sort=author] \setuppublications [alternative=ams,numbering=yes, sorttype=bbl, criterium=cite]% \setupheadtext[ca][pubs=Referències] \setuppublicationlist[authoretallimit=3] \setuppublicationlist[authoretaltext={\it\ et al.}] \setuppublicationlist[authoretaldisplay=1] %Indentation \setupheads[indentnext=yes] \setupindenting[yes,small,first] %\setupformulae[indentnext=yes] % Vertical spaces between paragraphs \setupwhitespace[small] %Itemize \setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em] \setupitemize[each][headstyle=bold] %\setupitemize[a][right=),stopper=] % Mathematical packets \usemodule[newmat] \usemodule[math-ams] % Heads and footers \setupfootertexts[][{\tfxx \currentdate}] %\setupfootertexts[\pagenumber/\lastpage] %\setupfooter[text][before=\hrule] %\setupheader[text][after=\hrule] %\setupheadertexts[{\tfx Mà ster de Matemà tiques}][{\tfx \jobname.\ConTeXt{}.\currentdate}] %\setupheadertexts[][{\tfx \currentdate}] % hyphenating \hyphenation{do-cu-ment} \hyphenation{pro-ble-ma} \hyphenation{es-crip-tu-ra} \hyphenation{ge-ne-ra-lit-za-ció} \hyphenation{cor-res-po-nents} \hyphenation{pa-rells} \hyphenation{ge-ne-rat} % Modules \usemodule[tikz] \usemodule[pgfmath] \usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings] %\usetikzlibrary[trees] % AMSTHM equivalent %% Exercici \defineenumeration [exercici] [text={Problema},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,before={\bgroup\startframedtext[background=screen,frame=off,width=broad]},after={\stopframedtext\egroup}] %% Lema \defineenumeration [lema] [text={Lema}, % Què es mostra before={\blank[big]}, % abans de lema, un bigskip after={\blank[big]}, % després de lema, un bi
Re: [NTG-context] I can't put footnote
On Thu, Jul 23, 2009 at 1:17 PM, Peter Münster wrote: > On Thu, 23 Jul 2009, Xan wrote: > > > Thank you very much, Hans. This is definitely the reason of that error. > > The conclusion is that we always should define command with non-english > > names > > Or uppercase names (as suggested in the manual)! > Cheers, Peter or camel case -- luigi ___ 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] I can't change startitemize[n]--> startitemize[1]
Hi Xan, Have you ever considered to create a minimum example, your example is far away from this and you would do not only other people a favor with this but you too. 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 ___
[NTG-context] Linux Libertine type
Hi, I have downloaded and installed the typescripts from http://modules.contextgarden.net In myTeX file, I have at the beginning of the file: \usetypescriptfile[type-linuxlibertine] \usetypescript[linuxlibertine] \setupbodyfont[linuxlibertine,12pt] The following is a part of the context output. ) (/home/derek/context/tex/texmf-local/tex/context/third/typescripts/type-linuxlibertine.tex (/home/derek/context/tex/texmf-local/tex/context/third/typescripts/type-linuxlibertine.mkiv)) fontnames | identifying tree font files with suffix otf fontnames | identifying tree font files with suffix OTF fontnames | 161 tree files identified, 161 hash entries added, runtime 0.244 seconds fontnames | identifying tree font files with suffix ttf fontnames | identifying tree font files with suffix TTF fontnames | 5 tree files identified, 5 hash entries added, runtime 0.215 seconds fontnames | identifying tree font files with suffix ttc fontnames | identifying tree font files with suffix TTC fontnames | 0 tree files identified, 0 hash entries added, runtime 0.208 seconds fontnames | identifying tree font files with suffix afm fontnames | identifying tree font files with suffix AFM fontnames | 76 tree files identified, 65 hash entries added, runtime 0.336 seconds fontnames | identifying system font files with suffix otf fontnames | identifying system font files with suffix OTF fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix ttf fontnames | identifying system font files with suffix TTF fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix ttc fontnames | identifying system font files with suffix TTC fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix afm fontnames | identifying system font files with suffix AFM fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds define font | font with name Linux Libertine O is not found define font | unknown font Linux Libertine O, loading aborted define font | unable to define Linux Libertine O as \*linuxlibertine12ptrmtf* Output of the command «fc-list | grep "Linux Libertine"» is as follows Linux Libertine:style=Bold Linux Libertine O:style=Bold Italic Linux Libertine O C:style=Regular Linux Libertine O:style=Regular Linux Libertine C:style=Regular Linux Libertine U:style=Regular Linux Libertine O:style=Italic Linux Libertine:style=Italic Linux Libertine:style=Bold Italic Linux Libertine O:style=Bold Linux Libertine:style=Regular ConTeXt ver: 2009.07.22 21:46 MKIV fmt: 2009.7.23 int: english/english What am I doing wrong? Help would be much appreciated, Derek ___ 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] I can't change startitemize[n]--> startitemize[1]
Wolfgang Schuster wrote: Hi Xan, Have you ever considered to create a minimum example, your example is far away from this and you would do not only other people a favor with this but you too. indeed as it takes me 10 minutes of selective deletion to zoom in on the error (tip: use a bit more empty lines in your source) \defineregister[symbol][symbols] \starttext \startitemize[1] \item test \stopitemize \stoptext as you redefine \symbol to be a register entry resolving \symbol[1] inside the itemize does not work any more as expected so, when defining commands - avoid built incommands - for instance by using longer names - or names that are unlikely to show up in the core - or Symbol or MySymbol or so furthermore, a few tips: \setupbodyfont [cmr,11pt] % cmr, 11pt % no need for cmr \setuphead[chapter][style={\tfd\bf}] % \bfd is a bit faster (no need for {} unless embedded []) \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=memoria,sort=author] % avoid this in examples as we don't have your data \usemodule[newmat] % most math is in the core so that module is kind of obsolete \usemodule[math-ams] % not needed, as it is preloaded or loaded automatically \hyphenation{do-cu-ment} \hyphenation{pro-ble-ma} \hyphenation{es-crip-tu-ra} \hyphenation{ge-ne-ra-lit-za-ció} \hyphenation{cor-res-po-nents} \hyphenation{pa-rells} \hyphenation{ge-ne-rat} % collect these exceptions and send then to mojca or arthur \usemodule[tikz] \usemodule[pgfmath] \usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings] % it seems that something is loaded twice (or at least dimension registers are redefined) \setupunderbar[alternative=b] % Fix underline style % you can use the textbackgrounds for this (see anch-bar) 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] Linux Libertine type
On Thu, Jul 23, 2009 at 07:20:48PM +0530, Derek CORDEIRO wrote: > Hi, > > I have downloaded and installed the typescripts from http:// > modules.contextgarden.net > > In myTeX file, I have at the beginning of the file: > > \usetypescriptfile[type-linuxlibertine] > \usetypescript[linuxlibertine] > \setupbodyfont[linuxlibertine,12pt] > > The following is a part of the context output. > > ) (/home/derek/context/tex/texmf-local/tex/context/third/typescripts/ > type-linuxlibertine.tex > (/home/derek/context/tex/texmf-local/tex/context/third/ > typescripts/type-linuxlibertine.mkiv)) > fontnames | identifying tree font files with suffix otf > fontnames | identifying tree font files with suffix OTF > fontnames | 161 tree files identified, 161 hash entries added, runtime 0.244 > seconds > fontnames | identifying tree font files with suffix ttf > fontnames | identifying tree font files with suffix TTF > fontnames | 5 tree files identified, 5 hash entries added, runtime 0.215 > seconds > fontnames | identifying tree font files with suffix ttc > fontnames | identifying tree font files with suffix TTC > fontnames | 0 tree files identified, 0 hash entries added, runtime 0.208 > seconds > fontnames | identifying tree font files with suffix afm > fontnames | identifying tree font files with suffix AFM > fontnames | 76 tree files identified, 65 hash entries added, runtime 0.336 > seconds > fontnames | identifying system font files with suffix otf > fontnames | identifying system font files with suffix OTF > fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 > seconds > fontnames | identifying system font files with suffix ttf > fontnames | identifying system font files with suffix TTF > fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 > seconds > fontnames | identifying system font files with suffix ttc > fontnames | identifying system font files with suffix TTC > fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 > seconds > fontnames | identifying system font files with suffix afm > fontnames | identifying system font files with suffix AFM > fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 > seconds > define font | font with name Linux Libertine O is not found > define font | unknown font Linux Libertine O, loading aborted > define font | unable to define Linux Libertine O as \*linuxlibertine12ptrmtf* > > Output of the command «fc-list | grep "Linux Libertine"» is as follows > > Linux Libertine:style=Bold > Linux Libertine O:style=Bold Italic > Linux Libertine O C:style=Regular > Linux Libertine O:style=Regular > Linux Libertine C:style=Regular > Linux Libertine U:style=Regular > Linux Libertine O:style=Italic > Linux Libertine:style=Italic > Linux Libertine:style=Bold Italic > Linux Libertine O:style=Bold > Linux Libertine:style=Regular > > ConTeXt ver: 2009.07.22 21:46 MKIV fmt: 2009.7.23 int: english/english > > What am I doing wrong? ConTeXt doesn't use fontconfig for detecting installed fonts, try to set OSFONTDIR to point where your fonts are, then run: mtxrun -script fonts -reload Hans, is it possible to read fontconfig files to detect font directories on linux, it is xml files and we would be interested in and tags only. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer 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 ___
Re: [NTG-context] I can't change startitemize[n]--> startitemize[1]
En/na Hans Hagen ha escrit: Wolfgang Schuster wrote: Hi Xan, Have you ever considered to create a minimum example, your example is far away from this and you would do not only other people a favor with this but you too. indeed as it takes me 10 minutes of selective deletion to zoom in on the error (tip: use a bit more empty lines in your source) \defineregister[symbol][symbols] \starttext \startitemize[1] \item test \stopitemize \stoptext Thank you VERY much Hans. I'm charmed. Thanks. I was crazy finding the error. I was convinced that it was a silly thing. as you redefine \symbol to be a register entry resolving \symbol[1] inside the itemize does not work any more as expected so, when defining commands - avoid built incommands - for instance by using longer names - or names that are unlikely to show up in the core - or Symbol or MySymbol or so Really, I did not know that. It's a messy thing that we could not define what we like ;-) furthermore, a few tips: \setupbodyfont [cmr,11pt] % cmr, 11pt % no need for cmr Yes I know. \setuphead[chapter][style={\tfd\bf}] % \bfd is a bit faster (no need for {} unless embedded []) OKay. \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=memoria,sort=author] % avoid this in examples as we don't have your data Okay. Sorry. \usemodule[newmat] % most math is in the core so that module is kind of obsolete \usemodule[math-ams] % not needed, as it is preloaded or loaded automatically Mmmm... interesting. I remember that I put because I just want to put one symbol. I don't remember why I have that \hyphenation{do-cu-ment} \hyphenation{pro-ble-ma} \hyphenation{es-crip-tu-ra} \hyphenation{ge-ne-ra-lit-za-ció} \hyphenation{cor-res-po-nents} \hyphenation{pa-rells} \hyphenation{ge-ne-rat} % collect these exceptions and send then to mojca or arthur Okay. It's a pleasure to give to you. How can I see what is, if there is, the lists of hyphenated words? \usemodule[tikz] \usemodule[pgfmath] \usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings] % it seems that something is loaded twice (or at least dimension registers are redefined) \setupunderbar[alternative=b] % Fix underline style % you can use the textbackgrounds for this (see anch-bar) Thanks for this pointing Regards, Xan. ___ 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] Linux Libertine type
Khaled Hosny wrote: On Thu, Jul 23, 2009 at 07:20:48PM +0530, Derek CORDEIRO wrote: Hi, I have downloaded and installed the typescripts from http:// modules.contextgarden.net In myTeX file, I have at the beginning of the file: \usetypescriptfile[type-linuxlibertine] \usetypescript[linuxlibertine] \setupbodyfont[linuxlibertine,12pt] The following is a part of the context output. ) (/home/derek/context/tex/texmf-local/tex/context/third/typescripts/ type-linuxlibertine.tex (/home/derek/context/tex/texmf-local/tex/context/third/ typescripts/type-linuxlibertine.mkiv)) fontnames | identifying tree font files with suffix otf fontnames | identifying tree font files with suffix OTF fontnames | 161 tree files identified, 161 hash entries added, runtime 0.244 seconds fontnames | identifying tree font files with suffix ttf fontnames | identifying tree font files with suffix TTF fontnames | 5 tree files identified, 5 hash entries added, runtime 0.215 seconds fontnames | identifying tree font files with suffix ttc fontnames | identifying tree font files with suffix TTC fontnames | 0 tree files identified, 0 hash entries added, runtime 0.208 seconds fontnames | identifying tree font files with suffix afm fontnames | identifying tree font files with suffix AFM fontnames | 76 tree files identified, 65 hash entries added, runtime 0.336 seconds fontnames | identifying system font files with suffix otf fontnames | identifying system font files with suffix OTF fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix ttf fontnames | identifying system font files with suffix TTF fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix ttc fontnames | identifying system font files with suffix TTC fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds fontnames | identifying system font files with suffix afm fontnames | identifying system font files with suffix AFM fontnames | 0 system files identified, 0 hash entries added, runtime 0.000 seconds define font | font with name Linux Libertine O is not found define font | unknown font Linux Libertine O, loading aborted define font | unable to define Linux Libertine O as \*linuxlibertine12ptrmtf* Output of the command «fc-list | grep "Linux Libertine"» is as follows Linux Libertine:style=Bold Linux Libertine O:style=Bold Italic Linux Libertine O C:style=Regular Linux Libertine O:style=Regular Linux Libertine C:style=Regular Linux Libertine U:style=Regular Linux Libertine O:style=Italic Linux Libertine:style=Italic Linux Libertine:style=Bold Italic Linux Libertine O:style=Bold Linux Libertine:style=Regular ConTeXt ver: 2009.07.22 21:46 MKIV fmt: 2009.7.23 int: english/english What am I doing wrong? ConTeXt doesn't use fontconfig for detecting installed fonts, try to set OSFONTDIR to point where your fonts are, then run: mtxrun -script fonts -reload Hans, is it possible to read fontconfig files to detect font directories on linux, it is xml files and we would be interested in and tags only. it does, given that the file can be found someplace in the tree (i added a log message so that one can see of it is found) - 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] Linux Libertine type
On Thu, Jul 23, 2009 at 7:51 PM, Khaled Hosny wrote: > On Thu, Jul 23, 2009 at 07:20:48PM +0530, Derek CORDEIRO wrote: > > Hi, > > > > I have downloaded and installed the typescripts from http:// > > modules.contextgarden.net > > > > In myTeX file, I have at the beginning of the file: > > > > \usetypescriptfile[type-linuxlibertine] > > \usetypescript[linuxlibertine] > > \setupbodyfont[linuxlibertine,12pt] > > > > The following is a part of the context output. > > > > ) (/home/derek/context/tex/texmf-local/tex/context/third/typescripts/ > > type-linuxlibertine.tex > (/home/derek/context/tex/texmf-local/tex/context/third/ > > typescripts/type-linuxlibertine.mkiv)) > > fontnames | identifying tree font files with suffix otf > > fontnames | identifying tree font files with suffix OTF > . > . > . > > define font | font with name Linux Libertine O is not found > > define font | unknown font Linux Libertine O, loading aborted > > define font | unable to define Linux Libertine O as > \*linuxlibertine12ptrmtf* > > > > Output of the command «fc-list | grep "Linux Libertine"» is as follows > > > > Linux Libertine:style=Bold > > Linux Libertine O:style=Bold Italic > > Linux Libertine O C:style=Regular > > Linux Libertine O:style=Regular > > Linux Libertine C:style=Regular > > Linux Libertine U:style=Regular > > Linux Libertine O:style=Italic > > Linux Libertine:style=Italic > > Linux Libertine:style=Bold Italic > > Linux Libertine O:style=Bold > > Linux Libertine:style=Regular > > > > ConTeXt ver: 2009.07.22 21:46 MKIV fmt: 2009.7.23 int: english/english > > > > What am I doing wrong? > > ConTeXt doesn't use fontconfig for detecting installed fonts, try to set > OSFONTDIR to point where your fonts are, then run: > mtxrun -script fonts -reload > de...@derek-desktop:~$ echo $OSFONTDIR /home/derek/.fonts de...@derek-desktop:~$ ls /home/derek/.fonts/Lin* /home/derek/.fonts/LinLibertine_Bd-4.1.0.otf /home/derek/.fonts/LinLibertine_Bd-4.1.0.ttf /home/derek/.fonts/LinLibertine_BI-4.0.5.otf /home/derek/.fonts/LinLibertine_BI-4.0.5.ttf /home/derek/.fonts/LinLibertineC_Re-4.0.3.otf /home/derek/.fonts/LinLibertineC_Re-4.0.3.ttf /home/derek/.fonts/LinLibertine_It-4.0.6.otf /home/derek/.fonts/LinLibertine_It-4.0.6.ttf /home/derek/.fonts/LinLibertine_Re-4.4.1.otf /home/derek/.fonts/LinLibertine_Re-4.4.1.ttf de...@derek-desktop:~$ mtxrun -script fonts --reload MTXrun | fontnames: identifying tree font files with suffix otf MTXrun | fontnames: identifying tree font files with suffix OTF MTXrun | fontnames: 161 tree files identified, 161 hash entries added, runtime 0.229 seconds MTXrun | fontnames: identifying tree font files with suffix ttf MTXrun | fontnames: identifying tree font files with suffix TTF MTXrun | fontnames: 5 tree files identified, 5 hash entries added, runtime 0.205 seconds MTXrun | fontnames: identifying tree font files with suffix ttc MTXrun | fontnames: identifying tree font files with suffix TTC MTXrun | fontnames: 0 tree files identified, 0 hash entries added, runtime 0.226 seconds MTXrun | fontnames: identifying tree font files with suffix afm MTXrun | fontnames: identifying tree font files with suffix AFM MTXrun | fontnames: 76 tree files identified, 65 hash entries added, runtime 0.389 seconds MTXrun | fontnames: identifying system font files with suffix otf MTXrun | fontnames: identifying system font files with suffix OTF MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime 0.000 seconds MTXrun | fontnames: identifying system font files with suffix ttf MTXrun | fontnames: identifying system font files with suffix TTF MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime 0.000 seconds MTXrun | fontnames: identifying system font files with suffix ttc MTXrun | fontnames: identifying system font files with suffix TTC MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime 0.000 seconds MTXrun | fontnames: identifying system font files with suffix afm MTXrun | fontnames: identifying system font files with suffix AFM MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime 0.000 seconds de...@derek-desktop:~$ mtxrun -script fonts -list|grep Lin The above command gives no output Still clueless, Derek ___ 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] I can't change startitemize[n]--> startitemize[1]
Xan wrote: Really, I did not know that. It's a messy thing that we could not define what we like ;-) it's the nature of a tex macro package; ok, i can add some strict testing for in in mkiv but even then it might just be that someone who knows th einternals (like wolfgang or wolfgang or wolfgang) wants to overload something built in by something better % collect these exceptions and send then to mojca or arthur Okay. It's a pleasure to give to you. How can I see what is, if there is, the lists of hyphenated words? best ask mojca or arthur who to contact as they are in charge of pattern management for all tex distributions 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] Linux Libertine type
On Thu, Jul 23, 2009 at 04:34:37PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> ConTeXt doesn't use fontconfig for detecting installed fonts, try to set >> OSFONTDIR to point where your fonts are, then run: >> mtxrun -script fonts -reload >> >> Hans, is it possible to read fontconfig files to detect font directories >> on linux, it is xml files and we would be interested in and >> tags only. > > it does, given that the file can be found someplace in the tree (i added > a log message so that one can see of it is found) The standard places for fontconfig files are ~/fonts.conf and /etc/fonts/fonts.conf, any other file is included from there, so may be it should check for those two by default (if it doesn't already). Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer 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 ___
Re: [NTG-context] Linux Libertine type
On Thu, Jul 23, 2009 at 08:05:11PM +0530, Derek CORDEIRO wrote: > de...@derek-desktop:~$ mtxrun -script fonts -list|grep Lin > > The above command gives no output > > Still clueless, Derek ConTeXt normalizes fontnames to lower case, 'grep -i'. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer 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 ___
Re: [NTG-context] I can't change startitemize[n]--> startitemize[1]
On Thu, Jul 23, 2009 at 4:37 PM, Hans Hagen wrote: > Xan wrote: > > Really, I did not know that. It's a messy thing that we could not define >> what we like ;-) >> > > it's the nature of a tex macro package; ok, i can add some strict testing > for in in mkiv but even then it might just be that someone who knows th > einternals (like wolfgang or wolfgang or wolfgang) wants to overload > something built in by something better > why not discipline ? I mean something like 0) context macro are ok 1) \usemodule[foo] are ok (no collision with macros in 0) 2) define your macros inside \startPrivate[namespace] ... \stopPrivate 3) explicit redefinition of macros in 0,1 by 3) should be no collision between 0,1,2 -- luigi ___ 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] I can't change startitemize[n]--> startitemize[1]
Am 23.07.2009 um 16:48 schrieb luigi scarso: 2) define your macros inside \startPrivate[namespace] ... \stopPrivate And how do you want to access the macros in your document? 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] Linux Libertine type
On Thu, 23 Jul 2009, Khaled Hosny wrote: On Thu, Jul 23, 2009 at 08:05:11PM +0530, Derek CORDEIRO wrote: de...@derek-desktop:~$ mtxrun -script fonts -list|grep Lin The above command gives no output Did you run mtxrun --script fonts --reload? Still clueless, Derek ConTeXt normalizes fontnames to lower case, 'grep -i'. You can also do mtxrun --script fonts --list "*lib*" 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] Linux Libertine type
On Thu, Jul 23, 2009 at 8:15 PM, Khaled Hosny wrote: > On Thu, Jul 23, 2009 at 08:05:11PM +0530, Derek CORDEIRO wrote: > > de...@derek-desktop:~$ mtxrun -script fonts -list|grep Lin > > > > The above command gives no output > > > > Still clueless, Derek > Got it to work by adding the fonts to $TEXMF/fonts/opentype > > ConTeXt normalizes fontnames to lower case, 'grep -i'. > Not really, output of «mtxrun -script fonts -list|grep Lin» linbiolinum Linux Biolinum Biolinum_Re.ttf linbiolinumb Linux Biolinum Bold Biolinum_Bd.ttf linbiolinumo Linux Biolinum O Biolinum_Re.otf linbiolinumobLinux Biolinum O Bold Biolinum_Bd.otf linlibertine Linux Libertine LinLibertine_Re.ttf linlibertinebLinux Libertine Bold LinLibertine_Bd.ttf linlibertinebi Linux Libertine Bold Italic LinLibertine_BI.ttf linlibertinecLinux Libertine Capitals LinLibertineC_Re.ttf linlibertineiLinux Libertine Italic LinLibertine_It.ttf linlibertineoLinux Libertine O LinLibertine_Re.otf linlibertineob Linux Libertine O Bold LinLibertine_Bd.otf linlibertineobi Linux Libertine O Bold Italic LinLibertine_BI.otf linlibertineoc Linux Libertine O Capitals LinLibertineC_Re.otf linlibertineoi Linux Libertine O Italic LinLibertine_It.otf linuxbiolinumLinux Biolinum Biolinum_Re.ttf linuxbiolinumboldLinux Biolinum Bold Biolinum_Bd.ttf linuxbiolinumo Linux Biolinum O Biolinum_Re.otf linuxbiolinumobold Linux Biolinum O Bold Biolinum_Bd.otf linuxlibertine Linux Libertine LinLibertine_Re.ttf linuxlibertinebold Linux Libertine Bold LinLibertine_Bd.ttf linuxlibertinebolditalic Linux Libertine Bold Italic LinLibertine_BI.ttf linuxlibertinecapitals Linux Libertine Capitals LinLibertineC_Re.ttf linuxlibertineitalic Linux Libertine Italic LinLibertine_It.ttf linuxlibertineo Linux Libertine O LinLibertine_Re.otf linuxlibertineobold Linux Libertine O Bold LinLibertine_Bd.otf linuxlibertineobolditalicLinux Libertine O Bold Italic LinLibertine_BI.otf linuxlibertineocapitals Linux Libertine O Capitals LinLibertineC_Re.otf linuxlibertineoitalicLinux Libertine O Italic LinLibertine_It.otf --- Thanks anyway :) P.S. I had to rename the fonts from LinLibertine_Bd-4.1.0.otf to LinLibertine_Bd.otf ___ 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] I can't change startitemize[n]--> startitemize[1]
On Thu, Jul 23, 2009 at 4:58 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 23.07.2009 um 16:48 schrieb luigi scarso: > > 2) define your macros inside >> \startPrivate[namespace] >> ... >> \stopPrivate >> > > And how do you want to access the macros in your document? > by namespace ? -- luigi ___ 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] I can't change startitemize[n]--> startitemize[1]
On Thu, 23 Jul 2009, luigi scarso wrote: On Thu, Jul 23, 2009 at 4:37 PM, Hans Hagen wrote: Xan wrote: Really, I did not know that. It's a messy thing that we could not define what we like ;-) it's the nature of a tex macro package; ok, i can add some strict testing for in in mkiv but even then it might just be that someone who knows th einternals (like wolfgang or wolfgang or wolfgang) wants to overload something built in by something better why not discipline ? I mean something like 0) context macro are ok 1) \usemodule[foo] are ok (no collision with macros in 0) 2) define your macros inside \startPrivate[namespace] ... \stopPrivate 3) explicit redefinition of macros in 0,1 by 3) should be no collision between 0,1,2 I think an easier thing to do will be to follow latex's style of \newcommand and \renewcommand. That is, all \definecommands should check if the macro is previously defined or not. If it is defined, issue a warning or an error. And maybe have some hook to disable the warning/error for those who know what they are doing. 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] I can't change startitemize[n]--> startitemize[1]
Am 23.07.2009 um 17:05 schrieb luigi scarso: On Thu, Jul 23, 2009 at 4:58 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: Am 23.07.2009 um 16:48 schrieb luigi scarso: 2) define your macros inside \startPrivate[namespace] ... \stopPrivate And how do you want to access the macros in your document? by namespace ? can you give a example! 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] I can't change startitemize[n]--> startitemize[1]
On Thu, Jul 23, 2009 at 5:05 PM, Aditya Mahajan wrote: > On Thu, 23 Jul 2009, luigi scarso wrote: > > On Thu, Jul 23, 2009 at 4:37 PM, Hans Hagen wrote: >> >> Xan wrote: >>> >>> Really, I did not know that. It's a messy thing that we could not define >>> what we like ;-) >>> it's the nature of a tex macro package; ok, i can add some strict testing >>> for in in mkiv but even then it might just be that someone who knows th >>> einternals (like wolfgang or wolfgang or wolfgang) wants to overload >>> something built in by something better >>> >>> why not discipline ? >> >> I mean something like >> 0) context macro are ok >> 1) \usemodule[foo] are ok (no collision with macros in 0) >> 2) define your macros inside >> \startPrivate[namespace] >> ... >> \stopPrivate >> 3) explicit redefinition of macros in 0,1 >> >> by 3) should be no collision between 0,1,2 >> > > > I think an easier thing to do will be to follow latex's style of > \newcommand and \renewcommand. That is, all \definecommands should check if > the macro is previously defined or not. If it is defined, issue a warning or > an error. And maybe have some hook to disable the warning/error for those > who know what they are doing. > yes, it's equivalent -- luigi ___ 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] I can't change startitemize[n]--> startitemize[1]
On Thu, Jul 23, 2009 at 5:10 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 23.07.2009 um 17:05 schrieb luigi scarso: > > > On Thu, Jul 23, 2009 at 4:58 PM, Wolfgang Schuster < >> schuster.wolfg...@googlemail.com> wrote: >> >> Am 23.07.2009 um 16:48 schrieb luigi scarso: >>> >>> 2) define your macros inside >>> \startPrivate[namespace] ... \stopPrivate >>> >>> And how do you want to access the macros in your document? >>> >>> by namespace ? >> > > > can you give a example! > hmm, where do you see the problem ? -- luigi ___ 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] I can't change startitemize[n]--> startitemize[1]
Am 23.07.2009 um 17:05 schrieb Aditya Mahajan: I think an easier thing to do will be to follow latex's style of \newcommand and \renewcommand. That is, all \definecommands should check if the macro is previously defined or not. If it is defined, issue a warning or an error. There is \define and \redefine. And maybe have some hook to disable the warning/error for those who know what they are doing. In this case you can use \def, \edef ... 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] I can't change startitemize[n]--> startitemize[1]
On Thu, Jul 23, 2009 at 5:16 PM, luigi scarso wrote: > > > On Thu, Jul 23, 2009 at 5:10 PM, Wolfgang Schuster < > schuster.wolfg...@googlemail.com> wrote: > >> >> Am 23.07.2009 um 17:05 schrieb luigi scarso: >> >> >> On Thu, Jul 23, 2009 at 4:58 PM, Wolfgang Schuster < >>> schuster.wolfg...@googlemail.com> wrote: >>> >>> Am 23.07.2009 um 16:48 schrieb luigi scarso: 2) define your macros inside > \startPrivate[namespace] > ... > \stopPrivate > And how do you want to access the macros in your document? by namespace ? >>> >> > >> >> can you give a example! >> > > > hmm, where do you see the problem ? > I mean, we already have \setvalue -- luigi ___ 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] I can't change startitemize[n]--> startitemize[1]
Am 23.07.2009 um 17:16 schrieb luigi scarso: hmm, where do you see the problem ? As programmer it's no problem to use a namespace for macros but how do you convince users to use them, should they write \startprivate[foo] \definenote[footnote][...] \defineregister[index][...] ... \stopprivate and use them with 'fooindex', 'foofootnote' ... in their documents? In this case it would be better to write to write commands like \MyNote 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] I can't change startitemize[n]--> startitemize[1]
En/na Hans Hagen ha escrit: Xan wrote: Really, I did not know that. It's a messy thing that we could not define what we like ;-) it's the nature of a tex macro package; ok, i can add some strict testing for in in mkiv but even then it might just be that someone who knows th einternals (like wolfgang or wolfgang or wolfgang) wants to overload something built in by something better In my modest opinion it could help: a warning that says you overload something predefined. And really I think it helps it the error message is more explicit. A normal user like me turn crazy trying to find the error But well, you are the boss ;-) % collect these exceptions and send then to mojca or arthur Okay. It's a pleasure to give to you. How can I see what is, if there is, the lists of hyphenated words? best ask mojca or arthur who to contact as they are in charge of pattern management for all tex distributions Okay, In private or public mail? Xan. ___ 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] I can't change startitemize[n]--> startitemize[1]
On Thu, Jul 23, 2009 at 5:33 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 23.07.2009 um 17:16 schrieb luigi scarso: > > hmm, where do you see the problem ? >> > > As programmer it's no problem to use a namespace for macros but how > do you convince users to use them, it's up to us make an easy convention. > should they write > >\startprivate[foo] > >\definenote[footnote][...] > >\defineregister[index][...] > >... > >\stopprivate > > and use them with > > 'fooindex', 'foofootnote' ... > > in their documents? > true, but what about \startprivate[texns:Logo='www.logosrl.it/context'] \definenote[Footnote][...] \defineregister[Index][...] ... \stopprivate \LogoFootnote \LogoIndex Not so horrible; one can easily see in the source own private macros. > > > In this case it would be better to write to write commands like \MyNote > Yes, it's a discipline problem. -- luigi ___ 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] I can't change startitemize[n]--> startitemize[1]
On Thu, 23 Jul 2009, Wolfgang Schuster wrote: Am 23.07.2009 um 17:05 schrieb Aditya Mahajan: I think an easier thing to do will be to follow latex's style of \newcommand and \renewcommand. That is, all \definecommands should check if the macro is previously defined or not. If it is defined, issue a warning or an error. There is \define and \redefine. I know. What I am asking is that the core macros like \definedescription, \defineitemgroups, \definehead, which have the general form \def\defineSOMETHING% {\dodoubleargument\dodefineSOMETHING} \def\dodefineSOMETHING[#1][#2]% {\setvalue{#1}{\dododefineSOMETHING[#2]} should do some check before the \setvalue. Maybe a universal solution will be to change \setvalue so that it uses \define (or a check like define) internally. And maybe have some hook to disable the warning/error for those who know what they are doing. In this case you can use \def, \edef ... I meant with commands like \defineSOMETHING above. For example, I once did \definecolor[page][s=0.9] instead of what I normally do: \definecolor[pagecolor][s=0.9]. Took a while to figure out what was going wrong. Some of Xan's error were due to similar things, \defineSOMETHING[note], \defineSOMETHING[symbol], etc. If all these commands issued a warning that you are redefining existing macro, debugging will be much easier. And if you know what you are doing, we could have \redefinecolor[page][s=0.9] that does not issue a warning. Or the easier to implemnet: \setupcolors[check=error|warn|ignore] for all \setupSOMETHING commands where the equivalent \defineSOMETHING defines a control sequence. 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] I can't change startitemize[n]--> startitemize[1]
On Thu, Jul 23, 2009 at 5:52 PM, Aditya Mahajan wrote: > On Thu, 23 Jul 2009, Wolfgang Schuster wrote: > > >> Am 23.07.2009 um 17:05 schrieb Aditya Mahajan: >> >> I think an easier thing to do will be to follow latex's style of >>> \newcommand and \renewcommand. That is, all \definecommands should check if >>> the macro is previously defined or not. If it is defined, issue a warning or >>> an error. >>> >> >> There is \define and \redefine. >> > > I know. What I am asking is that the core macros like \definedescription, > \defineitemgroups, \definehead, which have the general form > > \def\defineSOMETHING% > {\dodoubleargument\dodefineSOMETHING} > > \def\dodefineSOMETHING[#1][#2]% > {\setvalue{#1}{\dododefineSOMETHING[#2]} > > should do some check before the \setvalue. Maybe a universal solution will > be to change \setvalue so that it uses \define (or a check like define) > internally. Or maybe \Usersetvalue I think to an "user-space" and a "kernel-space" -- luigi ___ 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] I can't change startitemize[n]--> startitemize[1]
Aditya Mahajan wrote: \def\defineSOMETHING% {\dodoubleargument\dodefineSOMETHING} \def\dodefineSOMETHING[#1][#2]% {\setvalue{#1}{\dododefineSOMETHING[#2]} some do, but sometimes redefinition is quite legal; it happens that 'note' and 'symbol' are pretty core the convention (as mentioned) is more or less to use UpperCase names for your own commands and UPPERCASE for logo's and abbreviations (but these can have an optional namespace) kind of tricky are colors and fonts as they have no namespace so i often end up with ThisColor or ThatFont I meant with commands like \defineSOMETHING above. For example, I once did \definecolor[page][s=0.9] instead of what I normally do: \definecolor[pagecolor][s=0.9]. Took a while to figure out what was going wrong. Some of Xan's error were due to similar things, \defineSOMETHING[note], \defineSOMETHING[symbol], etc. If all these commands issued a warning that you are redefining existing macro, debugging will be much easier. And if you know what you are doing, we could have \redefinecolor[page][s=0.9] that does not issue a warning. Or the easier to implemnet: \setupcolors[check=error|warn|ignore] maybe later, as it clutters the code; maybe after the mkii->mkiv cleanup 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] Linux Libertine type
Khaled Hosny wrote: On Thu, Jul 23, 2009 at 04:34:37PM +0200, Hans Hagen wrote: Khaled Hosny wrote: ConTeXt doesn't use fontconfig for detecting installed fonts, try to set OSFONTDIR to point where your fonts are, then run: mtxrun -script fonts -reload Hans, is it possible to read fontconfig files to detect font directories on linux, it is xml files and we would be interested in and tags only. it does, given that the file can be found someplace in the tree (i added a log message so that one can see of it is found) The standard places for fontconfig files are ~/fonts.conf and /etc/fonts/fonts.conf, any other file is included from there, so may be it should check for those two by default (if it doesn't already). no, not there but before I even start thinking about adding that we need to investigate all places as i'm pretty sure that on the mac it's different (somehow 'standard' in practice is never 'standard') and there's also the order to consider, one, more, and in what order then (personally i always keep font sthat i use in tex in the tex tree if only to make sure that after an os update i still have them/the same ones) 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 ___
[NTG-context] Hyphenation pattern exceptions (was: I can't change ...)
On Thu, Jul 23, 2009 at 17:42, Xan wrote: > En/na Hans Hagen ha escrit: >> > % hyphenating > \hyphenation{do-cu-ment} > \hyphenation{pro-ble-ma} > \hyphenation{es-crip-tu-ra} > \hyphenation{ge-ne-ra-lit-za-ció} > \hyphenation{cor-res-po-nents} > \hyphenation{pa-rells} > \hyphenation{ge-ne-rat} % collect these exceptions and send then to mojca or arthur >>> >>> Okay. It's a pleasure to give to you. >>> How can I see what is, if there is, the lists of hyphenated words? >> >> best ask mojca or arthur who to contact as they are in charge of pattern >> management for all tex distributions > > Okay, In private or public mail? We don't (yet) decide what goes in and what not. If any exception should be added, I would prefer to have author's confirmation (Javier Bezos). See http://www.tex-tipografia.com/spanish_hyphen.html We could start collecting exceptions, but I have no idea where/how to do that systematically. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Linux Libertine type
On Thu, Jul 23, 2009 at 06:07:37PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: >> On Thu, Jul 23, 2009 at 04:34:37PM +0200, Hans Hagen wrote: >>> Khaled Hosny wrote: ConTeXt doesn't use fontconfig for detecting installed fonts, try to set OSFONTDIR to point where your fonts are, then run: mtxrun -script fonts -reload Hans, is it possible to read fontconfig files to detect font directories on linux, it is xml files and we would be interested in and tags only. >>> it does, given that the file can be found someplace in the tree (i >>> added a log message so that one can see of it is found) >> >> The standard places for fontconfig files are ~/fonts.conf and >> /etc/fonts/fonts.conf, any other file is included from there, so may be >> it should check for those two by default (if it doesn't already). > > no, not there but before I even start thinking about adding that we need > to investigate all places as i'm pretty sure that on the mac it's > different (somehow 'standard' in practice is never 'standard') and > there's also the order to consider, one, more, and in what order then What I wrote above is for linux (I assumed the code is checks for OS and sets default font paths), /etc/fonts/font.conf is read first followed by any files included from it, then ~/.fonts.conf so that user can override system settings. (http://www.fontconfig.org/fontconfig-user.html has more details) Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer 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 ___
Re: [NTG-context] Linux Libertine type
On Thu, Jul 23, 2009 at 08:34:43PM +0530, Derek CORDEIRO wrote: > P.S. I had to rename the fonts from LinLibertine_Bd-4.1.0.otf to > LinLibertine_Bd.otf Right, this a bug that I discovered while ago but forgot to report, fonts with dots in its name don't get recognised. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer 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 ___
Re: [NTG-context] Hyphenation pattern exceptions (was: I can't change ...)
Mojca Miklavec wrote: We could start collecting exceptions, but I have no idea where/how to do that systematically. just on a garden wiki page and then once per year a submission to pattern writers - 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] Linux Libertine type
Khaled Hosny wrote: On Thu, Jul 23, 2009 at 06:07:37PM +0200, Hans Hagen wrote: Khaled Hosny wrote: On Thu, Jul 23, 2009 at 04:34:37PM +0200, Hans Hagen wrote: Khaled Hosny wrote: ConTeXt doesn't use fontconfig for detecting installed fonts, try to set OSFONTDIR to point where your fonts are, then run: mtxrun -script fonts -reload Hans, is it possible to read fontconfig files to detect font directories on linux, it is xml files and we would be interested in and tags only. it does, given that the file can be found someplace in the tree (i added a log message so that one can see of it is found) The standard places for fontconfig files are ~/fonts.conf and /etc/fonts/fonts.conf, any other file is included from there, so may be it should check for those two by default (if it doesn't already). no, not there but before I even start thinking about adding that we need to investigate all places as i'm pretty sure that on the mac it's different (somehow 'standard' in practice is never 'standard') and there's also the order to consider, one, more, and in what order then What I wrote above is for linux (I assumed the code is checks for OS and sets default font paths), /etc/fonts/font.conf is read first followed by any files included from it, then ~/.fonts.conf so that user can override system settings. (http://www.fontconfig.org/fontconfig-user.html has more details) well, even the user file has to be specified so we can - first look for a config file in the tex tree - and if not found then load the etc one i've added some logic to the locator but i didn't not test it (the linux servers are production machines that i don't want to touch and i have no time anyway) 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 ___
[NTG-context] Problems with @incollection
Hi, When I use @incollection{millerIIIa2, title = "Decision problems for groups: survey and reflections", author = "Charles F. {{Miller III}}", year = "1992" } no problem, but when I change to @incollection{millerIIIa2, title = "Decision problems for groups: survey and reflections", author = "Charles F. {{Miller III}}", booktitle = "Algorithms and Classification in Combinatorial Group Theory", year = "1992" } then I receive: ! Extra \endcsname. ...er {}\csname @@p...@pubyear\endcsname )\insertEdition {, }{ ed. }{} \firstoftwoarguments #1#2->#1 ...{}}{)\insertEdition {, }{ ed. }{}}{} \insertpages {\unskip , p \firstoftwoarguments #1#2->#1 \@@pvdataincollection ...p , p.~}{. }{\unskip . }} \insertNote { }{.}{}\unskip \dotypesetapublication ...ve {\getvalue {pbdt-#1}} \fi \egroup ... l.462 \completepublications[criterium=cite] %all per tots I suspect that /usr/share/texmf/tex/context/bib/bibl-ams.tex has an error. Taco can you confirm it. I have MKII. Xan. ___ 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] Hyphenation pattern exceptions (was: I can't change ...)
En/na Mojca Miklavec ha escrit: On Thu, Jul 23, 2009 at 17:42, Xan wrote: En/na Hans Hagen ha escrit: % hyphenating \hyphenation{do-cu-ment} \hyphenation{pro-ble-ma} \hyphenation{es-crip-tu-ra} \hyphenation{ge-ne-ra-lit-za-ció} \hyphenation{cor-res-po-nents} \hyphenation{pa-rells} \hyphenation{ge-ne-rat} % collect these exceptions and send then to mojca or arthur Okay. It's a pleasure to give to you. How can I see what is, if there is, the lists of hyphenated words? best ask mojca or arthur who to contact as they are in charge of pattern management for all tex distributions Okay, In private or public mail? We don't (yet) decide what goes in and what not. If any exception should be added, I would prefer to have author's confirmation (Javier Bezos). See http://www.tex-tipografia.com/spanish_hyphen.html We could start collecting exceptions, but I have no idea where/how to do that systematically. Mojca My hyphens are for Catalan language (ca). It's not spanish language. So I think it's not apply. Or yes? Xan. ___ 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] \index does not behaves correctly with accents
Hi, When I have \index{àrea algebraica d'una paraula}\mysymbol{$area_a(w)$} then context puts me this in "R" entry of index. but when I have \index{\`{a}rea algebraica d'una paraula}\mysymbol{$area_a(w)$} Is it something knew? I have MKII. Xan. PS: Please, CCme. ___ 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] Hyphenation pattern exceptions (was: I can't change ...)
On Thu, Jul 23, 2009 at 20:18, Xan wrote: > > My hyphens are for Catalan language (ca). It's not spanish language. So I > think it's not apply. Or yes? I'm sorry, sorry, sorry ... I only remembered you were from Spain and forgot to think about the fact that not only Spanish is being spoken there, and particulary not where you come from ... In addition to that both languages are similar (and I don't speak either of them). So - Javier, I'm sorry, you should ignore my email. And Xavier - the same applies for Catalan, just that the maintainer is a different one; the contact information for the author of Catalan patterns is in hyph-ca.tex. I've never spoken to him so far. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] New to TeX, ConTeXt - How to conditionally include document sections?
Good day, Please pardon my newness to TeX, ConTeXt, and this list. If I violate list etiquette, I apologize and hope you will let me know. Thank you. I'm attempting to abandon the use of Word for a maintaining a growing set of 30 to 60 page documents that provide information on similar, but not identical, equipment at a range of locations. My idea was to create one ConTeXt project that, depending upon the definition of one string in the project file, appropriately adjusts the resulting document's title and pulls in component "foo" for location "A", "bar" for location "B", etc. My problem is, after playing with if, ifx, and ifcase for some time and digging through all the ConTeXt and TeX documentation I can find, I'm still not understanding how to accomplish the TeX/ConTeXt equivalent of: if equals then do thing 1 ... do thing n else if... I've repeatedly come across information on ifthenelse in LaTeX, and in some quick tests, it does appear to do exactly what I want. However, while I've admittedly only played with LaTeX for a few hours, it seems to make specifying exact formatting somewhat difficult. As I'll be turning these documents into PDFs myself, rather than sending them off to a publisher, that's a concern for me. If someone would please point me to documentation or an example of how to accomplish string comparison based if-thens in ConTeXt, I'd greatly appreciate it. Thank you. -Stephen J. Gadsby, Multimedia Specialist Web & Multimedia Services, Information Technology Millersville University of Pennsylvania, USA ___ 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] New to TeX, ConTeXt - How to conditionally include document sections?
Stephen Gadsby wrote: Good day, Please pardon my newness to TeX, ConTeXt, and this list. If I violate list etiquette, I apologize and hope you will let me know. Thank you. I'm attempting to abandon the use of Word for a maintaining a growing set of 30 to 60 page documents that provide information on similar, but not identical, equipment at a range of locations. My idea was to create one ConTeXt project that, depending upon the definition of one string in the project file, appropriately adjusts the resulting document's title and pulls in component "foo" for location "A", "bar" for location "B", etc. My problem is, after playing with if, ifx, and ifcase for some time and digging through all the ConTeXt and TeX documentation I can find, I'm still not understanding how to accomplish the TeX/ConTeXt equivalent of: if equals then do thing 1 ... do thing n else if... I've repeatedly come across information on ifthenelse in LaTeX, and in some quick tests, it does appear to do exactly what I want. However, while I've admittedly only played with LaTeX for a few hours, it seems to make specifying exact formatting somewhat difficult. As I'll be turning these documents into PDFs myself, rather than sending them off to a publisher, that's a concern for me. \doifelse{stringa}{stringb}{...}{...} in mkiv: syst-aux.mkiv, in mkii: syst-gen.mkii cum suis .. or search the wiki for "doif" If someone would please point me to documentation or an example of how to accomplish string comparison based if-thens in ConTeXt, I'd greatly appreciate it. Thank you. -Stephen J. Gadsby, Multimedia Specialist Web & Multimedia Services, Information Technology Millersville University of Pennsylvania, USA ___ 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 ___ -- - 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] Hyphenation pattern exceptions (was: I can't change ...)
En/na Mojca Miklavec ha escrit: On Thu, Jul 23, 2009 at 20:18, Xan wrote: My hyphens are for Catalan language (ca). It's not spanish language. So I think it's not apply. Or yes? I'm sorry, sorry, sorry ... I only remembered you were from Spain and forgot to think about the fact that not only Spanish is being spoken there, and particulary not where you come from ... In addition to that both languages are similar (and I don't speak either of them). So - Javier, I'm sorry, you should ignore my email. And Xavier - the same applies for Catalan, just that the maintainer is a different one; the contact information for the author of Catalan patterns is in hyph-ca.tex. I've never spoken to him so far. Okay Mojca. The next week I will contact to the maintainer And don't worry I only say it "de buen rollo". Xan. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] New to TeX, ConTeXt - How to conditionally include document sections?
On Thu, 23 Jul 2009, Stephen Gadsby wrote: Please pardon my newness to TeX, ConTeXt, and this list. If I violate list etiquette, I apologize and hope you will let me know. Thank you. Don't worry. Newbie questions are welcome here. I'm attempting to abandon the use of Word for a maintaining a growing set of 30 to 60 page documents that provide information on similar, but not identical, equipment at a range of locations. My idea was to create one ConTeXt project that, depending upon the definition of one string in the project file, appropriately adjusts the resulting document's title and pulls in component "foo" for location "A", "bar" for location "B", etc. My problem is, after playing with if, ifx, and ifcase for some time and digging through all the ConTeXt and TeX documentation I can find, I'm still not understanding how to accomplish the TeX/ConTeXt equivalent of: if equals then do thing 1 ... do thing n else if... ConTeXt has a mechanism called modes that does exactly this. The official documentation is a bit terse, but should give you enough hints to get started. http://pragma-ade.com/general/manuals/mmodes.pdf There are also some hints on the wiki page: http://wiki.contextgarden.net/Modes If someone would please point me to documentation or an example of how to accomplish string comparison based if-thens in ConTeXt, I'd greatly appreciate it. For what you want, modes should be sufficient. If for something else you really want to do string comparisons, ConTeXt provides a bunch of \doifelse commands http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions 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 ___