ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Pierre Delange <adeimantos@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Setting up TeXworks
Date: Thu, 19 May 2016 18:15:53 +0200 (CEST)	[thread overview]
Message-ID: <834283225.259397243.1463674553754.JavaMail.root@spooler6-g27.priv.proxad.net> (raw)
In-Reply-To: <573DD8D3.6030307@fehige.de>

Hi Thomas,

1. There is no great issue to install ConTeXt Standalone in /usr/local/context; it's only a simple advice that I gave to put context in such a directory as /home/Document (e.g. : on Linux Ubuntu) in order to make things clear for beginners; and you can install it in /opt/context if you want it. I have installed CTX in /home/MyComputer/context
, because the whole documentation and files I want to use are near. Under Windows, ConTeXt is installed in C:\users\MyComputer\Documents\context. 
As you know, ConTeXt Standalone is a bundle which is self-sufficient (it doesn't need any extra-package, except some more fonts). I don't have tried yet to work with ConTeXt and Perl/Python, because my goal is to understand ConTeXt step by step in order to write a documentation in French (and I am starting from the beginning), starting by the easiest way to code a document and ending by some project structures.

2. commands like 'context --generate' and 'context --make' , typed after this previous one: '. setuptex', allow to build all the trees that you need thereafter, including databases. After that, you have to set your environment variables (in PATH). If you don't do that, you'll see your Linux system complain with such enigmatic formulas as 'ConTeXt is not installed', or 'mtxrun is not installed. You can installed it with apt-get install mtxrun', etc. 

JP


-----Mail Original -----
> De: "Thomas Fehige" <thomas@fehige.de>
> À: ntg-context@ntg.nl

>experienced in the Linux world either. My French is honed on cooking 
>recipes rather than computing and coding, but I was able to follow your 
>page allright.
>
>1. I don't have my standalone ConTeXt tree anywhere under /home/... but 
>in /usr/local/context/..., as suggested on the wiki. Would that make a 
>difference?
>
>2. What do "--generate" and "--make" do? I remember having run them at 
>one occasion or other, but to no avail as to the TeXworks problem. 
>Shouldn't they be run by the installation script anyway?
>
>I had managed the fonts database stuff, thanks to the wiki and some 
>trial and error. It was time I learned about environment variables in 
>Linux and Xfce anyway.

>Cheers -- Thomas

Am 17.05.2016 um 15:22 schrieb Jean-Pierre Delange:
> And don't forget to do this before coding :
> 1) cd /home/[...]/context/tex/. setuptex
> This command answers this : "Setting "/home/JohnDoe/context/tex" as ConTeXt root."
> 2) Then : cd .../context/tex/texmf-win64 (or linux64) with a x64 computer
> 3) Then type :
> context --generate
> and type : context --make
>
> 4) Finally, if you add fonts (in /usr/share/fonts, or $HOME/.fonts), don't forget to reload the font database (in the same depositery as 3)); the command is as follow :
> mtxrun --script fonts --reload
> In order to see which fonts are installed on your system:
> mtxrun --script fonts --list --all
> To search a font (like didot) :
> mtxrun --script fonts --list --pattern=*didot* --all
>
> All these commands are the same on windows/linux/OS X
>
> More information in French here :
> https://fr.wikibooks.org/wiki/ConTeXt
>
> Hope that ich sende nicht Eulen nach Athens !
> JP
>
> ----- Mail original -----
> De: "Thomas Fehige" <thomas@fehige.de>
> À: ntg-context@ntg.nl
> Envoyé: Mardi 17 Mai 2016 14:39:27
> Objet: Re: [NTG-context] Setting up TeXworks
>
> Whew, I've got it running, finally.
>
> For some reason, TeXworks needs to tell mtxrun explicitly where its
> texmf-tree is located. Meaning, an additional argument is required in
> TeXworks's starter setup, which now looks like this:
>
> name: ConTeXt MkIV
> command: mtxrun
> arguments:
>       --tree=/usr/local/context/tex        <-- this is the one!
>       --autogenerate
>       --script
>       context
>       $fullname
>
> In the "Paths to TeX and friends" list I have
>
>       /usr/local/context/texmf-linux-64
>       /usr/local/context/bin
>
> as the top two entries.
>
> I don't know what exactly is going on here, so I don't feel confident to
> add this to the wiki, but maybe someone else does and will.
>
> Thanks for listening -- Thomas
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-05-19 16:15 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19  7:10 uppercase, small caps, numerals and German capital sharp s Thomas Fehige
2016-04-19 12:05 ` Wolfgang Schuster
2016-04-19 12:46   ` Thomas Fehige
2016-04-20 14:03   ` Thomas Fehige
2016-04-20 14:25     ` Wolfgang Schuster
2016-04-20 21:25       ` Thomas Fehige
2016-04-20 21:27       ` Thomas Fehige
2016-04-22 11:35       ` glyph substitution Thomas Fehige
2016-04-22 20:28         ` Hans Hagen
2016-04-25  9:53           ` Thomas Fehige
2016-04-25 12:48           ` Thomas Fehige
2016-04-25 15:49             ` Thomas Fehige
2016-04-25 18:12             ` Thomas Fehige
2016-04-25 20:44               ` Wolfgang Schuster
2016-04-26  8:42                 ` Thomas Fehige
2016-04-27 14:27                 ` Thomas Fehige
2016-04-27 15:10                   ` Hans Hagen
2016-04-29  7:44                     ` Thomas Fehige
2016-04-29  7:56                       ` Hans Hagen
2016-04-29  8:38                     ` Test Suite Fonts "extensions-001" Thomas Fehige
2016-04-29  9:05                       ` Wolfgang Schuster
2016-05-03  9:22                         ` Setting up TeXworks Thomas Fehige
2016-05-06  8:04                           ` Mojca Miklavec
2016-05-06 11:39                             ` L.S.-Soc&Gam
2016-05-16 15:46                               ` Thomas Fehige
2016-05-16 15:55                                 ` Jean-Pierre Delange
2016-05-17 11:16                                   ` Thomas Fehige
2016-05-17 12:39                                     ` Thomas Fehige
2016-05-17 12:59                                       ` Hans Hagen
2016-05-19 14:09                                         ` Thomas Fehige
2016-05-17 13:22                                       ` Jean-Pierre Delange
2016-05-19 15:16                                         ` Thomas Fehige
2016-05-19 16:15                                           ` Jean-Pierre Delange [this message]
2016-05-07 10:49                             ` Thomas Fehige
2016-05-09 11:02                               ` Thomas Fehige
2016-05-15 19:29                                 ` Thomas Fehige
2016-05-16 14:34                                   ` ConTeXt and Scite Thomas Fehige
2016-05-03  9:51                         ` Setting up TeXworks Thomas Fehige
2016-05-03 10:21                           ` Mojca Miklavec
2016-05-03 13:01                             ` Thomas Fehige
2016-04-25 20:47             ` glyph substitution Wolfgang Schuster
2016-04-26  7:42               ` Thomas Fehige

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=834283225.259397243.1463674553754.JavaMail.root@spooler6-g27.priv.proxad.net \
    --to=adeimantos@free.fr \
    --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).