ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: BPJ <bpj@melroch.se>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Setting up macvim in mac os catalina to work with LMTX
Date: Wed, 22 Apr 2020 19:40:53 +0200	[thread overview]
Message-ID: <CADAJKhBroccpu5e6BJHKLoSf2x7dcQhwLy2fVMkOa-pOqxZOpA@mail.gmail.com> (raw)
In-Reply-To: <FCEAB2E8-F098-4C97-A905-B0670F20F36F@bahnhof.se>


[-- Attachment #1.1: Type: text/plain, Size: 5233 bytes --]

You may want to put this in your .vimrc so that you get
error messages in English.
Personally I hate it when partly localized programs give me a
mixture of Swedish and English! :-)

(You may of course want to just include "messages" and
leave out "language".)

    " force English menus & messages
    if has('multi_lang')
      if has('unix') " Unix, Linux, Mac OS X etc.
        language messages C
      else " Windows
        language messages en
      endif
    endif

Secondly you may want to do this to get the messages history as
editable text:

    :redir > messages.txt
    :messages
    :redir END
    :e messages.txt

You can replace the first line with

    :redir @+>

to get the text in the system clipboard instead of in a
file.

Hoppas detta är till nån hjälp!
(Hope this helps!)

/Benct



--
Better --help|less than helpless

Den ons 22 apr. 2020 18:59Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se>
skrev:

> Output from :messages
>
>
>
> *[ConTeXt] Typesetting...*
> Fel upptäcktes vid bearbetning av function
> context#typeset[6]..<SNR>39_typeset[2
> ]..context#callback[1]..<SNR>39_callback:
> rad   17:
> E40: Kan inte öppna felfil /Users/janneman/Documents/CTX/GNUPLOT/test3.log
>
> 22 apr. 2020 kl. 17:22 skrev janerik.hagglof <janerik.hagglof@bahnhof.se>:
>
> In what file do I put the path setting and which location?
>
> Thanks and regards
>
>
>
>
>
> Med Vänlig Hälsning
>
> Jan-Erik Hägglöf
>
>
> -------- Originalmeddelande --------
> Från: Nicola <nvitacolonna@gmail.com>
> Datum: 2020-04-22 16:51 (GMT+01:00)
> Till: ntg-context@ntg.nl
> Ämne: Re: [NTG-context] Setting up macvim in mac os catalina to work with
>   LMTX
>
> On 2020-04-21, Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se> wrote:
> > Hi !
> >
> > I am curious about testing macvim and it seems doing fine in edit
> > mode. But how do i set up the typesetting engine?
> >
> > As far as I understand, there is, the command :ConteXt with guidance
> > from the wiki https://wiki.contextgarden.net/Vim
> > <https://wiki.contextgarden.net/Vim>
> >
> > But I do not understand how to customize it to be directed to the path
> > to my engine
> >
> > I’ve installed the LMTX in /Users/janneman/context-osx-64/
>
> I haven't tried LMTX yet, but you may configure the path to the ConTeXt
> executable you want to use by setting `g:context_mtxrun`, e.g.:
>
>     :let g:context_mtxrun='/path/to/context/mtxrun'
>
> Then, executing :ConTeXt will run the configured command. You may also
> define shell enviroment variables, if needed. For instance, I have
> configured Vim to use my installation of ConTeXt Beta as follows:
>
>    :let
> g:context_mtxrun='PATH=$HOME/path/to/context-beta/tex/texmf-osx-64/bin:$PATH
> mtxrun'
>
> > The installation works fine in TeXshop but still an error shows up in
> > macvim and the message dissappears very quick so there is not much
> > time to read the cause of error.
>
> You may show a log of Vim messages by typing :messages.
> If you post the error message, I may better diagnose your issue.
>
> > I have created the subdirectory .vim/ftplugin/ and put the context.vim
> file there
> > also the corresponding in .vim/compiler/context.vim
> >
> > which is copied from the program located in
> >
> /usr/local/Cellar/macvim/8.2-163/MacVim.app/Contents/Resources/vim/runtime
>
> That's unnecessary. MacVim's runtime path is searched by default.
> I recommend that you remove the files that you have copied into ~/.vim.
> ConTeXt in Vim works out of the box.
>
> 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
>
> ___________________________________________________________________________________
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 10518 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2020-04-22 17:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21 20:51 Jan-Erik Hägglöf
2020-04-22 14:49 ` Nicola
2020-04-22 15:22   ` janerik.hagglof
2020-04-22 16:47     ` Jan-Erik Hägglöf
2020-04-22 16:55     ` Jan-Erik Hägglöf
2020-04-22 17:40       ` BPJ [this message]
2020-04-23 14:46       ` Nicola
2020-04-22 19:48   ` Jan-Erik Hägglöf
2020-04-23  5:19     ` janerik.hagglof

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=CADAJKhBroccpu5e6BJHKLoSf2x7dcQhwLy2fVMkOa-pOqxZOpA@mail.gmail.com \
    --to=bpj@melroch.se \
    --cc=ntg-context@ntg.nl \
    /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).