Re: [NTG-context] Text editors

2023-03-28 Thread Jan-Erik Hägglöf via ntg-context
HI! I’ve been using emacs and played around with configuration and finally found a good and very useful setup using LMTX installation. Also I’ve customized with help from YAsnippet my own snippets så it goes very fast. Below I have a setup on my macos that uses - ConTeXt LMTX - emacs-lisp

Re: [NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-27 Thread Jan-Erik Hägglöf via ntg-context
] >[each] >[none,text] >[textseparator={,}] > > Comma is used to separate options; if you don't use braces, it means that the > textseparator is set to the empty string. > > Massi > > Il 27/02/23 12:33, Jan-Erik Hägglöf via ntg-context ha scritto: >> I

Re: [NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-27 Thread Jan-Erik Hägglöf via ntg-context
I tested the code and the separator didn’t show up\mainlanguage[sv]\setupbodyfont[12pt]\defineitemgroup  [fooditems]\setupitemgroup  [fooditems]  [each]  [none,text]  [textseparator=,]\starttext\startfooditems    \item fish    \item eggs    \item milk\stopfooditems\stoptext test.log Description:

Re: [NTG-context] Curriculum example not working anymore (repost)

2023-02-24 Thread Jan-Erik Hägglöf via ntg-context
Dear List! I’ve managed to solve the issue with some modification, though it seems not possible to handle it within a frame. See example below Original settings in m-resume.tex \define[5]\EDUITEM{\framed[frame=off,align=right,width=broad] % The reason seems to be the frame command

[NTG-context] Curriculum example not working anymore (repost)

2023-02-22 Thread Jan-Erik Hägglöf via ntg-context
Dear List!I discovered a flaw when I updated my personal cv built with inspiration from the wiki examplehttps://wiki.contextgarden.net/Curriculum_VitaeThe margin text dissappear so it needs to be updated and modified in some way.I’m sending the output and files from wiki exampleMy apologize for

[NTG-context] Curriculum example on wiki not working anymore

2023-02-22 Thread Jan-Erik Hägglöf via ntg-context
Dear List! I discovered a flaw when I updated my personal cv built with inspiration from the wiki example https://wiki.contextgarden.net/Curriculum_Vitae The margin text dissappear so it needs to be updated and modified in some way. Thanks in

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
lumns,joinedup] [n=3,grid=line] > \item $ 56 + 2 \cdot 3 $ > \item $ 5-(7) $ > \item $ \frac{21}{7} $ > \stopitemize > > \stoptext > > Could be that there is a better way. > > Le jeu. 22 sept. 2022 à 12:57, Jan-Erik Hägglöf via ntg-context > mailto:ntg-context@

[NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
Dear List!I do not know how to solve this issue.I want the formulas appear on same height, as you can se on the attachment the formula containing a fraction displaces on another vertical position compared to the other equations.How do I correct this?Code snippet pasted from

Re: [NTG-context] Custom engine settings in AUCTEX

2022-07-02 Thread Jan-Erik Hägglöf via ntg-context
It seems to use the old texexec with your configuration example Running `ConTeXt Full' on `rutor' with ``texexec --engine=luametatex --interface=en --nonstop rutor.tex'' /bin/sh: texexec: command not found TeX Output exited abnormally with code 127 at Sat Jul 2 09:50:33 > 1 juli 2022 kl.

[NTG-context] Custom engine settings in AUCTEX

2022-06-14 Thread Jan-Erik Hägglöf via ntg-context
HI! I’ve been trying out Doom-Emacs and when I open a ConTeXt file i want the engine point to my LMTX installation. /Users/jan-erikhagglof/context/context-osx-64/tex/texmf-osx-64/bin/ is the path to my install on my Macos Monterey. How can this been customized? Its a bit confusing reading

Re: [NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

2022-05-30 Thread Jan-Erik Hägglöf via ntg-context
Hi! I have issues to get this to work With latest LMTX installed on my Monterey intel MacBook Air and Zint version 2.11 This appears in my log entry … optional> using library '/Users/janneman/CTX/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so' zint> something went

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-24 Thread Jan-Erik Hägglöf via ntg-context
>> From >> >> https://tex.stackexchange.com/questions/560042/how-to-create-unique-clozes-in-context-in-a-pdf-that-users-can-type-in >> >> <https://tex.stackexchange.com/questions/560042/how-to-create-unique-clozes-in-context-in-a-pdf-that-users-can-type

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-24 Thread Jan-Erik Hägglöf via ntg-context
; > >> 24 maj 2022 kl. 07:44 skrev Jan-Erik Hägglöf > <mailto:skrantajanne...@gmail.com>>: >> >> Thank you, unfortunately it has no effect. Even if I make a macro, still it >> is the same field. >> >>> 23 maj 2022 kl. 21:59 skrev Pablo Rodriguez via ntg-c

Re: [NTG-context] Issue with interactive checkboxes

2022-05-24 Thread Jan-Erik Hägglöf via ntg-context
t; 23 maj 2022 kl. 21:59 skrev Pablo Rodriguez via ntg-context >> : >> >> On 5/23/22 13:11, Jan-Erik Hägglöf via ntg-context wrote: >>> HI! >>> >>> Tried to make a checklist in an interactive document. >>> >>> The

Re: [NTG-context] Issue with interactive checkboxes

2022-05-23 Thread Jan-Erik Hägglöf via ntg-context
Thank you, unfortunately it has no effect. Even if I make a macro, still it is the same field. > 23 maj 2022 kl. 21:59 skrev Pablo Rodriguez via ntg-context > : > > On 5/23/22 13:11, Jan-Erik Hägglöf via ntg-context wrote: >> HI! >> >> Tried to make a checkl

[NTG-context] Issue with interactive checkboxes

2022-05-23 Thread Jan-Erik Hägglöf via ntg-context
HI!Tried to make a checklist in an interactive document.The problem seems to be that all checks/uncecks in same click, not each individually.Is there something wrong with my code?See attached below\setupinteraction[state=start]\setupexternalfigures[location=global]\usemodule[fields]\definesymbol

Re: [NTG-context] Interactive checkbox in ConTeXt

2022-05-22 Thread Jan-Erik Hägglöf via ntg-context
3] [yes,no] [no] > > \starttext > \field[check-me] > \stoptext > >> 20 maj 2022 kl. 12:28 skrev Henning Hraban Ramm via ntg-context >> : >> >> Am 20.05.22 um 12:01 schrieb Jan-Erik Hägglöf via ntg-context: >>> How do I accomplish a simi

Re: [NTG-context] Interactive checkbox in ConTeXt

2022-05-22 Thread Jan-Erik Hägglöf via ntg-context
ing Hraban Ramm via ntg-context > : > > Am 20.05.22 um 12:01 schrieb Jan-Erik Hägglöf via ntg-context: >> How do I accomplish a similar funktion like this, that is written in latex, >> but in context instead? >> LATEXCODE >> |\documentclass{article} \usepackage{hy

[NTG-context] Metapost examples seems broken

2022-05-22 Thread Jan-Erik Hägglöf via ntg-context
HI! I have issues to access the very most useful place to get inspiration to write MetaFun code. Google Chrome reports security issues Maybe this could be off topic in this forum, if so, My apologize in advance. But maybe someone knows the author of this site

[NTG-context] Interactive checkbox in ConTeXt

2022-05-20 Thread Jan-Erik Hägglöf via ntg-context
HI! How do I accomplish a similar funktion like this, that is written in latex, but in context instead? LATEXCODE \documentclass{article} \usepackage{hyperref} \begin{document} \begin{Form} \CheckBox[name=mycheckbox,checkboxsymbol=\ding{53}]{This is a check box:} \end{Form}

Re: [NTG-context] mathcal generates error in ConTeXt

2022-03-26 Thread Jan-Erik Hägglöf via ntg-context
HI! It generates no \starttext \stoptext tag It works with this though \starttext $\mathcal{A}$ \stoptext But with the -s option you get a standalone version of the document pandoc -s -f latex -t context -o test_context.tex test.tex /Janne > 26 mars 2022 kl. 06:39 skrev A A via

Re: [NTG-context] No svg file output

2022-03-05 Thread Jan-Erik Hägglöf via ntg-context
It worked, thank you very much. /Jan-Erik > 4 mars 2022 kl. 10:59 skrev Hans Hagen : > > On 3/3/2022 10:54 PM, Jan-Erik Hägglöf via ntg-context wrote: >> Dear list! >> This seems strange, what is wrong? No output from svg-file. >> \starttext >> \startMPcod

[NTG-context] No svg file output

2022-03-03 Thread Jan-Erik Hägglöf via ntg-context
Dear list!This seems strange, what is wrong? No output from svg-file. test.log Description: Binary data test.pdf Description: Adobe PDF document \starttext\startMPcodepicture utf1; utf1:= lmt_svg [ filename = "utfall01b.svg"];numeric l ; l := bbwidth(utf1);numeric h ; h :=

Re: [NTG-context] Resetcounter in custom enumeration environment

2022-01-04 Thread Jan-Erik Hägglöf via ntg-context
Many thanks, that was very structured and helpful. /Jan-Erik > 3 jan. 2022 kl. 12:07 skrev kauśika : > > On Monday, January 3, 2022 4:34:50 PM IST kauśika wrote: >> If 'Exercises' and 'Answers to exercises' are some head structure (assuming >> unnumbered since they are so in your example): >>

[NTG-context] Resetcounter in custom enumeration environment

2022-01-03 Thread Jan-Erik Hägglöf via ntg-context
Hi! I’ve been doing this in my exams to define exercises in a structural way. \defineenumeration[uppgift] \setupenumerations[uppgift][alternative=left,width=1cm,text= ,after={\blank[2*big]}] \starttext \startuppgift Here comes the exercise \stopuppgift \stoptext I want a simple solution

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
Check if your *.tex file is recognized as a context file and not a plaintex file. I’ve struggelled a lot with macvim before I got what I want. I recommend following places learning everything in vim and many nice plugins that helps a lot. If you want I can provide my .vimrc as an inspiration

Re: [NTG-context] tikzplot displacement result [solved]

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
and is > unnecessary. I don’t know what you are trying to do with the node{$h$}, but I > made it a label on the plot. > > The metafun graph module would also work for this plot, but it pgfplots is > more mature. I recommend using pgfplots unless you are already skilled with

Re: [NTG-context] circuitikz module seems broken

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
HI ALL! Finally it worked after complete reinstall Tikz circuitikz pgfplots from ctan, updated LMTX to latest 2021.12.10 And replaced m-tikz.mkxl and m-circuitikz.mkxl with the attached files from Hans. test2.log Description: Binary data Fingers crossed and praying and impressive help from

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-13 Thread Jan-Erik Hägglöf via ntg-context
let g:context_mtxrun = 'PATH=$HOME/context/context-osx-64/tex/texmf-osx-64/bin:$PATH mtxrun' nnoremap å :ConTeXt nnoremap ö :call tex#preview() nnoremap ä \ :call tex#goto_texshop(expand("%:p"), line('.'), col('.'), 1, 1) Here is my snippet from my personal context.vim file I see that

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Jan-Erik Hägglöf via ntg-context
Seems to not solve my issue but i’m supplying my logs.I did update tikz and circuitikz and the whole LMTX refresh and new.Tested the code belowCheck my logs whats wrong.Giving up on this oneThanks in advanceJan-Erik test-error.log Description: Binary data test.log Description: Binary data

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Jan-Erik Hägglöf via ntg-context
Good work and thank you very much. I dig in to it and try it out Sincerely Jan-Erik Den mån 13 dec. 2021 21:09Aditya Mahajan via ntg-context skrev: > On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > On Mon, 6 Dec 2021, Aditya Mahajan via ntg-context wrote: > > > > > > Something

[NTG-context] tikzplot displacement result

2021-12-12 Thread Jan-Erik Hägglöf via ntg-context
HI! I’m trying to fit the funktion in the right place in this plot but it seems to get displaced. What is wrong with the code? Is there a way to do this in Metafun? Thanks in advance Sincerely Jan-Erik \setupbodyfont[10pt] \enableregime[utf] \usemodule[tikz] \usemodule[pgfplots]

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-06 Thread Jan-Erik Hägglöf via ntg-context
Ok, so if I understand this correctly, you recommend install directly from ctan. The question is, I’m not sure how, but is it the tds arcive? If I test it under mkiv do I need a separate install? The wiki seems to indicate that the mkiv version is included in the LMTX installation, if so it

Re: [NTG-context] [DKIM] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-05 Thread Jan-Erik Hägglöf via ntg-context
Jan-Erik Hägglöf via ntg-context wrote: >> I did replace the attached .mkxl files now in the correct directory tree >> together with the rest of all m-xyz.mkxl module files. >> The same error message appears and i’m back at square one. > hm, here i did: > > - install t

[NTG-context] m-database module error since update

2021-12-05 Thread Jan-Erik Hägglöf via ntg-context
Since my update to LMTX 2021-12-03 the following error occured: tex error > tex error on line 41 in file /Users/jan-erikhagglof/context/context-osx-64/tex/texmf-context/tex/context/modules/mkiv/m-database.mkiv: Missing \endcsname inserted \endlocalcontrol \c !separator

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-04 Thread Jan-Erik Hägglöf via ntg-context
I did replace the attached .mkxl files now in the correct directory tree together with the rest of all m-xyz.mkxl module files. The same error message appears and i’m back at square one. asdf-error.log Description: Binary data asdf.log Description: Binary data asdf.tex Description: Binary

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Jan-Erik Hägglöf via ntg-context
The result of testing, different error messages in MKIV and LMTX.The attached files belongs to LMTX run with the attached m-circuitikz.mkxl and m-tikz.mkxl in texmf-local asdf-error.log Description: Binary data asdf.log Description: Binary data 3 dec. 2021 kl. 19:16 skrev Hans Hagen via

[NTG-context] circuitikz module seems broken

2021-12-02 Thread Jan-Erik Hägglöf via ntg-context
Dear List! I’ve been struggeling with the circuitikz module since my upgrade to LMTX. The following test of installation failed, running file circuitikz-context.tex in ../modules/t-tikz/ directory % Copyright 2018-2021 by Romano Giannetti % Copyright 2015-2021 by Stefan Lindner % Copyright