Re: [NTG-context] man pages for ConTeXt: looking for volunteers
Sietse wrote: > 5. Lastly, I think it would be good to include a standard SEE ALSO > block at the end of each man page, to list all the scripts we have man > pages for. Hans wrote: >> sure, we can add stuff How about this? Compile a ConTeXt file or recompile ConTeXt. Convert LaTeX Babel codes for Greek into UTF-8 ConTeXt TDS Management Tool (aka luatools) Manage the ConTeXt and MetaTeX cache Generate MkII character tables Check ConTeXt file for syntax errors Show International Color Consortium table for a file (See `context`) Create ePub zip file Convenience script for fast directory-changing Collect Flac albums in XML file Inspect and manage the ConTeXt font database A simple Lua-based grep Lists of ConTeXt commands (for text editors) Compile MetaPost to PDF MetaTeX process management Extract `%D`-style documentation from ConTeXt module source files Merge: replace loadmodule(...) calls with module contents Produce files for ConTeXt describing hyphenation patters Inspect metadata and font info of PDFs LuaTeX profiler Rsync helper script MetaTeX factotum: run scripts and get info Convert spelling dictionaries to SciTE Lua format Simple webserver TeXworks startup script Process timing data after `context --timing` run Tools to glob directories into XML Simple unzipper Updating script for ConTeXt minimals, used by first-setup.sh Watch a file for changes ___ 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] Suggestion for bibtex: command to switch between upper and lower case for title
On 25.03.2013 21:05, Hans Hagen wrote: > On 3/25/2013 6:10 PM, Xenia wrote: >> Dear context folks, >> >> I would like to have the possibility to change between upper and lower >> case in titles for bibliography items, e.g. for English and German items. >> This is controlled by the bst-files as described in [1]. But changing >> these files after an update is rather annoying. >> >> Is there maybe even such a function that I do not know? > > whenever you can set a style, you can do this: > > style={\setcharactercasing[WORD]} I don't understand what exactly that does and how to use it. Where do I have to add this line? ___ 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] Suggestion for bibtex: command to switch between upper and lower case for title
On 3/25/2013 6:10 PM, Xenia wrote: Dear context folks, I would like to have the possibility to change between upper and lower case in titles for bibliography items, e.g. for English and German items. This is controlled by the bst-files as described in [1]. But changing these files after an update is rather annoying. Is there maybe even such a function that I do not know? whenever you can set a style, you can do this: style={\setcharactercasing[WORD]} - 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] setups in the latest Context release
Am 25.03.2013 um 18:33 schrieb Devendra Ghate : > Hello Everyone > > I have been using the following setup (provided by Wolfgang on this list) > to format my chapter headings till now. However, it does not work since > I upgraded by context installation today. > > If the entire *\startlinealignment \stoplinealignment* block is > copied outside the setups then it works fine. So the change must > have been in the interface for *setups*. > > Please let me know if there has been a change OR I have made some > kind of mistake. It is a bug but I sent a fix for it to the developer list. 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] structure: project, product, structureresetset, ...
Am 25.03.2013 um 16:29 schrieb Alan BRASLAU : > Hello, > > I have a *project* that consists of a book in 3 volumes. > Each volume is a *part*. > Each volume or part has a (recto-verso) title page. > Each volume or part also has front and back matter: table of contents, > bibliography, index, ... > Each volume or part also has *appendices* > > Thus, I have 3 *products* corresponding to the three volumes. > Each product has *components*: chapters, appendices, ... > > Now, I would like the second volume to know that it is Part II and the third > volume to know that it is Part III. > I would also like to continue the chapter numbering in succession in each > volume: > i.e. 1, 2, 3 in Part I; 4, 5, 6 in Part II; 7, 8, 9 in Part III. > Furthermore, I would like the appendices to do likewise: > i.e. A, B in Part I; C, D, and E in Part II; F in Part III. > > Of course, I need to specify in my *environment* > > \definestructureresetset [default] [0,0] [1] > \setuphead [part] [sectionresetset=default,conversion=Romannumerals] > > But... how do I propagate the numbering from product to product, that is part > to part? > Everything was just fine when all of the parts were collected into a single > product > having a unique front and back matter and all of the appendices at the end... > > It should be simple, but sometimes I fail to see the obvious! :) \startsectionblockenvironment[bodypart] \setupheadnumber[chapter][6] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupheadnumber[chapter][2] \stopsectionblockenvironment \starttext \startbodymatter \chapter{Chapter} \stopbodymatter \startappendices \chapter{Appendix} \stopappendices \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 ___
[NTG-context] setups in the latest Context release
Hello Everyone I have been using the following setup (provided by Wolfgang on this list) to format my chapter headings till now. However, it does not work since I upgraded by context installation today. If the entire *\startlinealignment \stoplinealignment* block is copied outside the setups then it works fine. So the change must have been in the interface for *setups*. Please let me know if there has been a change OR I have made some kind of mistake. Thank you, Devendra Ghate - \startsetups[head:margin] \startlinealignment[left] \startframed [width=1cm, height=3cm, frame=on, align={flushleft,nothyphenated,verytolerant,low}] \headtextcontent \stopframed % \inmargin[location=outer,align={right}]{% \framed[% width=3cm, height=3cm, align={bottom,middle}, frame=on]{\headnumbercontent} } \stoplinealignment \stopsetups \defineheadalternative[margin][renderingsetup=head:margin] \definehead[dchapter][chapter] \setuphead[dchapter][alternative=margin] \starttext \dchapter{Inexpensive Monte Carlo} \stoptext -- Cheers, Devendra. ___ 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] Suggestion for bibtex: command to switch between upper and lower case for title
Dear context folks, I would like to have the possibility to change between upper and lower case in titles for bibliography items, e.g. for English and German items. This is controlled by the bst-files as described in [1]. But changing these files after an update is rather annoying. Is there maybe even such a function that I do not know? Thanks, Xenia [1] http://www.ntg.nl/pipermail/ntg-context/2011/059359.html ___ 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] \startpagefigure[]\stoppagefigure enlarges page by 1 mm
Am 25.03.2013 um 16:25 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > > \startpagefigure[...] ... \stoppagefigure enlarges page by 1 mm in both > directions. It’s 0.25ex on each side. > This is an undesired effect as when the printer has auto-select-page mode on > (which is useful when printing a document with mixed A4 and A3 pages) and an > A4 page (210 x 297 mm) is enlarged to 211 x 298, the printer doesn't > (auto)choose A4 but a nearest BIGGER page (8.5 x 13 in page in my case). The definition of \startpagefigure in page-app.mkiv needs a change because \externalfigureparameter\c!offset uses always the global setting. % \def\page_figures_start[#1][#2]% % {\bgroup %\setupexternalfigure[\v!page:\v!figure][\c!offset=\v!overlay,#2]% %\startTEXpage[\c!offset=\externalfigureparameter\c!offset]% % \externalfigure[#1][\v!page:\v!figure]\ignorespaces} % so we can put some text below the graphic \def\page_figures_start[#1][#2]% {\bgroup \def\currentexternalfigure{\v!page:\v!figure}% \setupcurrentexternalfigure[\c!offset=\v!overlay,#2]% \startTEXpage[\c!offset=\externalfigureparameter\c!offset]% \externalfigure[#1]\ignorespaces} % so we can put some text below the graphic \def\page_figures_start[#1][#2]% {\bgroup \setupexternalfigure[\v!page:\v!figure][\c!offset=\v!overlay,#2]% \startTEXpage[\c!offset=\namedexternalfigureparameter{\v!page:\v!figure}\c!offset]% \externalfigure[#1]\ignorespaces} % so we can put some text below the graphic BTW: You can use \pagefigure[] instead of \startpagefigure[]\stoppagefigure. 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 ___
[NTG-context] structure: project, product, structureresetset, ...
Hello, I have a *project* that consists of a book in 3 volumes. Each volume is a *part*. Each volume or part has a (recto-verso) title page. Each volume or part also has front and back matter: table of contents, bibliography, index, ... Each volume or part also has *appendices* Thus, I have 3 *products* corresponding to the three volumes. Each product has *components*: chapters, appendices, ... Now, I would like the second volume to know that it is Part II and the third volume to know that it is Part III. I would also like to continue the chapter numbering in succession in each volume: i.e. 1, 2, 3 in Part I; 4, 5, 6 in Part II; 7, 8, 9 in Part III. Furthermore, I would like the appendices to do likewise: i.e. A, B in Part I; C, D, and E in Part II; F in Part III. Of course, I need to specify in my *environment* \definestructureresetset [default] [0,0] [1] \setuphead [part] [sectionresetset=default,conversion=Romannumerals] But... how do I propagate the numbering from product to product, that is part to part? Everything was just fine when all of the parts were collected into a single product having a unique front and back matter and all of the appendices at the end... It should be simple, but sometimes I fail to see the obvious! :) Alan ___ 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] \startpagefigure[]\stoppagefigure enlarges page by 1 mm
Hello, \startpagefigure[...] ... \stoppagefigure enlarges page by 1 mm in both directions. This is an undesired effect as when the printer has auto-select-page mode on (which is useful when printing a document with mixed A4 and A3 pages) and an A4 page (210 x 297 mm) is enlarged to 211 x 298, the printer doesn't (auto)choose A4 but a nearest BIGGER page (8.5 x 13 in page in my case). Try the code: t.mkiv \starttext \startpagefigure[A4.pdf]\stoppagefigure \stoptext Is that a wanted behavior? How to avoid enlarging the inserted page? TIA. Best regards, Lukas NB: "This is LuaTeX, Version beta-0.70.2-201214 (TeX Live 2012/W32TeX)" -- 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 244 062 238 Fax: +420 244 461 038 A4.pdf Description: Adobe PDF document t.mkiv Description: Binary data t.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] command reference (was: upto current)
Hi All, I agree that for the command reference should be fairly output format free, but we have to keep in mind we will need a unified look for: 1) Wiki 2) PDFs Also, we should not forget that we need examples with explanations. regards Keith. Am 22.03.2013 um 17:07 schrieb Sietse Brouwer : >> Peter wrote: >>> What about one lua table per command? >>> See also: >>> - http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/ > > NB1: I waffled a lot about wiki templates in the previous e-mail, but > of course it is also an option to use the Lua tables format and store > those files on the wiki. That gives us the visibility and editability > of the wiki without binding us to the wiki template format. ___ 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] command reference (was: upto current)
Hi Peter, All, Sorry for the late reply. As such looks good! I have no preferences, as to the formats, that is something the community or those involved should decide. regards Keith. Am 22.03.2013 um 09:26 schrieb Peter Münster : > Hi Keith, > > What about one lua table per command? > See also: > - http://meeting.contextgarden.net/2010/talks/2010-09-14-peter-referencelua/ > - http://thread.gmane.org/gmane.comp.tex.context.devel/1507 > - https://foundry.supelec.fr/scm/viewvc.php/context-commands/?root=contextman > ___ 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] Hiding text
Hello, thanks H&W - both solutions are useful. Lukas On Fri, 22 Mar 2013 18:18:00 +0100, Hans Hagen wrote: \def\starthidden#1\stophidden{} \usemodule[annotation] \defineannotation[Hidden][alternative=none] \starttext A \Hidden{B} C A \startHidden B\stopHidden C \stoptext -- 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 244 062 238 Fax: +420 244 461 038 ___ 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] upto current
Hi Bill, Am 22.03.2013 um 15:19 schrieb Bill Meahan : > On 03/22/2013 03:31 AM, Keith J. Schultz wrote: >> Hi All, >> >> Maybe, we could setup a collaborative work group to do the documentation. >> >> That is a group of us are responsible for certain groups of commands. This >> way >> the manuals can become more complete. That way some of the more advance >> stuff that is hardly documented finally gets documented. >> >> What we would need is a specification for: >> [snip] > In 45+ years of programming[1] it has never ceased to amaze me how the wheel > has to be reinvented for every new system whether language, macro package or > whatever. Why do it again? Why not adopt some documentation system that is > already widely-used and for which infrastructure and knowledge of use is > already in place? I agree with your statement fully. Specification is a loaded word, too! What I was trying to say that we need convention how things are to be laid out! Setting up, maybe, a module to facilitate a common look. Otherwise the manuals will be a mess of styles and clarity. > I have no investment in any particular system. I'm happily generating other > types of non-computer-related documents using reStructuredText since I can > easily convert that various publication formats as required without separate > source files for each format. It seems to me docutils has everything that > would be needed to document ConTeXt and is very widely used given the > popularity of Python (which makes me cringe). If doxygen or something else > would work better, so be it. The point is, **use something that exists > instead of expending time and effort reinventing the wheel yet again!** I was thinking of using ConTeXt! > > [1] I was, am and will be a "programmer" and not a "software developer" or > "software engineer." The term adequately depicts what I did/do while the > others are simply too pretentious. Find the old article "Real Programmers > Don't Use Pascal" in an archive somewhere -- I've been a "real programmer" > and I suspect Hans is, too. :) > > Sorry for the rants but it is so frustrating to have to install so many > different language support and documentation systems simply because I use > FOSS tools exclusively. No Problem. regards Keith. ___ 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 ___