ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nicola via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Nicola <nvitacolonna@gmail.com>
Subject: Re: how to setup path of ConTeXtLMTX for MacVim?
Date: Tue, 14 Dec 2021 09:30:19 -0000 (UTC)	[thread overview]
Message-ID: <sp9o7b$b25$1@ciao.gmane.io> (raw)
In-Reply-To: <A0B2DC49-EE04-40E7-86D7-88133BBAAAAC@me.com>

On 2021-12-13, Jeong Dal via ntg-context <ntg-context@ntg.nl> wrote:
> Dear John, Nicola,
>
> I created a file context.vim under the folder ~/.vim/after/ftplugin/ which contains
>
> map <C-h>><Esc> :w<CR>:!ConTeXt<CR>
> let g:context_mtxrun = 'PATH=$HOME/ConTeXtLM/tex/texmf-osx-64/bin:$PATH mtxrun'
> let g:tex_flavor = "context"
>
> The result is
> 1. using “:ConTeXt”   issued an error message:  “E492: not an editor command: ConTeXt

:ConTeXt is a buffer-local command, which means that it is available
only when the active buffer has filetype `context`. Make sure that this
is the case before trying to typeset.

> 2. using “make” issued an error message: "No targets specified and no makefile found. …"

Again, I believe that you are typing those commands with an active
buffer whose filetype is not `context`.

> Pressing C-h, compiling started and succesfully ended. However, it use
> /usr/local/texlive/… not LMTX tex folder.

As already pointed out, ! invokes a shell command. Remove the
exclamation mark.

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/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2021-12-14  9:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.944.1596035580.23406.ntg-context@ntg.nl>
2021-12-11 23:38 ` Jeong Dal via ntg-context
2021-12-12 15:25   ` Nicola via ntg-context
2021-12-13 12:46 ` Jeong Dal via ntg-context
2021-12-13 13:30 ` Jeong Dal via ntg-context
2021-12-13 23:48   ` Jan-Erik Hägglöf via ntg-context
2021-12-14  9:30   ` Nicola via ntg-context [this message]
     [not found] <mailman.50.1639517476.1172.ntg-context@ntg.nl>
2021-12-15 14:59 ` Jeong Dal via ntg-context
     [not found] <mailman.18.1639439807.1172.ntg-context@ntg.nl>
2021-12-14 14:37 ` Jeong Dal via ntg-context
2021-12-14 21:31   ` Jan-Erik Hägglöf via ntg-context
2021-12-15 12:45   ` Nicola via ntg-context
     [not found] <mailman.1.1639306801.13114.ntg-context@ntg.nl>
2021-12-12 12:45 ` John Kitzmiller via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='sp9o7b$b25$1@ciao.gmane.io' \
    --to=ntg-context@ntg.nl \
    --cc=nvitacolonna@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).