Re: [NTG-context] LSP support

2020-06-28 Thread TeXnician
> Of course, I'm glad that TexLab project does provide LSP support and bringing
> it to the Kakoune editor as well, but I'm sure that many of you know
> that bringing ConTeXt support to TexLab would benefit users of **many**
> other editors since these today many most popular editors (Atom, Emacs,
> SublimeText, (neo)Vimn, VScode...) are having support for LSP.

TeXLab is not the only LSP for *TeX.

https://github.com/astoff/digestif merged ConTeXt support including some TikZ
wrapping for ConTeXt etc. (Have a look at PR #24.)

It is written in Lua, so if you feel more native there you could contribute.

> Unfortuantely, I'm ConTeXt noob and not speaking Rust, but just want to bring
> the information if there are people familiar with both about potential benefit
> for ConTeXt to get LSP support.

If someone would extend TeXLab that would surely benefit many. But they seem
much more hard-wired towards LaTeX.
___
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
___


Re: [NTG-context] Some questions regarding math typesetting

2020-02-29 Thread TeXnician
Bump

On 06.12.19 14:59, Hans Hagen wrote:
> On 12/6/2019 9:24 AM, TeXnician wrote:
>> Dear list,
>>
>> while doing some math typesetting, I have found the following features not
>> working in LMTX:
>>
>> 3. \startformulas does not allow numbering formulas because the number will 
>> run
>>     into the next column. I have posted this at
>>
>> https://tex.stackexchange.com/questions/518262/context-number-formulas-side-by-side
>>
>>     and Henri Menke tested that it broke in 2017. Aditya Mahajan mentioned 
>> that
>>     it is a bug.
> 
> This one is for Aditya who knows more about these math alignments (needs) 
> than I
> do.
> 
> Aditya: when we comment the \aligntab it's ok but i'm hesitant to do that 
> patch
> ... so do you see bad consequences?
> 
> \def\math_alignment_NR_indeed[#1][#2]%
>   {%\aligntab % HERE
>    \dostoptagged % finish cell
>    \strc_formulas_place_number_nested{#1}{#2}%
>    \math_number_right_of_eqalign
>    \global\settrue\c_math_eqalign_first
>    \crcr
>    \dostoptagged} % finish row
> 
> Hans
___
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
___


Re: [NTG-context] Up-to-date documentation / tutorials. Where?

2020-02-29 Thread TeXnician
Hi,

> Is there not a simple place to get all the up-to-date documentation?

maybe not what you are looking for, but I think the list at
https://tex.stackexchange.com/questions/448812/the-definitive-guide-to-context-mkiv-documentation
is very helpful.
___
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
___


[NTG-context] Some questions regarding math typesetting

2019-12-06 Thread TeXnician
Dear list,

while doing some math typesetting, I have found the following features not
working in LMTX:

1. Non-displaystyle operators are simply not shown (try \sum or \lim in text or
   scriptstyle). This works in MkIV (and iirc in LMTX versions from before
   november).
2. \underbrace{x}_{y} stopped working. It produces an underbrace but the
   subscript is not centered below the brace. It will show up as right
   subscript. This works in MkIV.
3. \startformulas does not allow numbering formulas because the number will run
   into the next column. I have posted this at

https://tex.stackexchange.com/questions/518262/context-number-formulas-side-by-side
   and Henri Menke tested that it broke in 2017. Aditya Mahajan mentioned that
   it is a bug.

For the upper two cases: Is anything wrong with my LMTX installation or did I
miss some upgrade instructions for math in LMTX?

Many thanks for an answer.
\starttext
\section{One}
\startitemize
\item \type{\displaystyle}: $\displaystyle\sum\lim$
\item \type{\textstyle}: $\sum\lim$
\item \type{\scriptstyle}: $\scriptstyle\sum\lim$
\stopitemize

\section{Two}

$\underbrace{xyz}_{n}$

\section{Three}
also posted at https://tex.stackexchange.com/questions/518262/context-number-formulas-side-by-side

\placeformula
\startformulas
  \startformula
\startalign[number=auto]
  \NC a \NC= b \NR
\stopalign
  \stopformula
  \startformula
\startalign[number=auto]
  \NC a \NC= b \NR
\stopalign
  \stopformula
\stopformulas
\stoptext

mwe-math.pdf
Description: Adobe PDF document
___
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
___