Re: [NTG-context] Last names
> Dear all, could you tell me how to prevent a name from being splitted in two > pieces if it is at the end of a line? Just try the non-braking space. http://en.wikipedia.org/wiki/Non-breaking_space ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to place typescripts so that they are globally accessable?
* Hans Hagen [110520 14:42]: > On 20-5-2011 11:27, John Magolske wrote: > >> ~/texmf/type-lemonde.tex >> >> then ran `context --generate` ... but still no luck. > > ~/texmf/tex/context/user/type-lemonde.tex > > it need to be somewhere under ../tex/context (to avoid conflicts with > other macro packages) Yes, that works! Thanks, John -- John Magolske http://B79.net/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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to place typescripts so that they are globally accessable?
On 20-5-2011 11:27, John Magolske wrote: ~/texmf/type-lemonde.tex then ran `context --generate` ... but still no luck. ~/texmf/tex/context/user/type-lemonde.tex it need to be somewhere under ../tex/context (to avoid conflicts with other macro packages) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to place typescripts so that they are globally accessable?
* Jannis Pohlmann [110520 14:20]: > Fri, 20 May 2011 13:58:17 -0700 John Magolske : > > * Jannis Pohlmann [110520 13:48]: > > > Fri, 20 May 2011 13:40:26 -0700 John Magolske : > > > > I've tried several things including: > > > > > > > > ~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex > > > > > > > > ...but can't seem to get anything to work. > > > > > > Just to be sure: did you run "context --generate" after creating > > > that file somewhere? > > > > I did run that command after placing the file in the above location, > > but I'm thinking since TEXMF is not set, ConTeXt doesn't know how to > > find the typescript. > > It's not set here either. Is ~/context your ConTeXt installation > directory? If not then it might be worth trying a standard directory > like ~/texmf instead (or ~/texmf/tex/context/base/ in your case). I > always put my modifications into ~/texmf, run context --generate and it > works. Yes, ~/context is my ConTeXt installation directory. I placed the typescript in ~/texmf like so: ~/texmf/type-lemonde.tex then ran `context --generate` ... but still no luck. John -- John Magolske http://B79.net/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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to place typescripts so that they are globally accessable?
On Fri, 20 May 2011 13:58:17 -0700 John Magolske wrote: > * Jannis Pohlmann [110520 13:48]: > > Fri, 20 May 2011 13:40:26 -0700 John Magolske > > wrote: > > > I've tried several things including: > > > > > > ~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex > > > > > > ...but can't seem to get anything to work. > > > > Just to be sure: did you run "context --generate" after creating > > that file somewhere? > > I did run that command after placing the file in the above location, > but I'm thinking since TEXMF is not set, ConTeXt doesn't know how to > find the typescript. It's not set here either. Is ~/context your ConTeXt installation directory? If not then it might be worth trying a standard directory like ~/texmf instead (or ~/texmf/tex/context/base/ in your case). I always put my modifications into ~/texmf, run context --generate and it works. - Jannis ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to place typescripts so that they are globally accessable?
* Jannis Pohlmann [110520 13:48]: > Fri, 20 May 2011 13:40:26 -0700 John Magolske wrote: > > I've tried several things including: > > > > ~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex > > > > ...but can't seem to get anything to work. > > Just to be sure: did you run "context --generate" after creating > that file somewhere? I did run that command after placing the file in the above location, but I'm thinking since TEXMF is not set, ConTeXt doesn't know how to find the typescript. John -- John Magolske http://B79.net/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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to place typescripts so that they are globally accessable?
On Fri, 20 May 2011 13:40:26 -0700 John Magolske wrote: > I'm using MkIV installed from minimals, and have set up a typescript > (type-lemonde.tex) for a font I'm using. It works fine when I copy > type-lemonde.tex into the working directory, but I'd like to have > it in one central location rather than having to copy it around to > multiple project directories. I see: > > 1. Copy the typescript files into either > $TEXMF/tex/texmf-fonts/tex/context/user > $TEXMF/tex/texmf-project/tex/context/user > http://wiki.contextgarden.net/Fonts_in_LuaTeX > > But `echo $TEXMF` comes up blank. What should TEXMF be set to? > Is $TEXMF the same as the "ConTeXt path" mentioned here: > > A typescript must live in your project folder or in another folder > in your ConTeXt path (e.g., (texmf)/tex/context/user) > http://wiki.contextgarden.net/TypeScripts > > I've tried several things including: > > ~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex > > ...but can't seem to get anything to work. Just to be sure: did you run "context --generate" after creating that file somewhere? - Jannis ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Where to place typescripts so that they are globally accessable?
I'm using MkIV installed from minimals, and have set up a typescript (type-lemonde.tex) for a font I'm using. It works fine when I copy type-lemonde.tex into the working directory, but I'd like to have it in one central location rather than having to copy it around to multiple project directories. I see: 1. Copy the typescript files into either $TEXMF/tex/texmf-fonts/tex/context/user $TEXMF/tex/texmf-project/tex/context/user http://wiki.contextgarden.net/Fonts_in_LuaTeX But `echo $TEXMF` comes up blank. What should TEXMF be set to? Is $TEXMF the same as the "ConTeXt path" mentioned here: A typescript must live in your project folder or in another folder in your ConTeXt path (e.g., (texmf)/tex/context/user) http://wiki.contextgarden.net/TypeScripts I've tried several things including: ~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex ...but can't seem to get anything to work. Thanks for any help, John -- John Magolske http://B79.net/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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bibliography: current status, Wiki page Bibliography, [[error 2]] and bibltx
Am Freitag, den 20.05.2011, 14:04 -0300 schrieb George N. White III: > On Fri, May 20, 2011 at 12:50 PM, Paul Menzel wrote: > > I am trying to use the module bib, but I only get [[error 2]] displayed. > > I see the same result from "context bibtest". > > I was just trying the bib support with a fresh "minimals". At some > point, I read that the bib module is no longer needed, so I tried > without the \usemodule lines and got the same result. Then I replaced > the \completepublications and get something better, but ref. [1] is > blank: > > %orig: \usemodule[bib] > %orig: \usemodule[bibltx] > \setupbibtex[database=sample] > \setuppublications[numbering=yes] % Show reference numbers in the > generated list. > > \starttext > As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program. > > \placepublications[criterium=all] > %orig:\completepublications > \stoptext Thank you very much for this hint. I am getting the same result as you. Everything works but the listing of all entries. […] > > I copied the file `sample.bib` > > > >@STRING{hh = {Hans Hagen}} > > > >@ELECTRONIC{hh2010, > > author = hh, > > year = {2010}, > > title = {Metafun. \CONTEXT\ mkiv}, > > url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, > >} I am guessing that `@ELECTRONIC` is the problem. > >@ARTICLE{hh2010a, > > author = hh, > > title = {The Font Name Mess}, > > journal = {MAPS}, > > year = {2010}, > > volume = {40}, > > pages = {2-8}, > > keywords = {context}, > >} > > > >@ARTICLE{hh2010b, > > author = hh, > > title = {Grouping in Hybrid Environments}, > > journal = {MAPS}, > > year = {2010}, > > volume = {40}, > > pages = {67-71}, > > keywords = {context}, > >} > > > >@BOOK{Eijkhout1991, > > title = {\TeX\ by Topic. A \TeX nician's Reference}, > > publisher = {Addison-Wesley}, > > year = {1991}, > > author = {Victor Eijkhout}, > > address = {London}, > > keywords = {general}, > >} > > > > from the bib module to the directory. […] If everything is solved I will add a note to the Wiki page stating that in the current ConTeXt version no module is needed and add a link to the mailing list thread. Thanks, Paul > > [1] http://wiki.contextgarden.net/Bibliography > > [2] http://modules.contextgarden.net/bibman > > [3] http://dl.contextgarden.net/modules/bibmod-doc/doc/context/bib/ > > [4] http://wiki.contextgarden.net/Context_2006.04.06 signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] request for a quick & dirty hack: shift accents in compose=yes
On Fri, 20 May 2011, Mojca Miklavec wrote: (Hans already started writing some hooks to adjust accent height, but it would be nice to finish it, so that it could be applied to other exotic fonts.) http://xkcd.com/619/ :) Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] request for a quick & dirty hack: shift accents in compose=yes
Answering myself: I ended up using c\kern-7pt\hbox to 0pt{\textcaron\hss}\kern7pt but it would be nice to add some options to allow fixing fonts on a slightly more user-friendly level. (Hans already started writing some hooks to adjust accent height, but it would be nice to finish it, so that it could be applied to other exotic fonts.) Mojca On Fri, May 20, 2011 at 21:25, Mojca Miklavec wrote: > Hello, > > I'm using a feature "compose=yes" > > \definefontfeature > [default] > [liga=yes,kern=yes,tlig=yes,compose=yes] > > in a handwritten font to get ccarons (font > SnellRoundhandLTStd-Scr.otf). However the carons are placed way off to > the right due to the nature of handwritten font. > > Is there any simple, very-quick-and-dirty way to fix ConTeXt sources > (I need it very soon), so that carons would be placed a bit more to > the left? (I don't mind to do it just for this single document and > then forget about it?) > > Thanks a lot, > Mojca > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] request for a quick & dirty hack: shift accents in compose=yes
Hello, I'm using a feature "compose=yes" \definefontfeature [default] [liga=yes,kern=yes,tlig=yes,compose=yes] in a handwritten font to get ccarons (font SnellRoundhandLTStd-Scr.otf). However the carons are placed way off to the right due to the nature of handwritten font. Is there any simple, very-quick-and-dirty way to fix ConTeXt sources (I need it very soon), so that carons would be placed a bit more to the left? (I don't mind to do it just for this single document and then forget about it?) Thanks a lot, Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] endnotes/critical apparatus
Great! Thanks a lot, Wolfgang! Yet… I have some other questions: - What about a simplified \page inside the lemma (not really common, but anyway…)? Adding \appendtoks\def\page[#1]{}\to\simplifiedcommands is ignored. - How can I tweak the note mechanism to put the apparatus notes inside one single paragraph, concatenated by some arbitrary separator (\quad or -- or something similar)? (Eventually I‘d like the lemmatas which appear on the same page to be grouped in a paragraph) - I guess it should be somewhere in strc-not.mkiv but must have missed it… Thanks again for the effort! Daniel minimal example: \def\doifelsesamepagereference#1#2% {\doifelse {\doifreferencefoundelse{#1}{\currentreferencepage}{-}} {\doifreferencefoundelse{#2}{\currentreferencepage}{+}} } \define[2]\Apparatus {\ifdefined\ApparatusCounter \doglobal\increment\ApparatusCounter \else \doglobal\newcounter\ApparatusCounter \fi \pagereference[apparatus:startpage:\ApparatusCounter]% \startline[apparatus:line:\ApparatusCounter]{#1}\stopline[apparatus:line:\ApparatusCounter]% \pagereference[apparatus:stoppage:\ApparatusCounter] \expanded{ \endnote{ {\bf\at[apparatus:startpage:\ApparatusCounter]% \noexpand\doifelsesamepagereference{apparatus:startpage:\ApparatusCounter}{apparatus:stoppage:\ApparatusCounter}{}{-\at[apparatus:stoppage:\ApparatusCounter]}}% /\noexpand\inline{{}}[apparatus:line:\ApparatusCounter]~% {\noexpand\simplifycommands #1}]~{#2} } }% } \setuplinenumbering[ method=page, distance=0.3em ] \appendtoks\def\blackrule[#1]{}\to\simplifiedcommands \appendtoks \def\crlf{/}\to\simplifiedcommands \appendtoks \def\bf{}\to\simplifiedcommands \appendtoks\def\page[#1]{\textbar\textbar}\to\simplifiedcommands %\setuplabeltext[en][lines=,line=] \setupnote [endnote] [textcommand=\gobbleoneargument, command=\gobbleoneargument, n=2] \starttext \startlinenumbering That’s a \Apparatus{\bf qui\crlf te \page long lemma}{That’s a variant reading…}.\crlf And here comes \Apparatus{another one}{the second one}. \stoplinenumbering \placenotes[endnote] \stoptext Am 19.05.11 23:23, schrieb Wolfgang Schuster: Am 19.05.2011 um 17:42 schrieb Daniel Schopper: > Dear list, > I’m fiddling around with a simple apparatus for critical editions with endnotes. For now this is working ok - but I’m wondering if somebody could advise me on some aspects of it (see below). Here’s a minimal example: > > […] > > Now, this is obviously a really primitive approach (I’m still learning…) which I’d like to improve in some ways: > > - How can I get rid of the blackrule in the apparatus? >\noexpand\let\blackrule[#1]=\noexpand\relax > throws an error (You can't use `macro parameter character #' in vertical mode.) while >\noexpand\let\blackrule=\noexpand\relax > eliminates the rule but simply prints the arguments in the square brackets. (Same holds true for every macro with arguments.) You can use \simplifycommands, see my example below. > - What to do if I’d want to gobble \crlf or \par in the lemma while using them as separators after each apparatus entry? I tried to \let them to \relax, which ends in luatex getting stuck when it tries to import the .en-file. > > - How could I reset gobbled commands like \bf to their original meaning (I’d like to ignore \bf inside a lemma but still be able to have bold page numbers at the beginning of the apparatus entry)? > > I’m sure there are much more elegant ways to do this (probably in lua?), maybe someone could provide me with a hint where to start from? You can use contexts own note mechanism to collect the data and place them later in your document. \define[2]\Apparatus {\ifdefined\ApparatusCounter \doglobal\increment\ApparatusCounter \else \doglobal\newcounter\ApparatusCounter \fi \pagereference[apparatus:page:\ApparatusCounter]% \startline[apparatus:line:\ApparatusCounter]{#1}\stopline[apparatus:line:\ApparatusCounter]% \begingroup\simplifycommands \expanded{\endnote{\at[apparatus:page:\ApparatusCounter]/\noexpand\inline[apparatus:line:\ApparatusCounter]~{#1}]~{#2}}}% \endgroup} \appendtoks\def\blackrule[#1]{}\to\simplifiedcommands \appendtoks \def\crlf{}\to\simplifiedcommands \appendtoks \def\bf{}\to\simplifiedcommands \setuplabeltext[en][lines=,line=] \setupnote [endnote] [textcommand=\gobbleoneargument, command=\gobbleoneargument] \starttext \startlinenumbering That’s a \Apparatus{\bf lemma}{That’s a variant reading…}. \input tufte But then there’s a blackrule \Apparatus{\blackrule[width=5cm]\crlf and a linebreak}{-- which we don’t want to repeat in the apparatus.}. \stoplinenumbering \placenotes[endnote] \stoptext Wolfgang __
Re: [NTG-context] bibliography: current status, Wiki page Bibliography, [[error 2]] and bibltx
On Fri, May 20, 2011 at 12:50 PM, Paul Menzel wrote: > Dear ConTeXt folks, > > > I am trying to use the module bib, but I only get [[error 2]] displayed. I see the same result from "context bibtest". I was just trying the bib support with a fresh "minimals". At some point, I read that the bib module is no longer needed, so I tried without the \usemodule lines and got the same result. Then I replaced the \completepublications and get something better, but ref. [1] is blank: %orig: \usemodule[bib] %orig: \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program. \placepublications[criterium=all] %orig:\completepublications \stoptext > I am following the Wiki page Bibliography [1], which suggests the > following example (adapted by me). > > \usemodule[bib] > \usemodule[bibltx] > \setupbibtex[database=sample] > \setuppublications[numbering=yes] % Show reference numbers in the > generated list. > \starttext > As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric > program. > \completepublications > \stoptext > > I copied the file `sample.bib` > > @STRING{hh = {Hans Hagen}} > > @ELECTRONIC{hh2010, > author = hh, > year = {2010}, > title = {Metafun. \CONTEXT\ mkiv}, > url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, > } > > @ARTICLE{hh2010a, > author = hh, > title = {The Font Name Mess}, > journal = {MAPS}, > year = {2010}, > volume = {40}, > pages = {2-8}, > keywords = {context}, > } > > @ARTICLE{hh2010b, > author = hh, > title = {Grouping in Hybrid Environments}, > journal = {MAPS}, > year = {2010}, > volume = {40}, > pages = {67-71}, > keywords = {context}, > } > > @BOOK{Eijkhout1991, > title = {\TeX\ by Topic. A \TeX nician's Reference}, > publisher = {Addison-Wesley}, > year = {1991}, > author = {Victor Eijkhout}, > address = {London}, > keywords = {general}, > } > > from the bib module to the directory. > > Unfortunately I only get »[[error 2]]« displayed. Please find all files > attached. > > Regarding `bibltx` the bib manual does also contain it [2][3]. Searching > the Wiki for it, it says that it was dropped in version 2006.04.06 [4]. > > > Thanks, > > Paul > > > [1] http://wiki.contextgarden.net/Bibliography > [2] http://modules.contextgarden.net/bibman > [3] http://dl.contextgarden.net/modules/bibmod-doc/doc/context/bib/ > [4] http://wiki.contextgarden.net/Context_2006.04.06 > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > -- George N. White III Head of St. Margarets Bay, Nova Scotia ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] bibliography: current status, Wiki page Bibliography, [[error 2]] and bibltx
Dear ConTeXt folks, I am trying to use the module bib, but I only get [[error 2]] displayed. I am following the Wiki page Bibliography [1], which suggests the following example (adapted by me). \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program. \completepublications \stoptext I copied the file `sample.bib` @STRING{hh = {Hans Hagen}} @ELECTRONIC{hh2010, author = hh, year = {2010}, title = {Metafun. \CONTEXT\ mkiv}, url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, } @ARTICLE{hh2010a, author = hh, title = {The Font Name Mess}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {2-8}, keywords = {context}, } @ARTICLE{hh2010b, author = hh, title = {Grouping in Hybrid Environments}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {67-71}, keywords = {context}, } @BOOK{Eijkhout1991, title = {\TeX\ by Topic. A \TeX nician's Reference}, publisher = {Addison-Wesley}, year = {1991}, author = {Victor Eijkhout}, address = {London}, keywords = {general}, } from the bib module to the directory. Unfortunately I only get »[[error 2]]« displayed. Please find all files attached. Regarding `bibltx` the bib manual does also contain it [2][3]. Searching the Wiki for it, it says that it was dropped in version 2006.04.06 [4]. Thanks, Paul [1] http://wiki.contextgarden.net/Bibliography [2] http://modules.contextgarden.net/bibman [3] http://dl.contextgarden.net/modules/bibmod-doc/doc/context/bib/ [4] http://wiki.contextgarden.net/Context_2006.04.06 bibtest.pdf Description: Adobe PDF document \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=sample] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext As \cite[hh2010b] already indicated, bibtex is a \LaTeX-centric program. \completepublications \stoptext @STRING{hh = {Hans Hagen}} @ELECTRONIC{hh2010, author = hh, year = {2010}, title = {Metafun. \CONTEXT\ mkiv}, url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf}, } @ARTICLE{hh2010a, author = hh, title = {The Font Name Mess}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {2-8}, keywords = {context}, } @ARTICLE{hh2010b, author = hh, title = {Grouping in Hybrid Environments}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {67-71}, keywords = {context}, } @BOOK{Eijkhout1991, title = {\TeX\ by Topic. A \TeX nician's Reference}, publisher = {Addison-Wesley}, year = {1991}, author = {Victor Eijkhout}, address = {London}, keywords = {general}, } signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
On Fri, May 20, 2011 at 12:03, Hans Hagen wrote: > On 20-5-2011 11:53, Mojca Miklavec wrote: >> >> On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: >>> >>> Dear all, could you tell me how to prevent a name from being splitted in >>> two >>> pieces if it is at the end of a line? >> >> \hbox{Some Very Very Very Very Very Long Name} > > A bad suggestion by the hyphenation lady ... how about: > > \setupalign[verytolerant] > > \starttext > \starttabulate[|p(8cm)|p(8cm)|] > \NC \hyphenation{Mi-kla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} > \NC \hyphenation{Mikla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} > \NC \NR > \stoptabulate > \stoptext I'm not sure if he wanted to prevent hyphenation or to prevent to break between two words. Is the following solution: Some~Very~Very~Very~Very~Very~Long~Name combined with \hyphenation{some}\hyphenation{very}\hyphenation{long}\hyphenation{name} also unacceptable? Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
Am 20.05.2011 um 15:15 schrieb Peter Münster: > Steffen Wolfrum writes: > >> \setupTABLE[column][1][width=2.7cm,align={nothyphenated,right}] > > Please don't use align=right, it's so horrible ! ;)) > (the big bug, that'll never be fixed...) ... I love it :o) Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
Steffen Wolfrum writes: > \setupTABLE[column][1][width=2.7cm,align={nothyphenated,right}] Please don't use align=right, it's so horrible ! ;)) (the big bug, that'll never be fixed...) -- Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
Am 20.05.2011 um 13:26 schrieb Peter Münster: > Steffen Wolfrum writes: > >>> \setupTABLE[…][…][align=nothyphenated] >> >> I thought the same, but why does this end in lines that are not only >> nothyphenated but also "not-wrapped"?? > > align={nothyphenated, stretch} or align={nothyphenated, flushleft} can > help here. \setupTABLE[column][1][align=right,width=2.7cm,align=nothyphenated] vs. \setupTABLE[column][1][width=2.7cm,align={nothyphenated,right}] ;o) Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
Am 20.05.2011 um 13:35 schrieb Wolfgang Schuster: > > Am 20.05.2011 um 13:21 schrieb luigi scarso: > >>> \bTD[nr=2] Fachschule (Meister)/höherer Abschluss\eTD >> >> \bTD[nr=2] Fachschule (Meister)\hskip0sp/\hskip0sp höherer Abschluss\eTD > > \bTD[nr=2] Fachschule (Meister)|/|höherer Abschluss\eTD > > or > > “\setbreakpoints[compound]” at the begin of the document. No, this has no effect ... see attached, please: The three words in the first row "Lehre mit Abschluss" are quite uncomplicated (no componds etc.) I can see no reason why this line does not wrap after "mit"? Steffen --- notwrap.pdf Description: Adobe PDF document notwrap.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
Am 20.05.2011 um 13:21 schrieb luigi scarso: >> \bTD[nr=2] Fachschule (Meister)/höherer Abschluss\eTD > > \bTD[nr=2] Fachschule (Meister)\hskip0sp/\hskip0sp höherer Abschluss\eTD \bTD[nr=2] Fachschule (Meister)|/|höherer Abschluss\eTD or “\setbreakpoints[compound]” at the begin of the 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
On Fri, May 20, 2011 at 12:03 PM, Hans Hagen wrote: > On 20-5-2011 11:53, Mojca Miklavec wrote: >> >> On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: >>> >>> Dear all, could you tell me how to prevent a name from being splitted in >>> two >>> pieces if it is at the end of a line? >> >> \hbox{Some Very Very Very Very Very Long Name} > > A bad suggestion by the hyphenation lady ... how about: > > \setupalign[verytolerant] > > \starttext > \starttabulate[|p(8cm)|p(8cm)|] > \NC \hyphenation{Mi-kla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} > \NC \hyphenation{Mikla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} > \NC \NR > \stoptabulate > \stoptext There is also \hyphenchar\font=-1 (which is global) \setupbodyfont[lmroman,10pt] \starttext \vbox{\hsize10cm\hyphenchar\font=-1 \input knuth\relax} \vbox{\hsize10cm\hyphenchar\font="17\input knuth\relax} \stoptext I haven't found it in base/*: maybe it's use is discouraged. -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
Steffen Wolfrum writes: >> \setupTABLE[…][…][align=nothyphenated] > > I thought the same, but why does this end in lines that are not only > nothyphenated but also "not-wrapped"?? align={nothyphenated, stretch} or align={nothyphenated, flushleft} can help here. -- Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
On Fri, May 20, 2011 at 12:57 PM, Steffen Wolfrum wrote: > > Am 20.05.2011 um 12:43 schrieb Wolfgang Schuster: > >> >> Am 20.05.2011 um 12:39 schrieb Steffen Wolfrum: >> >>> btw: >>> >>> is it possible to define eg. one column of a (natural) table to be set >>> *not* hyphenated? >> >> \setupTABLE[…][…][align=nothyphenated] > > > > I thought the same, but why does this end in lines that are not only > nothyphenated but also "not-wrapped"?? > Perhaps because it's a long word ? > \bTD[nr=2] Fachschule (Meister)/höherer Abschluss\eTD \bTD[nr=2] Fachschule (Meister)\hskip0sp/\hskip0sp höherer Abschluss\eTD -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
Am 20.05.2011 um 12:43 schrieb Wolfgang Schuster: > > Am 20.05.2011 um 12:39 schrieb Steffen Wolfrum: > >> btw: >> >> is it possible to define eg. one column of a (natural) table to be set *not* >> hyphenated? > > \setupTABLE[…][…][align=nothyphenated] I thought the same, but why does this end in lines that are not only nothyphenated but also "not-wrapped"?? See example bellow, please. Steffen --- \starttext { \bTABLE[offset=2pt,align={flushleft,high},option=stretch] \setupTABLE[column][1][align=right,width=2.7cm,align=nothyphenated] \setupTABLE[column][each][align=left] \bTR \bTD[nr=2] Lehre mit Abschluss\eTD \bTD Anzahl\eTD \bTD 1\eTD \bTD 23\eTD \bTD 53\eTD \bTD 28\eTD \bTD 27\eTD \bTD 132\eTD \eTR \bTR[background=color,backgroundcolor=gray] \bTD{\,\%}\eTD \bTD 9,1{\kern0.1em}{\%}\eTD \bTD 24,2{\kern0.1em}{\%}\eTD \bTD 53,0{\kern0.1em}{\%}\eTD \bTD 46,7{\kern0.1em}{\%}\eTD \bTD 77,1{\kern0.1em}{\%}\eTD \bTD 43,9{\kern0.1em}{\%}\eTD \eTR \bTR \bTD[nr=2] Fachschule (Meister)/höherer Abschluss\eTD \bTD Anzahl\eTD \bTD 0\eTD \bTD 1\eTD \bTD 2\eTD \bTD 3\eTD \bTD 0\eTD \bTD 6\eTD \eTR \bTR[background=color,backgroundcolor=gray] \bTD{\,\%}\eTD \bTD ,0{\kern0.1em}{\%}\eTD \bTD 1,1{\kern0.1em}{\%}\eTD \bTD 2,0{\kern0.1em}{\%}\eTD \bTD 5,0{\kern0.1em}{\%}\eTD \bTD ,0{\kern0.1em}{\%}\eTD \bTD 2,0{\kern0.1em}{\%}\eTD \eTR \eTABLE } \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
Am 20.05.2011 um 12:39 schrieb Steffen Wolfrum: > btw: > > is it possible to define eg. one column of a (natural) table to be set *not* > hyphenated? \setupTABLE[…][…][align=nothyphenated] 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
Am 20.05.2011 um 12:03 schrieb Hans Hagen: > On 20-5-2011 11:53, Mojca Miklavec wrote: >> On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: >>> Dear all, could you tell me how to prevent a name from being splitted in two >>> pieces if it is at the end of a line? >> >> \hbox{Some Very Very Very Very Very Long Name} > > A bad suggestion by the hyphenation lady ... how about: > > \setupalign[verytolerant] > > \starttext >\starttabulate[|p(8cm)|p(8cm)|] >\NC \hyphenation{Mi-kla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} >\NC \hyphenation{Mikla-vec} \dorecurse{100}{Mojca Miklavec turns > \recurselevel\space} >\NC \NR >\stoptabulate > \stoptext btw: is it possible to define eg. one column of a (natural) table to be set *not* hyphenated? st. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
On 20-5-2011 11:53, Mojca Miklavec wrote: On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: Dear all, could you tell me how to prevent a name from being splitted in two pieces if it is at the end of a line? \hbox{Some Very Very Very Very Very Long Name} A bad suggestion by the hyphenation lady ... how about: \setupalign[verytolerant] \starttext \starttabulate[|p(8cm)|p(8cm)|] \NC \hyphenation{Mi-kla-vec} \dorecurse{100}{Mojca Miklavec turns \recurselevel\space} \NC \hyphenation{Mikla-vec} \dorecurse{100}{Mojca Miklavec turns \recurselevel\space} \NC \NR \stoptabulate \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] t-rst: Unicode character not printed (was: t-filter: no table created when Unicode characters are included)
Hi Paul, On 2011-05-20 <11:24:31>, Paul Menzel wrote: > > I finally had some time to try it out. Unfortunately the α is not > printed either with the test file. Please find the resulting PDF file > attached. of course latin modern doesn’t provide Greek letters yet -- you’ll need to load another font. Closest to lm would be cmu.[1] ··8<· \usetypescriptfile[type-cmu] \usetypescript[computer-modern-unicode] \setupbodyfont[computer-modern-unicode,11pt] \usemodule[rst] \setupTABLE[column][1][background=color,backgroundcolor=gray:2] \setupbodyfontenvironment [default] [em=italic] \starttext There will be a table here. \startRST = = testtable = = α b c d = = \stopRST There was a table before this line. \stoptext ··8<· Thanks anyways for the report! Philipp [1] http://canopus.iacp.dvo.ru/~panov/cm-unicode/ > > • ConTeXt ver: 2011.05.06 16:52 MKIV fmt: 2011.5.7 int: english/english > • context-rst from latest Mercurial branch > > Does it work on your system? > > […] > > > Thanks, > > Paul > > > > [1] https://bitbucket.org/phg/context-rst > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp3zIQJWcHkQ.pgp Description: PGP 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Last names
On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote: > Dear all, could you tell me how to prevent a name from being splitted in two > pieces if it is at the end of a line? \hbox{Some Very Very Very Very Very Long Name} The other question is how to make the rest of text look acceptable. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Last names
Dear all, could you tell me how to prevent a name from being splitted in two pieces if it is at the end of a line? Thanks, -- Flavien. "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Can't show chinese in presentation mode
I have solve the problem already. The presentation mode use bodyfont ss, So the Chinese character could not show. I fixed it by using some other fonts support Chinese. Thanks ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Last names
Dear all, could you tell me how to prevent a name from being splitted in two pieces if it is at the end of a line? Thanks, -- Flavien. "Quantum objects are completely crazy but, at least, they are all crazy in the same way." R.P. Feynman. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] t-rst: Unicode character not printed (was: t-filter: no table created when Unicode characters are included)
Dear Philipp, Am Samstag, den 30.04.2011, 23:00 +0200 schrieb Philipp Gesang: > On 2011-04-29 <23:09:42>, Paul Menzel wrote: > > the filter module installed using > > > > $ ./first-setup.sh --extras="t-filter" > > > > does not work with the following example, which is also attached. > > > > \usemodule[filter] > > \defineexternalfilter[rest][filtercommand={pandoc -f rst -t context > > -o \externalfilteroutputfile\space \externalfilterinputfile}] > > \starttext > > There should be a table here. > > \startrest > > = = > > testtable > > = = > > α b > > c d > > > > \stoprest > > \stoptext > this should now work ootb as inline code with the reST module[1]. > (There was some catcode inconsistency concerning spaces that I > just wiped out.) Usage example appended. I finally had some time to try it out. Unfortunately the α is not printed either with the test file. Please find the resulting PDF file attached. • ConTeXt ver: 2011.05.06 16:52 MKIV fmt: 2011.5.7 int: english/english • context-rst from latest Mercurial branch Does it work on your system? […] Thanks, Paul > [1] https://bitbucket.org/phg/context-rst rstX.pdf Description: Adobe PDF document signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Can't show chinese in presentation mode
On Fri, May 20, 2011 at 01:20:08PM +0800, 王雨施 wrote: > I use simplefonts module to use Chinese. > But when I write the presentation and use --mode=presentation the Chinese > characters do not show. No problem here. Can you provide a minimal example? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___