Re: [NTG-context] Roman numerals in running heads in frontmatter.
On Mon, 20 Apr 2015 21:27:35 +0200 Pablo Rodriguez wrote: > On 04/20/2015 09:03 PM, John Culleton wrote: > > When I set up running heads in frontmattter > > like this: > > \definestructureconversionset[frontpart:pagenumber][][romannumerals] > > \setupheadertexts > > [{\getmarking[title]}] > > [{\pagenumber}] > > [{\pagenumber}] > > [{\Titlea}] > > (where \Titlea is a string containing the book > > title) everything is fine except the page > > numbers in the running heads are in arabic > > and not roman format. > > On the footers on \title pages the numbers are > > roman as expected.. > > > > How do I fix this? > > Sorry, John, but this is only a guess. > > This might do what you intend: > > \setuppagenumbering[alternative=doublesided, > location=] \def\Titlea{The Book Title} > \definestructureconversionset[frontpart:pagenumber][][romannumerals] > \setupheadertexts > [{\getmarking[title]}] > [pagenumber] > [pagenumber] > [{\Titlea}] > \starttext > \startfrontmatter > \dorecurse{10}{\title{My Chapter > Title}\dorecurse{20}{\input knuth\par}} > \stopfrontmatter \stoptext > > In short, [{\pagenumber}] should read > [pagenumber]. > > Please, provide a minimal sample that shows the > issues you’re confronting with your requiests. > > Just in case it might help, > > > Pablo That was the change I needed. Thanks! -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Updated PDF e-book: "Create Book Covers with Scribus 1.4.5" coming soon at http://www.booklocker.com/! ___ 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] issue with image in an xtable
On 04/21/2015 09:49 AM, Hans Hagen wrote: > On 4/21/2015 6:43 AM, Pablo Rodriguez wrote: >> On 04/21/2015 01:18 AM, Hans Hagen wrote: >>> On 4/20/2015 8:53 PM, Pablo Rodriguez wrote: >>> [...] >>> define invades >> >> What I’m trying to say is that the rows in the sample don’t get extra >> space because of the image and that the image is place over the next >> rows when it is too big for its given space. >> >> This should be the default behaviour, but having an option to activate >> this would be extremely helpful in some scenarios. > > hm, another options we forget about ... clueless about a key/value How about celloverflow=yes or something similar? Many thanks for your help, Pablo -- http://www.ousia.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 ___
Re: [NTG-context] ConTeXt Suite in Windows
On 4/21/2015 9:37 PM, Pablo Rodriguez wrote: On 04/21/2015 09:28 AM, Hans Hagen wrote: On 4/21/2015 6:28 AM, Pablo Rodriguez wrote: [...] In a Win64 computer, I have tested each version (32bit and 64bit) separately. And I got the results you have above. I don’t know what is wrong here. i think you need the 64 on windows 64 ... we identify the platform and bitness and set some paths accordingly (texmf-* paths) Many thanks for your reply, Hans. What I discovered is that --platform=windows lacks the contextjit executable. Is this intended? no, should be there 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] ConTeXt Suite in Windows
On 04/21/2015 09:28 AM, Hans Hagen wrote: > On 4/21/2015 6:28 AM, Pablo Rodriguez wrote: >> [...] >> In a Win64 computer, I have tested each version (32bit and 64bit) >> separately. And I got the results you have above. >> >> I don’t know what is wrong here. > > i think you need the 64 on windows 64 ... we identify the platform and > bitness and set some paths accordingly (texmf-* paths) Many thanks for your reply, Hans. What I discovered is that --platform=windows lacks the contextjit executable. Is this intended? Many thanks for your help, Pablo -- http://www.ousia.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 ___
Re: [NTG-context] \setuphead for all existing sections
> Am 21.04.2015 um 08:55 schrieb Procházka Lukáš Ing. - Pontex s. r. o. > : > > Hello, > > On Tue, 21 Apr 2015 00:38:18 +0200, Wolfgang Schuster > wrote: > >> The \setupheads command is only a synonym for \setuphead but there can be a >> difference between >> >>\setuphead[..,..=..,..] >> >> and >> >>\setuphead[> >> Wolfgang > > confirmed: > > > \setuphead[distance=2in] > > \starttext > \section{Sec} > \subsection{Subsec} > \stoptext > > > the code above doesn't change the section "distance", either. The global setting is ignored because part, chapter and section already have a preset value for the distance key which is used instead of the global value. The section below section (subsection, subsubsection etc.) ignore the global setting as well because subsection inherits the value from section. 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] issue with image in an xtable
On 4/21/2015 6:43 AM, Pablo Rodriguez wrote: On 04/21/2015 01:18 AM, Hans Hagen wrote: On 4/20/2015 8:53 PM, Pablo Rodriguez wrote: [...] This adds the extra space in the two rows that contain the figure. Wouldn’t it be possible that the figure invades the next row instead of adding extra spacing to any row? define invades What I’m trying to say is that the rows in the sample don’t get extra space because of the image and that the image is place over the next rows when it is too big for its given space. This should be the default behaviour, but having an option to activate this would be extremely helpful in some scenarios. hm, another options we forget about ... clueless about a key/value Here you have an otherwise buggy sample (location is wrong) with the image placed over the next rows and beyond: \setupexternalfigures[location=default] \starttext \startxtable[option=stretch] \startxrow \startxcell Second line left\stopxcell \startxcell b\stopxcell \startxcell Second line right\stopxcell \stopxrow \startxrow \startxcell Third Line left\stopxcell \startxcell[ny=2, location=top] \dontleavehmode \externalfigure[cow][height=19mm] \stopxcell \startxcell d\stopxcell \stopxrow \startxrow \startxcell Fourth line left\stopxcell \startxcell h\stopxcell \stopxrow \startxrow \startxcell Fifth line left\stopxcell \startxcell c\stopxcell \startxcell Fifth line right\stopxcell \stopxrow \stopxtable \stoptext forget about location here, it's used for special placements of a single framed (like inframed and such), use align={middle,high} etc for it or the top/bottom keywords - 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] ConTeXt Suite in Windows
On 4/21/2015 6:28 AM, Pablo Rodriguez wrote: On 04/21/2015 01:17 AM, Hans Hagen wrote: On 4/20/2015 9:13 PM, Pablo Rodriguez wrote: Dear list, I have downloaded the ConTeXt Suite (beta from 2015.04.14 18:48)for Win32 and Win64 in my Linux box using: sh ./first-setup.sh --platform=windows --modules=all sh ./first-setup.sh --platform=win64 --modules=all But when I try to run them, I experience the following issues: With the Win32 version, mtxrunjit is found by Windows 7, but contextjit cannot be found. The binary is in its proper path. Withe the Win64 version, contextjit is found, but mtxrunjit cannot be found. In this case, I need to run "mtxrunjit --generate" first, because invoking contextjit gives the following error: mtxrun | unknown script 'context.lua' or 'mtx-context.lua' Why are some binaries found by Windows and others not? don't use a 32/64 mix ... the startup scripts use dll's and look on the path and some consistency is assumed in that lookup Sorry, Hans, I haven’t explained myself accurately. In a Win64 computer, I have tested each version (32bit and 64bit) separately. And I got the results you have above. I don’t know what is wrong here. i think you need the 64 on windows 64 ... we identify the platform and bitness and set some paths accordingly (texmf-* paths) 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 ___