[NTG-context] problem with externalfigure
Hello, I installed context according to this page on my Fedora 15 system. Installation seems to went well. But after runing context on this document: \starttext \externalfigure[http://donsmaps.com/images7/lucy2reconstsmh.jpg] \stoptext I got this strange output: mtx-context | run 1: luatex --fmt=/var/lib/texmf/luatex-cache/context/254f26b81d3615bc933c9bf20a856557/formats/cont-en --lua=/var/lib/texmf/luatex-cache/context/254f26b81d3615bc933c9bf20a856557/formats/cont-en.lui --backend=pdf ./a.tex This is LuaTeX, Version beta-0.70.1-2012020407 (rev 4277) \write18 enabled. (a.tex ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2012.2.6 int: english/english system cont-new.mkiv loaded (/usr/share/texlive/texmf-dist/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system a.top loaded (a.top) fontslatin modern fonts are not preloaded languageslanguage en is active {/usr/share/texlive/texmf-dist/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) (/usr/share/texlive/texmf-dist/tex/context/base/type-siz.mkiv) (/usr/share/texlive/texmf-dist/tex/context/base/type-otf.mkiv){/usr/share/texlive/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/share/texlive/texmf-dist/fonts/map/dvips/lm/lm-rm.map} fontsvirtual math unable to resolve name mapsfromchar fontsfallback modern rm 12pt is loaded system begin file a.tex at line 1 backend xmp using file '/usr/share/texlive/texmf-dist/tex/context/base/lpdf-pdx.xml' mtx-context | fatal error: no return code, message: luatex: execution interrupted Can enyone advise me what to do? ___ 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] problem with externalfigure
On Wed, Feb 8, 2012 at 9:27 AM, Pavel Dohnal pavel.doh...@twobits.cz wrote: Hello, I installed context according to this page on my Fedora 15 system. which page ? Installation seems to went well. But after runing context on this document: \starttext \externalfigure[http://donsmaps.com/images7/lucy2reconstsmh.jpg] \stoptext it's ok here with the latest beta . -- 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] problem with externalfigure
oh sorry, this page: http://wiki.contextgarden.net/Installation 2012/2/8 luigi scarso luigi.sca...@gmail.com On Wed, Feb 8, 2012 at 9:27 AM, Pavel Dohnal pavel.doh...@twobits.cz wrote: Hello, I installed context according to this page on my Fedora 15 system. which page ? Installation seems to went well. But after runing context on this document: \starttext \externalfigure[http://donsmaps.com/images7/lucy2reconstsmh.jpg] \stoptext it's ok here with the latest beta . -- 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 ___ ___ 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] problem with externalfigure
On Wed, Feb 8, 2012 at 9:50 AM, Pavel Dohnal pavel.doh...@twobits.cz wrote: oh sorry, this page: http://wiki.contextgarden.net/Installation OK, but it's much better http://wiki.contextgarden.net/ConTeXt_Standalone Unix-like platforms (Linux/MacOS X/FreeBSD/Solaris) because mkiv it's under active development. Usually I install everything under e.g /opt/luatex/standalone-2012-02-08/ so I can keep ly 2 or 3 standalone (the last good beta, the new beta and my personal experiments). Usually the new beta become the ok beta after a few days. For beta there is also http://gitorious.org/context -- 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] no liga with Brill font
On 7-2-2012 23:10, Khaled Hosny wrote: On Tue, Feb 07, 2012 at 10:20:55PM +0100, Pablo Rodríguez wrote: Hi there, there is a zero-cost font (not available for commercial works without previous permission) from Brill (http://www.brill.nl/news/brill-typeface). Standard ligatures such as fi and fl don't work: \usemodule[simplefonts] \definefontfeature[default][default][script=latn] \setmainfont[Brill] \starttext fi fl ff ffi ffl \stoptext The glyphs are defined (ff, fi, fl, ffi, ffl), but when I test ligatures with FontForge (Ctrl+K) these glyphs aren't used and single substitution lookups in different subtables are performed for the different ligatures (actually no ligatures are used). The font seems to be using contextual substitution instead of regular ligatures (so the ligature glyphs are not really used, but alternate f’s and i’s etc. are used instead to give the same effect, quite helpful if you want to color only part of the ligature), so you may node to set mode to node: \definefontfeature[default][default][script=latn,mode=node] However, your example works here without any modifications (I added color commands just to showcase the usefulness of this approach). \usemodule[simplefonts] \definefontfeature[default][default][script=latn] \setmainfont[Brill] \def\r#1{\color[red]{#1}} \def\b#1{\color[blue]{#1}} \starttext \r{f}\b{i} \r{f}\b{l} \b{f}\r{f} \b{f}f\r{i} \r{f}\b{f}\r{l} \stoptext Here are two examples from an upcoming manual (about nasty font details ... quite some work so far from ready) \setupbodyfont[dejavu] \starttext \showotfcomposition{name:dejavuserif*default at 24pt}{1}{affiliation} \page \showotfcomposition{name:cambria*default at 24pt}{1}{affiliation} \stoptext Dejavu has real ligatures but cambria has alternate glyphs. Hans - 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] Titles break TikZ
On 7 February 2012 13:06, Philipp A. flying-sh...@web.de wrote: with some recent beta (sorry for vagueness), tikz stopped working after titles. (i use first-setup.sh to install: these are the betas, not something different, right?) I can confirm that this is similar to the problems I am experiencing. The problem was introduced between BETA 2012.01.02 19:23 and BETA 2012.01.11 14:58. (These are based on the gitorious revisions). There were some betas released between these two, but they caused other problems which would stop the document compiling, so I can't narrow it down further. The following files were changed between these two revisions: context\data\scite\lexers\data\scite-context-data-context.lua context\data\scite\scite-context-data-context.properties metapost\context\base\mp-core.mpiv metapost\context\base\mp-grph.mpiv metapost\context\base\mp-tool.mpiv scripts\context\lua\mtx-interface.lua scripts\context\lua\mtx-update.lua tex\context\base\anch-bck.mkvi tex\context\base\anch-pgr.mkiv tex\context\base\anch-pos.mkiv tex\context\base\buff-ini.mkiv tex\context\base\buff-ver.mkiv tex\context\base\colo-ini.lua tex\context\base\colo-ini.mkiv tex\context\base\cont-log.mkiv tex\context\base\cont-new.mkii tex\context\base\cont-new.mkiv tex\context\base\context-version.pdf tex\context\base\context-version.png tex\context\base\context.mkii tex\context\base\context.mkiv tex\context\base\core-def.mkiv tex\context\base\core-mis.mkiv tex\context\base\core-sys.mkiv tex\context\base\font-col.lua tex\context\base\font-ctx.lua tex\context\base\font-ext.lua tex\context\base\font-gds.mkiv tex\context\base\font-run.mkiv tex\context\base\font-tra.mkiv tex\context\base\font-unk.mkiv tex\context\base\grph-fig.mkiv tex\context\base\grph-inc.mkiv tex\context\base\grph-trf.mkiv tex\context\base\lang-def.mkiv tex\context\base\lpdf-ano.lua tex\context\base\luat-mac.lua tex\context\base\lxml-tex.lua tex\context\base\math-ali.mkiv tex\context\base\math-ini.mkiv tex\context\base\meta-ini.mkiv tex\context\base\meta-pag.mkiv tex\context\base\meta-tex.mkiv tex\context\base\mult-aux.mkiv tex\context\base\mult-dim.mkvi tex\context\base\mult-ini.mkiv tex\context\base\mult-low.lua tex\context\base\mult-sys.mkiv tex\context\base\pack-box.mkiv tex\context\base\pack-mrl.mkiv tex\context\base\pack-obj.mkiv tex\context\base\pack-rul.mkiv tex\context\base\page-brk.mkiv tex\context\base\page-imp.mkiv tex\context\base\page-ini.mkiv tex\context\base\page-lay.mkiv tex\context\base\page-mul.mkiv tex\context\base\page-run.mkiv tex\context\base\page-set.mkiv tex\context\base\page-sid.mkiv tex\context\base\page-txt.mkvi tex\context\base\prop-ini.mkiv tex\context\base\s-map-10.mkiv tex\context\base\scrn-but.mkvi tex\context\base\scrn-fld.lua tex\context\base\scrp-ini.mkiv tex\context\base\spac-ali.mkiv tex\context\base\spac-def.mkiv tex\context\base\spac-hor.mkiv tex\context\base\spac-ver.lua tex\context\base\spac-ver.mkiv tex\context\base\status-files.pdf tex\context\base\status-lua.pdf tex\context\base\status-mkiv.lua tex\context\base\status-mkiv.tex tex\context\base\strc-des.mkiv tex\context\base\strc-doc.mkiv tex\context\base\strc-flt.mkvi tex\context\base\strc-itm.mkvi tex\context\base\strc-lst.mkiv tex\context\base\strc-mat.mkiv tex\context\base\strc-ref.lua tex\context\base\strc-ref.mkvi tex\context\base\strc-reg.mkiv tex\context\base\strc-ren.mkiv tex\context\base\strc-sec.mkiv tex\context\base\supp-box.mkiv tex\context\base\supp-num.mkiv tex\context\base\symb-ini.mkiv tex\context\base\syst-aux.mkiv tex\context\base\syst-ini.mkiv tex\context\base\tabl-tbl.mkiv tex\context\base\tabl-xtb.mkvi tex\context\base\type-set.mkiv tex\context\base\type-siz.mkiv tex\context\base\typo-cap.mkiv tex\context\base\typo-cln.lua tex\context\base\typo-cln.mkiv tex\context\base\typo-krn.lua tex\context\base\typo-krn.mkiv tex\context\base\typo-spa.lua tex\context\base\typo-spa.mkiv tex\generic\context\luatex\luatex-fonts-merged.lua The following were added: metapost\context\base\mp-idea.mpiv tex\context\base\font-col.mkvi tex\context\base\font-emp.mkvi tex\context\base\font-ini.mkvi tex\context\base\font-pre.mkiv tex\context\base\spac-lin.mkiv tex\context\base\type-fbk.mkiv tex\context\base\type-ini.mkvi tex\context\bib\backup\sample.bib And the following were removed (actually these are renames of some of the above files): tex\context\base\font-col.mkiv tex\context\base\font-ini.mkiv tex\context\base\type-ini.mkiv I've tried applying the changes individually but I ran into issues with things not being applied in the correct order. If anyone can suggest some files I should look at then I can experiment further. Felix ___ 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 :
Re: [NTG-context] Questions on Table of Contents
On 2012-02-07 Kip Warner k...@thevertigo.com wrote: On Tue, 2012-02-07 at 08:36 +0100, Marco wrote: \setuplist [chapter] [color=yellow, pagecolor=green] \setuplist [section] [color=blue, numbercolor=red] Thanks Marco. Where can I find a list of the parameters relevant to chapter, section, and subsection for \setuplist? Since they are all implemented using the lists mechanism, all parameters of the lists apply. See the manual (http://pmrb.free.fr/contextref.pdf), chapter 12.1 or the wiki. But you're right, neither pagecolor nor numbercolor are mentioned. However, pagestyle and numberstyle are listed. The …style and …color commands always (somebody correct me if there are exceptions) come in pairs. That means you can be almost certain that if a color command works, also a style command will work and vice versa. Marco ___ 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] Titles break TikZ
On 8-2-2012 10:51, Felix Ingram wrote: On 7 February 2012 13:06, Philipp A.flying-sh...@web.de wrote: with some recent beta (sorry for vagueness), tikz stopped working after titles. (i use first-setup.sh to install: these are the betas, not something different, right?) what does 'stop working' mean? some message? - 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] Titles break TikZ
On 8 February 2012 10:24, Hans Hagen pra...@wxs.nl wrote: On 8-2-2012 10:51, Felix Ingram wrote: On 7 February 2012 13:06, Philipp A.flying-sh...@web.de wrote: with some recent beta (sorry for vagueness), tikz stopped working after titles. (i use first-setup.sh to install: these are the betas, not something different, right?) what does 'stop working' mean? some message? Stop Working means no longer get positioned where they should be but still get drawn. In my case all graphics are shifted to the right by Some-Unknown-Distance. In Philipp's case the various graphics parts jump about. (I've seen something similar when drawing multiple nodes). I've included my minimal example below again. I wouldn't say that titles are causing the issue, it just seems to be that the first picture will render okay and then all others from then on will be misplaced. In the example that Philipp gave removing the \section line will still demonstrate the issue. Please let me know if there's any more information that I can provide. Felix \usemodule[tikz] \definefloat[newfloat][newfloats] \setupfloat[newfloat][ rightmargindistance=1cm, maxwidth=0.5cm, ] \startbuffer[myfloat] \placenewfloat[right, none, fit]{}{ \starttikzpicture \node[text width=2cm] {% \color[black]{\tfx\bf I'm the Doctor. Well, they call me the Doctor. I don't know why. I call me the Doctor. I don't know why. } }; \stoptikzpicture } \stopbuffer \starttext \getbuffer[myfloat] The float to the right will be flush with the text \getbuffer[myfloat] The float will now have shifted to the right. \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] Titles break TikZ
On 8-2-2012 12:16, Felix Ingram wrote: On 8 February 2012 10:24, Hans Hagenpra...@wxs.nl wrote: On 8-2-2012 10:51, Felix Ingram wrote: On 7 February 2012 13:06, Philipp A.flying-sh...@web.dewrote: with some recent beta (sorry for vagueness), tikz stopped working after titles. (i use first-setup.sh to install: these are the betas, not something different, right?) what does 'stop working' mean? some message? Stop Working means no longer get positioned where they should be but still get drawn. In my case all graphics are shifted to the right by Some-Unknown-Distance. In Philipp's case the various graphics parts jump about. (I've seen something similar when drawing multiple nodes). I've included my minimal example below again. I wouldn't say that titles are causing the issue, it just seems to be that the first picture will render okay and then all others from then on will be misplaced. In the example that Philipp gave removing the \section line will still demonstrate the issue. Please let me know if there's any more information that I can provide. Interesting is that it matters if one puts colons after words: one % : \pic two: \pic Anyhow, the problem is that tikz messes around with cq. assumes nullfont to be in a certain state which is asking for troubles. In font-set.mkvi there is some provision for this (which I don't like), but anyhow, one can uncomment the \dorecurse line \def\font_preloads_reset_nullfont {\dorecurse\plusseven{\fontdimen\recurselevel\nullfont\zeropoint}% keep en eye on this as: \ctxcommand{resetnullfont()}% in luatex 0.70 this will also do the previous \globallet\font_preloads_reset_nullfont\relax} maybe tikz should push/pop nullfont dimens to be on the safe side as there is no rule against setting nullfont (btw, this problem has shown up before) Hans - 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] Titles break TikZ
On 8 February 2012 13:50, Hans Hagen pra...@wxs.nl wrote: On 8-2-2012 12:16, Felix Ingram wrote: On 8 February 2012 10:24, Hans Hagenpra...@wxs.nl wrote: On 8-2-2012 10:51, Felix Ingram wrote: On 7 February 2012 13:06, Philipp A.flying-sh...@web.de wrote: with some recent beta (sorry for vagueness), tikz stopped working after titles. (i use first-setup.sh to install: these are the betas, not something different, right?) what does 'stop working' mean? some message? Stop Working means no longer get positioned where they should be but still get drawn. In my case all graphics are shifted to the right by Some-Unknown-Distance. In Philipp's case the various graphics parts jump about. (I've seen something similar when drawing multiple nodes). I've included my minimal example below again. I wouldn't say that titles are causing the issue, it just seems to be that the first picture will render okay and then all others from then on will be misplaced. In the example that Philipp gave removing the \section line will still demonstrate the issue. Please let me know if there's any more information that I can provide. Interesting is that it matters if one puts colons after words: one % : \pic two: \pic Anyhow, the problem is that tikz messes around with cq. assumes nullfont to be in a certain state which is asking for troubles. In font-set.mkvi there is some provision for this (which I don't like), but anyhow, one can uncomment the \dorecurse line \def\font_preloads_reset_nullfont {\dorecurse\plusseven{\fontdimen\recurselevel\nullfont\zeropoint}% keep en eye on this as: \ctxcommand{resetnullfont()}% in luatex 0.70 this will also do the previous \globallet\font_preloads_reset_nullfont\relax} maybe tikz should push/pop nullfont dimens to be on the safe side as there is no rule against setting nullfont (btw, this problem has shown up before) Thanks Hans, This is working. (Now I just need to remove all of the fudge factors I added to my template). I've posted a bug report on the PGF/Tikz tracker, so I will add your suggested fix to that and hopefully it will get addressed there. Felix ___ 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] Cross-document referencing not working!
Hi ConTeXt User's, I'm struggling with cross-document referencing, but can't get it working! When I for example use \useexternaldocument[tst][test][A test external] together with \from[tst] the test.pdf file is correctly opened in Acrobat Reader. But the \in{section}[tst::crossref] doesn't open the test.pdf file at all?! The jump to the 'crossref' section doesn't seem to work! Please take a look at the two included test files. I first compile test.tex followed by the compilation of crossref.tex. Currently I use: ConTeXt ver: 2012.01.25 14:16 MKIV fmt: 2012.2.7 int: english/english. Regards, Gerard Verhaag % Test file \setupinteraction [state=start, style=, color=blue, contrastcolor=, menu=on, title=Cross referencing Test External File, author=Gerard Verhaag] \starttext \chapter[cross]{Cross referencing} \section[abc]{Abc} \dorecurse{70} {A test of cross referencing to exernal document!} \section[crossref]{Def} Another section starts right here! \stoptext % Crossref file \setupinteraction [state=start, style=, color=blue, contrastcolor=, menu=on, title=Cross referencing Test File, author=Gerard Verhaag] \starttext \useexternaldocument[tst][test][Een test external] % External file called: test.tex Most \from[tst] from \in{chapter}[tst::crossref]. \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] xtables: vertical stretch
Am 07.02.2012 um 23:11 schrieb Hans Hagen: On 7-2-2012 21:13, Thomas A. Schmitz wrote: On 02/07/2012 09:10 PM, Hans Hagen wrote: I was wondering if it is possible to have some vertical stretch in xtables so they fill the entire page area. I know this sounds a bit bizarre, but it would look good on slides: have an option that will automatically calculate the height of every row as \textheight/x for any x. between rows or within cells? I was thinking of within (calculate height of cell), but between rows would be possible too. the next beta has option=height (controlled by texheight=..) (tested by thomas) xtables only or natural tables too? 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] Titles break TikZ
once again i’m not quite sure what to do as i don’t really understand what’s going on (just ignorance, not your fault, guys ;)) do i get it right that i have to locate “font-set.mkvi” and i will find the following line, in which i have to remove the first “%” sign? {%\dorecurse\plusseven{\fontdimen\recurselevel\nullfont\zeropoint}% keep en eye on this as: 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] Titles break TikZ
On Wed, Feb 8, 2012 at 5:31 PM, Philipp A. flying-sh...@web.de wrote: once again i’m not quite sure what to do as i don’t really understand what’s going on (just ignorance, not your fault, guys ;)) do i get it right that i have to locate “font-set.mkvi” and i will find the following line, in which i have to remove the first “%” sign? {%\dorecurse\plusseven{\fontdimen\recurselevel\nullfont\zeropoint}% keep en eye on this as: yes, and then rebuild the format $ context --generate (to be sure) and $ context --make --all -- 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] xtables: vertical stretch
On 8-2-2012 16:33, Steffen Wolfrum wrote: xtables only or natural tables too? No, these are completely unrelated implementations and I have no plans to extend natural tables (at least not now). Of course you can try what \usemodule[ntb-to-xtb] does with your code (but it's not meant as real replacement). Anyway I'd rather not touch the already rather complex natural table code. Hans - 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] Titles break TikZ
thank you. my install script keeps getting more monstrous: #!/bin/zsh ./first-setup.sh --extras=t-simplefonts,t-tikz,t-filter,t-vim,t-lettrine cd context-rst ./upgrade.sh cd .. . ~/context/tex/setuptex export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts;$HOME/.fonts mtxrun --script fonts --reload #fix tikz fontset=tex/texmf-context/tex/context/base/font-set.mkvi fontsetbak=font-set.mkvi.changed sed s/{%\(dorecurse.*\)/{\1/ $fontset $fontsetbak mv $fontsetbak $fontset context --generate context --make --all ___ 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] Titles break TikZ
On 8-2-2012 18:18, Philipp A. wrote: thank you. my install script keeps getting more monstrous: #!/bin/zsh ../first-setup.sh --extras=t-simplefonts,t-tikz,t-filter,t-vim,t-lettrine cd context-rst ../upgrade.sh cd .. .. ~/context/tex/setuptex export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts;$HOME/.fonts mtxrun --script fonts --reload #fix tikz fontset=tex/texmf-context/tex/context/base/font-set.mkvi fontsetbak=font-set.mkvi.changed sed s/{%\(dorecurse.*\)/{\1/$fontset$fontsetbak mv $fontsetbak $fontset context --generate context --make --all you could copy the macro in cont-new.mkiv Hans - 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 ___
[NTG-context] Manuals in ePub?
Hullo, Now that the user manual is being revised, it would be an excellent opportunity to publish the manual(s) also in ePub. I'd be really happy to see them in that format, so I can read then on my eBook reader in its neat reflowing glory. cheers, Matija -- gsm:+386 41 849 552 www:http://matija.suklje.name xmpp: matija.suk...@gabbler.org sip:matija_suk...@ippi.fr 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] no liga with Brill font
On 02/08/2012 12:19 AM, Khaled Hosny wrote: On Tue, Feb 07, 2012 at 11:41:14PM +0100, Pablo Rodríguez wrote: I'm afraid it doesn't work here either way (using ConTeXt stable from TL2011). ConTeXt in TeXLive is always out of date (for reasons beyond me), so you are better off using ConTeXt minimals distribution (it changed name several times lately and I'm sure what the current name is). Thanks for the reply, Kahled. If I'm not wrong, TeXLive doesn't include beta software (this might be a reasonable choice). So ConTeXt standalone is the way to go (http://wiki.contextgarden.net/ConTeXt_Standalone). Pablo -- http://www.oudeis.tk ___ 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] \footnote and \chapter
Hi Hans, For your information, I just tested the latest beta (ConTeXt ver: 2012.02.08 21:58 MKIV fmt: 2012.2.8) with my usual test suite and found that the following gives an error message: % begin \starttext \chapter{Testing a chapter\footnote{Actually for testing footnotes in a chapter header\dots}} \stoptext %% end Hitting « r » the file typesets, but there is no number in the footnote, and the footnote number in the text is strangely very small. Best regards: OK PS: The error message is: \handlenoteinsert ...enoteitself {#1}{#2}}\egroup \the \everyafternoteinsert... l.7 } \flushnotes ...{structures.notes.flushpostponed()} \global \setfalse \postpon... \endheadplacement ...tionheadbox }\fi \flushnotes \endgraf \ifvmode \ifnum \... \dohandlehead ...mber \placecurrentheadnumbertext \else \placecurrentheadtex... l.5 ...esting footnotes in a chapter header\dots}} ___ 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] Cross-document referencing not working!
On Wed 08 Feb 2012, Verhaag, G.C.H.M. wrote: When I for example use \useexternaldocument[tst][test][A test external] together with \from[tst] the test.pdf file is correctly opened in Acrobat Reader. But the \in{section}[tst::crossref] doesn't open the test.pdf file at all?! The jump to the 'crossref' section doesn't seem to work! Please take a look at the two included test files. I first compile test.tex followed by the compilation of crossref.tex. Currently I use: ConTeXt ver: 2012.01.25 14:16 MKIV fmt: 2012.2.7 int: english/english. I get the same behaviour as you (context MkIV 2011.10.01, Adobe Reader 9.4, Linux) -- reference to file works, reference to section doesn't. But I don't know how to fix it. Pont ___ 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] How to make Figure captions justify if long?
Hello, The title is not self explaining, I'll try to do this. My layout style require that table or figure captions stay centered only if short. If long, it needs that the caption be justified (like normal text, but less width). In LaTeX, I know that this works on article document class, like the pdf file I attached shows. -- Wagner Macedo test.pdf Description: Adobe PDF document ___ 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] How to make Figure captions justify if long?
On 2012-02-08 Wagner Macedo wagnerluis1...@gmail.com wrote: My layout style require that table or figure captions stay centered only if short. If long, it needs that the caption be justified (like normal text, but less width). I don't know if I get you right, but I think you are talking about the width of the caption. It adaptes to the with of the figure. There is the “minwidth” parameter for \setupcaptions, but since the short captions will not be centred it's probably not what you aim for. I don't have a solution, but a workaround that alters the global width setting for an individual caption: \useMPlibrary [dum] \starttext \startplacefigure [title=Foo Bar] \externalfigure [placeholder] \stopplacefigure \setupcaptions [width=.8\textwidth] \startplacefigure [title={\input tufte\par}] \externalfigure [placeholder] \stopplacefigure \setupcaptions [width=fit] \startplacefigure [title=Foo Bar] \externalfigure [placeholder] \stopplacefigure \input knuth \stoptext Marco ___ 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] Questions on Table of Contents
On Wed, 2012-02-08 at 06:38 +0100, Wolfgang Schuster wrote: Am 08.02.2012 um 03:15 schrieb Kip Warner: On Tue, 2012-02-07 at 19:35 +1300, Pontus Lurcock wrote: \placelist[chapter] should do it (untested). One other thing, Pont. How do I add a title such as Contents at a Glance without the actual table of contents including that in the list it generates? Use a unnumbered heading like \title, e.g. \title{Table of contents} \placelist[chapter,section] Thanks Wolfgang and Pont. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com 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] Questions on Table of Contents
On Wed, 2012-02-08 at 11:18 +0100, Marco wrote: Since they are all implemented using the lists mechanism, all parameters of the lists apply. See the manual (http://pmrb.free.fr/contextref.pdf), chapter 12.1 or the wiki. But you're right, neither pagecolor nor numbercolor are mentioned. However, pagestyle and numberstyle are listed. The …style and …color commands always (somebody correct me if there are exceptions) come in pairs. That means you can be almost certain that if a color command works, also a style command will work and vice versa. Marco Thanks Marco. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com 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] How to make Figure captions justify if long?
Thanks by the answer, but I had already thought in this. I would like something more definitive. By the way, at http://wiki.contextgarden.net/Reference/en/setupcaptions I can see a command argument. I was wondering if a custom command can do the trick, but I don't know how I should use this arg and what it is for. -- Wagner Macedo On 8 February 2012 21:43, Marco net...@lavabit.com wrote: I don't know if I get you right, but I think you are talking about the width of the caption. It adaptes to the with of the figure. There is the “minwidth” parameter for \setupcaptions, but since the short captions will not be centred it's probably not what you aim for. I don't have a solution, but a workaround that alters the global width setting for an individual caption: ___ 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] How to make Figure captions justify if long?
Am 09.02.2012 um 02:13 schrieb Wagner Macedo: Thanks by the answer, but I had already thought in this. I would like something more definitive. How about this: \starttext \placefigure[here]{This is just an example for this is just an example for this is just an example for this is just an example for this is just an example for this is just an example for this}{\externalfigure[any][width=0.5\textwidth]} \stoptext --- 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 ___