Re: [NTG-context] Setting up macvim in mac os catalina to work with LMTX

2020-04-23 Thread Nicola
is typically located at $HOME/.vim/vimrc (note that the filename does *not* start with a dot, only the directory's name does). Good ConTeXt typesetting in Vim! Nicola ___ If your question is of interest to ot

[NTG-context] Custom color schemes in t-vim

2020-05-14 Thread Nicola
pscolor and blackandwhite, though. I see that \startcolorscheme is not documented, so maybe there is another mechanism? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Nicola
On 2020-05-14, Aditya Mahajan wrote: > On Thu, 14 May 2020, Nicola wrote: > >> Quick question: Is \startcolorscheme... \stopcolorscheme (still) >> supported by t-vim? > It is supposed to work. If it doesn't, then it is a bug. Could you > provide a complete MWE. Pl

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Nicola
nt instead of String. Looking at 2context.vim, AFAICS s:id_name seems computed correctly. Maybe, the script does not set the appropriate filetype? Nicola ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Custom color schemes in t-vim

2020-05-17 Thread Nicola
A couple of remarks: 1. In one of my old documents, I had this command inside the colorscheme block: \setups{vim-minor-groups} Was that to achieve the same purpose? 2. The wiki has no mention of \startcolorscheme... \stopcolorscheme or \setups. An exa

Re: [NTG-context] Custom color schemes in t-vim

2020-05-17 Thread Nicola
On 2020-05-17, Nicola wrote: > On 2020-05-17, Aditya Mahajan wrote: >> Uploaded a new version with a fix. I have tried the latest beta and, indeed, it now seems to work as expected. Thanks! Nicola __

[NTG-context] A simpler way to install LMTX in macOS Catalina

2020-05-30 Thread Nicola
npack 3. cd context-osx-64 4. xattr -d com.apple.quarantine bin/mtxrun 5. sh ./install.sh Point 4 is important to avoid the dialog "mtxrun cannot be opened because the developer cannot be verified." Of course, it would be better if the binary were si

Re: [NTG-context] A simpler way to install LMTX in macOS Catalina

2020-05-30 Thread Nicola
On 2020-05-30, Arthur Reutenauer wrote: > Nicola, > > On Sat, May 30, 2020 at 11:09:28AM -0000, Nicola wrote: >> 1. Download macOS's version of LMTX from >> https://wiki.contextgarden.net/Installation >> 2. Unpack >> 3. cd context-osx-64 >> 4. x

[NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
\setuphead[chapter][after={}] (see below) with an environment setup that applies only to the ToC? Nicola %%% \definepapersize[lsda][width=128.4mm,height=198.3mm] \setuppapersize[lsda] \setuplayout[ backspace=22.9mm, width=90.3mm

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
l the titles to be aligned: Preface I XYZ ... VIII XYZ ... I have tried to do my homework by playing with \setuphead, but I am afraid I need your help on this. Nicola ___ If your question is of inte

[NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
}]\stopchapter \startchapter[title={B}]\stopchapter \stopfrontmatter \stoptext The first entry in the ToC has page number 0. I can fix it by uncommenting the commented line or by removing the makeup. Is this expected behaviour? If so, why? Nicola

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 9:24 PM, Nicola wrote: >> Thank Pablo, Wolfgang, >> I have learned more by reading your replies than by myself in the rest >> of the afternoon. > > Hi Nicola, > > if you found replies useful, please upda

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 10:11 PM, Nicola wrote: >> Consider this example: >> >> \definemakeup[toc][align=middle] >> \setuppagenumbering[alternative=doublesided] >> \starttext >> \startfrontmatter >>

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-12 Thread Nicola
On 2020-08-12, Wolfgang Schuster wrote: > Nicola schrieb am 11.08.2020 um 22:21: >> On 2020-08-11, Pablo Rodriguez wrote: >>> On 8/11/20 9:24 PM, Nicola wrote: >>>> Thank Pablo, Wolfgang, >>>> I have learned more by reading your replies than b

[NTG-context] \setfirstline is applied to whole paragraph

2020-08-12 Thread Nicola
-context | mtx-context | main context file: /Users/nicola/Applications/context-osx-64/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.08.11 15:59 mtx-context | main context file: /Users/nicola/Applications/context-osx-64/tex/texmf-context/tex

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
opbodymatter \stoptext How do I suppress the blank page after the ToC? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mail

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
On 2020-08-13, Pablo Rodriguez wrote: > On 8/13/20 5:17 PM, Nicola wrote: >> Hi, >> I still have an issue with blank pages... >> >>>> 2. Vertically center the ToC (wrt to the text area). >>> >>> Use a makeup for the TOC (if and only if it take

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
On 2020-08-13, Pablo Rodriguez wrote: > On 8/13/20 6:06 PM, Nicola wrote: >> [...] >> Thanks. That works with my MWE, but in my document I actually have >> a chapter, and chapters start on the right page, even if I add page=no >> to \setuppagenumbering: >> [..

Re: [NTG-context] How to write readable source files?

2021-04-24 Thread Nicola
he plugin provides the tp text object. So, for instance, you may type gqtp to reformat the current paragraph (with hard breaks) using the current textwidth. Nicola ___ If your question is of interest to others as wel

Re: [NTG-context] How to write readable source files?

2021-04-25 Thread Nicola
n defs, types, and other keywords), I'd be happy to improve omni-completion for ConTeXt in Vim. Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt

[NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-04-30 Thread Nicola
/scripts/context/lua/mtx-context.lua $ find / -name base.lua [Nothing found] $ find / -name mtx-base.lua /usr/share/texmf-dist/scripts/context/lua/mtx-base.lua Anyone running ConTeXt on Alpine? Any idea what is wrong? Nicola >mtxrun --generate resolvers | resolving

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
On 2021-05-01, Pablo Rodriguez wrote: > On 4/30/21 8:53 PM, Nicola wrote: >> I'd like to run ConTeXt on Alpine Linux (ultimately, to run it on an >> iPad with the iSH app). I am currently testing it with Docker. This is >> what I have done: >> [...] >> Anyo

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
On 2021-05-01, Bruce Horrocks wrote: >> On 30 Apr 2021, at 19:53, Nicola wrote: >> >> I'd like to run ConTeXt on Alpine Linux (ultimately, to run it on an >> iPad with the iSH app). I am currently testing it with Docker. This is >> what I have done: >

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
On 2021-05-01, Mojca Miklavec wrote: > On Fri, 30 Apr 2021 at 20:53, Nicola wrote: >> Then, I run `mtxrun --generate`, which exits instantly with the output >> reported below. However, that is apparently not enough. I still get: >> >> $ context Hello-world.tex >&

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-03 Thread Nicola
On 2021-05-02, Bruce Horrocks wrote: > > >> On 1 May 2021, at 21:35, Nicola wrote: >> >> On 2021-05-01, Bruce Horrocks wrote: >>>> On 30 Apr 2021, at 19:53, Nicola wrote: >>>> >>>> I'd like to run ConTeXt on Alpine Linux (ultima

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-03 Thread Nicola
a not jailbroken device: https://github.com/ish-app/ish/wiki/Install-&-Activate-Alternate-Filesystems Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-06 Thread Nicola
TeXt from the texlive package (TeX Live 2020) of Alpine Linux 3.12 (x86_64). I get the error in my original post to this thread, which I could not solve with the suggested fixes. If other can reproduce it, maybe it's worth reporting upstream to Alpine developers. I can insta

Re: [NTG-context] KeenWrite 2.0

2021-05-11 Thread Nicola
all ./keenwrite.rb keenwrite Nicola # Save as zulufx16.rb cask "zulufx16" do version "16.0.1,16.30.15-ca" if Hardware::CP

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-16 Thread Nicola
On 2021-05-07, Nicola wrote: > On 2021-05-06, Bruce Horrocks wrote: >>> Sorry, my explanation of what I am trying to achieve was a bit too >>> terse. > >> Thank-you for the explanation - that's much clearer. >> >> I've experimented a bit with

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-16 Thread Nicola
is willing to support ConTeXt in the best possible way... > see? the info is just there, so you can try to convince the texshop > creator to support this: > >-- call an external program with these arrguments (the texhop editor > knows the positio

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-17 Thread Nicola
On 2021-05-16, Hans Hagen wrote: > On 5/16/2021 5:30 PM, Nicola wrote: > >>> see? the info is just there, so you can try to convince the texshop >>> creator to support this: >>> >>> -- call an external program with these arrguments (the texhop ed

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-20 Thread Nicola
On 2021-05-16, Hans Hagen wrote: > On 5/16/2021 5:30 PM, Nicola wrote: > >> Anyway, I am positive that he is willing to support ConTeXt in the best >> possible way... > > Sure. I met him a few times. Definitely an asset for the tex community. > >>> see? the i

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-21 Thread Nicola
. I'd be happy to help, and I am sure other users are interested, too. Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.n

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-21 Thread Nicola
On 2021-05-21, Hans Hagen wrote: > On 5/21/2021 10:50 AM, Nicola wrote: >> On 2021-05-20, Hans Hagen wrote: >> >>>> One thing he asked is what I was asking you: it >>>> would be useful if there were a way to sync in the other direction as >>>> w

[NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-21 Thread Nicola
Modules#ConTeXt_LMTX t-vim VERSION reads 2021.03.01. Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-21 Thread Nicola
On 2021-05-21, Nicola wrote: > For some reason, the vim module has stopped highlighting code associated > to custom filetypes (it still works for built-in filetypes). I think I have found the culprit. In t-vim.tex, lines 63-88, Vim is called with --clean. That option appears *aft

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-21 Thread Nicola
highlighters would add much value to what is already there. But if it is possible to make the module more general without overcomplicating it, it might be a good idea. I have only a minor annoyance: I have just noticed that -- is typeset as an en-dash in LMTX (but not in MKIV, as documented). Could

[NTG-context] Define new symbol by stitching two symbols together

2021-05-22 Thread Nicola
the arrow and the brackets, i.e., -[ should appear like a single glyph; ditto for ]-->. With the definition above, however, the space is variable, and in some circumstances the gliphs overlap. How can I improve the above definition?

Re: [NTG-context] Define new symbol by stitching two symbols together

2021-05-24 Thread Nicola
On 2021-05-24, Aditya Mahajan wrote: > On Sun, 23 May 2021, Hans Hagen wrote: > >> On 5/22/2021 8:23 PM, Nicola wrote: >> > I would like to define new symbols by stitching together existing >> > glyphs. This is what I have come up so far: >> > &

[NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Nicola
le of the paper. In Booktitle, p. 34–39. or something similar. I can reproduce it with ConTeXt from TeX Live 2021 and the current LMTX. Is it a bug? Nicola ___ If your question is of interest to others as well, pleas

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-27 Thread Nicola
On 2021-05-24, Aditya Mahajan wrote: > On Fri, 21 May 2021, Nicola wrote: > >> I have only a minor annoyance: I have just noticed that -- is typeset as >> an en-dash in LMTX (but not in MKIV, as documented). Could you look into >> that? > > Fixed in the new relea

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-27 Thread Nicola
wn", or anything else can > always put editor="Anonymous", etc. in their .bib database. Thank you all for the precious comments. The current LMTX appears to have almost fixed my issue, except that inproceedings entries without a publisher have the text "Author" instead of the pub

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-27 Thread Nicola
On 2021-05-27, Aditya Mahajan wrote: > On Thu, 27 May 2021, Nicola wrote: > >> On 2021-05-24, Aditya Mahajan wrote: >> > On Fri, 21 May 2021, Nicola wrote: >> > >> >> I have only a minor annoyance: I have just noticed that -- is typeset as >> >&

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-28 Thread Nicola
lighting[align=flushleft] > > or as part of defining the typing environment: > > \definevimtyping[...][, align=flushleft, ...] I can confirm that this workaround works for me. Nicola ___ If your q

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Nicola
at it has also evolved quite a bit in recent years. So, the "ConTeXt way" of doing bibliographies still eludes me to some extent. Nicola ___ If your question is of interest to others as well, please

Re: [NTG-context] How to write readable source files?

2021-05-29 Thread Nicola
a custom script in the past for fine-grained keyword extraction from MetaFun's source code. By fine-grained, I mean that the output contains information about the kind of keyword (def, primary def, vardef, constant, variable, etc.) I could update it

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-29 Thread Nicola
m (including the PDF->TeX direction, which hopefully will land soon in beta, if it hasn't already). Just one clarification: does this work only for ConTeXt, or is it based on LuaTeX regardless of what is being typeset? Nicola __

Re: [NTG-context] How to write readable source files?

2021-05-29 Thread Nicola
On 2021-05-29, Hans Hagen wrote: > On 5/29/2021 5:03 PM, Nicola wrote: >>> these lists are generated by mtx-interface so we can add more if needed >> >> Could you please elaborate on the (automatic?) data flow from ConTeXt's >> source files to data files for ea

Re: [NTG-context] How to write readable source files?

2021-05-30 Thread Nicola
use each group can have different properties (and the user can customize that), although by default several groups are highlighted in the same way (e.g., all macros have the same highlighting by default). Nicola ___ If your

[NTG-context] Fatal error: return code: 256 with documents in ConTeXt's distribution

2021-06-18 Thread Nicola
hould I search for something wrong with my setup? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listin

[NTG-context] [OT] TeXShop v4.66 adds support for new ConTeXt's syncing method

2021-07-08 Thread Nicola
his relentless support of the macOS TeX community and, in this case, of the ConTeXt community! Happy ConTeXt'ing! Nicola ___ If your question is of interest to others as well, please add an entry to the W

Re: [NTG-context] [OT] TeXShop v4.66 adds support for new ConTeXt's syncing method

2021-07-08 Thread Nicola
On 2021-07-08, Nicola wrote: > I have brought TeXShop's page in the wiki up to date (I haven't touched > what are currently §1.4 and §1.5) Typo, sorry: I meant §1.5 and §1.6. Nicola ___ If you

Re: [NTG-context] drop cap (initial) and indentation

2021-07-19 Thread Nicola
lettrine with ConTeXt LMTX, if you wish. You just need to add the modules manually, currently: https://wiki.contextgarden.net/Modules#ConTeXt_LMTX Nicola ___ If your question is of interest to others as well, pleas

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-21 Thread Nicola
On 2021-07-21, Gerben Wierda wrote: >> On 19 Jul 2021, at 09:56, Nicola wrote: >> >> On 2021-07-18, Gerben Wierda wrote: >>> PS. switching \kap and \bf has an interesting result, the first >>> character of the words is not in bold. This did not happen with

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-25 Thread Nicola
te, so you may still want to retain the directory. For instance, the one I rely upon is the vim module for typesetting code, and that one is compatible with LMTX. There may be others. Nicola ___ If your question is of inte

[NTG-context] XeConTeXt and Euler

2007-03-18 Thread nicola
use of virtual fonts), but I know that Euler works in XeTeX: is it possible to make it work in XeConTeXt? Below you find my sample code. Nicola %!TEX TS-program = XeConTeXt %!TEX encoding = UTF-8 Unicode \definetypeface[Charis][rm][Xserif][Charis SIL][default][encoding=uc] \definetypeface[Dou

Re: [NTG-context] XeConTeXt and Euler

2007-03-18 Thread nicola
In article <[EMAIL PROTECTED]>, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Sun, 18 Mar 2007, nicola wrote: > > My goal is to use an arbitrary text font together with the Euler math > > font. I am able to use a few combinations in ConTeXt, e.g. Palatino with >

Re: [NTG-context] ! Unable to make mpx file.

2007-03-24 Thread nicola
ttp://thread.gmane.org/gmane.comp.tex.metapost/323/focus=330 Nicola ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Relationship among mptopdf, mpost and latex

2007-03-25 Thread nicola
n in the output; variant 1) I get the error: ! Unable to make mpx file. l.3 btex x_1 etex So, I kindly ask someone to help me tidy things up. In particular: a) Is it possible to include the MetaFun macros when using mpost? b) Is it possible to use the %&latex syntax with mptopdf?

Re: [NTG-context] Relationship among mptopdf, mpost and latex

2007-03-31 Thread nicola
n" ; } The rationale here is that, probably, the more complicated processing by texexec is not relevant to the LaTeX user. My other question was: is page 5, ?1 in metafun-p.pdf obsolete? As I have already pointed out, 'input mp-tool; input mp-spec;' at the beginning of m

Re: [NTG-context] unicode in metafun?

2007-04-07 Thread nicola
In article <[EMAIL PROTECTED]>, Andrea Valle <[EMAIL PROTECTED]> wrote: > Hi to all, > > I'm plotting a phonetic formant chart with metapost inside context. > I know I can't use TIPA, but I would be happy with utf8. I did something similar with XeTeX and ConTeXt using the \sometxt macro, e.g.:

[NTG-context] \loadcurrentMPgraphic from metafun manual

2007-06-08 Thread nicola
{width=8cm,height=1cm}\placeMPgraphic \egroup but nothing is drawn unless I remove the setups in curly braces (in which case a rectangle 5cm x 1cm is drawn). Is there a different way to pass options to the figure inclusion macro? Nicola

[NTG-context] drawoptions in \startMPinclusions

2007-06-14 Thread nicola
. Is this a bug? Or do I misunderstand the purpose of \startMPinclusions (I have assumed that it inserts the text verbatim inside each figure definition)? I am using ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2007.6.8 int: english/english Nicola

[NTG-context] Several environments in a project?

2007-06-18 Thread nicola
this: \startproduct OneProduct \project MyProject \environment OneProductDir/LocalEnvironment ... The problem is that the local environment is not read when I typeset a particular component, but only when I typeset the whole product. How can I fix that? Nicola

Re: [NTG-context] Several environments in a project?

2007-06-19 Thread nicola
In article <[EMAIL PROTECTED]>, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Mon, 18 Jun 2007, fiëé visuëlle wrote: > > > Am 2007-06-18 um 12:50 schrieb nicola: > > > >> I have a project with a few products sharing the same layout, which is > >&

Re: [NTG-context] Several environments in a project?

2007-06-20 Thread nicola
X \product Y \project Z So, the rule of thumb is: include all environments in the project file, not in the products files, if you want them to be read when typesetting the project, a product or a component. That works for me. Tha

[NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
save s; string s; s = ""; for i = 0 upto n-1: s := s & "label(\sometxt{test},(" & decimal(i) & "*cm,0));"; endfor; s enddef; scantokens(prepare(10)); Nicola

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
In article <[EMAIL PROTECTED]>, Aditya Mahajan <[EMAIL PROTECTED]> wrote: > On Sat, 23 Jun 2007, nicola wrote: > > > Hi, > > given the following XeConTeXt document (I use ConTeXt ver: 2007.01.12): > > > > \definetypeface[MyMainFace][rm

[NTG-context] Macro with suffix

2007-06-23 Thread nicola
hic ...MPgraphic #3\stopMPgraphic \ifMPrun \else \loadMPgrap... ... Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
t; No, use \dostepwiserecuse. The general syntax is > > \dostepwiserecurse {from} {to} {step} {action} > > so > > \dostepwiserecurse {0} {9} {1} > {\TeXtext{\recurselevel}{$x_{\recurselevel}$} should work. Thank you very much! Nicola

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-24 Thread nicola
ed that, but sometxt(0) prints nothing. Anyway, I have solved it like this: \startTeXtexts \TeXtext{0}{$x_0$} \dorecurse{30}{\TeXtext{\recurselevel}{$x_{\recurselevel}$}} \stopTeXtexts Thanks again! Nicola ___ If

[NTG-context] Labels in figures with wrong bounding box

2007-06-28 Thread nicola
is fine. My environment file is quite long and I cannot find a short example showing the problem. The deformed labels seem to be always among those written by \sometxt (but not all of them are wrong!), while those written using sometxt() seem always ok. What may it depend upon? Nicola PS: I am

Re: [NTG-context] Labels in figures with wrong bounding box

2007-06-29 Thread nicola
In article <[EMAIL PROTECTED]>, nicola <[EMAIL PROTECTED]> wrote: > Hi, > I am typesetting a document with XeConTeXt, containing many MetaPost > figures. All the labels in the figures are typeset using \sometxt{} and > sometxt(). For some reasons, in the final docu

[NTG-context] Error: attempt to perform arithmetic on global 'ex' (a nil value)

2016-05-30 Thread Nicola
I have started to get the error in the subject when typesetting the following document with recent betas: \starttext $P\/$) \stoptext Removing \/ (or the parenthesis) fixes the error. Is this a regression? Nicola

[NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
\HL \NC \bot \NC \AR \NC 1 \NC \AR \stoptable \stoptext No red background, though. What am I missing? The next step would be how to use a hatched pattern, but for now I'd be happy with a flat colo

Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
On 2016-05-30 16:45:37 +, Wolfgang Schuster said: Nicola 30. Mai 2016 um 17:45 I'd like to set a default background color for all the tables in my document. This is what I have tried (using the latest beta): \setuptables[background=color,backgroundcolor=red] \starttext \starttabl

[NTG-context] Citations and links

2016-06-13 Thread Nicola
When I use \cite[Author:2016], the (Author, 2016) in the output is hyperlinked to the reference. But when I use \cite[Author1:2016,Author2:2015], the resulting (Author1, 2016 and Author2, 2015) is not hyperlinked. Is it possible to get hyperlinks in the latter case, too? Nicola

Re: [NTG-context] Citations and links

2016-06-13 Thread Nicola
On 2016-06-13 14:29:37 +, Alan BRASLAU said: On Mon, 13 Jun 2016 12:38:39 +0200 Nicola wrote: When I use \cite[Author:2016], the (Author, 2016) in the output is hyperlinked to the reference. But when I use \cite[Author1:2016,Author2:2015], the resulting (Author1, 2016 and Author2, 2015

[NTG-context] Execute ConTeXt script from outside a project's directory

2016-06-19 Thread Nicola
Is there a way to specify a project's directory? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinf

[NTG-context] Equivalent of extras option in new bibliography system?

2016-07-01 Thread Nicola
In the past (MKII) I used citations of the form: \cite[extras={, p.~24}][Author:2016] The extras option seems to be ignored by MKIV's bibliography system. What is the equivalent of the above? Nicola ___ If

Re: [NTG-context] Equivalent of extras option in new bibliography system?

2016-07-01 Thread Nicola
On 2016-07-01 14:53:00 +, Hans Hagen said: On 7/1/2016 12:17 PM, Nicola wrote: In the past (MKII) I used citations of the form: \cite[extras={, p.~24}][Author:2016] The extras option seems to be ignored by MKIV's bibliography system. What is the equivalent of the above? lef

Re: [NTG-context] Equivalent of extras option in new bibliography system?

2016-07-02 Thread Nicola
On 2016-07-02 00:07:56 +, Alan Braslau said: On Fri, 1 Jul 2016 19:13:26 +0200 Nicola wrote: It does not seem to work with my example. The output of the MWE below is: (Author, 2016 XXX) (Author, 2016) The comma seems the culprit. Yes. Consider: \cite[righttext={{, p.~24},{, p.~xx

[NTG-context] Info about MetaPost

2016-09-09 Thread Nicola
embedded version of MetaPost. Is that aligned with the stand-alone executable (mpost)? Thanks in advance, Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Info about MetaPost

2016-09-09 Thread Nicola
On 2016-09-09 13:21:21 +, luigi scarso said: On Fri, Sep 9, 2016 at 12:47 PM, Nicola wrote: Hi, I write to this mailing list because the MetaPost mailing list has been silent for a while. I hope it is ok. I am getting to grips with MetaPost after a long hiatus, so I have not followed

Re: [NTG-context] ANN: Updated Vim scripts for METAFONT/MetaPost

2016-09-18 Thread Nicola
On 2016-09-18 10:46:44 +, Nicola said: I have updated the {mf,mp}.vim scripts in Vim ConTeXt users will benefit from these scripts, too, inside MetaPost environments. Put these lines in ./vim/after/ftplugin/context.vim: setlocal omnifunc=syntaxcomplete#Complete let

Re: [NTG-context] ANN: Updated Vim scripts for METAFONT/MetaPost

2016-09-18 Thread Nicola
On 2016-09-18 12:09:12 +, luigi scarso said: On Sun, Sep 18, 2016 at 12:46 PM, Nicola wrote: Hello, as a Vim user, I was not satisfied with its support for MetaPost (especially indenting). I have updated the {mf,mp}.vim scripts in Vim, which you find attached, and which I have forwarded

Re: [NTG-context] Recommendations on presentations

2016-10-05 Thread Nicola
template, adapted from the above, if you want (some things there are a bit outdated, if I remember correctly). Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-10 Thread Nicola
mtxrun and Makefiles; - Asynchronous typesetting with :ConTeXt command. I plan to submit these changes for inclusion in Vim, but I'd like to get some feedback, especially re background typesetting and especially from Windows users. I recommend to test with Vim 8.0 patch 22 or later. N

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Nicola
On 2016-10-11 06:39:16 +, Jan Willem Flamma said: Hi Nicola, I’m relatively new to Vim and currently run it as installed (MacVIm 8.0 latest). Where do I have to place these files in order to use them? (~/.vim folder or do I have to copy the individual files into the respective Vim

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Nicola
On 2016-10-11 07:26:20 +, Nicola said: No, everything just works(tm) :) Ehm, nearly. There was an error in setting the compiler. Please use the files attached below. You should be able to typeset the current document synchronously with :make or asynchronously with: :ConTeXt This

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Nicola
On 2016-10-11 09:33:36 +, Henning Hraban Ramm said: Am 2016-10-11 um 09:26 schrieb Nicola : No, everything just works(tm) :) See :help ftplugin-overrule for the details. No, unfortunately not everything: Error detected while processing /Users/hraban/.vim/syntax/context.vim: line 22

[NTG-context] Parsing ConTeXt errors

2016-10-11 Thread Nicola
be very useful to have at least an approximate indication of the position of a MetaPost error. Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Parsing ConTeXt errors

2016-10-11 Thread Nicola
d (by tracking `open source`/`close source` lines). But I see no trace of 2). Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.

Re: [NTG-context] Parsing ConTeXt errors

2016-10-12 Thread Nicola
On 2016-10-11 22:13:12 +, Hans Hagen said: On 10/11/2016 9:37 PM, Nicola wrote: On 2016-10-11 18:52:32 +, Alan Braslau said: Of course, I *never* make MetaPost errors... ;-) However, you can search the log file for metapost> error: Sure. But there is no line num

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-12 Thread Nicola
ed by ctrl-o) and it works inside \startMP...\stopMP... blocks. Doesn't that work for you? Maybe you expected the suggestions to pop-up without pressing any key? For that, you need a plugin like NeoComplete or AutoComplPo

Re: [NTG-context] Parsing ConTeXt errors

2016-10-13 Thread Nicola
On 2016-10-13 18:37:38 +, Hans Hagen said: On 10/12/2016 9:30 AM, Nicola wrote: On 2016-10-11 22:13:12 +, Hans Hagen said: On 10/11/2016 9:37 PM, Nicola wrote: On 2016-10-11 18:52:32 +, Alan Braslau said: Of course, I *never* make MetaPost errors... ;-) However, you can

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-20 Thread Nicola
On 21/10/2016 00:22, Sandiford Kevin wrote: Hi Nicola, Thanks for the vim scripts, I've been looking for something like this for a while. Just a minor problem, on windows the :make or :ConTeXt commands fail if there is a space in the path or file name. Changing fnameescape() to shelle

Re: [NTG-context] Text editors

2016-10-24 Thread Nicola
no need to include anything in the ConTeXt distribution. I plan to update the Vim wiki page on ConTeXt Garden when I have some time: I will post here when I have done it. Nicola ___ If your question is of interest

Re: [NTG-context] Text editors

2016-10-25 Thread Nicola
d include: - jEdit (http://www.jedit.org), good for TeX and LilyPond; - TextWrangler (shameless plug: I wrote decent syntax support for MetaPost/MetaFun); - Atom (https://atom.io): I have not used it much, but it has lots of plugins, so chances are that there is som

Re: [NTG-context] Text editors

2016-10-25 Thread Nicola
/software/metapost-textwrangler/ MetaFun syntax is outdated, though… Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailm

  1   2   3   >