[NTG-context] Re: defining macros

2025-01-11 Thread Hans Hagen via ntg-context
the explanation! I guess you meant \tolerant instead of \optional? yes, (i sometimes localy uise that as aliasm, sorry) .. consider that you just past the examn Did you know that we can have #A..#E as well. So 15 parameters instead of 9? I still need to use that more (deep down). That I kne

[NTG-context] Re: defining macros

2025-01-11 Thread Henning Hraban Ramm
nstead of \optional? Did you know that we can have #A..#E as well. So 15 parameters instead of 9? I still need to use that more (deep down). That I knew. At least in mkvi/mklx mode. If I use even 4 params I lose count of them. Don't worry, you don't want to know what I forget. Sure.

[NTG-context] Re: issue when the encapsulation ‘startitem stopitem’ command is in another self-defined command

2024-12-28 Thread Wolfgang Schuster
bbb\stopitem\endgroup \stopitemize after \stoptext Their location and serial number are anomalous. Removed some unnecessary commands to show what the problem was. % macros=mkvi \starttext \unprotect \installnamespace {chitem} \installcommandhandler \chitem {chitem} \??

[NTG-context] issue when the encapsulation ‘startitem stopitem’ command is in another self-defined command

2024-12-28 Thread autumnus
a command with more possibilities. I've noticed that ‘startitem stopitem’ isn't working. Their location and serial number are anomalous. Removed some unnecessary commands to show what the problem was. % macros=mkvi \starttext \unprotect \installnamespace {chitem} \ins

[NTG-context] Re: Letter module broken?

2024-06-26 Thread Wolfgang Schuster
about the loading of the module: modules > 'letter' is loaded open source > level 2, order 3, name '/Users/hraban/context/tex/texmf- modules/tex/context/third/letter/base/s-cor-01.mkvi' Please check if the module is there and re-generate the file database.

[NTG-context] Re: Letter module broken?

2024-06-26 Thread Kip Warner
g of the module: > > modules > 'letter' is loaded > open source > level 2, order 3, name > '/Users/hraban/context/tex/texmf- > modules/tex/context/third/letter/base/s-cor-01.mkvi' > > Please check if the module is there and re-generate t

[NTG-context] Re: Letter module broken?

2024-06-25 Thread Henning Hraban Ramm
dules > 'letter' is loaded open source > level 2, order 3, name '/Users/hraban/context/tex/texmf-modules/tex/context/third/letter/base/s-cor-01.mkvi' Please check if the module is there and re-gene

[NTG-context] Define a new command that inherits from multiple other command options

2024-04-25 Thread ai2472206007
te command by searching, and I know how to define a new option for it. But what I don't know is how to get it to inherit the options of other commands and perform these features correctly. Any clue is warmly welcome. ``` % macros=mkvi \unprotect \installnamespace {sidenote} \instal

[NTG-context] context editor support / syntax highlighting for Pulsar

2024-04-01 Thread Henning Hraban Ramm
iles generate vim interface files create text files for commands and environments report commands to the console generate check file report the meaning of commands show the internal representation of commands replace named characters by utf preprocess

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Hans Hagen via ntg-context
laced with 'mkii' on your reply accordingly After careful observation the resemblance is quite possibly identical, isn't it? and it could also inarguably apply to the circumstances as well. Don't you think? no it isn't, its building upon hat is there: mkii -> mkiv

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Carlos via ntg-context
se that on my prior message I was referring indeed to 'mkii' and not to 'omega' And also suppose for a second that the term 'omega' is to be replaced with 'mkii' on your reply accordingly After careful observation the resemblance is quite possibly identi

[NTG-context] bibliography problem

2022-07-29 Thread Henning Hraban Ramm via ntg-context
ures.tex' publications> adding bib data to set 'dmlig' from source 'dm-ligatures/references.bib' interface > macros > processed mkvi file '/Users/hraban/lmtx/tex/texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi', delta 94 interface > macr

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
ewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex "au BufNewFile,BufRead *.texcall dist#ft#FTtex() and instead adding " ConTeXt au BufNewFile,BufRead *.tex,*.ctx,*.mkii,*.mkiv,*.mkvi,*.mkxl,*.mklx setf context It works for Me who only using context as a ty

Re: [NTG-context] Initial release of SBL bibliographic rendering and biblio wishlist

2021-12-10 Thread J Huisman via ntg-context
performance, > simplifications of the code, and new feature additions are still desirable, > the module is in working condition and can now be incorporated in a future > ConTeXt update. The new .lua and .mkvi files for the SBL rendering, updated > publ-aut.lua and publ-imp-author.

[NTG-context] Initial release of SBL bibliographic rendering and biblio wishlist

2021-12-08 Thread Joey McCollum via ntg-context
, simplifications of the code, and new feature additions are still desirable, the module is in working condition and can now be incorporated in a future ConTeXt update. The new .lua and .mkvi files for the SBL rendering, updated publ-aut.lua and publ-imp-author.mkvi files, and some new code intended to be

Re: [NTG-context] Memo module not working with lmtx

2021-10-15 Thread Jason Ross via ntg-context
are all leaving \stopmemo \stoptext tex error > tex error on line 197 in file /home/jason/.local/context/tex/texmf-modules/tex/context/third/letter/base/s-cor-02.mkvi: Undefined control sequence \???memosectionrenderings \???memosectionrenderings \v!head :\v!m

[NTG-context] Memo module not working with lmtx

2021-10-15 Thread Jason Ross via ntg-context
know that we are all leaving \stopmemo \stoptext The following error is thrown by ConTeXt: tex error > tex error on line 197 in file /home/jason/.local/context/tex/texmf-modules/tex/context/third/letter/base/s-cor-02.mkvi: Undefined control sequence \???memosectionrenderi

Re: [NTG-context] Exclude bibliographic entries from list even when cited with \cite

2021-09-16 Thread Hans Hagen via ntg-context
On 9/16/2021 8:45 PM, Joey McCollum via ntg-context wrote: Hi, It's taken a couple weeks, but I nearly have a working bibliographic rendering for SBL style ready. I'm hosting the .lua and .mkvi files I have so far, as well as a test .bib and .tex file, on GitHub at https://

Re: [NTG-context] Exclude bibliographic entries from list even when cited with \cite

2021-09-16 Thread Denis Maier via ntg-context
e .lua and .mkvi files I have so far, as well as a test .bib and .tex file, on GitHub at https://github.com/jjmccollum/context-sbl. The look of the rendering seems to be correct for all of the examples, so the last remaining tasks mostly concern some lower-level technical issues. Because of th

[NTG-context] Exclude bibliographic entries from list even when cited with \cite

2021-09-16 Thread Joey McCollum via ntg-context
Hi, It's taken a couple weeks, but I nearly have a working bibliographic rendering for SBL style ready. I'm hosting the .lua and .mkvi files I have so far, as well as a test .bib and .tex file, on GitHub at https://github.com/jjmccollum/context-sbl. The look of the rendering seems to

Re: [NTG-context] Number conversion in btxlist and citations

2021-09-16 Thread kauśika cittūr via ntg-context
On Wednesday, September 15, 2021 8:08:59 PM IST kauśika cittūr wrote: > Dear all, > > I have a simple btx definition 'mylist' for which I have written a simple > publ-imp-mylist.lua and publ-imp-mylist-mkvi. In that latter I have > > ⋮ > \definebtx > [mylist]

Re: [NTG-context] Number conversion in btxlist and citations

2021-09-16 Thread kauśika cittūr via ntg-context
On Wednesday, September 15, 2021 8:08:59 PM IST kauśika cittūr wrote: > Dear all, > > I have a simple btx definition 'mylist' for which I have written a simple > publ-imp-mylist.lua and publ-imp-mylist-mkvi. In that latter I have > > ⋮ > \definebtx > [mylist]

[NTG-context] Number conversion in btxlist and citations

2021-09-15 Thread kauśika cittūr via ntg-context
Dear all, I have a simple btx definition 'mylist' for which I have written a simple publ-imp-mylist.lua and publ-imp-mylist-mkvi. In that latter I have ⋮ \definebtx [mylist] [default=default,specification=mylist] \definebtxrendering [mylist] [specification=mylist] \se

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Joey McCollum via ntg-context
zed that a couple months ago, Ágoston Volcz raised a > similar issue in another thread. I think this approach should solve that > problem, so when I get a chance, I can send an e-mail about that. > > > > Joey > > > > On Thu, Aug 26, 2021 at 3:38 PM Joey McCollum < >

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Ágoston Volcz via ntg-context
d that a couple months ago, Ágoston Volcz raised a similar > issue in another thread. I think this approach should solve that problem, so > when I get a chance, I can send an e-mail about that. > > Joey > > On Thu, Aug 26, 2021 at 3:38 PM Joey McCollum > wrote

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
den using some of the methods defined in publ-ini.mkiv. I now > have something like this in my rendering's .mkvi file: > > ``` > \doifelse {\currentbtxcitealternative} {entry} { > % Normal order for in-text citations > \btxflushauthornormal{author} > } { >

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
Okay, I've made some progress! Thankfully, the authorconversion rules can be overridden using some of the methods defined in publ-ini.mkiv. I now have something like this in my rendering's .mkvi file: ``` \doifelse {\currentbtxcitealternative} {entry} { % Normal order for in-text

Re: [NTG-context] LMTX: different output if dots are used in the file name

2021-07-08 Thread Marco Patzer
should. > Now, although it's quite some > work, one can think of seeing .13 as part of the filename, in which > case the lookupe becomes > > 10.11.12.13.tex Just to make it clear: I don't use files without .tex/.mkvi/etc. suffix. So I don't expect 10.11.12.13 to

Re: [NTG-context] Markdown module in LMTX

2021-03-28 Thread Christoph Reller
Hi all, In recent versions of ConTeXt LMTX the markdown module seems to work again. I just copied the files m-markdown.mkiv and m-markdown.loa from a MKVI version into the directory tex\texmf-modules\m-markdown of the LMTX version. I don't believe that this is officially supported and I d

[NTG-context] tex live code freeze

2021-03-05 Thread Hans Hagen
;t checked to what extend updates to those engines have side effects for context, but I assume none. Let me know if there are problems. The MKIV code (mkiv, mkvi, mpiv, lua files) has changed but not much, mostly as a side effect of the code split and move to LMTX where the focus is on now.

[NTG-context] MkIV and LMTX difference in comma list expansion

2020-10-26 Thread Rik Kabel
complex bit to show the issue.) % macros=mkvi \starttexdefinition unexpanded startBlockQuotation     \dosingleempty\dostartBlockQuotation \stoptexdefinition \starttexdefinition dostartBlockQuotation [#SETUPS]     \getrawparameters[BlockQuotation]   [index=,#SETUPS

Re: [NTG-context] About the use of command handlers

2020-05-29 Thread Hans Hagen
On 5/29/2020 6:29 AM, Jairo A. del Rio wrote: Hello list! I was reading the following: https://wiki.contextgarden.net/Style_Alternatives I wanted to figure out how to make a simple module. However, there's a point in the example below which I don't understand % macros=mkvi \startm

[NTG-context] About the use of command handlers

2020-05-28 Thread Jairo A. del Rio
Hello list! I was reading the following: https://wiki.contextgarden.net/Style_Alternatives I wanted to figure out how to make a simple module. However, there's a point in the example below which I don't understand % macros=mkvi \startmodule[look] \unprotect \writestatus{loading}{Co

Re: [NTG-context] Official file ending?

2020-02-05 Thread Philipp A.
d > > > > > >> * .mkiv: Is that just for ConTeXt or all LuaTeX stuff? Would > > it make > > >> sense to give text documents that extension? > > > > > > you can do that (or mkvi or lmtx or ...) > > >

Re: [NTG-context] Official file ending?

2020-02-05 Thread Hans Hagen
>>     sense to give text documents that extension? > > you can do that (or mkvi or lmtx or ...) Since there are already *.mkxl files in the ConTeXt distribution, I think it may make sense to name the LMTX version MkXL. In any case, MkXL is simpler and cleare

Re: [NTG-context] Official file ending?

2020-02-04 Thread kaddour kardio
ML files > >> inside of ConTeXt itself > > > > context ctx files are xml files indeed > > > >> * .mkiv: Is that just for ConTeXt or all LuaTeX stuff? Would it make > >> sense to give text documents that extension? > > > > you can do

Re: [NTG-context] Official file ending?

2020-02-04 Thread Pablo Rodriguez
>> >> * .ctx: Would mirror the semi-common .ltx, but is used for XML files >> inside of ConTeXt itself > > context ctx files are xml files indeed > >> * .mkiv: Is that just for ConTeXt or all LuaTeX stuff? Would it make >> sense to give text docum

Re: [NTG-context] Official file ending?

2020-02-04 Thread Philipp A.
Thank you all! What is lmtx? Is there any link with infos? Am Di., 4. Feb. 2020 um 00:53 Uhr schrieb Floris van Manen : > > > On 04-02-2020 00:31, Exp wrote: > > > > Mkiv is a good choice for the moment. If there would be no Mkvi and so > > on, it is good forever. &g

Re: [NTG-context] Official file ending?

2020-02-03 Thread Floris van Manen
On 04-02-2020 00:31, Exp wrote: > > Mkiv is a good choice for the moment. If there would be no Mkvi and so > on, it is good forever. .tex is used for both tex (as well as latex as well as other wrappers). how about for the new context era: .lmtx .F pEpkey.asc Description: applic

Re: [NTG-context] Official file ending?

2020-02-03 Thread Exp
I would suggest to advertise with the ending another trademark that is not a zero-entropy word in the programming world when not randomly capitalized, and, if possible, that is not an everyday English word either. Mkiv is a good choice for the moment. If there would be no Mkvi and so on, it is

Re: [NTG-context] Official file ending?

2020-02-03 Thread Wolfgang Schuster
.ltx, but is used for XML files     inside of ConTeXt itself context ctx files are xml files indeed   * .mkiv: Is that just for ConTeXt or all LuaTeX stuff? Would it make     sense to give text documents that extension? you can do that (or mkvi or lmtx or ...)   * Something else? (.tex

Re: [NTG-context] Official file ending?

2020-02-03 Thread Hans Hagen
of ConTeXt itself context ctx files are xml files indeed * .mkiv: Is that just for ConTeXt or all LuaTeX stuff? Would it make sense to give text documents that extension? you can do that (or mkvi or lmtx or ...) * Something else? (.tex doesn’t count, it’s shared with LaTeX files

Re: [NTG-context] serial letters

2019-05-24 Thread Jean-Philippe Rey
ours/2019/JURY/Confirmation fonction/letterTest.tex' modules > 'letter' is loaded open source > level 3, order 4, name '/Users/jprey/Applications/ConTeXt/2018-09-13/tex/texmf-modules/tex/context/third/letter/base/s-cor-01.mkvi' modules > '

Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread Henning Hraban Ramm
>> ConTeXt upgrade to create a \setupinteractionscreen[option=nomenubar] switch. >> I wonder if it would be possible to add this little feature to the source >> code. Perhaps it can be useful to others as well. >> Greetings! >> Paul >> Attachment: patch + modified lpdf-mis.lu

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Hans Hagen
f it would be possible to add this little feature to the source code. Perhaps it can be useful to others as well. Greetings! Paul Attachment: patch + modified lpdf-mis.lua (from ConTeXt MkVI 2019.04.25) ok, but i didn't test it, so you need to check

[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
ure to the source code. Perhaps it can be useful to others as well. Greetings! Paul Attachment: patch + modified lpdf-mis.lua (from ConTeXt MkVI 2019.04.25)if not modules then modules = { } end modules ['lpdf-mis'] = { version = 1.001, comment = "companion to l

[NTG-context] Bidi-related register problem

2019-01-24 Thread Rik Kabel
e not handled properly. This is a recent change; bidi=global worked a few months ago. (I have not tried with LTR text in a default-RTL document). % macros=mkvi \defineregister[Mindex] \setupregister [Mindex] [n=2, maxwidth=4cm,

[NTG-context] Problem of compiling a file with Emacs

2018-07-19 Thread Fabrice Couvreur
t; t) OK ! 5. Coming with the C-c C-c command by having this in my ~ / .emacs file (setenv "PATH" "/ home / aragorn / context / tex / texmf-linux-64 / bin: $ PATH" t) (that's what I do with all other files) No OK ! Thanks. My file Test.tex % macros=mkvi \setu

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-18 Thread Fabrice Couvreur
7/2018 16:40, Hans Hagen wrote: > >> On 7/17/2018 10:30 PM, Rik wrote: > >>> On 7/16/2018 10:24, Fabrice Couvreur wrote: > >>>> % macros=mkvi > >>>> > >>>> \setuppagenumbering[location=footer] > >>>> > >>

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Alan Braslau
\startusableMPgraphic ? > On 17 Jul 2018, at 14:46, Rik Kabel wrote: > > On 7/17/2018 16:40, Hans Hagen wrote: >> On 7/17/2018 10:30 PM, Rik wrote: >>> On 7/16/2018 10:24, Fabrice Couvreur wrote: >>>> % macros=mkvi >>>> >>>> \setuppag

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Rik Kabel
On 7/17/2018 16:40, Hans Hagen wrote: On 7/17/2018 10:30 PM, Rik wrote: On 7/16/2018 10:24, Fabrice Couvreur wrote: % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}")

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Hans Hagen
On 7/17/2018 10:30 PM, Rik wrote: On 7/16/2018 10:24, Fabrice Couvreur wrote: % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "lightgray")

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Rik
On 7/16/2018 10:24, Fabrice Couvreur wrote: % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "lightgray") ysized 50pt ; \stopusableMPgraph

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Fabrice Couvreur
with the "titlesec" package. My >>> code compiles under texlive context 2018 but does not compile with last >>> beta contest standalone. >>> >> >> it processes on my machine so what fails? >> >> Thank you >>> Fabrice >

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Fabrice Couvreur
t;> code compiles under texlive context 2018 but does not compile with last >> beta contest standalone. >> > > it processes on my machine so what fails? > > Thank you >> Fabrice >> >> >> >> % macro

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Hans Hagen
ou Fabrice % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "lightgray") ysized 50pt ; \stopusa

[NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Fabrice Couvreur
Hello, The idea is to make a chapter header as with the "titlesec" package. My code compiles under texlive context 2018 but does not compile with last beta contest standalone. Thank you Fabrice % macros=mkvi \setuppagenumbering[locat

Re: [NTG-context] How to use fonts.handlers.otf.enhancers.patches?

2018-02-27 Thread Henri Menke
7; system > system > ConTeXt ver: 2017.05.15 21:48 MKIV beta fmt: 2017.12.29 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name '/usr/local/texlive/2017/texmf-dist/tex/context/base/mki

Re: [NTG-context] Expansion help needed, getvariable and TABLE

2018-01-31 Thread Rik Kabel
ut the \expanded{\bTC... It does not seem to make a difference here, but perhaps it is needed in some situations. My question is about factoring the \getvariable out of the \bTC rows (in this example) and \defining a simpler macro to hold the value. Should it be done, and if so, how? % macro

[NTG-context] Expansion help needed, getvariable and TABLE

2018-01-30 Thread Rik Kabel
other value? % macros=mkvi engine=luajittex \setvariables  [one]    [a=1a,b=1b] \setvariables  [two]    [a=2a,b=2b] \define    \Sets    {one,two} \starttexdefinition unexpanded doInlineText #SET

Re: [NTG-context] German letter style

2017-12-05 Thread Henning Hraban Ramm
Am 2017-12-05 um 17:28 schrieb Floris van Manen : > lua error > lua error on line 30 in file > /Applications/ConTeXt/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.mkvi: > > ...eXt/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:47: bad argument > #1 t

Re: [NTG-context] German letter style

2017-12-05 Thread Floris van Manen
test', input '/Users/vm/Desktop/tex/test', result 'test' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 2, order 3, name '/Users/vm/Desktop/tex/test.tex' modules

Re: [NTG-context] 'lua.registercode' bug in latest beta

2017-11-26 Thread Hans Hagen
tarttext \null \stoptext throws: open source > level 4, order 5, name '/tmp/ctx/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.mkvi' lua error > lua error on line 30 in file /tmp/ctx/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.mkvi: ...ctx/tex/texmf-c

Re: [NTG-context] 'lua.registercode' bug in latest beta

2017-11-26 Thread Marco Patzer
seems to be caused by 'if options ~= ""' in `lua.registercode'. > That empyt string should be 'nil'? I can confirm the issue, MWE: \usemodule [letter] \starttext \null \stoptext throws: open source > level 4, order 5, name '/tmp/ctx/tex/texmf-modul

Re: [NTG-context] 'lua.registercode' bug in latest beta

2017-11-18 Thread Henning Hraban Ramm
ad argument >> #1 to 'gmatch' (string expected, got nil) >> ``` > > Same here: > > lua error > lua error on line 30 in file > /Users/hraban/Library/texmf/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.mkvi: > > ...xmf/tex/texmf-conte

Re: [NTG-context] 'lua.registercode' bug in latest beta

2017-11-06 Thread Henning Hraban Ramm
: lua error > lua error on line 30 in file /Users/hraban/Library/texmf/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.mkvi: ...xmf/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:47: bad argument #1 to 'gmatch' (string expected, got nil) stack traceback: [

[NTG-context] Problem using nested \processcommalist and \startparagraphs columns

2017-10-25 Thread Rik Kabel
tic" and run it without that mode and it completes, although without the columns.     % macros=mkvi     \defineparagraphs  [Col] [n=3]     \setupparagraphs   [Col] [1] [width=.31\textwidth]     \setupparagraphs   [Col] [2] [width=.31\textwidth]     \setupparagraphs   [Col] [3]

Re: [NTG-context] compiling the mkiv-publications manual

2017-10-04 Thread luigi scarso
e=atpragma mkiv-publications.tex works $ context --version mtx-context | ConTeXt Process Management 1.02 mtx-context | mtx-context | main context file: /opt/luatex/mkvi-experimental/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2017.10.02 1

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
I turn around !! It does not work 2017-08-19 1:15 GMT+02:00 Rik : > On 2017-08-18 19:01, Fabrice Couvreur wrote: > > If I test this file, it does not work > > % macros=mkvi > > \startcomponent dm-1 > > \environment MyLayout > > \MyHeader{Seconde}{17}{08}{2

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Rik
On 2017-08-18 19:01, Fabrice Couvreur wrote: If I test this file, it does not work % macros=mkvi \startcomponent dm-1   \environment MyLayout   \MyHeader{Seconde}{17}{08}{2017}{Devoir surveillé}{1}{1h\,30m}   \dorecurse{20}{\input knuth}   \math{x^2+4x+5=0} \stopcomponent 2017-08-19 0:23

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
Hi Aditya it does not work 2017-08-19 1:01 GMT+02:00 Fabrice Couvreur : > If I test this file, it does not work > > % macros=mkvi > > \startcomponent dm-1 > > \environment MyLayout > > \MyHeader{Seconde}{17}{08}{2017}{Devoir surveillé}{1}{1h\,30m} > &

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
If I test this file, it does not work % macros=mkvi \startcomponent dm-1 \environment MyLayout \MyHeader{Seconde}{17}{08}{2017}{Devoir surveillé}{1}{1h\,30m} \dorecurse{20}{\input knuth} \math{x^2+4x+5=0} \stopcomponent 2017-08-19 0:23 GMT+02:00 Rik Kabel : > On 2017-08-18 18

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Aditya Mahajan
brice # MyLayout.tex # % macros=mkvi Save this file as MyLayout.mkvi Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Rik Kabel
ya file. I have another problem with a simple structure. I created the file MyLayout.tex containing the macro and I want to call this macro in the dm1.tex file, but it does not work. Thank you Fabrice # MyLayout.tex # % macros=mkvi \startenviro

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
yout.tex containing the macro and I want to call this macro in the > dm1.tex file, but it does not work. > Thank you > Fabrice > > # > MyLayout.tex > # > > % macros=mkvi > > \startenvironment MyLayout > > \setuplayout >[header=3\li

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Rik Kabel
brice # MyLayout.tex # % macros=mkvi \startenvironment MyLayout \setuplayout    [header=3\lineheight,     headerdistance=\lineheight] \setupbackgrounds   [header]   [text]   [     frame=off,     bottomframe=on,     framecolor=darkgray,     rulethickness=2pt,   ] \definef

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
Hello, It's ok for me if I compile the Aditya file. I have another problem with a simple structure. I created the file MyLayout.tex containing the macro and I want to call this macro in the dm1.tex file, but it does not work. Thank you Fabrice # MyLayout.tex # % macros

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Otared Kavian
Hi Aditya, Thanks for having sent the example file: indeed with your file I can typeset the example and see the expected result. I don’t know what happened when I copied and pasted the example from the e-mail… I think the command % macros = mkvi was not set correctly written at the first

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Aditya Mahajan
On Fri, 18 Aug 2017, Otared Kavian wrote: Hi Aditya, I tried to typeset your example, but got an error: whether or not the command % macros=mkvi is present on the fist line, then ConTeXt complains saying that ! Illegal parameter number in definition of \MyHeader and stops

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
Envoyé: Vendredi 18 Août 2017 11:45:47 > Objet: Re: [NTG-context] About \setupheadertexts : simplify a code > > Hi Aditya, > > I tried to typeset your example, but got an error: whether or not the > command > % macros=mkvi > is present on the fist line, then ConTeXt co

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
1:45:47 > Objet: Re: [NTG-context] About \setupheadertexts : simplify a code > > Hi Aditya, > > I tried to typeset your example, but got an error: whether or not the > command > % macros=mkvi > is present on the fist line, then ConTeXt complains saying that >

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Jean-Pierre Delange
ommand % macros=mkvi is present on the fist line, then ConTeXt complains saying that ! Illegal parameter number in definition of \MyHeader and stops typesetting pointing to the command \stoptexdefinition. What am I missing here? Thanks for your attention: OK > On 18 Aug 2017, at 06

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
Hi, @Aditya and Henri Thank you for your suggestions. @Otared Maybe remove \showframe ? Fabrice 2017-08-18 11:45 GMT+02:00 Otared Kavian : > Hi Aditya, > > I tried to typeset your example, but got an error: whether or not the > command > % macros=mkvi > is present on t

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Otared Kavian
Hi Aditya, I tried to typeset your example, but got an error: whether or not the command % macros=mkvi is present on the fist line, then ConTeXt complains saying that ! Illegal parameter number in definition of \MyHeader and stops typesetting pointing to the command

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Aditya Mahajan
also simplify other things as well. This is how I would have done it: % macros=mkvi \showframe \setuplayout [header=3\lineheight, headerdistance=\lineheight] \setupbackgrounds [header] [text] [ frame=off, bottomframe=on, framecolor=darkgray, rulethickness=2pt

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Henri
where \\ {#time}}}] \stoptexdefinition    \MyHeader{Seconde}{17}{08}{2017}{Devoir surveillé}{1}{1h\,30m} \starttext \input knuth \stoptext > > % macros=mkvi > \setuplayout >    [header=3\lineheight, >     headerdistance=\lineheight] > > \setupbackgrounds[header][text] > [fra

[NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Fabrice Couvreur
Hello, To get the alignment, I had to create three \vbox. Can we simplify this code a bit ? Thank you Fabrice % macros=mkvi \setuplayout [header=3\lineheight, headerdistance=\lineheight] \setupbackgrounds[header][text] [frame=off, bottomframe=on

[NTG-context] How do I insert characters before \par

2017-03-31 Thread Rik Kabel
ConTeXters, I am stymied trying to insert characters into a buffer, or failing that, to back up, removing the \par, and adding characters after the buffer is loaded. The code I am working with reduces to this: 1. % macros=mkvi engine=luajittex 2. \starttexdefinition

Re: [NTG-context] Using key as numbering in \placepublications

2017-01-23 Thread Antoine Cailliau
Thank you very much. I was using the (old) bibtex module. Using the mkvi publication mechanism was the key. Antoine On 19 January 2017 at 16:19, Alan Braslau wrote: > On Thu, 19 Jan 2017 08:19:03 +0100 > Antoine Cailliau wrote: > > > How can I adjust the publication list to

Re: [NTG-context] ntg-context Digest, Vol 151, Issue 18

2017-01-18 Thread Hans Hagen
trackers experiments epub ctx|ctxfile interface plus for scite language From what I know there is also: macros E.g. % macros=mkvi indeed but that one is handled internally (in context) Hans

Re: [NTG-context] ntg-context Digest, Vol 151, Issue 18

2017-01-18 Thread Christoph Reller
parameters can I set this way and what is the syntax to set >>> multiple parameters? >>> >>> Cheers, >>> Henri > > engine > synctex > jiton > jithash > directives > trackers > experiments > epub > ctx|ctxfile > interface > > plus

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-19 Thread Hans Hagen
info (i don't have asymptote installed nor time to check it) but if the code you pass gets expanded then you can add expandable macros or \the\foo kind of code to it Hans Fabrice % macros=mkvi \usemodule[filter] \defineexternalfilter [ASY] [ filter={asy -tex "context&

Re: [NTG-context] Asymptote or Metapost and ConTeXt parameters.

2016-12-19 Thread Fabrice Couvreur
Hello, I do not answer the question, but I'm interested because I also use Asymptote. The following code works with context in texlive 2016 but does not work with standalone context. thank you, Fabrice % macros=mkvi \usemodule[filter] \defineexternalfilter [ASY] [ filter={asy

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Tobias Berndt
: ~ / .emacs.d $ ls -l > total 8 > drwx -- 2 fab fab 4096 October 28 2:37 p.m. auto-save-list > drwxr-xr-x 5 fab fab 4096 October 28 2:26 p.m. ELPA > fab @ debian: ~ / $ .emacs.d > > Consider the following file: > If I make a C-c C-c, all I get is the text in italics, the macro

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-29 Thread Fabrice Couvreur
d AUCTeX with M-x-install package and that's it ! >>> I deleted my old init.el file and start over ! >>> The ~/.emacs.d only contains this : >>> >>> fab @ debian: ~ $ cd .emacs.d / >>> fab @ debian: ~ / .emacs.d $ ls -l >>> total 8 >>

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Michael Eidenbenz
October 28 2:26 p.m. ELPA > fab @ debian: ~ / $ .emacs.d > > Consider the following file: > If I make a C-c C-c, all I get is the text in italics, the macro is not > compiled. > Thanks, > Fabrice > > % macros=mkvi > > \setupcolors[state=start] > \definecolor[MyC

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Mica Semrick
6 October 28 2:37 p.m. auto-save-list >>> drwxr-xr-x 5 fab fab 4096 October 28 2:26 p.m. ELPA >>> fab @ debian: ~ / $ .emacs.d >>> >>> Consider the following file: >>> If I make a C-c C-c, all I get is the text in italics, the macro is >not >>

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Fabrice Couvreur
/ $ .emacs.d >> >> Consider the following file: >> If I make a C-c C-c, all I get is the text in italics, the macro is not >> compiled. >> Thanks, >> Fabrice >> >> % macros=mkvi >> >> \setupcolors[state=start] >> \definecolor[MyC

Re: [NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Mica Semrick
.emacs.d $ ls -l >total 8 >drwx -- 2 fab fab 4096 October 28 2:37 p.m. auto-save-list >drwxr-xr-x 5 fab fab 4096 October 28 2:26 p.m. ELPA >fab @ debian: ~ / $ .emacs.d > >Consider the following file: >If I make a C-c C-c, all I get is the text in italics, the macro is not &

[NTG-context] Emacs24 + AucTeX + ConTeXt

2016-10-28 Thread Fabrice Couvreur
hanks, Fabrice % macros=mkvi \setupcolors[state=start] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] \definecolor[MyColorA][c=0.00, m=0.10, y=0.20, k=0.00] \defineframedtext [MyDefinition] [before={\blank[line,halfline]}, after={\blank}, frame=off, background=MyFrame,

  1   2   3   >