[NTG-context] Suppress pagenumber
Need Help! I'm standing in front of the barn door ... How can I suppress the pagenumber only on the first page? Thanks in advance Thomas___ 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 ___
[NTG-context] Re: Special charakter
Thank you Axel for the hint! Thank you Hraban for the keylayout! Greetings Thomas Am 19.05.24 um 07:16 schrieb Axel Kielhorn: Am 18.05.24 um 11:17 schrieb Thomas Meyer: Hi folks, I have problems to produce the polish l. \l gives ł, but \L gives nothing! How can I write Łódź (on a Mac)? It seems that you can´t write it with the normal keyboard. There is an action "stroke" but it is not bound to any key. There are two alternatives: You can design your own keyboard layout with Ukulele: https://software.sil.org/ukelele/ Or you could use the "Deutsch-Europa" keylayout from: https://github.com/fiee/tools This Layout has been designed by Henning Hraban Ramm and offers easy access to greek and cyrillic letter, as well as ł and Ł (via option-o l and option-o L). Greetings Axel ___ 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 ___
[NTG-context] Re: Special charakter
Thanks to all of you for your hints and comments! I thought \l does work, why \L does not. To type \L is faster than changing the keyboard language when I write in German normally. Greetings Am 18.05.24 um 13:33 schrieb Bruce Horrocks: On 18 May 2024, at 11:54, Thomas Meyer wrote: I know I can copy and paste it, like here (copied from Wikipedia), but if I don't have a template in a hurry ... On the Mac, if you are using an 'English' keyboard, you can hold down any letter for half a second or so and see a popup selection of alternate accented versions of that letter. Not all text editors / word processors support it but TeXShop does. No need for cut & paste templates. — Bruce Horrocks Hampshire, UK ___ 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 ___
[NTG-context] Re: Special charakter
I know I can copy and paste it, like here (copied from Wikipedia), but if I don't have a template in a hurry ... Am 18.05.24 um 11:45 schrieb vm via ntg-context: On 18/05/2024 11:17, Thomas Meyer wrote: How can I write Łódź (on a Mac)? Just as you wrote it in your mail message? ConTeXt knows how to deal with utf-8 ___ 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 ___
[NTG-context] Special charakter
Hi folks, I have problems to produce the polish l. \l gives ł, but \L gives nothing! How can I write Łódź (on a Mac)? Thanks and nice weekend. Thomas ___ 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 ___
[NTG-context] Re: blank line and \placefigure
Here is a minimal example that better describes my problem. It seems to depend on the size of the image. 30 mm and 40 mm width works, 35 mm does not. I have not tested height, although the image I want to use would be portrait format. \setuplayout[grid=yes] \setupinterlinespace[line=15pt] \starttext \input{knuth} \startlinecorrection \placefigure[left, none] []{}\externalfigure[cow.pdf][width=40mm] \input{knuth} \stoplinecorrection \stoptext Thomas Am 06.04.24 um 13:43 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 06.04.2024 um 12:56: Am 06.04.24 um 12:48 schrieb Thomas Meyer: how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Did you try \setupfloat[figure][spacebefore=,] ? or "none" or "{disable,nowhite,back}" You can set the space only for *all* floats, e.g. \setupfloat[spacebefore=...,spaceafter=...] and not for a single float type only. 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 ___
[NTG-context] blank line and \placefigure
Hi folks, how can I suppress a blank line between a text paragraph and \placefigure? I get one there, but I don't want it. Thanks and greetings on a sunny weekend Thomas ___ 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 ___
[NTG-context] Re: Headertext
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 ___ 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 ___
[NTG-context] Headertext
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___ 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 ___
[NTG-context] Re: Use of marking
Hi Pablo and Bruce, thank you very much for your two solutions. That helps me enormously now. Greetings Thomas Am 21.03.24 um 16:34 schrieb Bruce Horrocks: \startsetups[doc:header] \getmarking[chapternumber] \space - \space \getmarking[chapter] \space :: \space \getmarking[sectionnumber] \space - \space \getmarking[section] \stopsetups \setupheadertexts[\setup{doc:header}] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter}] This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \startsection[title={This is my section}] This is a section\par \dorecurse{6}{\input knuth }\input math-kontinuitet-sv \stopsection \stopchapter } \stoptext ___ 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 ___
[NTG-context] Re: Use of marking
Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know \setupheadertexts, but do not know what shall I write here: \startsection[titel=Aufgabe, marking=?] If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same. \setupheadertexts [] [{\getmarking[chapter]} - {\getmarking[section]}] [{\getmarking[chapter]} - {\getmarking[section]}] [] > Kapitel - Aufgabe Thanks in advance Greetings Thomas Am 20.03.24 um 09:09 schrieb Hraban Ramm: Am 20.03.24 um 08:18 schrieb Thomas Meyer: HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in the header on the right. How can I automate this with marking? And how can I reduce the space between the number (1.) and the title (Kapitel or Aufgabe)? Thanks for your help Thomas Hi Thomas, do you know how to use \setupheadertexts? https://wiki.contextgarden.net/Command/setupheadertexts I guess you're using the section level for "Aufgabe"? Then something like {\getmarking{chapter} – \getmarking{section}} might fit your request. The formatting should be possible with \setuphead[chapter,section][numberwidth=2em] or "fit". 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 ___ ___ 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 ___
[NTG-context] Use of marking
HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in the header on the right. How can I automate this with marking? And how can I reduce the space between the number (1.) and the title (Kapitel or Aufgabe)? Thanks for your help Thomas ___ 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 ___
[NTG-context] Re: distance in \setupinitial
Thank you, Pablo, next question: why does it say here https://wiki.contextgarden.net/Command/setupinitial default is 0pt? Why does the information not match? Crazy! Am 09.02.24 um 20:02 schrieb Pablo Rodriguez via ntg-context: On 2/9/24 09:53, Thomas Meyer wrote: Hi folks, if I understand it correct it is not necessary to set default parameters. In my example it is a difference to set it or not (distance=0pt should be default): Hi Thomas, the default (as per line 65 in typo-drp.mkxl) is .125\emwidth. This is the reason why your results differ with distance set to 0pt. Just in case it helps, 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 ___
[NTG-context] distance in \setupinitial
Hi folks, if I understand it correct it is not necessary to set default parameters. In my example it is a difference to set it or not (distance=0pt should be default): \setupinitial%[distance=0pt] \starttext \placeinitial \input knuth \stoptext Why? Greetings Thomas ___ 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 ___
[NTG-context] Footnotes in footnotes
Hi folks, in https://wiki.contextgarden.net/Footnotes there is Oblomov's example for footnotes in footnotes: This\footnote{Or that\footnote{Or possibly even the other.}, if you prefer.} is a sentence with a footnote. I get only the footnote number of the inner footnote in the first footnote, not the whole second/inner footnote. What's going wrong? Greetings Thomas ___ 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 ___
[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")
That's it! Many thanks to Hans, Hraban and especially Wolfgang for his solution. This environment should become part of ConTeXt! I have been a LaTeX/XeTeX/LuaLaTeX user for over 30 years and used it to write my papers during my studies and use it for almost all my writing. Now I wanted to try ConTeXt and will be glad if anyone can help me. As I said, I am only a user. Many thanks and best regards Thomas Am 22.01.24 um 20:24 schrieb Wolfgang Schuster: Thomas Meyer schrieb am 22.01.2024 um 13:04: Am 22.01.24 um 12:06 schrieb Henning Hraban Ramm: Am 22.01.24 um 11:46 schrieb Thomas Meyer: I might get a bit impatient if I have the impression that others get an answer faster. Sorry for that. It’s not unusual to get that impression. It depends on the current attention, capacity and mood of the few who can answer your questions. So the problem is still \hfill that the last paragraph is not on grid in the new and the old version (and comma). Grid is not as easy as it looks first. Low level tricks like fills or skips can mess it up. Maybe \startlinecorrection helps… (No, it doesn’t.) It also doesn’t help to add a \blank or \par after \vfill. I know it, i tried it. And I tried \snaptogrid \vbox {}, it doesn't work too. Only counting empty rows and set the number in \blank[ *big] works! You need a fixed space (multiple of the line distance) between the text blocks and \vfill is a variable space which isn't what you want here. TO get the desired space between the blocks you have to measure the height of the text at the bottom and calculate the number of lines which have to be added in the gap. Below is a simple solution which adds the required number of \blank lines. \def\PlaceAtBottom {\par \dowithnextbox {\scratchdimen\dimexpr\pagegoal-\pagetotal\relax \ifdim\nextboxht>\scratchdimen \page \getnoflines{\dimexpr\textheight-\nextboxht\relax}% \dontleavehmode\blank[\number\numexpr\noflines-2\relax*line]% \unvbox\nextbox \else \getnoflines{\dimexpr\scratchdimen-\nextboxht\relax}% \blank[\number\numexpr\noflines-1\relax*line]% \unvbox\nextbox \fi} \vbox} \let\stopPlaceAtBottom\egroup \def\startPlaceAtBottom {\PlaceAtBottom\bgroup} \mainlanguage[de] \setupbodyfont[libertinus, 12pt] \setuppagenumbering [location={footer,middle}] \setuplayout [grid=yes] \showgrid \starttext \samplefile{lorem} \startPlaceAtBottom {\sl\samplefile{lorem}} \stopPlaceAtBottom \page \dorecurse{4}{\samplefile{lorem}} \startPlaceAtBottom {\sl\samplefile{lorem}} \stopPlaceAtBottom \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 ___ ___ 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 ___
[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")
Am 22.01.24 um 12:06 schrieb Henning Hraban Ramm: Am 22.01.24 um 11:46 schrieb Thomas Meyer: I might get a bit impatient if I have the impression that others get an answer faster. Sorry for that. It’s not unusual to get that impression. It depends on the current attention, capacity and mood of the few who can answer your questions. So the problem is still \hfill that the last paragraph is not on grid in the new and the old version (and comma). Grid is not as easy as it looks first. Low level tricks like fills or skips can mess it up. Maybe \startlinecorrection helps… (No, it doesn’t.) It also doesn’t help to add a \blank or \par after \vfill. I know it, i tried it. And I tried \snaptogrid \vbox {}, it doesn't work too. Only counting empty rows and set the number in \blank[ *big] works! Hans, how about adding \blank[fill] for a vertical fill that keeps the grid (in grid mode, of course)? https://wiki.contextgarden.net/Grid_typesetting is not very helpful, some links are dead, “someone” should change that. The details manual has some hints about grid typesetting, but it’s not an easy read. 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 ___ ___ 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 ___
[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")
Hi Hans, I might get a bit impatient if I have the impression that others get an answer faster. Sorry for that. I thought my example couldn't be any smaller. The only answer I got from Wolfgang was the question for a mwe. Now I found the missing comma and grid works with the new version of ConTeXt except the last paragraph. With the older version as in MacTeX and without comma, the whole 3-pages-document is on grid. So the problem is still \hfill that the last paragraph is not on grid in the new and the old version (and comma). Sorry again - and I will continue to try Context! Greetings Thomas Am 22.01.24 um 10:56 schrieb Hans Hagen via ntg-context: On 1/22/2024 10:47 AM, Thomas Meyer wrote: Hi Hans, maybe you understand the question mark now, you are part of it. Unfortunately, I haven't received a reply to my last e-mail from January 18. No I don't. Are you sayign that you want an instant reply every time? I assume you realize that we're talking about volunteers here and that answering is askign users and developers to allocate free time to answer them and as we all have jobs it's not like we can always answer immediately. Maybe only those whose questions are more serious, more interesting or whatever will get an answer. Depends. I guess that when folk on this list assume a question to be answered they move on to a next one. Also, the only way to get an answer fast is to provide a good small example that exposes the issue. I do not understand what you mean with "as follow up on the keyword thread we decided to treat bad values to equivalent to 'no'"! Which values are bad in this context? Did you read Wolfgangs answers? We support "yes" but not "yes " etc etc. We just added a bit more rigorous test. With the new ConTeXt version, "grid" no longer works for me! Too bad. Let's see what Wolfgang says as he tested your mwe. Should my attempt to use ConTeXt end here? hm 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 ___ ___ 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 ___
[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")
Hi Hans, maybe you understand the question mark now, you are part of it. Unfortunately, I haven't received a reply to my last e-mail from January 18. Maybe only those whose questions are more serious, more interesting or whatever will get an answer. I do not understand what you mean with "as follow up on the keyword thread we decided to treat bad values to equivalent to 'no'"! Which values are bad in this context? With the new ConTeXt version, "grid" no longer works for me! Too bad. Should my attempt to use ConTeXt end here? Greetings Am 18.01.24 um 13:06 schrieb Hans Hagen via ntg-context: On 1/18/2024 12:59 PM, Thomas Meyer wrote: What is going on? Yesterday I got a perfect on-grid-written document! But today, with the newest context-version (20240118) all changed for the worse. as follow up on the keyword thread we decided to treat bad values to equivalent to 'no' I may not get a reply to this e-mail either! ? 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 ___ ___ 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 ___
[NTG-context] Re: context version 20240118
Am 18.01.24 um 13:51 schrieb luigi scarso: On Thu, 18 Jan 2024 at 13:00, Thomas Meyer wrote: What is going on? Yesterday I got a perfect on-grid-written document! But today, with the newest context-version (20240118) all changed for the worse. I may not get a reply to this e-mail either! Am 17.01.24 um 20:57 schrieb Thomas Meyer: Got it. Was it with a huge attachment (> 100KB)? In this case I could have rejected it . -- luigi No attachment, only three pages text. I have had problems to get it fine onto grid. Yesterday all was nice, and I wanted to make it standard for my texts. But now ...___ 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 ___
[NTG-context] Re: context version 20240118
I may not understand it ... Where can I find the thread (which keyword?)and which values are bad? Greetings Thomas Am 18.01.24 um 13:06 schrieb Hans Hagen via ntg-context: as follow up on the keyword thread we decided to treat bad values to equivalent to 'no' ___ 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 ___
[NTG-context] context version 20240118 (was: "Registerhaltigkeit")
What is going on? Yesterday I got a perfect on-grid-written document! But today, with the newest context-version (20240118) all changed for the worse. I may not get a reply to this e-mail either! Am 17.01.24 um 20:57 schrieb Thomas Meyer: Got it. Am 14.01.24 um 17:36 schrieb Thomas Meyer: Here comes my minimal example. \vfill doesn't fit the grid, the counted blank works. Is it possible to jump to grid with blank[?] ? Am 14.01.24 um 13:53 schrieb Wolfgang Schuster: Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Can you provide a minimal example where you show what you're trying to place at the bottom of the page. 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 ___ ___ 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 ___
[NTG-context] Re: "Registerhaltigkeit"
Got it. Am 14.01.24 um 17:36 schrieb Thomas Meyer: Here comes my minimal example. \vfill doesn't fit the grid, the counted blank works. Is it possible to jump to grid with blank[?] ? Am 14.01.24 um 13:53 schrieb Wolfgang Schuster: Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Can you provide a minimal example where you show what you're trying to place at the bottom of the page. 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 ___
[NTG-context] Re: "Registerhaltigkeit"
Here comes my minimal example. \vfill doesn't fit the grid, the counted blank works. Is it possible to jump to grid with blank[?] ? Am 14.01.24 um 13:53 schrieb Wolfgang Schuster: Thomas Meyer schrieb am 14.01.2024 um 11:21: Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Can you provide a minimal example where you show what you're trying to place at the bottom of the page. Wolfgang Test.tex Description: TeX document Test.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 / 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 ___
[NTG-context] Re: "Registerhaltigkeit"
Thank you Wolfgang and Hraban, it can be so easy! But if my last subject should be at the end of the page and I shift it with \vfill to the end, the last subject doesn't fit the grid! Am 14.01.24 um 11:02 schrieb Henning Hraban Ramm: Am 14.01.24 um 10:30 schrieb Thomas Meyer: which settings are necessary to achieve "Registerhaltigkeit"? \setuplayout[grid=yes] You might like \showgrid, and please read the manual details.pdf WRT to placement of elements that don’t fit the grid. 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 ___ ___ 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 ___
[NTG-context] "Registerhaltigkeit"
Hi folks, which settings are necessary to achieve "Registerhaltigkeit"? Thank you in advance Thomas___ 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 ___
[NTG-context] Re: typearea
Hi, first of all, sorry for my late response. Many thanks to everyone who commented on my problem. With the change from the archive the module runs, also under LMTX. But: what does alphabets=3.1 or alphabets=2.6 mean? I see what is happening, but where can I get explanations about this and other terms? Thanks in advance! Regards Thomas Am 29.10.23 um 12:13 schrieb Henning Hraban Ramm: Am 29.10.23 um 11:37 schrieb Thomas Meyer: Hi, I'm new to ConTeXt and try to use the module typearea (https://modules.contextgarden.net/cgi-bin/module.cgi/action=find/name=typearea). But the example doesn't work: The module is from 2008, i.e. MkII. You can’t expect it to work with MkIV/LMTX. Just define your layout yourself. 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 ___ ___ 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 ___
[NTG-context] Re: typearea
Oh, I found something about in the archive! Am 29.10.23 um 11:37 schrieb Thomas Meyer: Hi, I'm new to ConTeXt and try to use the module typearea (https://modules.contextgarden.net/cgi-bin/module.cgi/action=find/name=typearea). But the example doesn't work: \usemodule[typearea] \setupTypeArea[bcor=0mm,alphabets=3.1] \setuppagenumbering[alternative=doublesided] \starttext \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} \stoptext I got: texmf-dist/tex/context/third/typearea/t-typearea.tex' loading > Something like KOMA-TypeArea tex error > tex error on line 89 in file /usr/local/texlive/2023/texmf-dist/tex/context/third/typearea/t-typearea.tex: Missing number, treated as zero { \TA@alphabets \par \PageWidth =\dimexpr \paperwidth -\TA@bcor \relax \par \edef \Ratio {\withoutpt { \the \dimexpr 2\paperheight /(\PageWidth /32768)\relax }} \par \setbox \scratchbox \hbox {\dorecurse {26}{\character \recurselevel }} \Width =\dimexpr \TA@alphabet \setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6] 79 height=\the\Height, 80 width=\the\Width, 81 header=2\lineheight, 82 headerdistance=\lineheight, 83 footer=2\lineheight, 84 footerdistance=3\lineheight, 85 topspace=\Top] 86 } 87 \protect 88 89 >> \setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6] 90 91 \doifnotmode{demo}{\endinput} 92 93 %D Usage example: 94 \usemodule[typearea] 95 \setupTypeArea[bcor=0mm,alphabets=3.1] 96 \setuppagenumbering[alternative=doublesided] 97 \starttext 98 \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} 99 \stoptext A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.) mtx-context | fatal error: return code: 1 Line 89 in the module should be the problem. But how can I solve it? I think some lines in the module should be commented out. (An example directly in the module?) I thank you for any hint. Greetings Thomas ___ 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 ___
[NTG-context] typearea
Hi, I'm new to ConTeXt and try to use the module typearea (https://modules.contextgarden.net/cgi-bin/module.cgi/action=find/name=typearea). But the example doesn't work: \usemodule[typearea] \setupTypeArea[bcor=0mm,alphabets=3.1] \setuppagenumbering[alternative=doublesided] \starttext \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} \stoptext I got: texmf-dist/tex/context/third/typearea/t-typearea.tex' loading > Something like KOMA-TypeArea tex error > tex error on line 89 in file /usr/local/texlive/2023/texmf-dist/tex/context/third/typearea/t-typearea.tex: Missing number, treated as zero { \TA@alphabets \par \PageWidth =\dimexpr \paperwidth -\TA@bcor \relax \par \edef \Ratio {\withoutpt { \the \dimexpr 2\paperheight /(\PageWidth /32768)\relax }} \par \setbox \scratchbox \hbox {\dorecurse {26}{\character \recurselevel }} \Width =\dimexpr \TA@alphabet \setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6] 79 height=\the\Height, 80 width=\the\Width, 81 header=2\lineheight, 82 headerdistance=\lineheight, 83 footer=2\lineheight, 84 footerdistance=3\lineheight, 85 topspace=\Top] 86 } 87 \protect 88 89 >> \setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6] 90 91 \doifnotmode{demo}{\endinput} 92 93 %D Usage example: 94 \usemodule[typearea] 95 \setupTypeArea[bcor=0mm,alphabets=3.1] 96 \setuppagenumbering[alternative=doublesided] 97 \starttext 98 \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} 99 \stoptext A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.) mtx-context | fatal error: return code: 1 Line 89 in the module should be the problem. But how can I solve it? I think some lines in the module should be commented out. (An example directly in the module?) I thank you for any hint. Greetings Thomas___ 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 ___
AW: AW: [NTG-context] PPCHTeX Bug?
Thanks to all who answered me! Special thanks to Tobias. I will use ochem or something like that under LaTeX because I need seven-membered rings. Or is it possible to use ochem under ConTeXt? Greetings Thomas Is it possible to create seven-membered ring-systems with ppchtex? I never found something in the manual about it. Probably not. Hans, how about implementing those? No answer from Hans! ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
AW: [NTG-context] PPCHTeX Bug?
Hi to all, One week is gone and I got no answer, no comment to my problems! What's going wrong! Thomas -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Thomas Meyer Gesendet: Samstag, 18. September 2004 12:05 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] PPCHTeX Bug? Hello, I am new here in this list and I am the one who has the problems with ppchtex. At first I have to thank Hraban and Tobias for their committed help! Under LaTeX I tried the downloaded version of ppchtex.tex from pragma-ade.nl. I got only the lines for the bonds between the atoms, no letters for the atomic symbols. And I got the error message Tobias and Hraban reported. Tobias' version of ppchtex.tex works fine! The downloaded version works fine only under ConTeXt not under LaTeX. Is there a bug? Or am I to stupid? Another question: Is it possible to create seven-membered ring-systems with ppchtex? I never found something in the manual about it. Greetings Thomas -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tobias Hilbricht Gesendet: Donnerstag, 16. September 2004 11:42 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] PPCHTeX Bug? Am Di, den 14.09.2004 schrieb Henning Hraban Ramm um 14:44: some PPCHTeX code wouldn't work Dear readers, the code in question was the following: -- \documentclass{article} \usepackage{etex} %\usepackage{pstricks,pstcol,pst-plot} \usepackage{m-pictex,color} \usepackage{m-ch-de} \begin{document} % C3-Aldose, Bindungen der Aldehydgruppe rot \startchemical {\color{red}{\chemie[SIX,SB2,DB3]}}% \chemie[SIX,Z234,SUB2,ONE,Z015,SB1,SB3,SB5,SB7,% MOV3,Z0][H,C,O,C,OH,H,\SL{CH_2OH}] \stopchemie % C3-Aldose, Atome der Aldehydgruppe rot \startchemical \chemie[SIX,SB2,DB3]% {\color{red}{\chemie[SIX,Z234][H,C,O]}}% \chemie[SIX,SUB2,ONE,Z015,SB1,SB3,SB5,SB7,% MOV3,Z0][C,OH,H,\SL{CH_2OH}] \stopchemie --- , the error message was: ppchtex.tex:3390: undefined control sequence He uses an actual MikTeX (again, only problems with this, we should mark it red in the wiki...) His file ppchtex.tex ends like: \def\cpos#1#2% {\iftrialtypesetting #2% \else \bgroup \globalpushmacro\dowithchemical 3390 \gdef\dowithchemical##1{\hpos{#1}{##1}\globalpopmacro\dowithchemical}% #2% \egroup \fi} \fi \protect \endinput Tobias Hilbricht answered, the code would work with his ppchtex.tex version from TeX Live 2003, there line 3390 (second line from the end) had only a lonely \fi, but the file is 3kB bigger, With Tobias' file it worked at Thomas. Thomas downloaded the file from pragma-ade.nl, and it doesn't work again. I told him to ask at the PPCHTeX list, see above. Further Thomas wanted to draw seven-rings, and that seems not supported by PPCHTeX. Perhaps this helps to solve this problem with PPCHTeX. Yours sincerely Tobias Hilbricht ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Seven-membered rings with ppchtex
Hi, is it possible to create seven-membered ring-systems with ppchtex? How does it work? I couldn't find it in the manual. Greetings Thomas ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
AW: [NTG-context] PPCHTeX Bug?
Hello, I am new here in this list and I am the one who has the problems with ppchtex. At first I have to thank Hraban and Tobias for their committed help! Under LaTeX I tried the downloaded version of ppchtex.tex from pragma-ade.nl. I got only the lines for the bonds between the atoms, no letters for the atomic symbols. And I got the error message Tobias and Hraban reported. Tobias' version of ppchtex.tex works fine! The downloaded version works fine only under ConTeXt not under LaTeX. Is there a bug? Or am I to stupid? Another question: Is it possible to create seven-membered ring-systems with ppchtex? I never found something in the manual about it. Greetings Thomas -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tobias Hilbricht Gesendet: Donnerstag, 16. September 2004 11:42 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] PPCHTeX Bug? Am Di, den 14.09.2004 schrieb Henning Hraban Ramm um 14:44: some PPCHTeX code wouldn't work Dear readers, the code in question was the following: -- \documentclass{article} \usepackage{etex} %\usepackage{pstricks,pstcol,pst-plot} \usepackage{m-pictex,color} \usepackage{m-ch-de} \begin{document} % C3-Aldose, Bindungen der Aldehydgruppe rot \startchemical {\color{red}{\chemie[SIX,SB2,DB3]}}% \chemie[SIX,Z234,SUB2,ONE,Z015,SB1,SB3,SB5,SB7,% MOV3,Z0][H,C,O,C,OH,H,\SL{CH_2OH}] \stopchemie % C3-Aldose, Atome der Aldehydgruppe rot \startchemical \chemie[SIX,SB2,DB3]% {\color{red}{\chemie[SIX,Z234][H,C,O]}}% \chemie[SIX,SUB2,ONE,Z015,SB1,SB3,SB5,SB7,% MOV3,Z0][C,OH,H,\SL{CH_2OH}] \stopchemie --- , the error message was: ppchtex.tex:3390: undefined control sequence He uses an actual MikTeX (again, only problems with this, we should mark it red in the wiki...) His file ppchtex.tex ends like: \def\cpos#1#2% {\iftrialtypesetting #2% \else \bgroup \globalpushmacro\dowithchemical 3390 \gdef\dowithchemical##1{\hpos{#1}{##1}\globalpopmacro\dowithchemical}% #2% \egroup \fi} \fi \protect \endinput Tobias Hilbricht answered, the code would work with his ppchtex.tex version from TeX Live 2003, there line 3390 (second line from the end) had only a lonely \fi, but the file is 3kB bigger, With Tobias' file it worked at Thomas. Thomas downloaded the file from pragma-ade.nl, and it doesn't work again. I told him to ask at the PPCHTeX list, see above. Further Thomas wanted to draw seven-rings, and that seems not supported by PPCHTeX. Perhaps this helps to solve this problem with PPCHTeX. Yours sincerely Tobias Hilbricht ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context