Re: [NTG-context] ConTeXt as a service

2019-11-20 Thread Henning Hraban Ramm
Hi! I’m running ConTeXt on my web server e.g. to generate shipping forms for a customer. As Hans said, it makes sense to use an asynchronous setup; in my case it’s celery/RabbitMQ behind Django. You probably need to set a few environment variables: I find HOME, PATH, TEXROOT and TEXMFOS

Re: [NTG-context] ConTeXt: specify a path to font in \definefontfamily

2019-11-20 Thread Krešimir Cindrić
s normally a bad idea to have fonts in such a place. You never know > how it will clash with other fonts (versions, similar names, etc). > > In context, we have > > tex/texmf-fonts > > so best is to use: > > tex/texmf-fonts/data/MyFont-It.otf > > etc,

Re: [NTG-context] ConTeXt: specify a path to font in \definefontfamily

2019-11-20 Thread Hans Hagen
environment variable. Like: \starttext % \ctxlua{fonts.names.addruntimepath("./myfonts")} \ctxlua{os.setenv("RUNTIMEFONTS","./myfonts")} Hello World! \definefont[myfont][file:myfont.otf] {\myfont Hello World!} \stoptext But .. you need tio wipe such

Re: [NTG-context] Text and tree side by side in a framedtext environment

2019-11-18 Thread Andres Conrado
Or maybe try with "paragraphs": https://wiki.contextgarden.net/Columns#Paragraphs -- Andrés Conrado Montoya http://chiquitico.org ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Text and tree side by side in a framedtext environment

2019-11-18 Thread Henning Hraban Ramm
Salut, do maybe combinations fit your needs? https://wiki.contextgarden.net/Combinations Best, Hraban > Am 2019-11-17 um 11:01 schrieb Fabrice Couvreur : > > Hello, > I am looking but without success ! > I tried \ starthanging [location = right] {tree} \ stophanging but that does > not work

Re: [NTG-context] Text and tree side by side in a framedtext environment

2019-11-17 Thread Fabrice Couvreur
Hello, I am looking but without success ! I tried \ starthanging [location = right] {tree} \ stophanging but that does not work either. Fabrice Le sam. 16 nov. 2019 à 12:44, Fabrice Couvreur a écrit : > Hello, > I want to use a text frame to put text and a probability tree side by > side, but

[NTG-context] Text and tree side by side in a framedtext environment

2019-11-16 Thread Fabrice Couvreur
Hello, I want to use a text frame to put text and a probability tree side by side, but it does not work. Thanks for your help. Fabrice \usemodule[tikz] \usetikzlibrary[trees] \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,nonumber}] \starttext

Re: [NTG-context] packed list only if items > 5

2019-11-14 Thread Tomas Hala
Hi Pablo, I am not sure if the itemize environment can be configured on the fly. The following code should solve your problem: \definecounter[minforpacked] \setcounter[minforpacked][5] \def\mystartitemize#1\stopitemize{% \definecounter[mycounter

Re: [NTG-context] MKIV: error, no format found with name: cont-en, aborting

2019-11-13 Thread Rik Kabel
| ok, so how do you run ? with the full path? can you test with --addbinarypath Hans No difference with --addbinarypath. I run this from a command prompt (within ConEmu) in which setuptex had already been run, so the path was set properly and is the first TeX-related item in the path.

Re: [NTG-context] new beta

2019-11-12 Thread Pablo Rodriguez
make the lot more robust for file names, environment variables, > command line options etc that (at the tex/lua end utf8) have characters > other than ascii. Another improvement in lmtx is support for ancient > type 1 fonts (like the type 1 lucidas) but that's more 'being complete'

[NTG-context] new beta

2019-11-12 Thread Hans Hagen
Hi, I uploaded a new beta. Apart from some fixes, the main change in lmtx is that on windows most (a few exceptions) of the mechanisms that interface to the operating system support the internal wide character model which should make the lot more robust for file names, environment variables

Re: [NTG-context] ASCII mode within \footnote

2019-11-04 Thread Wolfgang Schuster
ter=\blank] \starttext Normal comment: \startbuffer     % comment \stopbuffer \typebuffer \getbuffer Comment in \type{asciimode} environment: \startbuffer     \startasciimode     % comment     \stopasciimode \stopbuffer \typebuffer \getbuffer Comment in the argument of a command: \s

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
um 10:56: > > Hello, > The \hspace [ ] command has no effect in an environment framedtext. > Why ? > > The \hspace command expects a named/predefined argument, e.g. > \hspace[small] and all unknown names result in a horizo

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 03.11.2019 um 10:56: Hello, The \hspace [ ] command has no effect in an environment framedtext. Why ? The \hspace command expects a named/predefined argument, e.g. \hspace[small] and all unknown names result in a horizontal skip of 0pt. Wolfgang

[NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Hello, The \hspace [ ] command has no effect in an environment framedtext. Why ? Thank you. Fabrice \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off, background=color,backgroundcolor=paleturquoise] {\it lancers}\unknown {\it dé}\unknown Tant que {\it dé}\unknown Faire \hspace

Re: [NTG-context] issue embedding from Lua code

2019-11-01 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 01.11.2019 um 11:48: 2. Use the asciimode environment to make TeX's special characters normal letters. Is there any ascii mode equivalent for Lua? I mean, something like "asciimode(whatever)". You can change catcode regimes to change meaning of t

Re: [NTG-context] issue embedding from Lua code

2019-11-01 Thread Pablo Rodriguez
would make things way easier, I agree. BTW, my issue was totally unrelated: missing closing brace (but the error message in ConTeXt was misleading [at least, to me]). > 2. Use the asciimode environment to make TeX's special characters normal > letters. Is there any ascii mode equival

Re: [NTG-context] issue embedding from Lua code

2019-11-01 Thread Wolfgang Schuster
asciimode environment to make TeX's special characters normal letters. \starttext \startasciimode % & # $ ^ ~ \stopasciimode \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entr

[NTG-context] A question about an algorithm environment

2019-10-28 Thread Fabrice Couvreur
Hi Wolfgang, Why in the first example, the indentation of my Python code that I wish is not respected and that I have to do as the second example to have what I want ? Thank you. Fabrice \defineframedtext [algorithmframe] [width=fit, location=middle,

Re: [NTG-context] columns and footnotes

2019-10-21 Thread Hans Hagen
On 10/20/2019 3:51 PM, Henning Hraban Ramm wrote: Hi again, I’m testing columns again, and before I publish an article on the subject, I’d like to check with you. Find attached my testing environment, env_test.tex, and columns.tex, a "product", as well as the result of compiling

Re: [NTG-context] PDF viewer poll

2019-10-21 Thread Marcin Borkowski
uch - for me, JS is a general purpose language which happens to be embedded in browsers, but also many other places. Most of my JS code runs either on a server (backend code) or in a development environment (various, let's call it, DevOps-ish scripts). Only now and then I write JS for brows

Re: [NTG-context] issue splitting tables and horizontal mode

2019-10-20 Thread Pablo Rodriguez
On 10/20/19 12:53 PM, Wolfgang Schuster wrote: > [...] > You can use the float environment and disable the counter. > [...] > Another option is framedtext which can be centered. Many thanks for your reply, Wolfgang. framedtext seems easier to me. > When you have a short tab

Re: [NTG-context] issue splitting tables and horizontal mode

2019-10-20 Thread Wolfgang Schuster
forgot to mention. \dontleavehmode is required to center the table when \startmakeup[standard][align=center]. You can use the float environment and disable the counter. \starttext \startplacefigure [location={none,split}]     \startxtable     \dorecurse{100}    {\startxrow

Re: [NTG-context] issue splitting tables and horizontal mode

2019-10-20 Thread Pablo Rodriguez
ehmode is required to center the table when \startmakeup[standard][align=center]. > 2. Why do you try to split a table in a makup environment (which will > never work)? \setupxtable[split=yes] is a general setup for the whole document. I mean, I don’t want a table in the document to be st

Re: [NTG-context] issue splitting tables and horizontal mode

2019-10-20 Thread Wolfgang Schuster
environment (which will never work)? Since this worked before, am I missing something or is this a bug? It isn't a bug but a side effect of the way how split=yes works. The normal splitters uses a simple placement method where each table row is placed below each other. To prevent unwanted white

Re: [NTG-context] PDF viewer poll

2019-10-19 Thread Henning Hraban Ramm
; probably indicates that no one cares much about these features. >> >> I wouldn’t say "no problem", because JS causes security problems everywhere. > > It's not JS that causes problems. Any other (powerful enough) language > not specifically designed with browser e

Re: [NTG-context] PDF viewer poll

2019-10-15 Thread Marcin Borkowski
complex stuff so it >> probably indicates that no one cares much about these features. > > I wouldn’t say "no problem", because JS causes security problems everywhere. It's not JS that causes problems. Any other (powerful enough) language not specifically designed with

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Rudolf Bahr
> > f = io.open(...) > If f then ... else ... end > > Best wishes, > Taco Hi Taco! Thank you again for your message! My wish isn't to avoid error messages, if they are justified! In the case of my MWE I want to have a decision in my \startluacode ... \stopluacode e

Re: [NTG-context] how to do adaptation

2019-10-14 Thread Wolfgang Schuster
a \defineparagraphs environment. When you enable or disable a mode the state is local to the current group, e.g. the state at the begin of a environment will be the same at the end and changes in the environment are local to it. In most document this isn't a problem because you enable/disable a mode

Re: [NTG-context] \ctxlua and \startluacode ... \stopluacode

2019-10-14 Thread Hans Hagen
It makes no difference in commenting out the first or the second "\lookupfile" command. The error message eventually is always nearly the same: token call, execute: [ctxlua]:8: "$HOME/context-tests/AAA.lua": No such file or directory token call, execute: [ctxlua]:8: "$H

[NTG-context] how to do adaptation

2019-10-14 Thread Susanne G. Loeber
there are more ways to create adaptation. I would also like to know whether certain combination don't work together. For example, I cannot seem to get \doifmodeelse to work inside a \defineparagraphs environment. \defineparagraphs[BLpar][n=2, frame=on] \setupparagraphs [BLpar][1][width=\dimexpr.3

Re: [NTG-context] passing variables/data between context and lua

2019-10-06 Thread Wolfgang Schuster
t runs which allows one to access values before they are set. Especially what does "\directsetup"? When you access the content of a setups-environment you can use the \setups command (with a trailing s) to pass a list of setups or the \setup command, both commands allow you to use brac

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
text Op zo 29 sep. 2019 om 21:36 schreef Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > Jeroen schrieb am 29.09.2019 um 20:36: > > This is the main file. > Neither minimal nor complete and \stopdocument is also missing. > > \environment mkivcnotesenv &

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Wolfgang Schuster
Jeroen schrieb am 29.09.2019 um 20:36: This is the main file. Neither minimal nor complete and \stopdocument is also missing. \environment mkivcnotesenv \startdocument  [metadata:subject={MkIV Context},    affiliation=Context] \starttext \startfrontmatter \input{frontpage.tex} \stopfrontmatter

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
This is the main file. \environment mkivcnotesenv \startdocument [metadata:subject={MkIV Context}, affiliation=Context] \starttext \startfrontmatter \input{frontpage.tex} \stopfrontmatter \startbodymatter \section{Introduction} \dorecurse{10}{input knuth} \stopbodymatter \startappendices

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Henning Hraban Ramm
> Am 2019-09-29 um 20:16 schrieb Jeroen : > > Dear list members, > > I am using the following environment file. The document itself is made-up of > sections only. Instead of the section as footer, I would like to add a custom > footer text throughout the document, starti

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Wolfgang Schuster
Jeroen schrieb am 29.09.2019 um 20:16: Dear list members, I am using the following environment file. The document itself is made-up of sections only. Instead of the section as footer, I would like to add a custom footer text throughout the document, starting at the second page as is the page

[NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
Dear list members, I am using the following environment file. The document itself is made-up of sections only. Instead of the section as footer, I would like to add a custom footer text throughout the document, starting at the second page as is the page numbering. I just don't seem to be able

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Henning Hraban Ramm
> Am 2019-09-25 um 22:10 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 25.09.2019 um 21:37: >> The following works, except: >> - There’s too much space (2 lines?) within the frame before the poem. > Use the framedtext environment. Ah, I did

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 25.09.2019 um 21:37: The following works, except: - There’s too much space (2 lines?) within the frame before the poem. Use the framedtext environment. - I’d like to insert some space below the float, spaceafter doesn’t work. You nee sidespacebefore/after

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Henning Hraban Ramm
f keys. All other options like the background color have to be set with > \setupfloat and \setupcation. >> With or without framed, vbox and lines didn’t change much. (Of course >> \framed adds a frame, but the text isn’t within). > You have to put the poem in a framed or framedtext

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Wolfgang Schuster
text isn’t within). You have to put the poem in a framed or framedtext environment with the setting width=fit. There is no way to to do this with the float environment alone. Wolfgang ___ If your question is o

Re: [NTG-context] Columns with non-equal width; nested columns

2019-09-25 Thread Procházka Lukáš Ing .
|] \NC a \NC AA \NC\NR \NC aa \NC AAA \NC\NR \stoptabulate \stopcolumnset \stoptext produces overlapping lines at the end of the first column. - How to avoid this? - Being in a columnset environment

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
extbackground[xx] >> \stoptextbackground >> >> can you try to use that instead? less page overflow too >> >> (actually i should iontegrate some title line in that) > A limitation of textbackgrounds is the limited control over the vertical > space at page brea

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Wolfgang Schuster
but with textbackgrounds you can just control the space at the end and end of the environment. \showframe[text][text] \starttext \dorecurse{3}{\samplefile{knuth}} \startbackground[topoffset=1em,bottomoffset=1em] \dorecurse{2}{\samplefile{knuth}} \stopbackground \dorecurse{2}{\samplefile{knuth}} \page

Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Sytse Knypstra
Thank you, Denis and Wolfgang. Wolfgang, your sentence > No, you set relative numbers (I checked it) but the first columnset > environment ends on the third page because you leave just enough > space on the second page to fit the text which produces an empty > third page. is not

Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Wolfgang Schuster
Denis Maier schrieb am 17.08.2019 um 17:49: Ok. With this I don't get the empty page. But the setupcolumnsetlines has still no effecgt for the second environment. === \definecolumnset[One][n=2] \setupcolumnsetlines[One][1][1][9] \definecolumnset[Two][n=2] \setupcolumnsetlines[Two][1][1][5

Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Wolfgang Schuster
environment ends on the third page because you leave just enough space on the second page to fit the text which produces an empty third page. Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] \setupcolumnsetlines does not work

2019-08-17 Thread Wolfgang Schuster
] The second argument expects the page number of the column where want to change the number of lines. In your example the second environment starts at page 3 but you change the lines only for the first and second page. Wolfgang

Re: [NTG-context] Typesetting hebrew in a table...

2019-08-12 Thread Willi Egger
t; >> On 12 Aug 2019, at 15:08, Willi Egger wrote: >> >> Hi all, >> >> my brother is studying Ifrith and wants to have a dictionary. The idea is to >> typeset left German and right Ifrith in a /bTABLE…\eTABLE environment. >> >> When trying t

Re: [NTG-context] Typesetting hebrew in a table...

2019-08-12 Thread Taco Hoekwater
> On 12 Aug 2019, at 15:08, Willi Egger wrote: > > Hi all, > > my brother is studying Ifrith and wants to have a dictionary. The idea is to > typeset left German and right Ifrith in a /bTABLE…\eTABLE environment. > > When trying to typeset the Ifrith text is not bro

[NTG-context] Typesetting hebrew in a table...

2019-08-12 Thread Willi Egger
Hi all, my brother is studying Ifrith and wants to have a dictionary. The idea is to typeset left German and right Ifrith in a /bTABLE…\eTABLE environment. When trying to typeset the Ifrith text is not broken into lines correctly i.e. it is leaping into the cell reserved for the German text

Re: [NTG-context] align figures verticaly centered in \startcombination mode

2019-08-08 Thread Wolfgang Schuster
]}{}\FlushStep} {{\externalfigure[bogus][width=.3\makeupwidth]}{}\FlushStep} \stopcombination} \stopplacefigure \StopSteps \stoptext Each entry in the combination environment consists of the content and a caption but in your example you omitted the caption for each figures and as a result the second

Re: [NTG-context] Captions with background

2019-08-04 Thread Henning Hraban Ramm
Am 2019-08-04 um 10:33 schrieb Hans Hagen : > > Thank you! That is much cleaner than my try, of course. I’ll try to transfer that into my environment. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C

Re: [NTG-context] Figure labels in combinations

2019-07-30 Thread Luca Mauri
of the picture works ok, but anywhere else in the text, either before of after the placefigure environment, it generates a reference to the last picture produced, that is pic3 after and pic0, say, before. I though it was aproblem of expanding the figure counter and added \expanded either before

Re: [NTG-context] Figure labels in combinations

2019-07-30 Thread Alan Braslau
On Tue, 30 Jul 2019 11:20:03 +0200 Luca Mauri wrote: > I am trying to typeset two or more figures next to each other, inside a > floating environment, each with its own label. I am familiar with a mechanism > of the form > > \startplacefigure[reference=pic] > \startcombinat

[NTG-context] Figure labels in combinations

2019-07-30 Thread Luca Mauri
I am trying to typeset two or more figures next to each other, inside a floating environment, each with its own label. I am familiar with a mechanism of the form \startplacefigure[reference=pic] \startcombination[3*1] {figure 1}{a} {figure 2}{b} {figure 3}{c} \stopcombination \stopplacefigure

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Alan Braslau
On Tue, 16 Jul 2019 22:32:39 +0200 Marco Patzer wrote: > However, I'd prefer to not have another environment around the > combinations, but if there's no other way, I'd settle for your > approach. So far that seems to be the best choice. A combination is a construction, n

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Marco Patzer
On Tue, 16 Jul 2019 21:09:15 +0200 Wolfgang Schuster wrote: > A alternative to using floats is to put the combination in a > linecorrection environment, i.e. > > \startlinecorrection >   \startcombination [2*2] >   ... >   \stopcombination

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Wolfgang Schuster
= left middle right top bottom = DIMENSION = label text = inherits: \setupalign = yes no = COMMAND = COMMAND = COMMAND = STYLE COMMAND = COLOR I hope this will enable you to get what you want. None of these options is applied at the begin or end of the environment (use the following setup

[NTG-context] Is it possible to define a float environment that uses 2 captions? (and another question)

2019-07-09 Thread Andres Conrado Montoya
I'm working on a book that uses tables and figures, but the editors want to use to diffferent captions for each figure: one as usual, with the float description and number, and another one with a "Source" for said float. Something like: - |

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-09 Thread Thangalin
nged to only look for "u" if followed by >> > "p_done", marking the end of a component? >> i'll look into it (irr in generic mode (latex etc) one can disable that >> 'feature' which i thought happened) >> >> Hans >> >>

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-08 Thread Andres Conrado
t; <20190707230656.horde.ivjtqk9tntfvgh0ibshn...@webmail.fiee.net> > Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes > > Hi all, > I’m quite quiet at the moment, because I can access my mailing list > address only via inconvenient webmail; sin

Re: [NTG-context] problems with images, layers and crop marks

2019-07-08 Thread Hans Hagen
lly; might be related to using \offset for image placement. I’m trying to cook up MWEs, but the behaviour is so strange and irregular, that I don’t know if I can reproduce it in a simpler environment... I suspect my combined use of postponing, makeups, layers and \offset might have grown side effects

[NTG-context] problems with images, layers and crop marks

2019-07-07 Thread Henning Hraban Ramm
placement. I’m trying to cook up MWEs, but the behaviour is so strange and irregular, that I don’t know if I can reproduce it in a simpler environment... I suspect my combined use of postponing, makeups, layers and \offset might have grown side effects since May. Any ideas? Greetlin

Re: [NTG-context] issue with italic correction (again)

2019-06-27 Thread Taco Hoekwater
nces among \setupbodyfont, > \switchtobodyfont and \usebodyfont. Generally, you use \setupbodyfont exactly once, in the setup area. This sets up the fonts for the whole document, and it also sets up some values for the ‘global environment’ (various internals use the body font size, for inst

Re: [NTG-context] serial letters

2019-05-24 Thread jean-philippe . rey
Thank you very much Wolfgang, It works very well and perfectly suits my needs. Thanks again, > Le 24 mai 2019 à 18:05, Wolfgang Schuster > a écrit : > > The problem is that you put the letter-environment in a command but the > environment uses the buffer mechanism to store th

Re: [NTG-context] serial letters

2019-05-24 Thread Wolfgang Schuster
being to generate as many letters I like by multiplying the \GenLetter line. However, I get an error message I don’t understand. Can someone point to the thing I am doing wrong ? The problem is that you put the letter-environment in a command but the environment uses the buffer mechanism

Re: [NTG-context] XML roundtripping

2019-05-16 Thread Hans Hagen
the xml files? I know that I can process a file with \xmlprocessfile or call it from the command line with --env=, and in a normal tex-file I could obviously use \environment for this,  but how does this work with xml? with "somefile.ctx" being: My very special style

Re: [NTG-context] XML roundtripping

2019-05-15 Thread Denis Maier
ling what styel > to load and you can run individual files or assemblies ... all the stuff > needed to do that is there (and probably also documented someplace) > Ok. Sounds good. How can I call the style in the xml files? I know that I can process a file with \xmlprocessfile or call it from the comma

Re: [NTG-context] Compiling multiple files without master document

2019-05-15 Thread Denis Maier
Ok, so no all-files-as-one option at the moment? Do you think this would be useful? Am Mi., 15. Mai 2019 um 09:20 Uhr schrieb Hans Hagen : > On 5/14/2019 9:58 AM, Denis Maier wrote: > > > context file1 file2 file3 --environment=mydefs > this will process three files not three-

Re: [NTG-context] Compiling multiple files without master document

2019-05-15 Thread Hans Hagen
On 5/14/2019 9:58 AM, Denis Maier wrote: context file1 file2 file3 --environment=mydefs this will process three files not three-as-one Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Questions regarding project structure

2019-05-15 Thread Denis Maier
Hi, I am just testing out the project structure. Let's suppose I have these files: - test_env.tex ``` \startenvironment * \setuphead [section] [textstyle=\bf] \stopenvironment ``` - test_project ``` \startproject * \environment test_env \product test_prod \stopproject

[NTG-context] Compiling multiple files without master document

2019-05-15 Thread Denis Maier
Hi, Currently it is possible to process a file with an external environment file specified via the command line. ``` context file --environment=mydefs ``` Very nice. Is it possible to process multiple files from the command line without a master document? Like so: ``` context file1 file2

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

2019-04-28 Thread Paul Schalck
@Hans: Thanks a lot, I'm looking forward to testing it. @Alan: Like Hans said. It's a new option, and I have it activated in my local environment file. It's the only and clumsy way to control the interface setting since Adobe Reader cannot save the state of the menu bar permanently (which

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

2019-04-28 Thread Hans Hagen
On 4/28/2019 5:25 PM, Alan Braslau wrote: On 28Apr19, at 04:27, Hans Hagen wrote: \setupinteractionscreen[option=nomenubar] switch. I wonder if it would be possible to add this little feature to the source code. Why don’t you simply put this setup in your local environment (texmf-local

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

2019-04-28 Thread Alan Braslau
> On 28Apr19, at 04:27, Hans Hagen wrote: > >> \setupinteractionscreen[option=nomenubar] switch. >> I wonder if it would be possible to add this little feature to the source >> code. Why don’t you simply put this setup in your local environment (texmf-loc

Re: [NTG-context] problems with "pagecomment"

2019-04-27 Thread Mohammad Hossein Bateni
{} -- What does the second argument to \grabbufferdatadirect mean? Nothing changes when I modify that. The point of redefining the pagecomment environment for me was to style it a bit: add \righttoleft at the beginning, and surround the content in startstopnarrower. How can I inject prepend/append

Re: [NTG-context] problems with "pagecomment"

2019-04-26 Thread Wolfgang Schuster
(as in the second page), ConTeXt produces errors. What is wrong there? The pagecomment environment uses the buffer mechanism to store the content of the environment but a limitation of buffers is that you can't put them into other commands because the scan for a certain delimiter, e.g

[NTG-context] mathalign: specifying distance with glue

2019-04-23 Thread Aditya Mahajan
Hi, amsmath provides an environment `flalign` that flushes the "block" for display math. See page 6 (pdf page 27) of my article on display math in context (https://www.ntg.nl/maps/34/06.pdf) for an example. As shown in that article, I could achieve the same behavior in context

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Henning Hraban Ramm
ith > > \setupindex[balance=no] Of course, I should have remembered that. > or disable columns for the index and flush the content within a columns > environment. > > \startmixedcolumns %[grid=no] > \placeindex[n=1] > \stopmixedcolumns Both work and give the same result, thank you!

Re: [NTG-context] index entries printed over each other

2019-04-14 Thread Wolfgang Schuster
with LuaTeX; the same with the previous version. This can be a problem with the columns mechanism. You can try to disable balancing with \setupindex[balance=no] or disable columns for the index and flush the content within a columns environment. \startmixedcolumns %[grid=no] \placeindex[n=1

Re: [NTG-context] caching buffers?

2019-04-12 Thread Henning Hraban Ramm
ia t-filter? >> If you need a MWE for this, I’ll assemble one. My actual setup is quite >> complicated, maybe that’s the problem... > \starttext > >\startbuffer[old-feature] >% load the relevant environment if needed >It works! >\stopbuffer &g

Re: [NTG-context] caching buffers?

2019-04-12 Thread Hans Hagen
he problem... \starttext \startbuffer[old-feature] % load the relevant environment if needed It works! \stopbuffer \typesetbuffer[old-feature][frame=on,width=4cm] \stoptext Only when buffers change they will be retype

Re: [NTG-context] serial letters

2019-04-10 Thread Henning Hraban Ramm
tex file for every letter? >> I know how to do the latter, but I’d like to learn a more ConTeXt-ish way. >> Would it make sense to use the bibliographies module? > > You can use the letter module when you drop the normal letter-environment > which is to limited in this case because i

Re: [NTG-context] serial letters

2019-04-09 Thread Wolfgang Schuster
the bibliographies module? You can use the letter module when you drop the normal letter-environment which is to limited in this case because it uses the buffer mechanism to store the content. To have more control over the content for the opening etc. you can switch to the setups alternative (even

Re: [NTG-context] luametatex : command not found

2019-04-08 Thread Fabrice Couvreur
ng this time > > export PATH = $HOME/home/viserion/data/context/tex/texmf-linux-64/bin:$ > PATH > Thanks > Fabrice > > Le dim. 7 avr. 2019 à 23:07, Joseph Canedo a > écrit : > >> Hi Fabrice, >> >> >> >> Have you added /home/viserion/dat

Re: [NTG-context] follow up

2019-04-08 Thread Otared Kavian
E >> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl >> - >> >> >> -- >> >> Message

Re: [NTG-context] luametatex : command not found

2019-04-08 Thread Fabrice Couvreur
Hi Fabrice, > > > > Have you added /home/viserion/data/context/tex/texmf-linux-64/bin to your > PATH environment variable? > > > > Joseph > > > > *De : *Fabrice Couvreur > *Envoyé le :*dimanche 7 avril 2019 13:13 > *À : *mailing list for ConTeXt user

Re: [NTG-context] additional space with sidebar and narrower

2019-04-07 Thread Henning Hraban Ramm
b am 26.03.19 um 16:04: >>>>> Thank you, I found that myself (could have written). >>>>> >>>>> But the problem is that there’s space introduced if I use both >>>>> environments, but not if I use only one. And I didn’t find

Re: [NTG-context] luametatex : command not found

2019-04-07 Thread Joseph Canedo
Hi Fabrice, Have you added /home/viserion/data/context/tex/texmf-linux-64/bin to your PATH environment variable? Joseph De : Fabrice Couvreur Envoyé le :dimanche 7 avril 2019 13:13 À : mailing list for ConTeXt users Objet :[NTG-context] luametatex : command not found Hi, My system is unix

Re: [NTG-context] additional space with sidebar and narrower

2019-04-07 Thread Hans Hagen
space introduced if I use both environments, but not if I use only one. And I didn’t find how I can avoid that. Change the order of both environment and put sidebar in the narrower block. The reason for the extra line is that \startsidebar begins a new paragraph but \startnarrower end the lest

Re: [NTG-context] additional space with sidebar and narrower

2019-04-07 Thread Henning Hraban Ramm
hat there’s space introduced if I use both >>> environments, but not if I use only one. And I didn’t find how I can avoid >>> that. >> Change the order of both environment and put sidebar in the narrower block. >> >> The reason for the extra line is that \startside

Re: [NTG-context] follow up

2019-04-05 Thread Jeong Dal
200 > From: Hans Hagen > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] follow up > Message-ID: <8f908232-5516-b2a7-df76-51eba0c51...@xs4all.nl> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 4/5/2019 12:17 AM, Jeong Dal wrote: >> De

Re: [NTG-context] follow up

2019-04-05 Thread Otared Kavian
otherwise the corresponding pdf file will be created in the wrong place…). Best regards: OK > On 5 Apr 2019, at 00:17, Jeong Dal wrote: > > Dear Hans, > > I have installed both ConTeXt LMTX and ConTeXt MKIV side by side. > But I have a problem to run it. > > If it is OK

Re: [NTG-context] follow up

2019-04-04 Thread Hans Hagen
On 4/5/2019 12:17 AM, Jeong Dal wrote: Dear Hans, I have installed both ConTeXt LMTX and ConTeXt MKIV side by side. But I have a problem to run it. If it is OK to run a file in LMTX environment, then I got a following error when I run it in MKIV environment. “I can’t fine a file

Re: [NTG-context] follow up

2019-04-04 Thread Jeong Dal
Dear Hans, I have installed both ConTeXt LMTX and ConTeXt MKIV side by side. But I have a problem to run it. If it is OK to run a file in LMTX environment, then I got a following error when I run it in MKIV environment. “I can’t fine a file …../defFonts.tex” even though

Re: [NTG-context] Troubles with the \cldcontext command

2019-04-02 Thread Willi Egger
Dear Wolfgang! thank you so much for your reply. I tried the test file and it works. tomorrow I will look further in a bigger environment. Thanks and good night! Willi > On 2 Apr 2019, at 21:17, Willi Egger wrote: > > Hello! > > I have the following code, which should mani

Re: [NTG-context] additional space with sidebar and narrower

2019-03-26 Thread Henning Hraban Ramm
one. And I didn’t find how I can avoid that. > Change the order of both environment and put sidebar in the narrower block. > > The reason for the extra line is that \startsidebar begins a new paragraph > but \startnarrower end the lest paragraph which results in a single empty &

Re: [NTG-context] additional space with sidebar and narrower

2019-03-26 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 26.03.19 um 16:04: Thank you, I found that myself (could have written). But the problem is that there’s space introduced if I use both environments, but not if I use only one. And I didn’t find how I can avoid that. Change the order of both environment and put

<    4   5   6   7   8   9   10   11   12   13   >