Re: [NTG-context] the new simplefonts stuff
On Thu, 4 Sep 2014 12:24:08 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Below is a short example which shows the different names in a font, as you can see in the output the names in each font are different except from the familyname entry which is the same for all. It just turned up as a blank page here. Weird. So maybe it’s just that one font. Now that you’ve told me that it’s the family name, specifically, I’ve tested with a lot of other fonts and they have worked. Sandra ___ 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] the new simplefonts stuff
On Thu, 04 Sep 2014 08:53:02 -0700, Mica Semrick m...@silentumbrella.com wrote: On Debian, you can try: fc-list : family to list the family name. I was playing with this last night on my Debian Jessie system. The colon is a wildcard operator that will match all fonts on the system. I usually just grep the results for what I need. Of all the ways to find out the family name that has been discussed in this thread, this is one of the quickest ones. Thanks, I'll use it! Sandra ___ 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] Two issues with character alignment
On 9/4/2014 10:58 PM, Maggyero wrote: I have found two issues with character alignment (see the following minimal example): one when \\ is used in a cell instead of \crlf, another one when \high or \low are used in a cell. Is it a bug? \starttext \setupTABLE[% aligncharacter=yes, alignmentcharacter=., align=middle] \subject{Reference} \startTABLE \NC Foo\crlf bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject{Double backslash issue} \startTABLE \NC Foo\\bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject{Sub/superscript issue} \startTABLE \NC Foo\high{bar} \NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \startTABLE \NC Foo\low{bar}\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \stoptext \startTABLE \NC \nocharacteralign Foo\crlf bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject{Double backslash issue} \startTABLE \NC \nocharacteralign Foo\\bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject{Sub/superscript issue} \startTABLE \NC \nocharacteralign Foo\high{bar} \NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \startTABLE \NC \nocharacteralign Foo\low{bar}\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE -- - 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] Etal and bibliography
Hi all, no one on this small issue? Thanks, Flavien. On 26 August 2014 00:06, Flavien Lambert petit.lep...@gmail.com wrote: Hi guys, a quick reminder to ask if someone can bring me some help with the *et al* issue below. Thanks! On 21 August 2014 16:32, Flavien Lambert petit.lep...@gmail.com wrote: Hi, a slight up concerning this question about et al in bibliographies. Best, Flavien. On 13 August 2014 13:52, Flavien Lambert petit.lep...@gmail.com wrote: Sorry about that! In the following example, the number of authors is cut after three but there is no *et al* added. Thanks, F. \definebtxdataset[example] \usebtxdataset[example][test.bib] \definebtxrendering[example][dataset=example,method=local,alternative=apa] \setupbtxlistvariant[etallimit=3,etaldisplay=3,etaltext={\it et al}] \starttext a\cite[example::onnela] \placebtxrendering[example] \stoptext @Article{onnela, author = {J. P. Onnela and D. J. Fenn and S. Reid and M. A. Porter and P. J. Mucha and M. D. Fricker and N. S. Jones}, title = {Taxonomies of networks from community structure}, journal = {Phys. Rev. E}, volume = {86}, number = {3}, pages = {036104}, year = {2012}, entrydate = {2014/07/09}, } On 13 August 2014 12:28, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 13.08.2014 um 05:43 schrieb Flavien Lambert petit.lep...@gmail.com : Hi, I would like to limit the number of authors in bibliographies to one and use *et al*. I read the documentation and tried to use etallimit=1 in \btxrenderinglistvariant without success. What is the exact procedure? Make a minimal 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] multi-colunm table issue
On 9/4/2014 4:24 PM, Thomas De Maet wrote: Hello ! I'm interested for some time (say 2-3 years) in the resolution of a specific bug, described in the documentation here http://wiki.contextgarden.net/TABLE#Multipage_TABLEs as *Beware:*Split tables often begin not on the page (or in the column, if you use them) where they/could/start, but on/in the next one. This is a known limitation due to the complicated calculation of remaining space on the page. That won't become better before this calculations are newly written in Lua. (Said Hans on 2010-09-24.) Simply, do you have any shedule for this issue to be solved ? the rewrite is called extreme tables and is around for a while ... xtable etc - 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] the new simplefonts stuff
Wolfgang's wee bit of code is brilliant for finding out the details of font names. The icing on the cake would be if it printed the details in its own font so we could see what it looked like. But in any case a useful bit of code. Thanks Wolfgang. Best Wishes Keith McKay On 04/09/2014 11:24, Wolfgang Schuster wrote: Am 04.09.2014 um 09:15 schrieb Sandra Snan sandra.s...@idiomdrottning.org: %% Just as a test for \definefontfamily, which works, text shows up in %% DejaVu Serif which is a ttf font. % \definefontfamily [five] [serif] [DejaVu Serif] %% This is what fontforge reports as the family name for %% Baskervaldx-Reg. It works for me, text shows up in Baskervaldx, which %% is an otf font. % \definefontfamily [five] [serif] [Baskervaldx] %% Fontforge called this the ``name for humans'', it didn't fly, text didn't show up: % \definefontfamily [five] [serif] [Baskervaldx Regular] %% This is straight out of the manual, works, text shows up bookman. %% Wanted this look, but with \definefontfamily. % \definetypeface [five] [rm] [serif] [bookman] %% None of these worked. Text doesn't show up at all. % \definefontfamily [five] [rm] [URW Bookman L Light] % \definefontfamily [five] [rm] [urwbookmanlligh] % \definefontfamily [five] [rm] [URWBookmanL-Ligh] % \definefontfamily [five] [rm] [URW Bookman L] \setupbodyfont [five] \starttext Hello, snow! Won't you go, and return in december? \stoptext Below is a short example which shows the different names in a font, as you can see in the output the names in each font are different except from the familyname entry which is the same for all. \definefontfamily [five] [rm] [URW Bookman L] \setupbodyfont [five] \starttext \dolookupfontbyspec{fontname=urwbookman*} \dorecurse{\dolookupnoffound} {\starttabulate[|l|l|] \NC Familyname \EQ \dolookupgetkeyofindex{familyname}{#1} \NC\NR \NC Fontname \EQ \dolookupgetkeyofindex{fontname}{#1} \NC\NR \NC Fullname \EQ \dolookupgetkeyofindex{fullname}{#1} \NC\NR \NC Filename \EQ \dolookupgetkeyofindex{filename}{#1} \NC\NR \NC Rawname\EQ \dolookupgetkeyofindex{rawname}{#1}\NC\NR \stoptabulate \page} \stoptext 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 ___ ___ 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] Etal and bibliography
On 9/5/2014 9:52 AM, Flavien Lambert wrote: Hi all, no one on this small issue? fixed in next beta (was not that small) Thanks, Flavien. On 26 August 2014 00:06, Flavien Lambert petit.lep...@gmail.com mailto:petit.lep...@gmail.com wrote: Hi guys, a quick reminder to ask if someone can bring me some help with the /et al/ issue below. Thanks! On 21 August 2014 16:32, Flavien Lambert petit.lep...@gmail.com mailto:petit.lep...@gmail.com wrote: Hi, a slight up concerning this question about et al in bibliographies. Best, Flavien.. On 13 August 2014 13:52, Flavien Lambert petit.lep...@gmail.com mailto:petit.lep...@gmail.com wrote: Sorry about that! In the following example, the number of authors is cut after three but there is no /et al/ added. Thanks, F. \definebtxdataset[example] \usebtxdataset[example][test.bib] \definebtxrendering[example][dataset=example,method=local,alternative=apa] \setupbtxlistvariant[etallimit=3,etaldisplay=3,etaltext={\it et al}] \starttext a\cite[example::onnela] \placebtxrendering[example] \stoptext @Article{onnela, author = {J. P. Onnela and D. J. Fenn and S. Reid and M. A. Porter and P. J. Mucha and M. D. Fricker and N. S. Jones}, title = {Taxonomies of networks from community structure}, journal = {Phys. Rev. E}, volume = {86}, number = {3}, pages = {036104}, year = {2012}, entrydate = {2014/07/09}, } On 13 August 2014 12:28, Wolfgang Schuster schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote: Am 13.08.2014 um 05:43 schrieb Flavien Lambert petit.lep...@gmail.com mailto:petit.lep...@gmail.com: Hi, I would like to limit the number of authors in bibliographies to one and use /et al/. I read the documentation and tried to use etallimit=1 in \btxrenderinglistvariant without success. What is the exact procedure? Make a minimal example! Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl mailto: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 ___ ___ 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 ___ -- - 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] Bussproofs or derivation trees
Hello again, Temporary I am using a combination of framed and align, see code under. Not a good solution, but solves my current need. Is there an easy way to make an inline baseline shift? I want to make a label for each line, shifted down half a line. -Trond \startlinecorrection \def\borderdt{\mframed[frame=off, topframe=on, bottomframe=on, frameoffset=\dimexpr.254\baselineskip\relax, height=\lineheight ]} \def\borderdttop{\mframed[frame=off, bottomframe=on, frameoffset=\dimexpr.254\baselineskip\relax, height=\lineheight ]} \definehspace[spacedt] [2\emspaceamount] \startformula \startalign \NC \borderdttop{\neg P \vdash \neg Q, P \text{\hspace[spacedt]}} \NC \borderdttop{ \hspace[spacedt] Q, \neg P \vdash \neg Q} \NR \NC \borderdt{(P\pil Q), \neg P} \NC \borderdt{\vdash \neg Q}\NR \NC \borderdt{(P\pil Q)} \NC \borderdt{\vdash (\neg P\pil \neg Q)} \NR \NC \NC \borderdt{\vdash (P\pil Q)\pil (\neg P\pil \neg Q)\pil R} \NR \stopalign \stopformula \stoplinecorrection On Thu, Sep 4, 2014 at 9:11 PM, Trond Thorbjørnsen tthorb+...@gmail.com wrote: Hello, I have searched for a solution for making proof trees, but I have failed to find a working setup. Does anyone know of a solution? I have used bussproofs.sty with LaTeX, and have seen that discussed on this list some years ago: http://www.ntg.nl/pipermail/ntg-context/2010/051489.html (How) can I use this package in ConTeXt? I have also looked at this metapost package, but it seems this package relies deeper on LaTeX: http://tug.ctan.org/graphics/metapost/contrib/macros/drv/drv.mp Have anyone other suggestions? -- Trond Thorbjørnsen ___ 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 ___