Re: [NTG-context] Help with configuring Textadept to work with ConTeXt

2016-05-15 Thread L.S.-Soc
Well I deleted MiKTeX from my system path completely and now when I try 
to compile a *.tex file that is clearly a ConTeXt document I only get 
another error message:


> pdflatex -file-line-error -halt-on-error "untitled-3.tex"
Der Befehl "pdflatex" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
> exit status: 1

Which means that no compiler can be found... I am a little stuck here, 
mainly because I can't figure where I can change paths and arguments for 
Textadept or SciTE. SciTE also only gives me an error:


>texexec --pdf test1.tex
warning: f:/Sandbox/ConTeXt/tex/texmf/web2c/texmf.cnf:49: (kpathsea) No 
cnf value on line: OSFONTDIR =.
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/W32TeX) 
(preloaded format=cont-en)

 \write18 enabled.
---! f:/Sandbox/ConTeXt/tex/texmf-win64/web2c/pdftex/cont-en.fmt doesn't 
match pdftex.pool

(Fatal format file error; I'm stymied)
>Exit code: 1

But I did everything as explained on contextwiki. It seems that both 
programs don't even search for CTX...


In TeXworks or TeXnicCenter I haven't had any trouble to make CTX my 
main compiler. But both programs have an option where one can add new 
compiler profiles with location for the compiler and arguments that can 
be passed. In both I simply entered context.exe and my arguments.

But Textadept and SciTE aren't as easy to configure as TW or TXNCC.

Where can I change how and with which program they compile documents? If 
anybody has an idea, I am still open for it.



Greetings, Sebastian


Am 15.05.2016 um 20:48 schrieb Mojca Miklavec:

On 15 May 2016 at 12:22, Jean-Pierre Delange wrote:

Hi !

I don't know Textadept (I'm using TeXWorks). And it is not a good idea to have 
ConTeXt working in parallel with MikTeX (see here : 
http://wiki.contextgarden.net/MikTeX).

This should work fine as long as PATH is different when invoking LaTeX
& ConTeXt.

I haven't touched MikTeX since it lost support for ConTeXt (perhaps
some 8 years ago?), but the last time I did, adding path to ConTeXt
binaries worked fine.

Of course one cannot use MikTeX and ConTeXt with the same PATH settings.

(ConTeXt used to be part of MikTeX, but apparently CS gave up at some
point when LuaTeX came around.)

Mojca
___
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
___

Re: [NTG-context] Help with configuring Textadept to work with ConTeXt

2016-05-15 Thread Mojca Miklavec
On 15 May 2016 at 12:22, Jean-Pierre Delange wrote:
> Hi !
>
> I don't know Textadept (I'm using TeXWorks). And it is not a good idea to 
> have ConTeXt working in parallel with MikTeX (see here : 
> http://wiki.contextgarden.net/MikTeX).

This should work fine as long as PATH is different when invoking LaTeX
& ConTeXt.

I haven't touched MikTeX since it lost support for ConTeXt (perhaps
some 8 years ago?), but the last time I did, adding path to ConTeXt
binaries worked fine.

Of course one cannot use MikTeX and ConTeXt with the same PATH settings.

(ConTeXt used to be part of MikTeX, but apparently CS gave up at some
point when LuaTeX came around.)

Mojca
___
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
___

Re: [NTG-context] Help with configuring Textadept to work with ConTeXt

2016-05-15 Thread Jean-Pierre Delange
Hi !

I don't know Textadept (I'm using TeXWorks). And it is not a good idea to have 
ConTeXt working in parallel with MikTeX (see here : 
http://wiki.contextgarden.net/MikTeX). It seems that MiKTeX 2.9 is working with 
luatex... 
Maybe you can find some answers if you take advice from TeXWorks configuration 
with ConTeXt Standalone : there is no way to compile directly with pdftex. You 
must compile with ConTeXt MK IV luatex. For such a result, you have to set 
preferences in your Textadept with the good PATH (where textadept can find the 
setuptex of CTX). It's a good thing to adjust some variables in typesetting 
configuration, such as $synctexoption and $fullname.
Hope it helps !
JP

- Mail original -
De: "L.S.-Soc" 
À: "mailing list for ConTeXt users" 
Envoyé: Samedi 14 Mai 2016 23:06:42
Objet: [NTG-context] Help with configuring Textadept to work with ConTeXt

Hi folks,

i am having a hard time to configure Textadept to work with CTX on 
Windows 10. I've also searched around but can't find any usefull tutorial.

What I've done so far:
- I downloaded and installed CTX (first-setup.bat --modules=all) and I 
added "...\texmf-win64\bin" to my system path
- I downloaded and unzipped Textadept and also added the folder to my 
system path.
- I opened a *.tex file with Textadept and pressed "Tools->Compile" but 
I only got an error message:

 > pdflatex -file-line-error -halt-on-error "untitled-3.tex"
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit)
entering extended mode
(untitled-3.tex
LaTeX2e <2015/10/01> patch level 2
Babel <3.9n> and hyphenation patterns for 69 languages loaded.
untitled-3.tex:2: Undefined control sequence
untitled-3.tex:2:  ==> Fatal error occurred, no output PDF file produced!
Transcript written on untitled-3.log.
 > exit status: 1

Now I am wondering why Textadept does choose MiKTeX as I have placed 
ConTeXt above MiKTeX in my system path.
I also tried to extract the scintillua*** lexers into Textadept's lexer 
folder but still. No pdf can be created.

I also searched Textadept's files for context entries but there is 
nothing i could change to make TA compile a file in MkIV.

Did anybody manage to get Context to work with TA and could provide some 
help? Thanks in advance.
___
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
___