[NTG-context] listalternative and filler throws error
Hi, the following used to work with 2014.02.14 17:07 but a current 2016.05.01 09:52 throws the error: Use of \syst_helpers_set_local_hsize_yes doesn't match its definition \definefiller [myfiller] \setupcombinedlist [content] [alternative=c] \setuplistalternative [c] [filler={\filler[myfiller]}] \starttext \completecontent \chapter{Foo} \stoptext Has the interface changed in the mean time or is it a bug? 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] Duplex printing problem!
On Fri, Apr 15, 2016 at 10:21 AM, Geert Verhaag wrote: > Hi, > > I try something like this: > > Sorry for delay, we were busy with the texlive deadline. -- 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] [SOLVED] searching in subdirectories with project structure
On Fri, Apr 1, 2016 at 11:47 AM, Javier M Mora wrote: > On 31/03/16 09:42, Javier M Mora wrote: > >> On 30/03/16 19:25, Javier M Mora wrote: >> >>> Hi, (this is my first email to the list) >>> >>> I've created a project for my Thesis. The file tree is: >>> >>> /prod_thesis/ >>> /prod_thesis.tex >>> /envi_thesis.tex >>> /comp_chap1/ >>> /comp_chap1.tex >>> /envi_chap1.tex >>> /images/ >>> /image1.jpg >>> /image2.jpg >>> (...) >>> /tables/ >>> /table1.tex >>> /table2.tex >>> (...) >>> Questions: >>> >>> What is the canonical way to keep subdirectories of dependencies in a >>> component? (to be reused later in product compilation) >>> >>> > These are my ideas and my solution (don't hesitate to comment): Sorry for delay, we were busy with the texlive deadline. Thank you for your code. -- 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 ___
[NTG-context] Duplex printing problem!
Hi, I try something like this: *\definepapersize[BOOK][width=270mm,height=195mm]** **\setuppapersize[BOOK][A4,landscape]* while my *\setuplayout* command contains: *location={doublesided,left}* among other settings. I would expect that the BOOK-page on the front and back side would move to the correct corner, but that doesn't seem to happen. Both on the front and back are shifted to the left!? I'would expect them to alter position between left and right! What am I doing wrong? Regards, Gerard Verhaag By the way running context --version yields the following info: mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /home/verhaag/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2013.08.11 20:23 ___ 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] [SOLVED] searching in subdirectories with project structure
On 31/03/16 09:42, Javier M Mora wrote: On 30/03/16 19:25, Javier M Mora wrote: Hi, (this is my first email to the list) I've created a project for my Thesis. The file tree is: /prod_thesis/ /prod_thesis.tex /envi_thesis.tex /comp_chap1/ /comp_chap1.tex /envi_chap1.tex /images/ /image1.jpg /image2.jpg (...) /tables/ /table1.tex /table2.tex (...) Questions: What is the canonical way to keep subdirectories of dependencies in a component? (to be reused later in product compilation) These are my ideas and my solution (don't hesitate to comment): * envi_thesis.tex (environment of product) is the general configuration of all chapters: margin size, styles, fonts, and general definitions. * envi_chap1.tex (environment of component) is specific configuration of a chapter: where the images used are, the title in the header. * If I compile a component, envi_thesis.tex isn't automatically loaded. So, it is necessary include a \environment envi_thesis.tex in each envi_chapter I have. (there is no infinite loop in circular environment calling, because envi_thesis.tex doesn't load component environments) * All information of directories are defined in environment of components, but the reference directory is different when I compile a product than a component. So in envi_chapter.tex I have a structure of \doifmodeelse{*product}{ }{ } So, I keep in only one place directory information regardless I compile a component or a product. My solution: envi_thesis.tex - \startenvironment envi_thesis %% PATHS \usepath[{comp_chapter1,comp_chapter2}] blah blah blah \stopenvironment prod_thesis.tex -- \startproduct prod_thesis \environment envi_thesis blah blah \startbodymatter \component comp_chapter1 \component comp_chapter2 blah blah \stopbodymatter \stopproduct comp_chapter1.tex \startcomponent comp_chapter1 \product prod_thesis \environment envi_chapter1 \chapter{Preprocesado de las piezas} blah blah blah \stopcomponent envi_chapter1.tex - \startenvironment envi_chapter1 \product prod_thesis \environment envi_thesis % <- to get global configuration %% path \usepath[tables] \doifmodeelse{*product} { \setupexternalfigures[directory={comp_chapter1/images}] other conf }{ \setupexternalfigures[directory={images}] other conf } \stopenvironment That's 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] searching in subdirectories with project structure
On 30/03/16 19:25, Javier M Mora wrote: Hi, (this is my first email to the list) I've created a project for my Thesis. The file tree is: /prod_thesis/ /prod_thesis.tex /envi_thesis.tex /comp_chap1/ /comp_chap1.tex /envi_chap1.tex /images/ /image1.jpg /image2.jpg (...) /tables/ /table1.tex /table2.tex (...) /comp_chap2/ /comp_chap2.tex /envi_chap2.tex /images/ /image1b.jpg /image2b.jpg (...) /tables/ /table1b.tex /table2b.tex (...) (...) [...] comp_chap1.tex has: \startcomponent comp_chap1.tex \product prod_thesis \environment envi_chap1 blah blah blah \placefigure[here][fig:img1]{img1}{ \externalfigure[image1.jpg] } blah blah blah \input tables/table1 blah blah blah \stopcomponent First and second answer: \input command is a tex command and inserts file as is. It is possible to use \component inside another component. \component command obey \usepath directive. I can, at this moment, insert tex files into another tex files and keep directory dependences. But Images doesn't work yet. :-( Questions: What is the canonical way to keep subdirectories of dependencies in a component? (to be reused later in product compilation) The question is the same (but now for images only). I thought \usepath was to indicate where look for input files. I have to use "\input tables/table1" to find table 1. \usepath didn't work in envi_chap1.tex. I answered that. \usepath only works with \component, \product, \project and it doesn't work with \input. Cheers. ___ 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] searching in subdirectories with project structure
Hi, (this is my first email to the list) I've created a project for my Thesis. The file tree is: /prod_thesis/ /prod_thesis.tex /envi_thesis.tex /comp_chap1/ /comp_chap1.tex /envi_chap1.tex /images/ /image1.jpg /image2.jpg (...) /tables/ /table1.tex /table2.tex (...) /comp_chap2/ /comp_chap2.tex /envi_chap2.tex /images/ /image1b.jpg /image2b.jpg (...) /tables/ /table1b.tex /table2b.tex (...) (...) envi_chap1.tex has: \startenvironment envi_chap1 \product prod_thesis \usepath[images] \usepath[tables] \stopenvironment comp_chap1.tex has: \startcomponent comp_chap1.tex \product prod_thesis \environment envi_chap1 blah blah blah \placefigure[here][fig:img1]{img1}{ \externalfigure[image1.jpg] } blah blah blah \input tables/table1 blah blah blah \stopcomponent prod_thesis.tex has: \startproduct prod_thesis \environment envi_thesis blah blah blah \component comp_chap1 \component comp_chap2 (...) \stopproduct and finally, envi_thesis.tex has: \startenvironment envi_thesis \usepath[{comp_chap1,comp_chap2}] blah (about styles) blah \stopenvironment If I cd into comp_chap1 dir and exec: texexec -xtx comp_chap1.tex the chapter1 is generated without any problem. All images and tables are inserted ok. But if I cd into prod_thesis and exec: texexec -xtx prod_thesis.tex all images are replace by "dummy images", and tables are not found (raising an error in compilation of document). In prod_thesis compilation (is it correct to say "compilation of document"?), context is looking for file /prod_thesis/tables/table1.tex but isn't not looking in /prod_thesis/comp_chap1/tables/table1.tex. I've created a copy of tables in /prod_thesis/ and document compiled good. But i don't like to pollute prod_thesis directory. Questions: What is the canonical way to keep subdirectories of dependencies in a component? (to be reused later in product compilation) I thought \usepath was to indicate where look for input files. I have to use "\input tables/table1" to find table 1. \usepath didn't work in envi_chap1.tex. Cheers. ___ 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] Luatex 0.90.0 announcement
On 5 May 2016 at 12:18, Mojca Miklavec wrote: > On 29 March 2016 at 18:07, Henman wrote: >> Is the newly released version you mention below, already (or will it be) >> available in the newest stand-alone download for ConteXt? > > Don't you get 0.95.0 already? Which architecture are you interested in? > > It is not impossible that I misconfigured something and the server was > down for quite a while, but if you really need an older version, you > can get it from our SVN (I'll send you a link). I'm sorry. I got that email shown in the inbox because Luigi answered (but I didn't notice Luigi's reply). I only now noticed that the question is old and probably no longer relevant. 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] Luatex 0.90.0 announcement
On Thu, May 5, 2016 at 12:18 PM, Mojca Miklavec < mojca.miklavec.li...@gmail.com> wrote: > On 29 March 2016 at 18:07, Henman wrote: > > Is the newly released version you mention below, already (or will it be) > > available in the newest stand-alone download for ConteXt? > > Don't you get 0.95.0 already? Which architecture are you interested in? > It was an old email... see my answer. -- 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] Luatex 0.90.0 announcement
On 29 March 2016 at 18:07, Henman wrote: > Is the newly released version you mention below, already (or will it be) > available in the newest stand-alone download for ConteXt? Don't you get 0.95.0 already? Which architecture are you interested in? It is not impossible that I misconfigured something and the server was down for quite a while, but if you really need an older version, you can get it from our SVN (I'll send you a link). 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] Luatex 0.90.0 announcement
On Tue, Mar 29, 2016 at 6:07 PM, Henman wrote: > Is the newly released version you mention below, already (or will it be) > available in the newest stand-alone download for ConteXt? Sorry for delay, we were busy with the texlive deadline. Luatex beta-0.90.0 was the release for texlive 2016, but we were able to go until 0.95.0 aka "preview of "1.0 (no more beta). This release should be available now, on the usual server. -- 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] Luatex 0.90.0 announcement
Is the newly released version you mention below, already (or will it be) available in the newest stand-alone download for ConteXt? On 03/29/2016 06:35 AM, luigi scarso wrote: LuaTeX Release 0.90.0 was released 2016032512 ___ 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] alternate to font feature file for glyph substitution ?
Le 5 mai 2016 à 10:55, luigi scarso a écrit : > > > On Thu, Apr 28, 2016 at 4:08 PM, jfbu wrote: > Hi, > > how should I go at the Plain TeX level about implementing > the following glyph substitution which I formerly expressed > in a font feature file: > > Sorru for delay, we were busy due > the texlive deadline. > no problem, thanks. I have since gotten an answer to my question at https://github.com/lualatex/luaotfload/issues/347#issuecomment-215625928 regards Jean-François___ 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] Define font based on language
On Mon, Apr 4, 2016 at 3:17 PM, Michal Ondrejáš wrote: > Hello > > I need some help regarding font definitions. > > Sorry for delay, we were busy with the texlive deadline. -- 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 ___
[NTG-context] Define font based on language
Hello I need some help regarding font definitions. The situation is like this: \definefont [issuefont] [SansRegular at 14pt] {\issuefont \labeltext{issue} \crlf \documentvariable{issue}} I need to get chinese text into the issue variable, but for that I need to change the font. I need something like this: \def\chooseissufont{% \translate [zh={Sim Sun}, en={SansRegular}]} \definefont [issuefont] [\chooseissuefont at 14pt] Using "zh" is ok, I managed to somehow make ConTeXt accept the "zh" language code. It's not perfect but it's for another topic. I get the text in this way, but the sizing doesn't work. The text is too small in all languages. Any dieas Thank you, Michal ___ 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] alternate to font feature file for glyph substitution ?
On Thu, Apr 28, 2016 at 4:08 PM, jfbu wrote: > Hi, > > how should I go at the Plain TeX level about implementing > the following glyph substitution which I formerly expressed > in a font feature file: > > Sorru for delay, we were busy due the texlive deadline. -- 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 ___
[NTG-context] alternate to font feature file for glyph substitution ?
Hi, how should I go at the Plain TeX level about implementing the following glyph substitution which I formerly expressed in a font feature file: languagesystem DFLT dflt; languagesystem latn dflt; feature oneb { sub one by one.ss01; } oneb; The font is Vollkorn, a Plain LuaTeX file which worked in TL2015 would be \input luaotfload.sty \font\x="Vollkorn:script=latn;language=DFLT;+tlig;featurefile=vollkornlua.fff;+oneb;" \x 123 \bye % Local Variables: % TeX-engine: luatex % End: The glyph for digit 1 is modified and picked in stylistic set 1. I don't want to globally switch to that stylistic set, I am only interested into digit 1. My use case is more with LuaLaTeX+fontspec, but if I am explained a Plain LuaTeX approach I can at least forward to Will Robertson who maintains fontspec and cross my fingers that it trickles down back to me at some point via update of fontspec, or luatex, or luaotfload, ... Please CC to me as although I asked for (temporary) list inscription I might not yet be registered. I am aware of https://mailman.ntg.nl/pipermail/ntg-context/2016/083952.html but can't work it out from there. Jean-François ___ 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] Outputting custom types in MKiv bibliography
On Wed, Mar 30, 2016 at 4:17 PM, Mike O'Connor wrote: > Hello, > > I’m trying to create my first publication using ConTeXt mkiv. All going > well except for the bibliography formatting. > > sorry for delay, you email was marked as deferred (new account) and we were busy due the texlive deadline. -- 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 ___
[NTG-context] Outputting custom types in MKiv bibliography
Hello, I’m trying to create my first publication using ConTeXt mkiv. All going well except for the bibliography formatting. Previously I have used LaTeX, standard entry types in BibTeX, and custom output formats using Biblatex. My publication cites lots of historical sources, viz.: (1) Newspaper articles — currently stored as ‘article’ types in BibTex. (2) Archival sources (historic letter, some leather-bound volume, a catalogued box of old photographs, etc.) — currently stored as ‘unpublished’ or ‘misc'. I would prefer to store these (in BibTeX, buffer, lua, or xml) as custom types (eg. ‘newspaper’, ‘archivalItem’), create setups for how they are output and which fields I output. I found a ’newspaper’ type (and other non-BibTeX types) defined in publ-imp-apa.mkiv as: \startsetups btx:apa:list:newspaper \fastsetup{btx:apa:list:article} \stopsetups I hoped this would mean I could output something: Boxing. (1903, September 13). The Sunday Times, p.8 However, if I create an item of type 'newspaper’ and \cite it I get an output of all stored fields: newspaper: [day: 13] [journal: {The Sunday Times}] [month: 09] [pages:8][title: {Boxing.}] [type: newspaper article] [year: 1903] A similar thing happens if I try to cite the standard BibTeX type ‘misc’. If I store the newspaper item as type ‘article’ I get: “Boxing.”, The Sunday Times, 8, 1903. (missing day and month) Is it relevant that there is a problem when I include \showbtxfields[rotation=30] in my document? The resulting table has ‘*’ for fields in ‘article’, ‘book’, ‘demo-a’, ‘demo-b’ but the columns for ‘newspaper’ and ‘misc’ are empty. Any pointers gratefully received. Cheers, Mike O’Connor P.S. I am working in TeXShop on OSX (10.11.3), and it reports: This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2016.3.19 int: english/english ___ 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 ___