ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using two versions of ConTeXt
@ 2020-04-17 23:47 Jairo A. del Rio
  2020-04-18  4:01 ` Aditya Mahajan
  0 siblings, 1 reply; 2+ messages in thread
From: Jairo A. del Rio @ 2020-04-17 23:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi everyone! I'm using the ConTeXt version packaged with TeX Live 2020 and
recently I have downloaded LMTX. Both of them work, but when I call
"context" from terminal, I compile with the TeX Live version, whereas I
have to use a fully specified path to get LMTX output. Is there a way to
call both from terminal, say, using "lmtx" or other shortcut for the
standalone version? I work on Ubuntu 18.04. Thank you in advance.

[-- Attachment #1.2: Type: text/html, Size: 473 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using two versions of ConTeXt
  2020-04-17 23:47 Using two versions of ConTeXt Jairo A. del Rio
@ 2020-04-18  4:01 ` Aditya Mahajan
  0 siblings, 0 replies; 2+ messages in thread
From: Aditya Mahajan @ 2020-04-18  4:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 17 Apr 2020, Jairo A. del Rio wrote:

> Hi everyone! I'm using the ConTeXt version packaged with TeX Live 2020 and
> recently I have downloaded LMTX. Both of them work, but when I call
> "context" from terminal, I compile with the TeX Live version, whereas I
> have to use a fully specified path to get LMTX output. Is there a way to
> call both from terminal, say, using "lmtx" or other shortcut for the
> standalone version? I work on Ubuntu 18.04. Thank you in advance.

Adding

alias lmtx="path-to-context/texmf-linux-64/bin/context"

in your .bashrc, .zshrc, or equivalent should work.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-18  4:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 23:47 Using two versions of ConTeXt Jairo A. del Rio
2020-04-18  4:01 ` Aditya Mahajan

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).