[NTG-context] Re: context / auctex problem? half-solved

2024-06-18 Thread Jürgen Hanneder via ntg-context
Betreff: [NTG-context] context / auctex problem? An: ntg-context@ntg.nl Cc: Lizardo Reyna Hi, You can update the command for ConTeXt as follows: Graphically: M-x customize-variable *↵* TeX-command-list *↵* find the appropriate section for ConTeXt commands and change

[NTG-context] context / auctex problem?

2024-06-17 Thread Lizardo Reyna via ntg-context
Hi, You can update the command for ConTeXt as follows: Graphically: M-x customize-variable *↵* TeX-command-list *↵* find the appropriate section for ConTeXt commands and change it with (e.g.) "context --purgeall %t" (see attached image). Appl

[NTG-context] Re: Bibliography: separating different kinds of literature OR Sectioning bibliography by type

2024-06-09 Thread Ben Moon via ntg-context
] \definebtxrendering[bibrendering][mybib, aps][dataset=main] \starttext \cite[herbariumathome] \cite[zooniverse_logo] \section{Quellen: Bilder} %\placelistofpublications[bibrendering] \flushbtxrendering [bibrendering] [method=dataset, sorttype=index, filter=match(category:imagelink)] \section{Quellen: Webseiten

[NTG-context] Re: Bibliography: separating different kinds of literature OR Sectioning bibliography by type

2024-06-09 Thread Alan Braslau via ntg-context
-context wrote: > Hey there, > I would like to place a list of bibliography according to types > (article, book, in proceedings) in my document. Similar like here: > https://tex.stackexchange.com/questions/112874/sectioning-bibliography-by-type-with-multiple-types-per-section

[NTG-context] Re: After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread Henning Hraban Ramm
Am 05.06.24 um 16:03 schrieb ai2472206...@yeah.net: As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} \starttext \placecontent% if i dont place toc command , ConText can render it. \chapter{anything else} \section{\cmdi

[NTG-context] After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread ai2472206007
As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} \starttext \placecontent% if i dont place toc command , ConText can render it. \chapter{anything else} \section{\cmdi{with command} section} \section{\cmdii{with command} section

[NTG-context] Bibliography: separating different kinds of literature OR Sectioning bibliography by type

2024-06-04 Thread Ben Moon via ntg-context
Hey there, I would like to place a list of bibliography according to types (article, book, in proceedings) in my document. Similar like here: https://tex.stackexchange.com/questions/112874/sectioning-bibliography-by-type-with-multiple-types-per-section Sectioning bibliography by type

[NTG-context] Re: setuphead in connection with the command argument

2024-06-03 Thread Gerion Entrup
le is applied just to the arguments/macros of the command/the > > alternative? > > And combining alternative and command never make sense. > > The following descriptions applies to most setup commands when exclude > special cases like \setupbodyfont or \setuplayout. > > &g

[NTG-context] Re: Draft vertical text in margins

2024-06-03 Thread ai2472206007
frame=off] \setuptext [style={\ss}] \setuptexttexts [margin] [] [\marginframe{\hbox orientation 1 {DRAFT}}] [\marginframe{\hbox orientation 1 {DRAFT}}] [] \starttext \chapter{C:Some Word} \dorecurse{5}{ \section{S:Some Wo

[NTG-context] Re: setuphead in connection with the command argument

2024-06-02 Thread Wolfgang Schuster
when exclude special cases like \setupbodyfont or \setuplayout. When you make multiple changes to the values of a command with \setuphead [section] [style=bold] and \setuphead [section] [color=blue] you achieve the same result as setting both values at the same time like \setuphead

[NTG-context] Specify separator within setupbtx for custom bibliography rendering

2024-06-01 Thread Gerion Entrup
Hi, according to the section "Custom citation renderings" in the bibliography manual, I have specified an own setup for citation rendering. However, this seems only to work for single citations (of one source). I want to also specify the separator but did not get it to run. Here is

[NTG-context] Re: setuphead in connection with the command argument

2024-06-01 Thread Wolfgang Schuster
example [...] end example Thank you very much! That looks really clean. I will add it to the wiki. Can you bring some clarification regarding "style=", "command=" and "alternative="? 1. Alternatives are the different styles/layouts for the section titles.

[NTG-context] Re: regular expression as lua pattern

2024-05-29 Thread Pablo Rodriguez via ntg-context
On 5/28/24 20:06, Hans Hagen wrote: > On 5/28/2024 6:25 PM, Tomáš Hála wrote: >> Hi Pablo, >> >> unfortunately, that it is not possible: >> >> http://lua-users.org/wiki/PatternsTutorial, section Limitations. > > \starttext > \startTEXpage[pagestate=s

[NTG-context] Re: regular expression as lua pattern

2024-05-29 Thread Henning Hraban Ramm
Am 28.05.24 um 20:06 schrieb Hans Hagen: On 5/28/2024 6:25 PM, Tomáš Hála wrote: Hi Pablo, unfortunately, that it is not possible: http://lua-users.org/wiki/PatternsTutorial, section Limitations. \starttext \startTEXpage[pagestate=start, offset=1em]     \startluacode

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Sylvain Hubert
t; > > \definesectionlevels > > [default] > > [section, subsection, subsubsection, subsubsubsection, > subsubsubsubsection] > > > > \starttext > > \startsectionlevel > > \startsectionlevel > > \startsectionlevel > > \startsectionlevel > &

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Sylvain Hubert
ote: > > ConTeXt LMTX version: 2024.05.27 18:16 > > > > Reproducible example: > > > > \definesectionlevels > > [default] > > [section, subsection, subsubsection, subsubsubsection, > subsubsubsubsection] > > > > \starttext > >

[NTG-context] Re: regular expression as lua pattern

2024-05-28 Thread Hans Hagen
On 5/28/2024 6:25 PM, Tomáš Hála wrote: Hi Pablo, unfortunately, that it is not possible: http://lua-users.org/wiki/PatternsTutorial, section Limitations. \starttext \startTEXpage[pagestate=start, offset=1em] \startluacode local pat = (lpeg.Cmt(lpeg.P

[NTG-context] Re: regular expression as lua pattern

2024-05-28 Thread Pablo Rodriguez via ntg-context
On 5/28/24 18:25, Tomáš Hála wrote: > Hi Pablo, > > unfortunately, that it is not possible: > > http://lua-users.org/wiki/PatternsTutorial, section Limitations. Many thanks for your reply, Tomáš. It is clear to

[NTG-context] Re: regular expression as lua pattern

2024-05-28 Thread Tomáš Hála
Hi Pablo, unfortunately, that it is not possible: http://lua-users.org/wiki/PatternsTutorial, section Limitations. The best, Tomáš On Tue, May 28, 2024 at 06:12:51PM +0200, Pablo Rodriguez via ntg-context wrote: > Dear list, > > I have the following sample: > >

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-28 Thread Denis Maier via ntg-context
Well, you define less levels than you need. Try this : % \definesectionlevels [default] [ %chapter, % uncomment this line to make it work section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] \starttext

[NTG-context] lua error in `strc-lev.lua`

2024-05-28 Thread Sylvain Hubert
ConTeXt LMTX version: 2024.05.27 18:16 Reproducible example: \definesectionlevels [default] [section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] \starttext \startsectionlevel \startsectionlevel \startsectionlevel \startsectionlevel \startsectionlevel \startsectionlevel

[NTG-context] Re: build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread Hans Hagen via ntg-context
] But actually it's not enough : when I add text before the first section, new issues appear. I tried to build a MVE by refactoring and tidying as much as I could. It build 3 comparative pages (i) basic issue, (ii) solution, (iii) remaining issue. Your guidance are most welcome :-) you have to fight

[NTG-context] build_parshape and \getshapetext - need for a deeper understanding

2024-05-19 Thread garulfo
the first section, new issues appear. I tried to build a MVE by refactoring and tidying as much as I could. It build 3 comparative pages (i) basic issue, (ii) solution, (iii) remaining issue. Your guidance are most welcome :-) \setupbodyfont[11pt

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-18 Thread Pablo Rodriguez via ntg-context
On 5/17/24 20:22, madiazm.eo...@gmail.com wrote: > thanks Pablo, but this is strange > [...] > The strange thing is that it is only the first section that > protrudes, the other sections are right (as seen in the link). > Therefore it must not be the code definition, since i

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Hans Hagen via ntg-context
in the "firstHeadings" definitions following your advice and after compiling... the same result. The strange thing is that it is only the first section that protrudes, the other sections are right (as seen in the link). Therefore it must not be the code definition, since in that case all secti

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread madiazm . eoicc
and after compiling... the same result. The strange thing is that it is only the first section that protrudes, the other sections are right (as seen in the link). Therefore it must not be the code definition, since in that case all sections should protrude... Over the weekend I will slowly mo

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Pablo Rodriguez via ntg-context
tle#1% {\setMPtext{FunnyFrame} {\hbox spread 1em{\hss\strut \color[blue]{\tfx Apartado #1}\hss}}} \define[2]\firstHeadings{% \dontleavehmode \switchtobodyfont[miCorm]% \FrameTitle#1% \startFunnyText {\switchtobodyfont[miCorm,20.7pt] #2} \stopFunnyText} \setuphead [s

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread Wolfgang Schuster
#1}\hss}}} \setMPtext{FunnyFrame}{} % initialize the text variable \define[2]\firstHeadings{% \dontleavehmode \switchtobodyfont[miCorm] \FrameTitle#1% \dontleavehmode \startFunnyText {\switchtobodyfont[miCorm,20.7pt] #2} \stopFunnyText } \setuphead [section] [color=blue, command

[NTG-context] Re: Why is only the first frame protruding into the margin?

2024-05-17 Thread madiazm . eoicc
buahhh, I'm on context-on-web too, but I get this protruding... I even tried to put something before the section (letter k in the pdf) to see if the reason was being the frame the first thing on the page, but persists... ... I can't atach my pdf! here the link https://drive.google.com/file

[NTG-context] Why is only the first frame protruding into the margin?

2024-05-16 Thread madiazm . eoicc
{% \dontleavehmode \switchtobodyfont[miCorm] \FrameTitle#1% \dontleavehmode \startFunnyText {\switchtobodyfont[miCorm,20.7pt] #2} \stopFunnyText } \setuphead [section] [color=blue, command=\firstHeadings, indentnext=no] \starttext \noindentation \dontleavehmode \startsection[title=Aspectos generales

[NTG-context] Re: compatibility between \startshapetext and \startsection ?

2024-05-15 Thread Garulfo
Thanks you Wolfgang. If it's not possible to use \blank, it appears that using for example \strut\par\strut\par is OK (but \par\par is not, ) \dorecurse{5}{ \strut\par\strut\par \leftaligned{Title for section{\recurselevel}} \strut\par\strut\par \darkred\input knuth \par \darkblue\input ward

[NTG-context] Re: compatibility between \startshapetext and \startsection ?

2024-05-15 Thread Wolfgang Schuster
seems also to break the shaping) Example : 2 pages without sectioning, and after 2 pages by uncommenting the \startsection and \stopsection commands. [...] \dorecurse{5}{ \startsection[title={Title for section{\recurselevel}}] \darkred\input knuth \par \darkblue\input ward \stopsection

[NTG-context] compatibility between \startshapetext and \startsection ?

2024-05-14 Thread garulfo
,stretch,normal]% \setupindenting[yes,small]% \strut% \reference[myref1]{MyRef1}Here is the first reference.\par See reference \in[myref2] on \at{page}[myref2]\par % \dorecurse{5}{ %\startsection[title={Title for section{\recurselevel}}] \darkred\input knuth \par \darkblue\input ward %\stopsection

[NTG-context] [installation] "unzipping" gives 0K files on windows

2024-05-14 Thread yashpalgoyal1304+ntgcontext
, * but still where is the version number for this latest shown on web? * i am looking for a plaintext way, i.e. which can be accessed from anywhere without any install. * so, it might be via some "Releases" section on an html webpage, or some file like xml, yml, json, etc containing releas

[NTG-context] Switch number and enumeration text

2024-05-03 Thread Jethro Djan
, headcommand=\groupedcommand{}{.}, ] \starttext \chapter{} \section{} \starttheorem This is a theorem \stoptheorem \stoptext Many thanks, Jethro ___ If your question is of interest to others as well, please add an entry

[NTG-context] Re: Font switching for titles and subtitle not working as expected ?

2024-04-30 Thread Wolfgang Schuster
will be accepted. Is this a bug, or am I missing something? When you load a typescript only in a local group (e.g. a section title) you should always load it at the start of the document to avoid such side effects.     \usebodyfont[chorus] % load the chorus typescript     \setupbodyfont

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Henning Hraban Ramm
: * state (start stop): what does this en-/disable? collecting entries? * label (yes no none Name): language dependent labels? as a prefix or what? You can use the key to set language dependent texts for the section counters in the list entry, with "yes" the values from the document

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Wolfgang Schuster
? collecting entries? * label (yes no none Name): language dependent labels? as a prefix or what? You can use the key to set language dependent texts for the section counters in the list entry, with "yes" the values from the document are used but you can also set whatever labe

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
Am 22.04.24 um 18:30 schrieb Duncan Hothersall: Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Duncan Hothersall
Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like this: 1 ... A section A subject rather than 1

[NTG-context] Re: preventing column break after section title

2024-04-18 Thread Peter Münster
On Thu, Apr 18 2024, Peter Münster wrote: > How could I prevent a column break after the second section title please? Ok, found it: \setupitemize[each][autointro] -- Peter ___ If your quest

[NTG-context] preventing column break after section title

2024-04-18 Thread Peter Münster
Hi, How could I prevent a column break after the second section title please? Minimal example: \starttext \startcolumns[n=2] \section{title 1} \dorecurse{22}{bla\par} \section{title 2} % Here starts a new column. \startitemize \dorecurse{15}{\item bla} \stopitemize \stopcolumns

[NTG-context] \getmarking for top at the current page

2024-04-15 Thread Biblio--- via ntg-context
for me. (I'm afraid that \getmarking[xxx][top] was intended for that and it is not feasible at all.) At page 1 the header should read "secA", at page 2 again "secA" (because the very first text belongs to "secA"), and at page 3 "secC" (because the very f

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
nd/ register Command/ rightlabeltext Command/ script Command/ section Command/ seeregister Command/ setupcombinedlist Command/ setupitemgroup Command/ setuplabeltext Command/ setuppairedbox Command/ setupregister Command/ shift Command/ sorting Command/ startattachment Command/ startbackground Command/

[NTG-context] Re: how to apply metapost effects to section title?

2024-04-09 Thread Wolfgang Schuster
for i within tt : pathpart i && endfor cycle withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text

[NTG-context] how to apply metapost effects to section title?

2024-04-09 Thread seyal . zavira
withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text \stopMyhead \stoptext and the code below works but does not colo

[NTG-context] Re: what about "textdisplay"?

2024-04-02 Thread Hans Hagen via ntg-context
feature. When I tried line correction, it never helped; probably I used it wrong (e.g. around section titles). linecorrection is older, textdisplay newer and both are mainly meant to position boxed content (like images) in a way so that spacing looks acceptable ... they are vboxes with spacing

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
helped; probably I used it wrong (e.g. around section titles). I wanted to document it, but can’t find it in the sources: The definition is in spac-ver.mkxl. Thank you! So, "context --find" does not what I thought it would. AFAIR the find option searches only the manual source

[NTG-context] Re: Use of marking

2024-03-21 Thread Thomas Meyer
[sectionnumber] \space - \space \getmarking[section] \stopsetups \setupheadertexts[\setup{doc:header}] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter}] This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \startsection[title={This is my section

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
> On 20 Mar 2024, at 18:45, Andres Conrado Montoya > wrote: > > 2. As far as I have found, including the chapter/section number in the > marking is not really a trivial task. I usually hack something using > \headnumber and \getmarking, like so: You can do the follow

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
As I understand, Thomas needs a layout in which the header shows something like 1. Chapter title -- 1.1. Section title (including the numbers! *This is the important bit!*) There are a couple things about this: 1. In a section (part, chapter, section, etc.) you can introduce three versions

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
\setupheadtext[de][section=Aufgabe] Rename the section, then you don’t need marking. Sorry, I'm in a hurry and must look up how to get the number… Am 20.03.24 um 12:18 schrieb Thomas Meyer: Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" work

[NTG-context] Re: Use of marking

2024-03-20 Thread Thomas Meyer
Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know \setupheadertexts, but do not know what shall I write here: \startsection[titel=Aufgabe, marking=?] If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same. \setuph

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
eadertexts I guess you're using the section level for "Aufgabe"? Then something like {\getmarking{chapter} – \getmarking{section}} might fit your request. The formatting should be possible with \setuphead[chapter,section][numberwidth=2em

[NTG-context] Re: Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 20:35: I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1

[NTG-context] Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Jeroen
I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1. The Third Section ... 2. The Fourth Section

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
d]{\bf #1}\autoinsertnextspace} … \startsection[title=Lists] \TODO{Research the options of \tex{setupitemgroup}!} \stopsection … \startchapter[title=Work list]   Sections that still need work.\blank  \placetodos \stopchapter So I get a prominent marker in the content and the title of the affected section a

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
ution" for this, although I'd prefer something a bit less hacky. Any ideas? Also, is there a way to highlight an equation across an \alignhere? Once again, I've found a "solution", but like before, it's pretty hacky. Example files are attached. Thanks, -- Max \setupindenting[yes, 3em] \setuphe

[NTG-context] Re: How to set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 09.03.2024 um 16:01: How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth

[NTG-context] How to set section title based on section content?

2024-03-09 Thread Joel via ntg-context
How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth } \stopsection \stoptext The event macro runs a bunch

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
Hans Hagen schrieb am 06.03.2024 um 21:38: On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Hans Hagen
On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section in th elow level manual and also explain

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Pablo Rodriguez via ntg-context
e. Many thanks for your reply, Wolfgang. Now I have the minimal sample: \startbuffer[demo] author text \stopbuffer \starttext \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc}{xml:*} \xmlsetsetup{\xmldocument} {(div|section)[@id='h

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
setupinterlinespace[line=3.2ex] \setupitemize[each][margin=yes] \setuphead[title][header=empty] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \setupheadertexts[Utilisation de plusieurs langues dans un même texte avec \ConTeXt][][][{\getmarking[section]}] \setupfootertexts[][][][© J.-P. Delange

[NTG-context] Re: Structuring a magazine or booklet

2024-02-29 Thread Jean-Pierre Delange
://wiki.contextgarden.net/Imposition I'll read and test it. Hi Jean-Pierre, in its simplest form, a booklet may be: \setuppapersize[A4][A3, landscape] \setuparranging[2UP] \starttext \dorecurse{28}{\section{Section}\input zapf} \stoptext I think this seems to be what you may be aiming at. Just in case

[NTG-context] Re: Structuring a magazine or booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
][A3, landscape] \setuparranging[2UP] \starttext \dorecurse{28}{\section{Section}\input zapf} \stoptext I think this seems to be what you may be aiming at. Just in case it might help, Pablo ___ If your question is of int

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
pages > flushing realpage 135, userpage 135, subpage 135 structures > bookmark: Prueba de homogeneidad structure > sectioning > section @ level 3 : 0.7.2 -> Prueba de homogeneidad structures > bookmark: Hipótesis structure > sectioning > subsu

[NTG-context] Re: typing with scite module and escape

2024-02-24 Thread Henning Hraban Ramm
}} \setuptyping[TEX][   option=tex,% scite sets cld   escape=yes, ] \starttext \startTEX \starttext/BTEX\SAY{Text starts here}/ETEX \input tufte \stoptext/BTEX\SAY{Text ends here}/ETEX \stopTEX \stoptext I tried to load the module only in the section where I need it, that lead to strange errors

[NTG-context] Re: manuals

2024-02-18 Thread Jean-Pierre Delange
h the PDF version. I have no idea how this documentation update could be achieved, but the fact is that it would be desirable to devote a section to the purely technical and basic aspects of CTX installation and font availability on Windows, Mac OS, Linux, BSD, etc., with MWEs and examples a l

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
> Am 13.02.2024 um 16:54 schrieb Wolfgang Schuster > : > > Oliver Marugg schrieb am 13.02.2024 um 00:17: >> Hi >> Section numbering does not work until I remove \startbackmatter >> \stopbackmatter. I had a longer text file and I stripped it down until I &

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Wolfgang Schuster
Oliver Marugg schrieb am 13.02.2024 um 00:17: Hi Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this? Greets Oliver Running freshly installed context ARM64 on m1 and updated it via sh install.sh

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
Many thanks Taco, that works indeed;-) > Am 13.02.2024 um 09:29 schrieb Taco Hoekwater : > > > >> On 13 Feb 2024, at 00:17, Oliver Marugg wrote: >> >> Hi >> >> Section numbering does not work until I remove \startbackmatter >> \stopbac

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Taco Hoekwater
> On 13 Feb 2024, at 00:17, Oliver Marugg wrote: > > Hi > > Section numbering does not work until I remove \startbackmatter > \stopbackmatter. I had a longer text file and I stripped it down until I > found this? IIRC : \setupsectionblock[backpart][number=ye

[NTG-context] Section numbering does not work

2024-02-12 Thread Oliver Marugg
Hi Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this? Greets Oliver Running freshly installed context ARM64 on m1 and updated it via sh install.sh on ARM64 macos 14.3.1: context --version

[NTG-context] Re: How to print the book title and section title where \reference is located?

2024-02-09 Thread Bruce Horrocks
uirement A is met in TB, "Cats", p. 11" basically letting the reader know > its in the textbook, section called "Cats", on p. 11. To mark the pages, I'm > simply dropping in macros called "\requirementA" "\requirementB" on whichever > page of whiche

[NTG-context] How to print the book title and section title where \reference is located?

2024-02-06 Thread Joel via ntg-context
chersguide.tex I have to prove to a government agency that the content meets several requirements, so I'm giving them a simple file that says something like "Requirement A is met in TB, "Cats", p. 11" basically letting the reader know its in the textbook, section called "Cats",

[NTG-context] Re: chronological TOC

2024-01-29 Thread jbf
and setup the index at will. Lists have a sort option but this is no use here because you can't use the title to have a chronological sorted list. \starttext \placelist[section][order=title] \section{Hans} \section{Peter} \section{Anton} \stoptext Using the register mechanism as you suggest

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
a way), but for >> special needs I’m (ab)using indexes: >> just add something like \index[2017-04-29]{Speech, Panama City} to your >> chapter command and setup the index at will. > > Lists have a sort option but this is no use here because you can't use the > title

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
-04-29]{Speech, Panama City} to your chapter command and setup the index at will. Lists have a sort option but this is no use here because you can't use the title to have a chronological sorted list. \starttext \placelist[section][order=title] \section{Hans} \section{Peter} \section{Anton

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-28 Thread Wolfgang Schuster
|<>| ##. SECTION TITLE paragraph ... . |<-->| margin ``` I wanted paragraph to begin on the same line the section title lies. \define[1]\SectionNumberCommand   {\margindata[inmargin]

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Pablo Rodriguez via ntg-context
On 1/27/24 17:40, Ali Ali wrote: > Thanks, those seems close to what I wanted but not exactly. > > The ASCII graphic (better in typewriter font) may explain what I desired, > ``` > text width > |<---->| > > ##.

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Ali Ali
Thanks, those seems close to what I wanted but not exactly. The ASCII graphic (better in typewriter font) may explain what I desired, ``` text width |<>| ##. SECTION TITLE par

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
Ali Ali schrieb am 27.01.2024 um 06:03: I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there

[NTG-context] Section number in the margin and the section title followed by paragraph!

2024-01-26 Thread Ali Ali
I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there already an option defined to achieve the

[NTG-context] Re: Suggestions and problems of the manuals

2024-01-26 Thread Wolfgang Schuster
ersion. It also does not compile with the newest upload: ConTeXt ver: 2024.01.24 22:39 LMTX fmt: 2024.1.25 I found two problematic sections in the document. 1. The section "Choices" (line 694 -- 741) in math-spacing.tex describes the removed \setdisplaymathspacemodel command.

[NTG-context] Re: \starttable questions

2024-01-25 Thread Aditya Mahajan
> https://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf > > Aditya, > > thanks for those links. Would you mind if I added them to the "See also" > section of the \starttable wiki page (notwithstanding someone's claim at the > top of the page saying the

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
it: > https://www.tug.org/TUGboat/Articles/tb28-3/tb90mahajan.pdf > https://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf Aditya, thanks for those links. Would you mind if I added them to the "See also" section of the \starttable wiki page (notwithstanding someone's claim at

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
> flushing realpage 15, userpage 13, subpage 15 pages > flushing realpage 16, userpage 14, subpage 16 pages > flushing realpage 17, userpage 15, subpage 17 pages > flushing realpage 18, userpage 16, subpage 18 pages

[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
ow}, width=\outermarginwidth, headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width] \setupexternalfigures[location=default] \setupmargindata[style={\tfx}, stack=yes] \setupmargindata[inouter][color=orange] \setupmargindata[ininner][color=blue] \showframe \starttext \section{Margin Tes

[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
t; > I want to use linked bibliography numbers, linked Chapter, section > subsection, linked margin numbers, in the text. > > \setupinteraction[state=start] This is essential. > > \starttext > > Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von > \m{x\dou

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Hans Hagen
On 1/8/2024 11:05 PM, 1114...@gmail.com wrote: Hi, I was cleaning and formatting my context file and then when I compiled it, the output I got introduced extra vertical spacings at the section headings that weren't there in the previous compilations. I had to spend enormous amount of time

[NTG-context] Why the way key-value argument is called affected the document's output?

2024-01-08 Thread 111414w
Hi, I was cleaning and formatting my context file and then when I compiled it, the output I got introduced extra vertical spacings at the section headings that weren't there in the previous compilations. I had to spend enormous amount of time trying to fix it so to emulate my previous outputs

[NTG-context] Re: Links

2024-01-08 Thread Henning Hraban Ramm
Am 08.01.24 um 14:10 schrieb Ursula Hermann: Dear List, Is this the right way? I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text. \setupinteraction[state=start] This is essential. \starttext Der Wert von \m{y = f(x)} ist

[NTG-context] Links

2024-01-08 Thread Ursula Hermann
Dear List, Is this the right way? I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text. \setupinteraction[state=start] \starttext Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von \m{x\doubleprime} ist gleichbedeutend mit

[NTG-context] Re: QR Code

2023-12-21 Thread Ursula Hermann
ertainly not a WinEdt issue... Alternative method WinEdt's Macro Manual (among other things) explains how to use the SetEnvVar and GetEnvVar macro functions, should you require more information. And instead of using the Variables interface of the Execution Modes dialog, it is possible to add code

[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)

2023-12-08 Thread Paul Mazaitis
;> >> https://github.com/pmazaitis/nova-context/releases/tag/0.6.0 >> >> ...currently in beta, but fairly functional. >> >> This version of the extension supports: >> >> * Syntax Highlighting >> * Folding for (most) environments >> * Navigating by Symb

[NTG-context] Re: marginwidths

2023-12-03 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 03.12.2023 um 16:33: On 11/22/23 18:03, Wolfgang Schuster wrote: Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: But changing the width of the section in the middle is not changing. dr. van der Meer, your sample works for me if you

[NTG-context] Re: marginwidths

2023-12-03 Thread Pablo Rodriguez via ntg-context
On 11/22/23 18:03, Wolfgang Schuster wrote: > Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: >> But changing the width of the section in the middle is not changing. dr. van der Meer, your sample works for me if you add width=fit, such as in: \setuplayout[

[NTG-context] Re: Support Chinese Date Conversion

2023-11-29 Thread Yihan Song
potential number conversions. And I just realize, for Chinese date, only year section follows the as-is pattern, for month or day, December should be represented as 十二月 instead of 一二, twenty-sixth is 二十六日 instead of 二六, we might need to consider to narrow down the name to be year could be mo

[NTG-context] Re: marginwidths

2023-11-22 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: But changing the width of the section in the middle is not changing. Adapt \textwidth narrows the textwidth but does not allow wider margins. see next example. So how to adapt the page to for example: [leftmargin 40mm][middle

  1   2   3   4   5   6   7   8   9   10   >