Thank you Wolfgang! This is what I needed. Willi > On 28 Mar 2024, at 17:56, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote: > > Willi Egger schrieb am 28.03.2024 um 17:23: >> Hello everybody, >> >> I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. >> >> MWE: >> >> \setupbar[offset=-.5,dy=-.5] > > \setupbar[underbar][offset=-0.5] > > Wolfgang > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Willi Egger schrieb am 28.03.2024 um 17:23: > Hello everybody, > > I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. > > MWE: > > \setupbar[offset=-.5,dy=-.5] \setupbar[underbar][offset=-0.5] Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Hello everybody, I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. MWE: \setupbar[offset=-.5,dy=-.5] \starttext Hello! \blank \underbar{Good buye!} \stoptext I am using the latest version of ConTeXt from March 11. Do I miss something? Kind regards Willi ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
On 3/27/24 15:55, hf@hongfeng.ch wrote: > Hello Pablo, > > Tried, the problem still remains. Weird, if I remove the cache, I get a single line error message: mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' Could you run the "install.sh" script located at ~/WORKSPACE/TOOLS/ConTeXt/ on your computer and then "mtxrun --generate"? If you still get the error message above, could you give us the output from "whereis context"? I hope this may help, Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Alexey Kryukov schrieb am 27.03.2024 um 14:02: > Hi list, > > I'd like to know if its is possible to get visually balanced > mixedcolumns in lmtx. For example, if I have \blank's between > paragraphs, I would like them to be stretched or expanded by > a such way that the bottommost lines have the same vertical > position -- no matter, how many lines there are in each column and how > exactly they are aligned. > > If I understand correctly, that's how the multicols environment in > LaTeX works, and that's how old-multicolumns worked -- but this module > seems to be no longer supported in lmtx. > > I tried to disable gridfitting for startcolumns, but it produces a > completely distorted output. The pagecolumns environment supports bottom aligned content. \setupwhitespace[medium] \setupalign[depth] \starttext \startpagecolumns \dorecurse{20}{\samplefile{jojomayer}\par} \stoppagecolumns \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Hello Pablo, Tried, the problem still remains. I did not encouinter this problem on x64 PC. I will try to find another RPI4B computer to try. Thank you. Hong 2024年3月27日 02:58, "Pablo Rodriguez via ntg-context" <ntg-context@ntg.nl> 写到: > On 3/26/24 18:43, Andres Conrado Montoya wrote: > >> Can you try the following: Delete the `texmf-cache` folder >> >> inside /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/, and then run `mtxrun >> >> --generate && context --make`? > > In principle, the two following commands should be enough: > > mtxrun --script cache --erase && mtxrun --generate > > The format file generation will be run automatically by the next > > compilation. > > Just in case it may help, > > Pablo > > ___________________________________________________________________________________ > > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > > archive : https://github.com/contextgarden/context > > wiki : https://wiki.contextgarden.net > > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
[-- Attachment #1.1: Type: text/plain, Size: 523 bytes --] Dear Pablo, Here is my example: \setuppapersize[A4] \setupbodyfont[termes, 12.50pt] \setuplayout[backspace=2.9cm, width=fit] \ininnermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}} \dontleavehmode \blackrule[color=black, height=0.10ex, width=13.50cm] \showframe \starttext Me\par \blackrule[color=black, height=0.10ex, width=13.50cm]\dontleavehmode \inoutermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}} \par Me Many thanks for your help. Uschi Hermann [-- Attachment #1.2: Type: text/html, Size: 3686 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Hi list, I'd like to know if its is possible to get visually balanced mixedcolumns in lmtx. For example, if I have \blank's between paragraphs, I would like them to be stretched or expanded by a such way that the bottommost lines have the same vertical position -- no matter, how many lines there are in each column and how exactly they are aligned. If I understand correctly, that's how the multicols environment in LaTeX works, and that's how old-multicolumns worked -- but this module seems to be no longer supported in lmtx. I tried to disable gridfitting for startcolumns, but it produces a completely distorted output. -- Regards, Alexey Kryukov <anagnost at yandex dot ru> Moscow State University Faculty of History ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: > %%%% begin example > \showframe > > \definetext > [chapterheader] % identifier > [header] % vertical position (header/footer) > % [text] % horizontal position (text/margin) > [This is a custom header for \tex{chapter}] % content > > \setuphead[chapter][header=chapterheader] Thank you, I added that to https://wiki.contextgarden.net/Command/definetext Hraban ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
[-- Attachment #1.1: Type: text/plain, Size: 1507 bytes --] Thank you, Wolfgang, that's exactly what I wanted. Greetings Thomas Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: > When you use "header=high" you can't have a header because the block > for it no longer exists, compare the results for "header=high" and > "header=empty" in the following example. > > %%%% begin example > \showframe > > \starttext > > \setuphead[chapter][header=high] > > \chapter{Lorem Ipsum} > > \dorecurse{10}{\samplefile{lorem}} > > \setuphead[chapter][header=empty] > > \chapter{Lorem Ipsum} > > \dorecurse{10}{\samplefile{lorem}} > > \stoptext > %%%% end example > > As you have guessed \definetext is the way to create a custom header > for the first page of your \chapter, the command has like > \setupheadertexts a variable number of arguments. > > The third argument with the horizontal position can only be used when > you use two or four arguments to set texts on the left and right side > but isn't in my example because a) the text position is the default > and b) I pass only one argument for the content because I wan't the > text in the middle. > > %%%% begin example > \showframe > > \definetext > [chapterheader] % identifier > [header] % vertical position (header/footer) > % [text] % horizontal position (text/margin) > [This is a custom header for \tex{chapter}] % content > > \setuphead[chapter][header=chapterheader] > > \starttext > > \chapter{Lorem Ipsum} > > \dorecurse{10}{\samplefile{lorem}} > > \stoptext [-- Attachment #1.2: Type: text/html, Size: 2494 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
[-- Attachment #1.1: Type: text/plain, Size: 2926 bytes --] Our journal is currently in the process of moving to continuous publication of items in a given volume as they are ready. This entails re-jigging the ToC so that it now includes the start and end page numbers of each item. So far, I have everything pretty much in the right place, but for the page numbers I am getting only “??”. I am not sure why this is happening and would be grateful if someone could tell me why or point me to documentation that explains the problem and how to solve it. Many thanks in advance. My minimalish working example: \definehead[SourceTitle][chapter] \setuphead[SourceTitle][page=yes, footer={ItemData}] \definehead[StudyTitle][chapter] \setuphead[StudyTitle][page=yes, footer={ItemData}] \definetext[ItemData][footer][ {\at[\Reference]– \at[\namedstructureuservariable{}{authorInitials}endPage]} ] \setuplist[SourceTitle][ state=start, textcolor=black, alternative=startendpages, criterium=all, headnumber=no, interaction=page, numberalign=flushright, before={\blank[2.2ex, fixed]}, inbetween=\endgraf, ] \setuplist[StudyTitle][ state=start, textcolor=black, alternative=startendpages, criterium=all, headnumber=no, interaction=all, numberalign=flushright, before={\blank[2.2ex, fixed]}, inbetween=\endgraf, ] \define\ToCEntry{% \structurelistuservariable{author}\crlf \structurelistuservariable{title}\hfill% \at[\structurelistuservariable{reference}]–% \at[\structurelistuservariable{authorInitials}endPage] } \definelistalternative[startendpages] [renderingsetup=list:startendpages] \startsetups[list:startendpages] {\ToCEntry} \vglue1pc \stopsetups \starttext {\tfa\bf Contents} \blank[line, fixed] \WORD{Sources} \blank[halfline, fixed] \placelist[SourceTitle][criterium=all] \blank[line, fixed] \WORD{Studies} \blank[halfline, fixed] \placelist[StudyTitle][criterium=all] \page[makeup] \setnumber[userpage][1] \def\Reference{RefSo01} \startSourceTitle[reference={\Reference}, bookmark=Source01, title={}][ title=Source01, author=Author01, authorInitials=ABC, reference={\Reference}, ] \input knuth \page \dorecurse{25}{\input ward\par} \reference[ABCendPage]{} \stopSourceTitle \page[makeup] \setnumber[userpage][1] \def\Reference{RefSo02} \startSourceTitle[reference={\Reference}, bookmark=Source02, title={}][ author=Author02, title=Source02, authorInitials=PQR, reference={\Reference}, ] \input knuth \page \dorecurse{10}{\input ward\par} \reference[PQRendPage]{} \stopSourceTitle \page[makeup] \setnumber[userpage][1] \def\Reference{RefSt01} \startStudyTitle[reference={\Reference}, bookmark=Study01, title={}][ author=Author03, title=Study01, authorInitials=XYZ, reference={\Reference}, ] \input knuth \blank[big] \page \dorecurse{15}{\input ward\par} \reference[XYZendPage]{} \stopStudyTitle \page[makeup] \stoptext Alan [-- Attachment #1.2: Type: text/html, Size: 4083 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
On 3/26/24 18:43, Andres Conrado Montoya wrote: > Can you try the following: Delete the `texmf-cache` folder > inside /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/, and then run `mtxrun > --generate && context --make`? In principle, the two following commands should be enough: mtxrun --script cache --erase && mtxrun --generate The format file generation will be run automatically by the next compilation. Just in case it may help, Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
[-- Attachment #1.1: Type: text/plain, Size: 6266 bytes --] Can you try the following: Delete the `texmf-cache` folder inside /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/, and then run `mtxrun --generate && context --make`? After running those two, try again, and let's see if that helps. El mar, 26 mar 2024 a las 7:25, <hf@hongfeng.ch> escribió: > Hello Andres, > > > I have set up the shell environment variable in my `~/.zshrc`, here it is > the output of `echo $PATH` under the shell: > > ``` > > /home/hf/WORKSPACE/TOOLS/Emacs/bin:/home/hf/WORKSPACE/TOOLS/ConTeXt/tex/texmf-linux-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > ``` > > Here it is the output of `which context`: > > ``` > /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/texmf-linux-aarch64/bin/context > ``` > > To use the full path of context on hello-world.tex generated the same > error message. > > Thank you. > Hong > > > 2024年3月26日 10:47, "Andres Conrado Montoya" <andresconrado@gmail.com > <andresconrado@gmail.com?to=%22Andres%20Conrado%20Montoya%22%20%3Candresconrado%40gmail.com%3E>> > 写到: > > You can invoke it directly, with a complete path, and it will work even if > it's not in your $PATH variable. In my personal installation I have context > at `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin`, so I can call it saying > `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin/context hello-world.tex` and > it works fine. > > Is the `texmf-<arch>/bin` folder in your $PATH? or did you create a > symlink to a known path folder? If the latter, that could be the cause of > your problem. You need the bin folder of context in your path variable. Can > you send the output of `echo $PATH`? Does it work if you invoke it with a > full path? > > El lun, 25 mar 2024 a las 18:14, <hf@hongfeng.ch> escribió: > > Hello, > > I have installed ConTeXt on my Raspberry Pi 400 (aarch64), tried to > typeset this simple file: > > ``` > \starttext > > First tex file to make, hello, world! > > \stoptext > ``` > > but the test failed: > > > ``` > $context hello-world.tex > mtxrun | forcing cache reload > resolvers | resolving | configuration files already identified > resolvers | resolving | skipping configuration file > 'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format) > resolvers | resolving | no texmf paths are defined (using TEXMF) > resolvers | resolving | > mtxrun | the resolver databases are not present or outdated > resolvers | resolving | using suffix based filetype 'lua' > resolvers | resolving | remembering file 'mtx-context.lua' using hash > 'lua::mtx-context.lua' > resolvers | resolving | using suffix based filetype 'lua' > resolvers | resolving | remembering file 'mtx-contexts.lua' using hash > 'lua::mtx-contexts.lua' > resolvers | resolving | remembered file 'mtx-context.lua' > resolvers | resolving | using suffix based filetype 'lua' > resolvers | resolving | remembering file 'mtx-t-mtx-context.lua' using > hash 'lua::mtx-t-mtx-context.lua' > resolvers | resolving | using suffix based filetype 'lua' > resolvers | resolving | remembering file 'mtx-t-mtx-contexts.lua' using > hash 'lua::mtx-t-mtx-contexts.lua' > resolvers | resolving | remembered file 'mtx-t-mtx-context.lua' > resolvers | resolving | remembered file 'mtx-context.lua' > mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' > ``` > > What's wrong with my installation? > > Best, > Hong Feng > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl/ > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl/ https://context.aanhet.net(mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___________________________________________________________________________________ > > > > -- > Andrés Conrado Montoya > Andi Kú > andresconrado@gmail.com > http://sesentaycuatro.com > http://messier87.com > http://chiquitico.org > ---------------------------------------- > Los fines no justifican los medios, porque la medida verdadera de nuestro > carácter está dada por los medios que estamos dispuestos a utilizar, no por > los fines que proclamamos. > ---------------------------------------- > > “You develop an instant global consciousness, a people orientation, an > intense dissatisfaction with the state of the world, and a compulsion to do > something about it. From out there on the moon, international politics look > so petty. You want to grab a politician by the scruff of the neck and drag > him a quarter of a million miles out and say, ‘Look at that, you son of a > bitch.’” — Apollo 14 astronaut Edgar Mitchell > > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___________________________________________________________________________________ > -- Andrés Conrado Montoya Andi Kú andresconrado@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org ---------------------------------------- Los fines no justifican los medios, porque la medida verdadera de nuestro carácter está dada por los medios que estamos dispuestos a utilizar, no por los fines que proclamamos. ---------------------------------------- “You develop an instant global consciousness, a people orientation, an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, ‘Look at that, you son of a bitch.’” — Apollo 14 astronaut Edgar Mitchell [-- Attachment #1.2: Type: text/html, Size: 9993 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Thomas Meyer schrieb am 26.03.2024 um 16:28: > Hi folks, > > I know, with > > \setuphead[chapter][header=high] > > I can suppress the header text on the first page. But what can I do if I > still want to have part of the header text on the first page? > Is there something I can do with \definetext and if so, how? When you use "header=high" you can't have a header because the block for it no longer exists, compare the results for "header=high" and "header=empty" in the following example. %%%% begin example \showframe \starttext \setuphead[chapter][header=high] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \setuphead[chapter][header=empty] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \stoptext %%%% end example As you have guessed \definetext is the way to create a custom header for the first page of your \chapter, the command has like \setupheadertexts a variable number of arguments. The third argument with the horizontal position can only be used when you use two or four arguments to set texts on the left and right side but isn't in my example because a) the text position is the default and b) I pass only one argument for the content because I wan't the text in the middle. %%%% begin example \showframe \definetext [chapterheader] % identifier [header] % vertical position (header/footer) % [text] % horizontal position (text/margin) [This is a custom header for \tex{chapter}] % content \setuphead[chapter][header=chapterheader] \starttext \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \stoptext %%%% end example Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
[-- Attachment #1.1: Type: text/plain, Size: 293 bytes --] Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so, how? Thanks for any help Greetings Thomas [-- Attachment #1.2: Type: text/html, Size: 595 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
[-- Attachment #1.1: Type: text/plain, Size: 4638 bytes --] Hello Andres, I have set up the shell environment variable in my `~/.zshrc`, here it is the output of `echo $PATH` under the shell: ``` /home/hf/WORKSPACE/TOOLS/Emacs/bin:/home/hf/WORKSPACE/TOOLS/ConTeXt/tex/texmf-linux-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ``` Here it is the output of `which context`: ``` /home/hf/WORKSPACE/TOOLS/ConTeXt/tex/texmf-linux-aarch64/bin/context ``` To use the full path of context on hello-world.tex generated the same error message. Thank you. Hong 2024年3月26日 10:47, "Andres Conrado Montoya" <andresconrado@gmail.com (mailto:andresconrado@gmail.com?to=%22Andres%20Conrado%20Montoya%22%20%3Candresconrado%40gmail.com%3E)> 写到: You can invoke it directly, with a complete path, and it will work even if it's not in your $PATH variable. In my personal installation I have context at `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin`, so I can call it saying `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin/context hello-world.tex` and it works fine. Is the `texmf-<arch>/bin` folder in your $PATH? or did you create a symlink to a known path folder? If the latter, that could be the cause of your problem. You need the bin folder of context in your path variable. Can you send the output of `echo $PATH`? Does it work if you invoke it with a full path? El lun, 25 mar 2024 a las 18:14, <hf@hongfeng.ch (mailto:hf@hongfeng.ch)> escribió: Hello, I have installed ConTeXt on my Raspberry Pi 400 (aarch64), tried to typeset this simple file: ``` \starttext First tex file to make, hello, world! \stoptext ``` but the test failed: ``` $context hello-world.tex mtxrun | forcing cache reload resolvers | resolving | configuration files already identified resolvers | resolving | skipping configuration file 'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format) resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-context.lua' using hash 'lua::mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-contexts.lua' using hash 'lua::mtx-contexts.lua' resolvers | resolving | remembered file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-mtx-context.lua' using hash 'lua::mtx-t-mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-mtx-contexts.lua' using hash 'lua::mtx-t-mtx-contexts.lua' resolvers | resolving | remembered file 'mtx-t-mtx-context.lua' resolvers | resolving | remembered file 'mtx-context.lua' mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' ``` What's wrong with my installation? Best, Hong Feng ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl (mailto:ntg-context@ntg.nl)/ https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl (https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl) webpage : https://www.pragma-ade.nl (https://www.pragma-ade.nl)/ https://context.aanhet.net (https://context.aanhet.net)(mirror) archive : https://github.com/contextgarden/context (https://github.com/contextgarden/context) wiki : https://wiki.contextgarden.net (https://wiki.contextgarden.net) ___________________________________________________________________________________ -- Andrés Conrado Montoya Andi Kú andresconrado@gmail.com (mailto:andresconrado@gmail.com) http://sesentaycuatro.com (http://sesentaycuatro.com) http://messier87.com (http://messier87.com) http://chiquitico.org (http://chiquitico.org) ---------------------------------------- Los fines no justifican los medios, porque la medida verdadera de nuestro carácter está dada por los medios que estamos dispuestos a utilizar, no por los fines que proclamamos. ---------------------------------------- “You develop an instant global consciousness, a people orientation, an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, ‘Look at that, you son of a bitch.’” — Apollo 14 astronaut Edgar Mitchell [-- Attachment #1.2: Type: text/html, Size: 7253 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
[-- Attachment #1.1: Type: text/plain, Size: 3743 bytes --] You can invoke it directly, with a complete path, and it will work even if it's not in your $PATH variable. In my personal installation I have context at `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin`, so I can call it saying `/home/andi/Apps/lmtx/tex/texmf-linux-64/bin/context hello-world.tex` and it works fine. Is the `texmf-<arch>/bin` folder in your $PATH? or did you create a symlink to a known path folder? If the latter, that could be the cause of your problem. You need the bin folder of context in your path variable. Can you send the output of `echo $PATH`? Does it work if you invoke it with a full path? El lun, 25 mar 2024 a las 18:14, <hf@hongfeng.ch> escribió: > Hello, > > I have installed ConTeXt on my Raspberry Pi 400 (aarch64), tried to > typeset this simple file: > > ``` > \starttext > > First tex file to make, hello, world! > > \stoptext > ``` > > but the test failed: > > > ``` > $context hello-world.tex > mtxrun | forcing cache reload > resolvers | resolving | configuration files already identified > resolvers | resolving | skipping configuration file > 'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format) > resolvers | resolving | no texmf paths are defined (using TEXMF) > resolvers | resolving | > mtxrun | the resolver databases are not present or outdated > resolvers | resolving | using suffix based filetype 'lua' > resolvers | resolving | remembering file 'mtx-context.lua' using hash > 'lua::mtx-context.lua' > resolvers | resolving | using suffix based filetype 'lua' > resolvers | resolving | remembering file 'mtx-contexts.lua' using hash > 'lua::mtx-contexts.lua' > resolvers | resolving | remembered file 'mtx-context.lua' > resolvers | resolving | using suffix based filetype 'lua' > resolvers | resolving | remembering file 'mtx-t-mtx-context.lua' using > hash 'lua::mtx-t-mtx-context.lua' > resolvers | resolving | using suffix based filetype 'lua' > resolvers | resolving | remembering file 'mtx-t-mtx-contexts.lua' using > hash 'lua::mtx-t-mtx-contexts.lua' > resolvers | resolving | remembered file 'mtx-t-mtx-context.lua' > resolvers | resolving | remembered file 'mtx-context.lua' > mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' > ``` > > What's wrong with my installation? > > Best, > Hong Feng > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___________________________________________________________________________________ > -- Andrés Conrado Montoya Andi Kú andresconrado@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org ---------------------------------------- Los fines no justifican los medios, porque la medida verdadera de nuestro carácter está dada por los medios que estamos dispuestos a utilizar, no por los fines que proclamamos. ---------------------------------------- “You develop an instant global consciousness, a people orientation, an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, ‘Look at that, you son of a bitch.’” — Apollo 14 astronaut Edgar Mitchell [-- Attachment #1.2: Type: text/html, Size: 5594 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
[-- Attachment #1.1: Type: text/plain, Size: 1551 bytes --] Hello, I have installed ConTeXt on my Raspberry Pi 400 (aarch64), tried to typeset this simple file: ``` \starttext First tex file to make, hello, world! \stoptext ``` but the test failed: ``` $context hello-world.tex mtxrun | forcing cache reload resolvers | resolving | configuration files already identified resolvers | resolving | skipping configuration file 'selfautoparent:/texmf-context/web2c/texmfcnf.lua' (no valid format) resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-context.lua' using hash 'lua::mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-contexts.lua' using hash 'lua::mtx-contexts.lua' resolvers | resolving | remembered file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-mtx-context.lua' using hash 'lua::mtx-t-mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-mtx-contexts.lua' using hash 'lua::mtx-t-mtx-contexts.lua' resolvers | resolving | remembered file 'mtx-t-mtx-context.lua' resolvers | resolving | remembered file 'mtx-context.lua' mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua' ``` What's wrong with my installation? Best, Hong Feng [-- Attachment #1.2: Type: text/html, Size: 2224 bytes --] [-- Attachment #2: Type: text/plain, Size: 511 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Dear list, I have the following sample: \startbuffer[demo] <code>mtxrun --script check file</code> \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{code}{xml:*} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:code \xmlprettyprinttext{#1}{none} \xmlinlineprettyprinttext{#1}{none} \stopxmlsetups \definefontfamily[mainface][tt][TeX Gyre Cursor] [features={default}] \setupbodyfont[mainface] \starttext \xmlprocessbuffer{main}{demo}{} \stoptext Current LMTX (2024.03.11 09:34) is giving different results for double hyphens with \xmlprettyprinttext and \xmlinlineprettyprinttext. Since the output of \xmlinlineprettyprinttext is a wrong argument (in the sample), what am I missing here to get the right output with \xmlinlineprettyprinttext? Many thanks for your help, Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
On 3/23/2024 8:31 PM, Hraban Ramm wrote: > > Am 23.03.24 um 19:05 schrieb Hans Hagen: >> On 3/23/2024 2:27 PM, Wolfgang Schuster wrote: >>> Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf >> The es, ts and eu are discussed here: >> >> https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf > > In German, I call these "Spaßeinheiten" (units of measurement = > "Maßeinheiten"; Spaß = fun; "units of leisurement" might be a good > translation). Apart from being fun they are also useful, for instance the "ts" (and dk) make good framed offsets when making examples. Of the "serious" unit is only use pt, mm and cm (and bp in the backend). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Am 23.03.24 um 19:05 schrieb Hans Hagen: > The es, ts and eu are discussed here: > > https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf > > it also discusses how the team callibrated these units by sampling > texies. > Ah, I see. :-) Thanks juh ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Am 23.03.24 um 19:05 schrieb Hans Hagen: > On 3/23/2024 2:27 PM, Wolfgang Schuster wrote: >> Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf > The es, ts and eu are discussed here: > > https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf In German, I call these "Spaßeinheiten" (units of measurement = "Maßeinheiten"; Spaß = fun; "units of leisurement" might be a good translation). Hraban ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
On 3/23/2024 2:27 PM, Wolfgang Schuster wrote: > Jan Ulrich Hasecke via ntg-context schrieb am 23.03.2024 um 13:57: >> I saw this in (the btw great) bachotex-stepbystep presentation >> >> \definepapersize >> [example] >> [width=8.5es, >> height=11es] >> >> >> \setuptextbackground >> [location=paragraph, >> backgroundcolor=MyColors:4, >> backgroundoffset=1dk, >> frame=off] >> >> >> The units "es" and "dk" are unknown to me. >> What does they mean? > > Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf The es, ts and eu are discussed here: https://tug.org/TUGboat/tb44-2/tb137egger-edith.pdf it also discusses how the team callibrated these units by sampling texies. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
Jan Ulrich Hasecke via ntg-context schrieb am 23.03.2024 um 13:57: > I saw this in (the btw great) bachotex-stepbystep presentation > > \definepapersize > [example] > [width=8.5es, > height=11es] > > > \setuptextbackground > [location=paragraph, > backgroundcolor=MyColors:4, > backgroundoffset=1dk, > frame=off] > > > The units "es" and "dk" are unknown to me. > What does they mean? Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf A quote from the Luametatex source regarding the es unit: The Edith and Tove were introduced at BachoTeX 2023 and because the error message was still in feet we decided to adapt it accordingly so now in addition it reports different values, including Theodores little feet measured by Arthur as being roughly five Ediths. Here is the fitting error message when you pass a dimension too large for TeX: Dimension too large", I can't work with sizes bigger than about 19 feet (45 Theodores as of 2023), 575 centimeters, Toves, 230 Ediths or 16383 points. Continue and I'll use the largest value I can. You should also take a look at the lowlevel register manual (lowlevel-registers.pdf) which explains how you can define your own units. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
I saw this in (the btw great) bachotex-stepbystep presentation \definepapersize [example] [width=8.5es, height=11es] \setuptextbackground [location=paragraph, backgroundcolor=MyColors:4, backgroundoffset=1dk, frame=off] The units "es" and "dk" are unknown to me. What does they mean? TIA juh ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________