Re: [NTG-context] A not so short introduction to ConTeXt Mark IV
Hi Joaquín, Here is a small suggestion, which would have a few different uses. The following link, which I copied from the index, should take you to the definition of \vbox: https://webs.um.es/jal/docs/introCTX_eng.pdf#%5B%7B%22num%22%3A117%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22Fit%22%7D%5D This works at least in some browsers, or by passing the stuff after # as a suitable command-line argument to some PDF viewers. So, it would be really nice to make those named destinations stable and readable, for instance https://webs.um.es/jal/docs/introCTX_eng.pdf#vbox I suspect this is either a switch you turn on in ConTeXt, or something that would still need to be implemented as a feature. Best, Augusto On Mon, Jan 4, 2021 at 12:00 AM Henning Hraban Ramm wrote: > Am 03.01.2021 um 22:24 schrieb Hans Hagen : > > On 1/3/2021 10:02 PM, BPJ wrote: >> I understand that and it is all well and good. I am wondering if there already is *another* text which presupposes basic knowledge of TeX and general knowledge of LaTeX, perhaps in a by-topic style. > I think this relates to the question how someone comes to tex and then to context. Are tex macro packages used alongside and such? Are there 'from word/office to tex' or reverse manuals? What could be a motivation to write one. I guess most ConTeXt users migrated from LaTeX at some point, so that guide would really make sense. But I can’t write it either, even if I’m also working with LaTeX (but just as a user of one special class). If I run into a problem in LaTeX that I know to solve in ConTeXt, the approach is never right. I think the similarities of LaTeX and ConTeXt are mostly misleading, you’re better off trying to forget everything and start anew. In LaTeX most problems are solved with “use this or that package”, without the need to understand the commands and settings involved, while in ConTeXt most problems are solved with \setupsomething[somekey=somevalue]. Of course it helps to understand basic TeX stuff – but you’re not supposed to use (plain) TeX commands in LaTeX, while it is or was much more usual in ConTeXt. Writing my book I have users of text processors (Word/LibreOffice) and layout applications (InDesign etc.) in mind, even if I assume that most readers (if I’ll ever publish it...) will come from LaTeX. > So, one way out could be to have some collection of tips / suggestions and turn that into a kind of manual. Something to do by those who make some transition or use alongside. The wiki is the place start with that. > > So .. up to users. Yes, and that means: up to users migrating from LaTeX and documenting their struggles. Hraban ___ 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 ___ ___ 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] Text editor support via Digestif
You would set DIGESTIF_TEXMF to the (list of) directory(ies) containing the ls-R file(s). However, I gather from Hans's comment that lmtx does not have the ls-R files. So something lmtx-specific has to be added to Digestif. Best, Augusto On Sun, Jan 3, 2021 at 11:21, Saša Janiška wrote: On Sat, 2 Jan 2021 19:58:06 +0100 Augusto Stoffel wrote: I have only tested it with TeXLive. But if lmtx provides a lua interpreter with kpathsea bindings, like the usual texlua, then it will surely work. OK. If that's not the case and you installed lmtx in a nonstandard location, I've installed it into ~/opt/lmtx and context-en.xml is at opt/lmtx/tex/texmf-context/tex/context/interface/mkiv/context-en.xml you will need to set an environment variable to specify the location of the interface XML files. Which variable should be set? Sincerely, Gour -- The senses, the mind and the intelligence are the sitting places of this lust. Through them lust covers the real knowledge of the living entity and bewilders him. ___ 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 ___ ___ 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] Text editor support via Digestif
> > I'd have to revive ST's package which provides support for ConTeXt syntax > and > now trying it with vim/coc, but wonder whether you're using TeXLive or > lmtx? > > I'm trying with the latter on Debian (Sid)... > > I have only tested it with TeXLive. But if lmtx provides a lua interpreter with kpathsea bindings, like the usual texlua, then it will surely work. If that's not the case and you installed lmtx in a nonstandard location, you will need to set an environment variable to specify the location of the interface XML files. Best, Augusto ___ 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] Text editor support via Digestif
Hi all, I have worked a bit on ConTeXt support in the Digestif language server [1], and I think it's pretty usable by this point, so I would like to invite everyone to check it out. Feedback is welcome. Digestif plugs into any editor that support the Language Server Protocol, and provides the usual IDE features: completion (of commands, keyword arguments, references, citations), go to definition, find references, document outline, etc. Among the fancier features is fuzzy-matching, so you can, say, find a citation by typing parts of the title or author names (and get away with using meaningless BibTeX identifiers). The newest (git) version reads the ConTeXt interface files at runtime, so it should be pretty accurate, and also work with third-party packages. It would be cool to also have some integrated documentation, but it looks like ConTeXt (or TeX in general) doesn't have anything of help in this direction currently, right? Another nice thing is that Digestif is a Lua program, and can run on the LuaTeX interpreter with no extra dependencies. On the other hand, I didn't get the change to test it on Windows or editors other than Emacs, although both things should work with minimal adjustments. Let me know if you have any issues. Best, Augusto [1]: https://github.com/astoff/digestif ___ 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 ___