Re: [NTG-context] Tabulate \NN not working

2016-05-29 Thread L.S.-Soc

You also shouldn't paste blackboard characters as you did in your example.

Instead you should use \blackboard command -> check wiki. You will have 
to place it within a math environment though, so it might be wiser to 
read into "natural TABLES". -> also check wiki.


For example:

\startformula {\blackboard Hello World} \stopformula

or

\startformula {\blackboard R} \stopformula



Greets, Seba


Am 29.05.2016 um 18:38 schrieb Hans Åberg:

For some reason, the use of \NN as in the first table below is not working. It 
works fine using math columns, though, as in the second table below.


\setupbodyfont[xits,10pt]

\starttabulate[|c|c|]
   \NN x \NN ¬x \NR
   \HL
   \NN 핗 \NN 핥 \NR
   \NC 핥 \NN 핗 \NR
\stoptabulate

\starttabulate[|mc|mc|]
   \NC x \NC ¬x \NR
   \HL
   \NC 핗 \NC 핥 \NR
   \NC 핥 \NC 핗 \NR
\stoptabulate


___
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] win64 : luatex is not recognize as an internal command

2016-05-25 Thread L.S.-Soc
Thanks a lot for clarifying this. Well I think it's great to keep CTX 
open for devs or experimental purposes.


Imho the point is that the download section could use a slight tune up. 
In fact, to make the installation as easy as possible for new users, the 
main structure might be divided by operating system. Win, Lin, Mac  and 
Experimental or Developer.


Right now Wiki looks like:


 Installation

 * download ConTeXt 
 * download area 


Me as a new user didn't know which one to take at first.
This might be merged.
one single donwload button to the ftp and then Win, Lin, Mac, Developer, 
Experimental.


I would love to help with contextgarden wiki, but I am student and it 
took a long time learning CTX so far.

But some day...


Only a few words for usability ;-)


Thanks for this great piece of idea and greetings from germany to the 
whole CTX team.



Seba


Am 25.05.2016 um 10:46 schrieb Mojca Miklavec:

I don't like mswin and would like to switch to win32 to make it
consistent with win64, but I need the blessing from Hans first.





2. Is the " setup2 " folder really necessary?

No.

Long time ago Hans asked me if we could switch to rsync from the MinGW
project rather than the one based on cygwin's dll. (Then we probably
both forgot about this.)

The "setup2" is experimental setup bundling rsync from MinGW, the idea
was to provide testing setup that would replace the old one.

As soon as I get a green light, I could remove "setup", rename
"setup2" to "setup" and only leave the new binaries there. (I can also
remove "setup2" in principle.)

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] win64 : luatex is not recognize as an internal command

2016-05-24 Thread L.S.-Soc
context-setup-win64.zip 
<http://standalone.contextgarden.net/setup/context-setup-win64.zip> was 
what i downloaded of course.



Am 25.05.2016 um 00:48 schrieb L.S.-Soc:


3. Why don't you try it the simple way? I am on Win10 x64, but this 
should work for every supported Win system:


0. I donwloaded context-setup-win32.zip 
<http://standalone.contextgarden.net/setup/context-setup-win32.zip> 
from " setup " folder.
1. Extracted " context " anywhere. I used short paths: " 
C:\context " or " D:\context ". Renamed to ConTeXt for readability.
2. Used command (cmd.exe ideally as Admin) and went to my CTX 
path: " D:\ConTeXt\ "
3. Entered first-setup.bat-> I also added " 
--modules=all ". CTX is around 400 MB now. I am sure it's fully worth it!
4. After download finished I navigated deeper to: " 
tex\texmf-win64\bin " like " D:\ConTeXt\tex\texmf-win64\bin "

5. Created a document " test.tex " right inside " bin " folder.
6. Edited it with editor and only enterd: " \starttext Hello 
world \stoptext "

7. Save the document
8. Entered " context test.tex "
9. And finished was my first PDF.


Maybe you could try the same...


Greeting, Seba


___
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] win64 : luatex is not recognize as an internal command

2016-05-24 Thread L.S.-Soc

There are three things which I don't fully understand either:

1. Why are there three files on " 
http://standalone.contextgarden.net/setup/ " which is reachable via the 
" Download ConTeXt " link?

There are

[ ] 	context-setup-mswin.zip 
 
2016-05-23 22:36 	21M 	
[ ] 	context-setup-win32.zip 
 
2016-05-23 22:36 	21M 	
[ ] 	context-setup-win64.zip 
 
2016-05-23 22:36 	21M 	



Wouldn't *win32* and *win64* files alone suffice? I am wondering what 
the *mswin* files is for. It is a little bit confusing.
Especially because there is also another folder  " [...] 
contextgarden.net/setup2/ ".

Again with

[ ] 	context-setup-win32.zip 
 
2016-05-23 22:36 	21M 	
[ ] 	context-setup-win64.zip 
 
2016-05-23 22:37 	21M 	



2. Is the " setup2 " folder really necessary?

Last thing is about the problem with finding lua...

In your description you don't mention using " first-setup.bat ":

1) Download the context-mswin.zip in C:\[...]\Documents;
2) mkdir 'context' => cd 'context'
3) Unzip it and launch context-setup.bat in the new C:\[...]Documents\context
4) Then, go to \context\tex and launch 'setuptex';
5) Then again, cd \context\tex\texmf-win64\bin and do : 'context --generate', 
and 'context --make'.


I mean I see your point that you want to use it standalone. So...


3. Why don't you try it the simple way? I am on Win10 x64, but this 
should work for every supported Win system:


0. I donwloaded context-setup-win32.zip 
 from 
" setup " folder.
1. Extracted " context " anywhere. I used short paths: " 
C:\context " or " D:\context ". Renamed to ConTeXt for readability.
2. Used command (cmd.exe ideally as Admin) and went to my CTX 
path: " D:\ConTeXt\ "
3. Entered first-setup.bat-> I also added " 
--modules=all ". CTX is around 400 MB now. I am sure it's fully worth it!
4. After download finished I navigated deeper to: " 
tex\texmf-win64\bin " like " D:\ConTeXt\tex\texmf-win64\bin "

5. Created a document " test.tex " right inside " bin " folder.
6. Edited it with editor and only enterd: " \starttext Hello 
world \stoptext "

7. Save the document
8. Entered " context test.tex "
9. And finished was my first PDF.


Maybe you could try the same...


Greeting, Seba
___
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] smaller size for particular style

2016-05-22 Thread L.S.-Soc

Did you try\setupbodyfontenvironment?

http://wiki.contextgarden.net/Command/setupbodyfontenvironment

I hope that helps.

Greetings, Seba

Am 22.05.2016 um 10:33 schrieb Meer, Hans van der:

As usual I do a setup for the font with for example: \setupbodyfont[cambria].
For most style variants this is fine, but for \tt I find the size too big.
Thus I would like to keep the sizes as setup by the \setupbodyfont for 
everything except for \tt: there all variants (like \tt, \ttx, \ttxx) should 
have the size as if the bodyfont had been setup with 
\setupbodyfont[cambria,small].

How to effectuate this?

Hans van der Meer




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

[NTG-context] Framing multiline equations

2016-05-22 Thread L.S.-Soc

Hello together,

I'm having trouble framing multiline equations. Problem is that either I 
get an error or the equation gets framed while the multiline is 
converted into a single line. Here is my code:


-
\starttext

\startformula <- works like a charm
\mframed[offset=1mm,loffset=3mm,roffset=3mm]
{a + b = c}
\stopformula

\startformula \startalign <- that's an example 
multiline equation

\NC c - a = \NC b \NR<- unframed it works
\NC d + c - b = \NC a \NR
\stopalign \stopformula

\startformula \framed{\startalign <- \mframed gives an error. \framed 
works, but then the eq

\NC c - a = \NC b \NR   <- gets converted into a single line eq.
\NC d + c - b = \NC a \NR
\stopalign} \stopformula

\stoptext
-

I tried to place \mframed at different locations. But the example above 
is the only one that doesn't give an error.

How would an experienced CTX user frame multiline equations?
I think it would work with natural TABLES. But i would only use that 
way, when nothing else works...



Greetings, Seba
___
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
___

[NTG-context] [SOLVED] Graphics not being aligned correctly in natural tables

2016-05-17 Thread L.S.-Soc

Add

\setupTABLE[c][4][strut=no]

at the begin of your table.

Wolfgang


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



And of course it works.

Danke sehr Wolfgang.


Cheers, Seba
___
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] Graphics not being aligned correctly in natural tables

2016-05-17 Thread L.S.-Soc

Hi Luigi,

I am afraid that "mwe..." doesn't help.

Thanks tho bro,

Sebastian




Am 17.05.2016 um 18:55 schrieb luigi scarso:



On Tue, May 17, 2016 at 6:47 PM, cryo shock > wrote:


Hello fellow ConTeXt lovers,

I am having trouble with placing graphics in between \bTD and
\eTD. I am using the \externalfigure to do so which works great.
The problem is that they aren't being aligned at all when i use
\setupTABLE[align={middle,lohi}] whereas text is being aligned
perfectly in the middle of each cell.
I found out that one can use \dontleavehmode\externalfigure to
force alignment, which als works. But when I use \dontleave... the
graphic isn't being placed perfectly in the middle but slightly a
little bit more to the top of the cell.
It's not a real problem for me but since everything looks great in
the document, the slightly to the top moved graphics bother me
somehow.
Does anybody know a workaround maybe?

Greets, Sebastian

mwe...


--
luigi


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

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

2016-05-14 Thread L.S.-Soc

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
___

Re: [NTG-context] Setting up TeXworks

2016-05-06 Thread L.S.-Soc



Am 06.05.2016 um 10:04 schrieb Mojca Miklavec:

On 3 May 2016 at 11:22, Thomas Fehige wrote:

OK, that helps. Everything is fine from the command line. I seem to be
overlooking something as to the setup of TeXworks, though. I copied the
programme calls from the tools.ini that came with the ConTeXt standalone
version into the present tools.ini that lives in my personal TeXworks config
folder. Now TW starts mtxrun allright, but the run crashes with

mtxrun | unknown script 'context.lua' or 'mtx-context.lua'

Can you check the paths in the fourth tab (= Typesetting) of
Preferences/Settings?

It is possible that you have more than one version of ConTeXt
installed and that you see different paths in the Terminal than in the
GUI.

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
___


I've searched through the mailing list, what the initial post to this 
topic was, but i couldn't find it. If you're having trouble to make 
context compile a document, try this:


- TeXworks tools.ini doesn't need to be edited manually. It's the file 
where TW saves the settings from " Edit -> Preferences -> Typesetting ".
- First of all make sure, that you downloaded ConTeXt by using 
"first-setup.exe"


- Then, you should add the folder where context.exe (and all 
executables) are stored to your system paths: Use your browser to 
navigate to the said folder, click on the address bar and copy the full 
path. For me it looks like this: " F:\Sandbox\ConTeXt\tex\texmf-win64\bin "
- Then add this path to your windows system paths: go to your windows 
control panel, double click " System "-> advanced settings -> 
environment variables (or something like this), in the lower halfth 
there is a window with a point " Path ". Double click it and paste your 
CTX folder pretty much at the top of the section or if there is only one 
line, add it at the beginning, and use semikolon ( ; ) to seperate it 
from the rest. Save your settings and you should be good to go.
- to test if you did it correctly open your command line and simply 
enter " context.exe --version ". If command line tells you, that no 
context.exe was found, then you might try to add the context \bin folder 
to your system paths again

- if command line tells you the version of context, then you can proceed:

- start TW, " Edit -> Preferences -> Typesetting ". There check the 
upper halfth for the context folder you added to your system paths. If 
you've added it at the beginning, it should be at the top here as well. 
Alternatively use the arrows to push context\bin it to the very top


NOTE: this is important. if you have MikTeX installed for example and if 
its folder is listed above your context folder, TW will try to use exe 
files from the MikTeX folder. so make sure that context\bin is above 
anything related to tex, context or lua.


- then in the lower halfth create a new processing tool by clikcking on 
the plus:


- call it CTX mkiv or something
- in the program field either search for your context.exe, or if added 
to the system paths correctly, simply enter context.exe in the Program field
- for arguments add:$fullname(this parses the 
filename to context compiler)
- if you want to use the sync code <-> pdf feature, also add another 
argument:--synctex=-1


that's it. there is the option to make this the default profile at the 
bottom of the Typesetting window.


Now you can test it: paste

\starttext
Hello World!
\stoptext

into a new file and save it somewhere. then use your freshly set up 
processing tool. after compilation the pdf viewer should pop up.



I hope that helps, Seba
___
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
___

[NTG-context] Warnings while compiling pdf after update

2016-04-11 Thread L.S.-Soc

Hi guys,

I updated CTX today and now on every pdf compilation i get two warnings:

interfaces  > implementor > warning: 'scanners.setmapfile' is redefined
interfaces  > implementor > warning: 'commands.setmapfile' is redefined

so three CTX runs give me six warnings. is there a way to disable them?


Greets, Sebastian

My system:
Win10x64
ConTeXt Version: beta-2016.04.10 23:52
LuaTeX Version: beta-0.95.0
___
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] TeX "matrix" command not working lately

2016-04-10 Thread L.S.-Soc



Am 10.04.2016 um 12:39 schrieb Pablo Rodriguez:

On 04/10/2016 11:45 AM, L.S.-Soc wrote:

[...]
I checked my version and it is the very same as yours.
Can you maybe give me the code that you tested, to create a matrix, so I
can copy paste and test it?
Because I entered a simple matrix again and still the finished pdf only
shows empty braces

Hi Sebastian,

I copied and pasted your code adding \starttext...\stoptext:

 \starttext
 \startformula
 S=\left(\matrix{
   \sigma_x & \tau_{xy} & \tau_{xz} \cr
   \tau_{yx} & \sigma_y & \tau_{yz} \cr
 \tau_{zx} & \tau_{zy} & \sigma_z \cr
 }\right)_{xyz}
 \stopformula
 \stoptext

My guess is that the different results may be related to the OS.

I’m on Linux 32bit using luatex-0.90.0. As far as I know, Windows is
provided with luatex-0.95.0.

This might be the cause of the different results. But it is only my
guess. If this is the cause, you may have found a bug in luatex-0.95.0.

I hope it helps,

Pablo


A good point you've made there. I copied the code from above into a 
whole new document and compiled it. The result are *empty braces*.
That's interesting. So you might be right on the LuaTeX version 
difference issue. Anyway, Wolfgang's way works as well so I am going to 
use that technique for now. But this shouldn't be left standing like 
this I think.


Greetings, Sebastian
___
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] TeX "matrix" command not working lately

2016-04-10 Thread L.S.-Soc



Am 10.04.2016 um 11:45 schrieb Wolfgang Schuster:

L.S.-Soc <mailto:axteff...@gmail.com>
10. April 2016 um 02:33
Hi guys,

i've already searched the mailing list for this but i still am having 
a problem while trying to create a matrix.

my code looks like this:

\startformula
S=\left(*\matrix**{*
  \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
  \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
\tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
*}*\right)_{xyz}
\stopformula

But since a few days, there are only empty braces after compilation. 
The funny thing is, i worked already. but i've updated context at 
least once since (only 5 days ago, betas included) and since then 
after compiling there are only empty braces. When i enter


\startformula
S=\left(
1234
\right)_{xyz}
\stopformula

the 1234 shows fine between the braces. so it seems to have to do 
with \matrix command in some way...
i don't know any alternative way to create a matrix. any help would 
be appreciated.
Your code works fine here but I suggest to use ConTeXt’s own matrix 
environment.


\starttext

\startformula
S =\startmathmatrix[left=\left(,right=\right)]
\NC \sigma_{x} \NC \tau_{xy}  \NC \tau_{xz}  \NR
\NC \tau_{yx}  \NC \sigma_{y} \NC \tau_{yz}  \NR
\NC \tau_{zx}  \NC \tau_{zy}  \NC \sigma_{z} \NR
\stopmathmatrix_{xyz}
\stopformula

\stoptext

Wolfgang


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


Hi Wolfgang,

danke, your way works. Still I am a little bit confused why my previous 
(plain tex) matrix works for you guys but not for me, since it worked a 
few days ago. i hope that I am not missing anything here like for 
example that i forgot to define anything in the beginning.

So only for the record: my context version is 2016.04.01 13:01.
If anybody wants to research deeper into this, i can provide logs, texs 
and pdfs.


Thanks a lot,

Sebastian
___
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] TeX "matrix" command not working lately

2016-04-10 Thread L.S.-Soc



Am 10.04.2016 um 11:39 schrieb Pablo Rodriguez:

On 04/10/2016 02:33 AM, L.S.-Soc wrote:

Hi guys,

i've already searched the mailing list for this but i still am having a
problem while trying to create a matrix.
my code looks like this:

\startformula
S=\left(*\matrix**{*
   \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
   \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
 \tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
*}*\right)_{xyz}
\stopformula

But since a few days, there are only empty braces after compilation. The
funny thing is, i worked already. but i've updated context at least once
since (only 5 days ago, betas included) and since then after compiling
there are only empty braces. When i enter

Hi Sebastian,

matrices seem to work fine here (using beta tagged as 2016.04.01 13:01
[see my previous message to the list]).

If you allow me some suggestions, I think it may be worth considering
the following when dealing with betas:

1. Always give the beta version, otherwise it may be impossible in some
cases to know whether something behaves as expected or not.

2. Always backup your previous beta before upgrading it. New betas can
contain bugs or unexpected features and you may want to stick to your
old beta while things are fixed.

Just in case it helps,

Pablo


Hi Pablo,

I checked my version and it is the very same as yours.
Can you maybe give me the code that you tested, to create a matrix, so I 
can copy paste and test it?
Because I entered a simple matrix again and still the finished pdf only 
shows empty braces


Sebastian

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

[NTG-context] TeX "matrix" command not working since update

2016-04-09 Thread L.S.-Soc

Hi guys,

i've already searched the mailing list for this but i still am having a 
problem while trying to create a matrix.

my code looks like this:

\startformula
S=\left(*\matrix**{*
  \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
  \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
\tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
*}*\right)_{xyz}
\stopformula

But since a few days, there are only empty braces after compilation. The 
funny thing is, i worked already. but i've updated context at least once 
since (only 5 days ago, betas included) and since then after compiling 
there are only empty braces. When i enter


\startformula
S=\left(
1234
\right)_{xyz}
\stopformula

the 1234 shows fine between the braces. so it seems to have to do with 
\matrix command in some way...
i don't know any alternative way to create a matrix. any help would be 
appreciated.



Greetings,

Sebastian

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

[NTG-context] TeX "matrix" command not working lately

2016-04-09 Thread L.S.-Soc

Hi guys,

i've already searched the mailing list for this but i still am having a 
problem while trying to create a matrix.

my code looks like this:

\startformula
S=\left(*\matrix**{*
  \sigma_x *&* \tau_{xy} *&* \tau_{xz} *\cr*
  \tau_{yx} *&* \sigma_y *&* \tau_{yz} *\cr*
\tau_{zx} *&* \tau_{zy} *&* \sigma_z *\cr*
*}*\right)_{xyz}
\stopformula

But since a few days, there are only empty braces after compilation. The 
funny thing is, i worked already. but i've updated context at least once 
since (only 5 days ago, betas included) and since then after compiling 
there are only empty braces. When i enter


\startformula
S=\left(
1234
\right)_{xyz}
\stopformula

the 1234 shows fine between the braces. so it seems to have to do with 
\matrix command in some way...
i don't know any alternative way to create a matrix. any help would be 
appreciated.



Greetings,

Sebastian

___
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] A way to clean up unnecessary files after compilation in CTX mkiv

2016-04-07 Thread L.S.-Soc

Thanks Hans,

it works. But there is a problem.
The way you described it, the *.synctex file gets deleted as well, but I 
think I need it for Sumatra PDF to sync. When I used texmfstart.exe and 
--purgeall this didn't happen.

Any idea would be great.

Thanks in advance,
Sebastian



Am 07.04.2016 um 12:12 schrieb Hans Hagen:

On 4/7/2016 11:21 AM, L.S.-Soc wrote:

Hi guys,

i am using mkiv with TeXnicCenter. There is an option to create a
clean-up processor which deletes temporary files.
Right now for me the options look as following:
Executable: X:\ConTeXt\tex\texmf-win64\bin\texmfstart.exe
Arguments:texutil.rb --purgeall
This is from an old installation instruction from mkii and works great
but it makes it necessary to install Ruby.
Since I don't want to install Ruby if it's unnecessary, i'd like to know
if there is a way to clean up files without mkii and Ruby elements.
I thought it might be possible to use *context.exe* as processor
executable for deleting temp files, but i wouldn't know the correct
arguments.
Sorry if I missed something obvious.


assuming you run context mkiv:

context --purge somefile.tex

will cleanup afterwards

or without file it will cleanup all left-overs

(btw, the number of runtime generated files is not that large for 
mkiv: a tuc file for multipass, and a log file and of course the 
result pdf file)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-
___ 

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
___

[NTG-context] A way to clean up unnecessary files after compilation in CTX mkiv

2016-04-07 Thread L.S.-Soc

Hi guys,

i am using mkiv with TeXnicCenter. There is an option to create a 
clean-up processor which deletes temporary files.

Right now for me the options look as following:
Executable:X:\ConTeXt\tex\texmf-win64\bin\texmfstart.exe
Arguments:texutil.rb --purgeall
This is from an old installation instruction from mkii and works great 
but it makes it necessary to install Ruby.
Since I don't want to install Ruby if it's unnecessary, i'd like to know 
if there is a way to clean up files without mkii and Ruby elements.
I thought it might be possible to use *context.exe* as processor 
executable for deleting temp files, but i wouldn't know the correct 
arguments.

Sorry if I missed something obvious.

Thanks in advance,

Sebastian
___
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] ConTeXt installation and configuration on Win 10 x64

2016-03-09 Thread L.S.-Soc
hey Pablo, thanks a lot for pointing some things out. i finally managed 
to get mkiv working!!!


Am 09.03.2016 um 23:49 schrieb Pablo Rodriguez:

On 03/09/2016 10:57 PM, L.S.-Soc wrote:

in TeXnicCenter i added a new profile.
on (La)TeX register i have activated: Run LaTeX in this profile.

in the path to compiler field i entered:
F:\Sandbox\ConTeXt\tex\setuptex.bat &
F:\Sandbox\ConTeXt\tex\texmf-win64\bin\texmfstart.exe

question: do i need both entries?

I don’t think so. The second entry isn’t required at all.


almost! the first one wasn't required. *setuptex.bat* only initializes 
the context folder sub-tree to the system. this is not necessary if 
*...**\ConTeXt\tex\texmf-win64\bin\* has been added to the system path. 
in case of TeXnicCenter it might be not necessary at all, unless 
*context.exe* doesn't call any other executable or batch files. but even 
then it would look in its own folder first. i will check that out in the 
future.





in the command line field i entered:
texexec.rb --batch --nonstop --pdf --color "%bm" --synctex=-1

BibTeX is deactivated, MakeIndex isn't used either.

MakeIndex isn’t required in ConTeXt. (Indices aren’t generated using
MakeIndex in ConTeXt, afaIk.)

BibTeX may work, but there is a much better bibliographic module being
developed.


it's not that i would need any of these so i didn't bother about those 
options being deactivated in the first place anyway. but thanks for 
pointing out what those are there for.



well and it works. but not without ruby: why do i need ruby? i would use
mkiv only if i could. i also worked with Hex color codes but then
everything is black untill i add \setupcolor[hex] to the document. i
read that this line is only needed in mkiv, so again i am wondering why
i am obviously using mkii instead of mkiv...

The command line for MkIV should read "context source-file.tex". BTW,
ruby isn’t required for MkIV.


here's the point why it works now: TeXnicCenter has a location field and 
a console command field.


this is what i entered in the compiler LOCATION field before:
F:\Sandbox\ConTeXt\tex\setuptex.bat & 
F:\Sandbox\ConTeXt\tex\texmf-win64\bin\texmfstart.exe


like you pointed out before: *setuptex.bat* is not needed and the second 
path with texmfstart.exe is for i don't know what!?! but it always used 
mkii as compiler...
anyway this is from a tutorial from the contextgarden wiki: 
http://wiki.contextgarden.net/TeXnicCenter
that's why i got frustrated. the article was last updated 2012 and 
honestly i was quiet sure that's it's up to date.


so i simply changed the compiler location to 
F:\Sandbox\ConTeXt\tex\texmf-win64\bin\context.exe
and as you also pointed out i had to tell context which file. and 
therefor is the console command field. in my quotation above there is 
the following command:


"%bm"


i didn't realize that %bm is TeXnicCenter specific to handle over the 
name of the current project to the command line. it's that easy; one 
just has to know...^^


so my location is now F:\Sandbox\ConTeXt\tex\texmf-win64\bin\context.exe
and command is%bm

and it finally works!!! so again Pablo thanks for taking me to this.




the last question for now is: how can i stop pdfTeX.exe from warning me
that no GlyphToUnicode entry has been inserted yet. i read somewhere
that this can be ignored but nobody explains what this is and how it
works. i just don't want to read this every time but fix it.
and what is meant with bad boxes? i read "Underfull \hbox (badness
1) in paragraph..." but don't know how to fix this.

Warnings fron pdftex will dissapear when you switch to MkIV :-).

"Underfull \hbox" may be caused by wrong hyphenation?

Would it be possible that you were compiling a German (or non-English text)?

In such case, please add "\mainlanguage[de]" in the first line of your
source document.
yes, i had \language in my document before but i also added 
\mainlanguage too now. didn't know about this one, so thanks yet again.


and you were right, i now don't have any errors or warnings anymore. but 
unfortunately now console also doesn't show the quantity of pages 
compiled anymore. i tried before with *context.exe* compiler location 
(the long described case above) but it always showed 0 pages so i 
thought nothing got compiled.^^ i didn't bother anymore and changed back 
to *texmfstart.exe*. maybe i should have checked the pdfs first. :D



so yeah, i finally got ConTeXt mkiv up and running and can't wait to 
continue learning this beast. thanks a bunch Pablo. you helped me a lot.


Greetings, Sebastian
___
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
___

[NTG-context] ConTeXt installation and configuration on Win 10 x64

2016-03-09 Thread L.S.-Soc
i downloaded ConTeXt from contextgarden and so far i saw three options 
to download


first i found folders setup and setup2? which one should i use? in one 
of them there are win32 and win64 zips. and in the other are win32, 
win64 plus a mswin zip. which one is the correct one? since i am on 
Win10x64 i downloaded context-setup-win64.zip.


i unzipped the file, started command as admin and went to Con dir. there 
i entered: first-setup.bat --modules=all
everything went fine and i added the win64 folder which Con installer 
showed me at the end to my system paths.
as far as i know, an update is done the same way. please correct me if i 
am wrong.


in TeXnicCenter i added a new profile.
on (La)TeX register i have activated: Run LaTeX in this profile.

in the path to compiler field i entered:
F:\Sandbox\ConTeXt\tex\setuptex.bat & 
F:\Sandbox\ConTeXt\tex\texmf-win64\bin\texmfstart.exe


question: do i need both entries?

in the command line field i entered:
texexec.rb --batch --nonstop --pdf --color "%bm" --synctex=-1

BibTeX is deactivated, MakeIndex isn't used either.

well and it works. but not without ruby: why do i need ruby? i would use 
mkiv only if i could. i also worked with Hex color codes but then 
everything is black untill i add \setupcolor[hex] to the document. i 
read that this line is only needed in mkiv, so again i am wondering why 
i am obviously using mkii instead of mkiv...


the last question for now is: how can i stop pdfTeX.exe from warning me 
that no GlyphToUnicode entry has been inserted yet. i read somewhere 
that this can be ignored but nobody explains what this is and how it 
works. i just don't want to read this every time but fix it.
and what is meant with bad boxes? i read "Underfull \hbox (badness 
1) in paragraph..." but don't know how to fix this.


i would also have questions related to SciTE, because i can't make UTF-8 
work following the desctiption on contextgarden, but for now i would be 
happy if i could take the most out of context within TeXnicCenter.


Thanks in advance,
Sebastian
___
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] new user needs help with ConTeXt installation and configuration

2016-03-09 Thread L.S.-Soc
i think it could be of interest to others since it would help to make an 
up-to-date installation instruction. many google results seem outdated 
and even on contextgarden there are multiple installation instructions 
that in the end don't help me with my problems...


ok, so i searched around on contextgarden but i don't know where to add 
an entry... what do you mean exactly? the ConTeXt group 
http://group.contextgarden.net/ or rather something different?


Am 09.03.2016 um 22:08 schrieb Mica Semrick:
The wiki at contextgarden.net <http://contextgarden.net> should be of 
help.


On March 9, 2016 1:04:53 PM PST, "L.S.-Soc" <axteff...@gmail.com> 
wrote:


hey guys, this is my first mail here so please bear with me.

i read on TeX exchange that it's best to subscribe to this mailing list
in order to get help with ConTeXt. but since i only see advanced stuff
related posts i would like to ask politely if this is the right place to
ask noob questions or should i go to another place?

thanks in advance,

sebastian


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

[NTG-context] new user needs help with ConTeXt installation and configuration

2016-03-09 Thread L.S.-Soc

hey guys, this is my first mail here so please bear with me.

i read on TeX exchange that it's best to subscribe to this mailing list 
in order to get help with ConTeXt. but since i only see advanced stuff 
related posts i would like to ask politely if this is the right place to 
ask noob questions or should i go to another place?


thanks in advance,

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