Re: [NTG-context] bug in hyphenation?
Hi Pablo, Are you able to avoid \hsize in favour of something like start/stopnarrower? \setuppapersize[A8] \starttext \startnarrower[-left] \startlinenumbering sentence sentence sentence \stoplinenumbering \stopnarrower \startnarrower[-left] sentence sentence sentence \stopnarrower \stoptext Also, note that the first \hsize\zeropoint has no visible effect: \setuppapersize[A8] \starttext \startlinenumbering %\hsize\zeropoint ... \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 ___
[NTG-context] Use url to hyperlink bibliography title
Hi List, How do you make a hyperlink for a bibtex entry's title using the entry's URL? The bibtex entries include articles, techreports, inproceedings, books, and so forth. I can work around the issue by duplicating the URL as follows. For example, save this as sources.bib: @inproceedings{schryen@security, author={Schryen, Guido and Rich, Eliot}, title={\bibhref{Increasing software security through open source or closed source development? Empirics suggest that we have asked the wrong question}{http://epub.uni-regensburg.de/21293/}}, booktitle={Proceedings of the 2010 43rd Hawaii International Conference on System Sciences}, series={HICSS '10}, year={2010}, isbn={978-0-7695-3869-3}, pages={1--10}, numpages={10}, doi={10.1109/HICSS.2010.228}, acmid={1748219}, publisher={IEEE Computer Society}, address={Washington, DC, USA}, url={http://epub.uni-regensburg.de/21293/}, } Here is a short example that uses the sources.bib file: \setupbibtex[database=sources] \setuppublications[ alternative=num, sorttype=cite, ] % Superscript citation cross-references. \setupcite[num][ left=\raisebox{1ex}\hbox\bgroup\tfxx, right=\egroup, ] \definecolor[WPexternal][h=B93507] \setupinteraction[ state=start, ] \def\WPHyperlink{% \setupinteraction[ style=normal, color=WPexternal, ]% } \define[2]\bibhref{% \WPHyperlink {\goto{#1}[url(#2)]}% } \starttext \startbodymatter \startchapter[title={Title},] \startsection[title={Transparency}] The complete source code is open for analysis and development.\cite[schryen@security] \stopsection \stopchapter \stopbodymatter \startbackmatter \completepublications[criterium=text] \stopbackmatter \stoptext The title is hyperlinked, but mixes presentation with content and duplicates the URL. Note that the colour is also changed to match the other external links in the document. Thank you. ___ 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] Gallery of fonts
Hello, I (partially) succeeded with creation of the font showcase; the script attached generates simple preview of how the font looks. If anyone interested, the result (~2.2 MB) may be downloaded from: http://leteckaposta.cz/309703124 (The link will be valid for about 1 month from now.) Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038 FontShow.cld 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 ___
[NTG-context] can not get colums to work
Hi, The below contex document generates a pdf when the \startcolumns and\stopcolums directives are commented out, when they are active it dies on me. I probably am doing something stupid here, but have no idea what, here is the tex and below is the error: ## TEX start head[section][style=\bfa] \setupbodyfontenvironment[default][em=italic] \setuppapersize[A5] \starttext \startsection[title={Testing ConTeXt}] \startcolumns I would say to the House, as I said to those who have joined this Government, I have nothing to offer but blood, toil, tears and sweat. We have before us an ordeal of the most grievous kind. We have before us many long months of toil and struggle. You ask what is our policy. I will say, it is to wage war with all our might, with all the strength that God can give us, to wag war against a monstrous tyranny never surpassed in the dark, lamentable catalogue of human crime. You ask what is our aim? I can answer in one word: Victory. Victory at all costs. Victory in spite of all terror. Victory however long and hard the road may be. For without victory there is no survival. hello there \stopcolumns This is my {\em first} ConTeXt document. \stopsection \stoptext ### ERROR start marcmac:hello ms4720$ context hello_utf8.tex mtx-context | run 1: luatex --fmt=/Users/ms4720/context/tex/texmf-cache/luatex-cache/context/\ 5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en --jobname=hello_utf8 --lua=/Users/ms4720/context/tex/texmf-cache/luatex-cache/context/\ 5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui --no-parse-first-line --c:currentrun=1 --c:fulljobname=./hello_utf8.tex --c:input=./hello_utf8.tex --c:kindofrun=1 --c:maxnofruns=8 cont-yes.mkiv This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) \write18 enabled. (/Users/ms4720/context/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.01.03 00:40 MKIV current fmt: 2014.9.9 int: english/english system 'cont-new.mkiv' loaded (/Users/ms4720/context/tex/texmf-context/tex/context/base/cont-new.mkiv) system files jobname 'hello_utf8', input './hello_utf8', \ result 'hello_utf8' fontslatin modern fonts are not preloaded languageslanguage 'en' is active (/Users/ms4720/work/marquiswhoswho.com/context_demo/hello/hello_utf8.tex{\ /Users/ms4720/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) fontstypescripts unknown library 'loc' {/Users/ms4720/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}\ {/Users/ms4720/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts'fallback modern rm 12pt' is loaded structuresectioning section @ level 3 : 0.0.1 - Testing ConTeXt Underfull \hbox (badness 2269) in paragraph at lines 12--13 [][]\3modern-designsize-12pt-rm-tf-0--0 You ask what is our Underfull \hbox (badness 1546) in paragraph at lines 12--13 \3modern-designsize-12pt-rm-tf-0--0 pol-icy. I will say, it Underfull \hbox (badness 1360) in paragraph at lines 12--13 \3modern-designsize-12pt-rm-tf-0--0 strength that God can Underfull \hbox (badness 2671) in paragraph at lines 12--13 \3modern-designsize-12pt-rm-tf-0--0 give us, to wage war Overfull \hbox (13.80435pt too wide) in paragraph at lines 12--13 \3modern-designsize-12pt-rm-tf-0--0 against a mon-strous tyranny Underfull \hbox (badness 1655) in paragraph at lines 12--13 \3modern-designsize-12pt-rm-tf-0--0 never sur-passed in the Overfull \hbox (6.68115pt too wide) in paragraph at lines 12--13 \3modern-designsize-12pt-rm-tf-0--0 dark, lam-en-ta-ble cat-a-logue columns balanced in '9 ' step(s) mtx-context | fatal error: no return code, message: luatex: execution interruptedmarcmac:hello ms4720$ ___ 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 not get colums to work
On 9/16/2014 7:47 PM, Marc Spitzer wrote: Hi, The below contex document generates a pdf when the \startcolumns and\stopcolums directives are commented out, when they are active it dies on me. I probably am doing something stupid here, but have no idea what, here is the tex and below is the error: ## TEX start head[section][style=\bfa] \setupohead ? \setupbodyfontenvironment[default][em=italic] \setuppapersize[A5] \starttext \startsection[title={Testing ConTeXt}] \startcolumns I would say to the House, as I said to those who have joined this Government, I have nothing to offer but blood, toil, tears and sweat. We have before us an ordeal of the most grievous kind. We have before us many long months of toil and struggle. You ask what is our policy. I will say, it is to wage war with all our might, with all the strength that God can give us, to wag war against a monstrous tyranny never surpassed in the dark, lamentable catalogue of human crime. You ask what is our aim? I can answer in one word: Victory. Victory at all costs. Victory in spite of all terror. Victory however long and hard the road may be. For without victory there is no survival. hello there \stopcolumns This is my {\em first} ConTeXt document. \stopsection \stoptext ### ERROR start marcmac:hello ms4720$ context hello_utf8.tex mtx-context | run 1: luatex --fmt=/Users/ms4720/context/tex/texmf-cache/luatex-cache/context/\ 5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en --jobname=hello_utf8 --lua=/Users/ms4720/context/tex/texmf-cache/luatex-cache/context/\ 5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui --no-parse-first-line --c:currentrun=1 --c:fulljobname=./hello_utf8.tex --c:input=./hello_utf8.tex --c:kindofrun=1 --c:maxnofruns=8 cont-yes.mkiv This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) \write18 enabled. (/Users/ms4720/context/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.01.03 00:40 MKIV current fmt: 2014.9.9 int: english/english can you try a more recent luatex+context combination? - 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 ___