[NTG-context] New example with both sides margin
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 ___ 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: Struggling with the distance and right margin text
Dear Pablo, Many thanks for your example. Sorry for writing so late. At least I found out, how it works for me . This is the best way. \setuppapersize[A8,landscape] \setupbodyfont[termes, 12.50pt] \setuplayout[inrightmargin=5.1cm backspace=2.9cm, inleftmargin=0cm,width=4cm] \inrightmargin{\blackrule\\{3.2.2}}\par \dontleavehmode \blackrule \showframe \starttext Me \stoptext Von: Pablo Rodriguez via ntg-context Gesendet: Freitag, 15. März 2024 20:00:35 An: ntg-context@ntg.nl Cc: Pablo Rodriguez Betreff: [NTG-context] Re: Struggling with the distance and right margin text On 3/15/24 14:06, Ursula Hermann wrote: > Dear List, Dear Ursula, this might help you (it isn’t perfect, but you just seem to copy and paste fragments from your source files): %\showframe\showstruts \mainlanguage[de-at] \setuppagenumbering[alternative=doublesided] \definemargindata [MyInMargin][ininner] \definemarginframed[MyInMargin] [topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] \defineframed[topruletitle] [width=max, frame=off, topframe=on, rulethickness=1pt, align={justify}, extras=\dontleavehmode] \starttext \topruletitle{\MyInMargin {1.1.1}\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par \input knuth\page \topruletitle{\MyInMargin{3.2.22}{\bf Theorem 3.2.22 (Rechenregeln für Quantoren)}. Seien \m P(\m x)und \input zapf b} \stoptext Sorry for saying that again, but please elaborate both your minimal samples and your descriptions of the issues you are experiencing. Some comments on the code fragments you sent. First of all, please include always code that can be compiled simply after being copied and pasted. This requires \starttext (most of the time) and \stoptext (mandatory to avoid stupid errors). > \definepapersize[MyBook][width=19cm,height=29.7cm] > \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook > %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper > \setupbodyfont[modern, 12.50pt] If these lines are irrelevant for the issue you are experiencing, please don’t include them. > \definemargindata [MyInMargin][inleft] > \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] You define this margin framed, but your sample makes no use of it. Sorry, but I don’t get it. > \defineenumeration > [theorem] > [ > text=Theorem, > title=yes, > width=fit, > distance=0.2em, > alternative=serried, > ] > \definetextbackground[GrayBackground][ > location=paragraph, > background=color, > backgroundcolor=lightgray, > leftoffset=.5\bodyfontsize, > rightoffset=.5\bodyfontsize, > topoffset=.5\bodyfontsize, > bottomoffset=.5\bodyfontsize, > frame=off,] > \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} > \blackrule[color=black, height=0.10ex, width=13.50cm] If your sample includes no theorem or text background, please remove these definitions when sending code. BTW, avoid include text content (such as margin and body rules [but not their definitions]) before \starttext. Also, use \clrf instead of \\ (since the mailing list displays the relevant line as ("\" instead of "\\"): > \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\} Here starts your text: > \starttext > \margintext {1.1.1} > {\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par Your margin text is undefined. Your code has a defined margin text command, but it isn’t used. > So I have here an example from the second page: Sorry, but I’m having the impression you are using ConTeXt as a kind of command-based DTP software (which I think it isn’t at all). Or, do you define commands for each page? I think it is better to define a single margin text command and use a doublesided page setup. > \definemargindata[inrightmargin][right][margin=margin,width=.50em\rightmarginwidth,style=,color=] > \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt, > width=.90cm] Again, margin text commands defined, but never used. > \blackrule[color=black, height=0.10ex, width=13.40cm] > {\blackrule[color=black, height=0.10ex, width=1cm, distance=.90cm]\par Here you open a brace that is not closed at all. At least, consider that this won’t be extremely readable for other people (this is only a sample). It also may be problematic for you, if you leave the source untouched for some weeks. > \defineenumeration > [theorem] > [ > text=Theorem, > title=yes, > width=fit, > distance=0.2em, > alternative=serried, > ] At least, it would be better not to include a definition inside content that seems to (or may) be grouped with braces. BTW, it is exactly t
[NTG-context] Struggling with the distance and right margin text
Dear List, On the first page I had this example: \definepapersize[MyBook][width=19cm,height=29.7cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper \setupbodyfont[modern, 12.50pt] \definemargindata [MyInMargin][inleft] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] \defineenumeration [theorem] [ text=Theorem, title=yes, width=fit, distance=0.2em, alternative=serried, ] \definetextbackground[GrayBackground][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} \blackrule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par So I have here an example from the second page: \definemargindata[inrightmargin][right][margin=margin,width=.50em\rightmarginwidth,style=,color=] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt, width=.90cm] \blackrule[color=black, height=0.10ex, width=13.40cm] {\blackrule[color=black, height=0.10ex, width=1cm, distance=.90cm]\par \defineenumeration [theorem] [ text=Theorem, title=yes, width=fit, distance=0.2em, alternative=serried, ] \inright{3.2.22} {\bf Theorem 3.2.22 (Rechenregeln für Quantoren)}. Seien \m P(\m x)und My problem here is that there is not the same distance between the the text and the margintext . And now the margintext should be on the right side. So maybe someone could help me please. Many thanks. ___ 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] How can I do this?
Dear List, I need a tip how to do this: In the command \definepapersize[Mybook] the height should be not 24 cm, but a little bit longer. My Problem is, as you can see on the PDF, that there are troubles with the Gray Background. The Gray Background should begin with : Mitunter. . I think it should be the topoffset, and the bottomoffset, but how many .\bodyfontsize should I try? Many thanks Uschi \mainlanguage[de] \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper \setupbodyfont[Times New Roman,12.55pt] \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] \defineenumeration [theorem] [ text=Theorem, title=yes, width=fit, distance=0.2em, alternative=serried, ] \definetextbackground[GrayBackground][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.8\bodyfontsize, rightoffset=.8\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} \blackrule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen machen Sie sich die Bedeutung der beiden Aussagen klar.} \par \startitemize[n,packed,broad] \item \m{\forall m ∈ M : ∃f ∈ F : h(m, f)} \item ∃f ∈ F : ∀m ∈ M : h(m, f). \stopitemize \startGrayBackground \tf Mitunter ist es aus der Formulierung nur schwer zu erkennen, dass ein \m ∃\forall∀ oder ein \m \forall∀\m∃ versteckt ist. Dann ist es besonders wichtig, die Formulierung sehr lange zu prüfen und eventuell auch formalisiert noch einmal aufzuschreiben.” \blank \setupnarrower [left=0.80cm, right=0.80cm] \startnarrower[left, right] \definehspace[oneem][0.5em] Der\hspace[oneem] Wert\hspace[oneem] von\hspace[oneem] \m{y = f(x)} ist unabhängig von der Wahl\\ von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \\ (Beutelspacher [10, S.54])\par \blank \stopnarrower \stopGrayBackground \blank \blackrule[color=black, height=0.10ex, width=13.50cm] \setupinteraction [state=start, color=blue] \reference[Regel:1]{3.1}\par {\bf Aufgabe 3.2.18} Formulieren Sie gemäß der Regel (\goto{3.1}[Regel:1]) äquivalent \startitemize[n,packed,broad] \item \m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \implies n > 1},\item \m{\forall n \in \naturalnumbers\mtp{:} 3\divides n \implies 4 \divides n},\item \m{\forall n \in \naturalnumbers\mtp{:} n^3 \mtext{ ungerade }\nospace \implies n \mtext{ ungerade}}. \stopitemize \blackrule[color=black, height=0.10ex, width=13.50cm]\par {\bf Aufgabe 3.2.19} Bilden Sie die Verneinung der folgenden Aussagen: \startitemize[n,packed,broad] \item Alle Rosen sind verwelkt oder teuer. \item Alle rosen sind entweder verwelkt oder teuer. \stopitemize \par \usecolors[svg] \setupinteraction [state=start, contrastcolor=cornflowerblue] \reference[Abschnitt:1]{3.2.1.1} {\it Hinweis: Beachten Sie die Konvention aus Abschnitt \goto {3.2.1.1}[Abschnitt:1]die For-\par mulierung \quotation {entweder ... oder} entspricht dem ausschließenden Oder\par und die Formulierung \quotation{oder} dem (mathematischen) einschließenden\par Oder.\par \blackrule[color=black, height=0.10ex, width=13.50cm] Bruce.pdf Description: Bruce.pdf ___ 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: A new problem with space in third itemize
Dear Mikael, Many Thanks, works perfect. Many Regards Uschi Von: Mikael Sundqvist Gesendet: Donnerstag, 29. Februar 2024 16:45:03 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: A new problem with space in third itemize Hi Uschi, Your coding style is interesting. I do not understand the purpose of the \it for example. I did put something together that you can try, but I don't know if this is what you are looking for. \starttext \startitemize[n] \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \implies n > 1}, \stopitem \startitem \m{\forall n \in \naturalnumbers\mtp{:} 3\divides n \implies 4 \divides n}, \stopitem \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^3 \mtext{ ungerade } \implies n \mtext{ ungerade}}. \stopitem \stopitemize \stoptext To quote Pablo, I hope it helps. /Mikael On Thu, Feb 29, 2024 at 4:10 PM Ursula Hermann wrote: > > Dear List, > > > This is my little example: the problem is, that everything was fine, in > itemize 1 and 2. In the third itemize i have a problem, because after n^3 > and after \Rightarrow there should be a spaace , if I want to write : > \Rightarrow n ungerade, but it says nungerade, what I dont want,. > > > \startitemize[n] > {\it \item \m{\forall n ∈ \naturalnumbers:n^2 >n\Rightarrow>1,\par}\nospace > \par \item \m{\forall n ∈ \naturalnumbers:3\mid n\Rightarrow 4 \mid n,\par} > \nospace > \par \item \m{\forall n ∈ \naturalnumbers:n^3 ungerade \Rightarrow n > ungerade \par} > > Uschi > > ___ > 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] A new problem with space in third itemize
Dear List, This is my little example: the problem is, that everything was fine, in itemize 1 and 2. In the third itemize i have a problem, because after n^3 and after \Rightarrow there should be a spaace , if I want to write : \Rightarrow n ungerade, but it says nungerade, what I dont want,. \startitemize[n] {\it \item \m{\forall n ∈ \naturalnumbers:n^2 >n\Rightarrow>1,\par}\nospace \par \item \m{\forall n ∈ \naturalnumbers:3\mid n\Rightarrow 4 \mid n,\par} \nospace \par \item \m{\forall n ∈ \naturalnumbers:n^3 ungerade \Rightarrow n ungerade \par} Uschi ___ 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: \in, \at, and labletext
Dear List, So I changed my sentence a little bit, now it works perfect, as I wanted it. \setupinteraction[state=start] \starttext \reference[Rule:1]{Rule (3.1)} Formulate equivalents according to rule (\goto {3.1} [Rule:1]). \stoptext Uschi Von: Ursula Hermann Gesendet: Mittwoch, 28. Februar 2024 13:05:25 An: mailing list for ConTeXt users Betreff: [NTG-context] \in, \at, and labletext Dear List, In the Documentation IntroCTX_eng_s.pdf at page 170 , I found the two examples with \in and \at, and also the lable. The Problem is, that in the following sentence only the number (3.1) is a placed formula in an example, should have a link. Without the brackets. The sentence says: Task 1: Formulate equivalents according to rule (3.1): Sorry, I have no example. Uschi ___ 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] \in, \at, and labletext
Dear List, In the Documentation IntroCTX_eng_s.pdf at page 170 , I found the two examples with \in and \at, and also the lable. The Problem is, that in the following sentence only the number (3.1) is a placed formula in an example, should have a link. Without the brackets. The sentence says: Task 1: Formulate equivalents according to rule (3.1): Sorry, I have no example. Uschi introCTX_eng_s.pdf Seite 170.pdf Description: introCTX_eng_s.pdf Seite 170.pdf ___ 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] Works now! At Work, and a question to paragraphs in an Theorem
Dear List, At Work everything works fine now. Many thanks for those, who have written me. I have a question to my paragraphs: \definetextbackground[Paragaph][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \startparagraph \starttext Mitunter ist es aus der Formulierung nur schwer zu erkennen, dass ein \m{∃\forall} oder ein \m{\forall\m∃} versteckt ist. Dann ist es besonders wichtig, die Formulierung sehr lange zu prüfen und eventuell auch formalisiert noch einmal aufzuschreiben.” \blank Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par (Beutelspacher [10, S.54]). \stopparagraph \stoptext So this is the example. What I like to do: The first paragraph should be normal written, but the second one should have more space between the words. Because of Math: Is \hspace the right way? The right command? And using \startnarrower, \stopnarrower? Many thanks Uschi ___ 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: Sorry for once more asking, i am at Work
Dear Pablo and Gavin, Many many many Thanks. Ok so I took pdflatex away now, and could compile selected. Uschi -Ursprüngliche Nachricht- Von: Pablo Rodriguez via ntg-context Gesendet: Mittwoch, 21. Februar 2024 10:24 An: Gavin via ntg-context Cc: Pablo Rodriguez Betreff: [NTG-context] Re: Sorry for once more asking, i am at Work On 2/20/24 19:03, Gavin via ntg-context wrote: > […] > I don’t know how you are calling PdfLaTeX to typeset your document, > context-test.tex, but that is what you are doing. Hi Uschi and Gavin, I will try to go the same way you propose, Gavin. Otherwise, Uschi may find it hard to follow totally independent suggestions. Uschi, if you are compiling your ConTeXt sources using WinEdt, your issue might be the wrong button (or the wrong keystroke combination). You might be invoking pdflatex directly, or maybe a button or keystroke combination is labelled ConTeXt and it may really be invoking pdflatex. In that case, you have to check WinEdt to see which command is run when you start the compilation process (which command you really invoke). Another way to see which ConTeXt binary you invoke would be to type in the command prompt "context --version" (with no path specified) and "where context". But this is independent from the issue that you get pdflatex when you intend context. I hope it helps now, 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] Re: Sorry for once more asking, i am at Work
Dear Pablo, Dear List I have done all you told me yesterday. What I do not understand is that the Diagnosis in WinEdt 11 says, that everything is ok. Also the PDF-Viewer. Sorry, but I can't copy it, so I tell what I see. What I do not understand, because there is no PDF But now I tried to do what you have told me and the last line, Pablo in cmd.exe says the same, what I get, if I compile: no format five given, quitting Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Montag, 19. Februar 2024 14:42 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Sorry for once more asking, i am at Work Dear Pablo, I shell try it. Many thanks. Uschi -Ursprüngliche Nachricht- Von: Pablo Rodriguez via ntg-context Gesendet: Montag, 19. Februar 2024 14:31 An: ntg-context@ntg.nl Cc: Pablo Rodriguez Betreff: [NTG-context] Re: Sorry for once more asking, i am at Work On 2/19/24 13:06, Ursula Hermann wrote: > Dear List, > > I have done the new download at Work. After compiling is always the same: > > Command Line: context.exe --synctex=-1 "context-test.tex" > […] > startup error : no format file given, quitting Dear Uschi, it is really hard to know what is wrong with your installation (other than it ConTeXt is not able to find your format file). Sorry if this message is painfully verbose, but I will try not to take anything for granted (so I don’t overlook anything relevant). Could you save a new "test-doc.tex" file in your desktop directory (which would be named "%USERPROFILE%\Desktop\test-doc.tex" [including its full path])? "%USERPROFILE%\Desktop\test-doc.tex" should contain: \starttext \input zapf \stoptext Please, compile it by simply invoking ("cd %USEPROFILE%\Desktop\" might be required before): context test-doc If you get the same error message: > startup error : no format file given, quitting You might try (to make the format file): context --make --all Then, try compiling again (run "context test-doc"). If you get the same error message, let’s try a brand-new installation (not removing any existing one). Get http://lmtx.pragma-ade.nl/install-lmtx/context-mswin.zip (if you use Windows 32bt) or http://lmtx.pragma-ade.nl/install-lmtx/context-win64.zip (for Windows 64bit) into "%USERPROFILE%\Desktop\". Unzip the downloaded file to a newly created folder in your desktop ("%USERPROFILE%\Desktop\context"). Double-click on "install.bat" that you just uncompressed. You have to add the new path, so that Windows may find your executables. Open a new terminal (I guess it is called “command prompt” [or »Eingabeaufforderung«] in Windows-parlance) and paste (if you have ConTeXt for 32bit): set PATH=%PATH%;%USERPROFILE%\Desktop\context\tex\texmf-mswin\bin Or this (if you use ConTeXt for 64bit): set PATH=%PATH%;%USERPROFILE%\Desktop\context\tex\texmf-win64\bin Then, on the same window (since this only sets paths for the current session), run: mtxrun --generate && cd %USERPROFILE%\Desktop\ && context test-doc.tex Just in case you wonder, the first command is required for any brand-new install. The second command sets the desktop as your current directory (where you should have "test.doc.tex"). And the third command compiles that source document. If none of all my previous suggestions works, sorry but I cannot figure out what might be preventing ConTeXt from finding the format files. Just in case it might 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 ___ ___ 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: Sorry for once more asking, i am at Work
Dear Pablo, I shell try it. Many thanks. Uschi -Ursprüngliche Nachricht- Von: Pablo Rodriguez via ntg-context Gesendet: Montag, 19. Februar 2024 14:31 An: ntg-context@ntg.nl Cc: Pablo Rodriguez Betreff: [NTG-context] Re: Sorry for once more asking, i am at Work On 2/19/24 13:06, Ursula Hermann wrote: > Dear List, > > I have done the new download at Work. After compiling is always the same: > > Command Line: context.exe --synctex=-1 "context-test.tex" > […] > startup error : no format file given, quitting Dear Uschi, it is really hard to know what is wrong with your installation (other than it ConTeXt is not able to find your format file). Sorry if this message is painfully verbose, but I will try not to take anything for granted (so I don’t overlook anything relevant). Could you save a new "test-doc.tex" file in your desktop directory (which would be named "%USERPROFILE%\Desktop\test-doc.tex" [including its full path])? "%USERPROFILE%\Desktop\test-doc.tex" should contain: \starttext \input zapf \stoptext Please, compile it by simply invoking ("cd %USEPROFILE%\Desktop\" might be required before): context test-doc If you get the same error message: > startup error : no format file given, quitting You might try (to make the format file): context --make --all Then, try compiling again (run "context test-doc"). If you get the same error message, let’s try a brand-new installation (not removing any existing one). Get http://lmtx.pragma-ade.nl/install-lmtx/context-mswin.zip (if you use Windows 32bt) or http://lmtx.pragma-ade.nl/install-lmtx/context-win64.zip (for Windows 64bit) into "%USERPROFILE%\Desktop\". Unzip the downloaded file to a newly created folder in your desktop ("%USERPROFILE%\Desktop\context"). Double-click on "install.bat" that you just uncompressed. You have to add the new path, so that Windows may find your executables. Open a new terminal (I guess it is called “command prompt” [or »Eingabeaufforderung«] in Windows-parlance) and paste (if you have ConTeXt for 32bit): set PATH=%PATH%;%USERPROFILE%\Desktop\context\tex\texmf-mswin\bin Or this (if you use ConTeXt for 64bit): set PATH=%PATH%;%USERPROFILE%\Desktop\context\tex\texmf-win64\bin Then, on the same window (since this only sets paths for the current session), run: mtxrun --generate && cd %USERPROFILE%\Desktop\ && context test-doc.tex Just in case you wonder, the first command is required for any brand-new install. The second command sets the desktop as your current directory (where you should have "test.doc.tex"). And the third command compiles that source document. If none of all my previous suggestions works, sorry but I cannot figure out what might be preventing ConTeXt from finding the format files. Just in case it might 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 ___
[NTG-context] Re: Sorry for once more asking, i am at Work
Dear List, I have done the new download at Work. After compiling is always the same: Command Line: context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\tex\context\test\mkiv startup error : no format file given, quitting I wrote on Wednesday last week. I also did an download of cont- lmt and cont- tmf. Don't know if there is a mistake which is my fault? I don't know, maybe important: The log file says: This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex 2024.2.6) 19 FEB 2024 12:41 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **context-test.tex (./context-test.tex LaTeX2e <2023-11-01> patch level 1 L3 programming layer <2024-01-22> ! Undefined control sequence. l.1 \starttext ? ! Emergency stop. l.1 End of file on the terminal! Here is how much of TeX's memory you used: 16 strings out of 474221 403 string characters out of 5750189 1922978 words of memory out of 500 22371 multiletter control sequences out of 15000+60 558069 words of font info for 36 fonts, out of 800 for 9000 1141 hyphenation exceptions out of 8191 12i,0n,13p,58b,8s stack positions out of 1i,1000n,2p,20b,20s ! ==> Fatal error occurred, no output PDF file produced! Uschi Von: Ursula Hermann Gesendet: Mittwoch, 14. Februar 2024 14:16 An: 'mailing list for ConTeXt users' Betreff: AW: Sorry for once more asking, i am at Work Dear Hans, This was before you wrote, that you did an new upload, but i saw it in the installation. Because there were more files. Uschi Von: Ursula Hermann Gesendet: Mittwoch, 14. Februar 2024 13:42 An: 'mailing list for ConTeXt users' mailto:ntg-context@ntg.nl>> Betreff: Sorry for once more asking, i am at Work So after a new update on my Computer at Work, I did once more download the installation. After compiling with context-mswin I got this file Command Line: context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\tex\context\test\mkiv startup error : no format file given, quitting ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 Did I something wrong? Uschi ___ 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: Sorry for once more asking, i am at Work
Dear Hans, This was before you wrote, that you did an new upload, but i saw it in the installation. Because there were more files. Uschi Von: Ursula Hermann Gesendet: Mittwoch, 14. Februar 2024 13:42 An: 'mailing list for ConTeXt users' Betreff: Sorry for once more asking, i am at Work So after a new update on my Computer at Work, I did once more download the installation. After compiling with context-mswin I got this file Command Line: context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\tex\context\test\mkiv startup error : no format file given, quitting ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 Did I something wrong? Uschi ___ 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] Sorry for once more asking, i am at Work
So after a new update on my Computer at Work, I did once more download the installation. After compiling with context-mswin I got this file Command Line: context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\tex\context\test\mkiv startup error : no format file given, quitting ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 Did I something wrong? Uschi ___ 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: Square right aligned
Dear Otared and Dear Hraban, So this is my little example: works perfect, after our correspondence. \starttext \startalignment[normal] \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen machen \par Sie sich die Bedeutung der beiden Aussagen klar.}\wordright{\square} \stopalignment \stoptext Many thanks Uschi Von: Ursula Hermann Gesendet: Freitag, 9. Februar 2024 08:39:10 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Square right aligned Dear Hraban, Dear Otared! Many Thanks, Hraban: Because of \wordright: I took a look at wordright at the wiki, works perfect. Otared, many thanks too. It also works perfect with your example Uschi Von: Otared Kavian Gesendet: Donnerstag, 8. Februar 2024 22:37:08 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Square right aligned Hi Ursula, I think you mean the so-called end of the proof sign, or QED (Quod Erat Demonstrandum). You can use this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED]}} \starttext This is the end of our proof. \qed \stoptext In principle it is included in ConTeXt, but it seems that in the latest version I have (2024.01.23), the command \qed is broken. Best regards: Otared On 8 Feb 2024, at 12:23, Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, I am at Home and have the following example.: \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen machen Sie sich die Bedeutung der beiden Aussagen klar.\startalignment[right]\square\stopalignment}\stoptext} There should be a sign like this □ at the end of the proof. Uschi ___ 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 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 wiki : https://wiki.contextgarden.net<https://wiki.contextgarden.net/> ___ Otared Kavian e-mail: ota...@gmail.com<mailto:ota...@gmail.com> Phone: +33 6 88 26 70 95 ___ 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: Square right aligned
Dear Hraban, Dear Otared! Many Thanks, Hraban: Because of \wordright: I took a look at wordright at the wiki, works perfect. Otared, many thanks too. It also works perfect with your example Uschi Von: Otared Kavian Gesendet: Donnerstag, 8. Februar 2024 22:37:08 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Square right aligned Hi Ursula, I think you mean the so-called end of the proof sign, or QED (Quod Erat Demonstrandum). You can use this: \definesymbol[QED][\mathematics{\square}] \def\qed{\wordright{\symbol[QED]}} \starttext This is the end of our proof. \qed \stoptext In principle it is included in ConTeXt, but it seems that in the latest version I have (2024.01.23), the command \qed is broken. Best regards: Otared On 8 Feb 2024, at 12:23, Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, I am at Home and have the following example.: \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen machen Sie sich die Bedeutung der beiden Aussagen klar.\startalignment[right]\square\stopalignment}\stoptext} There should be a sign like this □ at the end of the proof. Uschi ___ 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 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 wiki : https://wiki.contextgarden.net<https://wiki.contextgarden.net/> ___ Otared Kavian e-mail: ota...@gmail.com<mailto:ota...@gmail.com> Phone: +33 6 88 26 70 95 ___ 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] Square right aligned
Dear List, I am at Home and have the following example.: \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen machen Sie sich die Bedeutung der beiden Aussagen klar.\startalignment[right]\square\stopalignment}\stoptext} There should be a sign like this □ at the end of the proof. Uschi ___ 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: After Compiling the Context test, there was no PDF.
Dear List, I am sorry, but once again me: I downloaded the last upload from Hans yesterday, I downloaded context-win64, and tried the test today . Here is the test: \starttext \startmode[mkiv] \startluacode tex.sprint("hello") \stopluacode \startMPcode draw textext("hello") rotated 45 ; \stopMPcode \framed{hello} \stopmode \startnotmode[mkiv] \startMPcode draw textext("hello") rotated -45 ; \stopMPcode \framed{hello} \stopnotmode \stoptext After compiling in the folder: Is this because I am the user? Command Line: context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-win64\tex\texmf-context\tex\context\test\mkiv startup error : no format file given, quitting Uschi _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 Von: Ursula Hermann Gesendet: Dienstag, 16. Jänner 2024 15:33 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Re: After Compiling the Context test, there was no PDF. Dear, Shiv Shankar Dayal, I have tried your example. Did not work. Uschi Von: Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> Gesendet: Dienstag, 16. Jänner 2024 13:42 An: mailing list for ConTeXt users mailto:ntg-context@ntg.nl>> Betreff: [NTG-context] Re: After Compiling the Context test, there was no PDF. I just updated my ConTeXt distribution and it is working fine for me. Try processing the following file: \starttext \input knuth \stoptext On Tue, Jan 16, 2024 at 5:30 PM luigi scarso mailto:luigi.sca...@gmail.com>> wrote: On Tue, 16 Jan 2024 at 12:49, Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> wrote: Please paste line no. 238 of your input file. On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont- en.mkxl(context.mkxl(syst-ini.mkxl ! Undefined control sequence. \immutable\defcsname\tocharacter \tabasciicode \endcsname {\ } % \def\^^I{\ } tab maybe I am wrong, but this looks like an error of syst-ini.mkxl around line 3238 (I cannot update now ) -- luigi ___ 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 webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___ -- Respect, Shiv Shankar Dayal ___ 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: After Compiling the Context test, there was no PDF.
Dear List, me once again. Sorry forgot to say: 64-Bit-Betriebssystem, x64-basierter Prozessor Uschi Von: Ursula Hermann Gesendet: Montag, 22. Jänner 2024 14:16 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: After Compiling the Context test, there was no PDF. Dear List, I have now another problem: I have downloaded context-win64. But the problem is now, that ConTeXt is not executable on WinEdt11, which is my TextEditor. It worked well with context-mswin. There was no problem. I found context.exe now on context-win64\text\texmf-win64\bin\context.exe, and have Windows 32 System at work. After trying to compile the test at work, I got in the Folder: Command Line: C:\Users\Hermann\Downloads\context-win64\text\texmf-win64\bin\context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-win64\tex\texmf-context\tex\context\test\mkiv Error Launching Console Application ConTeXt ... Command Line: C:\Users\Hermann\Downloads\context-win64\text\texmf-win64\bin\context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-win64\tex\texmf-context\tex\context\test\mkiv Das System kann die angegebene Datei nicht finden. What should I do? Uschi Von: Ursula Hermann Gesendet: Dienstag, 16. Jänner 2024 15:33 An: 'mailing list for ConTeXt users' mailto:ntg-context@ntg.nl>> Betreff: AW: [NTG-context] Re: After Compiling the Context test, there was no PDF. Dear, Shiv Shankar Dayal, I have tried your example. Did not work. Uschi Von: Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> Gesendet: Dienstag, 16. Jänner 2024 13:42 An: mailing list for ConTeXt users mailto:ntg-context@ntg.nl>> Betreff: [NTG-context] Re: After Compiling the Context test, there was no PDF. I just updated my ConTeXt distribution and it is working fine for me. Try processing the following file: \starttext \input knuth \stoptext On Tue, Jan 16, 2024 at 5:30 PM luigi scarso mailto:luigi.sca...@gmail.com>> wrote: On Tue, 16 Jan 2024 at 12:49, Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> wrote: Please paste line no. 238 of your input file. On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont- en.mkxl(context.mkxl(syst-ini.mkxl ! Undefined control sequence. \immutable\defcsname\tocharacter \tabasciicode \endcsname {\ } % \def\^^I{\ } tab maybe I am wrong, but this looks like an error of syst-ini.mkxl around line 3238 (I cannot update now ) -- luigi ___ 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 webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___ -- Respect, Shiv Shankar Dayal ___ 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: After Compiling the Context test, there was no PDF.
Dear List, I have now another problem: I have downloaded context-win64. But the problem is now, that ConTeXt is not executable on WinEdt11, which is my TextEditor. It worked well with context-mswin. There was no problem. I found context.exe now on context-win64\text\texmf-win64\bin\context.exe, and have Windows 32 System at work. After trying to compile the test at work, I got in the Folder: Command Line: C:\Users\Hermann\Downloads\context-win64\text\texmf-win64\bin\context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-win64\tex\texmf-context\tex\context\test\mkiv Error Launching Console Application ConTeXt ... Command Line: C:\Users\Hermann\Downloads\context-win64\text\texmf-win64\bin\context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-win64\tex\texmf-context\tex\context\test\mkiv Das System kann die angegebene Datei nicht finden. What should I do? Uschi Von: Ursula Hermann Gesendet: Dienstag, 16. Jänner 2024 15:33 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Re: After Compiling the Context test, there was no PDF. Dear, Shiv Shankar Dayal, I have tried your example. Did not work. Uschi Von: Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> Gesendet: Dienstag, 16. Jänner 2024 13:42 An: mailing list for ConTeXt users mailto:ntg-context@ntg.nl>> Betreff: [NTG-context] Re: After Compiling the Context test, there was no PDF. I just updated my ConTeXt distribution and it is working fine for me. Try processing the following file: \starttext \input knuth \stoptext On Tue, Jan 16, 2024 at 5:30 PM luigi scarso mailto:luigi.sca...@gmail.com>> wrote: On Tue, 16 Jan 2024 at 12:49, Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> wrote: Please paste line no. 238 of your input file. On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont- en.mkxl(context.mkxl(syst-ini.mkxl ! Undefined control sequence. \immutable\defcsname\tocharacter \tabasciicode \endcsname {\ } % \def\^^I{\ } tab maybe I am wrong, but this looks like an error of syst-ini.mkxl around line 3238 (I cannot update now ) -- luigi ___ 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 webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___ -- Respect, Shiv Shankar Dayal ___ 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: upload
32 bits Windows download does not work, because 404 report. Uschi Von: vm via ntg-context Gesendet: Samstag, 20. Jänner 2024 09:58:15 An: ntg-context@ntg.nl Cc: vm Betreff: [NTG-context] Re: upload On 20/01/2024 09:38, Hans Hagen via ntg-context wrote: > can you try again it made a difference, no 404 ;-) ___ 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: After Compiling the Context test, there was no PDF.
Dear, Shiv Shankar Dayal, I have tried your example. Did not work. Uschi Von: Shiv Shankar Dayal Gesendet: Dienstag, 16. Jänner 2024 13:42 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: After Compiling the Context test, there was no PDF. I just updated my ConTeXt distribution and it is working fine for me. Try processing the following file: \starttext \input knuth \stoptext On Tue, Jan 16, 2024 at 5:30 PM luigi scarso mailto:luigi.sca...@gmail.com>> wrote: On Tue, 16 Jan 2024 at 12:49, Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>> wrote: Please paste line no. 238 of your input file. On Tue, Jan 16, 2024 at 4:11 PM Ursula Hermann mailto:ursula.herm...@univie.ac.at>> wrote: Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont- en.mkxl(context.mkxl(syst-ini.mkxl ! Undefined control sequence. \immutable\defcsname\tocharacter \tabasciicode \endcsname {\ } % \def\^^I{\ } tab maybe I am wrong, but this looks like an error of syst-ini.mkxl around line 3238 (I cannot update now ) -- luigi ___ 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 webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___ -- Respect, Shiv Shankar Dayal ___ 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] After Compiling the Context test, there was no PDF.
Dear List, After Compiling in the Folder: This is LuaMetaTeX, Version 2.10.11 initex (C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont- en.mkxl(context.mkxl(syst-ini.mkxl ! Undefined control sequence. \immutable\defcsname\tocharacter \tabasciicode \endcsname {\ } % \def\^^I{\ } tab ! Missing \endcsname inserted. I wanted also do a new installation of ConTeXt LMTX, but if I want to do it, the is a report, that the page cannot be found. Many thanks Uschi ___ 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: Links
Dear Henning, Many thanks . Uschi -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Montag, 08. Jänner 2024 16:00 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: Links Am 08.01.24 um 14:10 schrieb Ursula Hermann: > Dear List, > > Is this the right way? > > I want to use linked bibliography numbers, linked Chapter, section > subsection, linked margin numbers, in the text. > > \setupinteraction[state=start] This is essential. > > \starttext > > Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von > \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par > (Beutelspacher [\hyphenatedurl {10},S.54]). > > \stoptext \hyphenatedurl only changes the hyphenation of its content, it doesn’t create a link. In your example it makes no sense. Generally, you need an anchor (link target) to link to, e.g. \startchapter[title={My chapter},reference=chap:first] or \chapter[chap:first]{My chapter} This works the same for other structure levels. I’m not sure about bibliography, but I think you must use the bib entry code. You can also set anchors manually using \textreference and \pagereference. Then you can use \in[chap:first], \about[chap:first] or \at[chap:first]. For external links, you use \goto (it’s a bit extensive). Please look up the syntax reference in the wiki. 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] Links
Dear List, Is this the right way? I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text. \setupinteraction[state=start] \starttext Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par (Beutelspacher [\hyphenatedurl {10},S.54]). \stoptext Many thanks Uschi ___ 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: Question to a formular
Dear Taco, many thanks. Uschi -Ursprüngliche Nachricht- Von: Taco Hoekwater Gesendet: Freitag, 05. Jänner 2024 15:29 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Question to a formular > On 05/01/2024 14:27, Ursula Hermann wrote: > >> Can someone help me please? > > > \starttyping > 0! := 1 > (n + 1)! := (n + 1) n! > \stoptyping Or: \startformula \startalign[n=1,align={1:left}] \NC 0! := 1\NR \NC (n + 1)! := (n + 1) n!\NR \stopalign \stopformula https://wiki.contextgarden.net/Multiline_equations ___ 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: Question to a formular
Dear Aditya, Many thanks for your help. Uschi Von: Aditya Mahajan Gesendet: Freitag, 5. Jänner 2024 15:20:46 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Question to a formular On Fri, 5 Jan 2024, Ursula Hermann wrote: > Dear list, > > > I have this formular, but no idea , how to write it in Context. This is a > formular with factorial. > > > 0! := 1 > (n + 1)! := (n + 1) n! > > Can someone help me please? \starttext \startformula \startalign \NC 0! \NC \colonequals 1 \NR \NC (n+1)! \NC \colonequals (n+1) n! \NR \stopalign \stopformula \stoptext Aditya ___ 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] Question to a formular
Dear list, I have this formular, but no idea , how to write it in Context. This is a formular with factorial. 0! := 1 (n + 1)! := (n + 1) n! Can someone help me please? Many thanks Uschi PS: Wishing you all a happy new Year. ___ 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: QR Code
\Program Files\MiKTeX 2.9\miktex\bin\yap.exe TeX-Bin (TeX.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\tex.exe TeX-Bin (LaTeX.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\latex.exe TeX-Bin (PDFTeX.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\pdftex.exe TeX-Bin (PDFLaTeX.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\pdflatex.exe TeX-Bin (BibTeX.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\bibtex.exe TeX-Bin (dvips.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\dvips.exe TeX-Bin (ps2pdf.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\ps2pdf.exe TeX-Bin (dvipdfmx.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\dvipdfmx.exe TeX-Bin (mf.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\mf.exe TeX-Bin (mpost.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\mpost.exe MiKTeX-Bin (TeXify.exe): OK* C:\Program Files\MiKTeX 2.9\miktex\bin\texify.exe My question is: Should I put the PATH in WinEdt or in Windows? Or in ConTeXt? $TEXROOT/tex/texmf-$ARCH/bin/lib/luametatex/zint Many thanks Uschi Von: Henning Hraban Ramm Gesendet: Montag, 18. Dezember 2023 20:34:15 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: QR Code Am 18.12.23 um 17:05 schrieb Ursula Hermann: > Dear List > After compiling > \usemodule[m-zint] > \starttext > \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] > \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, > width=3cm] \stoptext > > I got , what you see in the pdf. Are you using MkIV (LuaTeX) or LMTX (LuaMetaTeX)? What’s your ConTeXt version, and how did you install it? (TeX live, Linux distribution, LMTX distribution?) I guess a missing EPS means you load the MkIV version of the module, probably because "m-zint". Is there an error message with \loadmodule[zint]? I can’t help with Windows; since Hans developed it on Windows, it should work (but don’t ask me how). 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: QR Code
Dear Hraban, Thank your for your mail. I have the latest ConTeXt version, and I have Texlive. Uschi -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Montag, 18. Dezember 2023 20:34 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: QR Code Am 18.12.23 um 17:05 schrieb Ursula Hermann: > Dear List > After compiling > \usemodule[m-zint] > \starttext > \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] > \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, > width=3cm] \stoptext > > I got , what you see in the pdf. Are you using MkIV (LuaTeX) or LMTX (LuaMetaTeX)? What’s your ConTeXt version, and how did you install it? (TeX live, Linux distribution, LMTX distribution?) I guess a missing EPS means you load the MkIV version of the module, probably because "m-zint". Is there an error message with \loadmodule[zint]? I can’t help with Windows; since Hans developed it on Windows, it should work (but don’t ask me how). 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: QR Code
Dear List After compiling \usemodule[m-zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, width=3cm] \stoptext I got , what you see in the pdf. Many Thanks Uschi -Ursprüngliche Nachricht- Von: vm via ntg-context Gesendet: Montag, 18. Dezember 2023 16:15 An: ntg-context@ntg.nl Cc: vm Betreff: [NTG-context] Re: QR Code On 18/12/2023 15:13, Ursula Hermann wrote: >> Dear List >> >> I was interested how it works. >> >> So I started this example. >> >> \starttext >> >> \usemodule[m-zint] >> >> \barcode[alternative=isbnx, text=9783865419026, width=4cm] >> >> \barcode[alternative=qrcode, text={https://wiki.contextgarden.net}, >> width=3cm] >> >> \stoptext >> >> Is that the right way? > just \usemodule[zint] For what it is worth, the [zint] variant does not work on my linux platform, the [m-zint] does work correctly. \usemodule[m-zint] \starttext \barcode[alternative=isbnx, text=9783865419026, width=4cm] \blank[big] \barcode[alternative=qrcode, text={wie weet waar willem wever woont}, width=3cm] \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 ___ Barcode.pdf Description: Barcode.pdf ___ 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: QR Code
Dear Henning, I have downloaded Zint in Windows. Yes, I saw it, but I'm not sure where to write this file. I have WinEdt 11. Many thanks Uschi -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Montag, 18. Dezember 2023 13:26 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: QR Code Am 18.12.23 um 13:00 schrieb Ursula Hermann: > Dear List > > I was interested how it works. > > So I started this example. > > \starttext > > \usemodule[m-zint] > > \barcode[alternative=isbnx, text=9783865419026, width=4cm] > > \barcode[alternative=qrcode, text={https://wiki.contextgarden.net}, > width=3cm] > > \stoptext > > Is that the right way? just \usemodule[zint] This works for me: \barcode[alternative=isbn, text=9783865419026, width=5cm] \barcode[alternative=qr code, text={https://wiki.contextgarden.net}, width=2.5cm] (Not sure how tolerant the codes are.) But you must install the zint libraries, as outlined in https://wiki.contextgarden.net/Barcodes I guess you saw this, since you quote the wiki examples. 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: QR Code
Dear Hraban, Many Thanks for your mail. I am sorry for asking: Where should I write this path. After the download in Windows? Uschi -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Montag, 18. Dezember 2023 13:26 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: QR Code Am 18.12.23 um 13:00 schrieb Ursula Hermann: > Dear List > > I was interested how it works. > > So I started this example. > > \starttext > > \usemodule[m-zint] > > \barcode[alternative=isbnx, text=9783865419026, width=4cm] > > \barcode[alternative=qrcode, text={https://wiki.contextgarden.net}, > width=3cm] > > \stoptext > > Is that the right way? just \usemodule[zint] This works for me: \barcode[alternative=isbn, text=9783865419026, width=5cm] \barcode[alternative=qr code, text={https://wiki.contextgarden.net}, width=2.5cm] (Not sure how tolerant the codes are.) But you must install the zint libraries, as outlined in https://wiki.contextgarden.net/Barcodes I guess you saw this, since you quote the wiki examples. 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] QR Code
Dear List I was interested how it works. So I started this example. \starttext \usemodule[m-zint] \barcode[alternative=isbnx, text=9783865419026, width=4cm] \barcode[alternative=qrcode, text={https://wiki.contextgarden.net}, width=3cm] \stoptext Is that the right way? Many thanks Uschi Barcode.pdf Description: Barcode.pdf ___ 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: Problem with the paragraph
Dear Bruce, Thank you for your Mail It works perfect. Thank you . Uschi Hermann -Ursprüngliche Nachricht- Von: Bruce Horrocks Gesendet: Freitag, 15. Dezember 2023 14:00 An: ntg-context mailing list Betreff: [NTG-context] Re: Problem with the paragraph > On 14 Dec 2023, at 09:44, Ursula Hermann wrote: > > If I change the name of the textbackground with my example, I sent yesterday, > there is no color in the paragraph. > Try the following version of your example which incoporates Hraban's and Wolfgang's suggestions. Also take care over changing style so use \bold{this is bold} or {\bf this is bold} but not \bf{this is bold}. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper \setupbodyfont[Times New Roman, 12.2pt] \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] \defineenumeration [theorem] [ text=Theorem, title=yes, width=fit, distance=0.2em, alternative=serried, ] \definetextbackground[GrayBackground][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\} \blackrule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aussage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen machen Sie sich die Bedeutung der beiden Aussagen klar. \par \startitemize[n] \item \m{\forall m ∈ M : ∃f ∈ F : h(m, f)} \item ∃f ∈ F : ∀m ∈ M : h(m, f). \stopitemize % I changed the above to use \startitemize but have a look at \placeformula as well \startGrayBackground Mitunter ist es aus der Formulierung nur schwer zu erkennen, dass ein \m{∃\forall} oder ein \m{\forall\m∃} versteckt ist. Dann ist es besonders wichtig, die Formulierung sehr lange zu prüfen und eventuell auch formalisiert noch einmal aufzuschreiben.” \blank Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par (Beutelspacher [10, S.54]). \stopGrayBackground \stoptext — 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: Problem with the paragraph
Dear Henning, If I change the name of the textbackground with my example, I sent yesterday, there is no color in the paragraph. Many thanks Uschi Von: Henning Hraban Ramm Gesendet: Mittwoch, 13. Dezember 2023 15:52:08 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Problem with the paragraph Am 13.12.23 um 15:22 schrieb Ursula Hermann: > Dear list, > > I have this example. I need the whole paragraph in color. But there is > something wrong. > \definetextbackground[paragraph][ > \startparagraph \startparagraph starts a paragraph environment. If you overwrite it by defining another, the behaviour is undefined. First try to give your textbackground a different name. 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] Problem with the paragraph
Dear list, I have this example. I need the whole paragraph in color. But there is something wrong. \definepapersize[MyBook][width=19cm,height=24cm] \setuppapersize[MyBook][MyBook] % Prints on paper the size of MyBook %\setuppapersize[MyBook][A4] %Would print MyBook-size pages on A4 paper \setupbodyfont[Times New Roman, 12.2pt] \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] \defineenumeration [theorem] [ text=Theorem, title=yes, width=fit, distance=0.2em, alternative=serried, ] \definetextbackground[paragraph][ location=paragraph, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, before={\switchtobodyfont[global]}, after={}, frame=off,] \margintext{\blackrule[color=black, height=0.10ex, width=1cm]\\}\blackrule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext {1.1.1} \starttext \bf{Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor)}. \stoptext \starttext {\it \par Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen machen Sie sich die Bedeutung der beiden Aussagen klar. \stoptext \par \starttext 1. \m\forall m ∈ M : ∃f ∈ F : h(m, f).\par 2. ∃f ∈ F : ∀m ∈ M : h(m, f).\par \stoptext \blank \starttext \startparagraph \blank \tf Mitunter ist es aus der Formulierung nur schwer zu erkennen, dass ein \m ∃\forall∀ oder ein \m \forall∀\m∃ versteckt ist. Dann ist es besonders wichtig, die Formulierung sehr lange zu prüfen und eventuell auch formalisiert noch einmal aufzuschreiben.”\blank Der Wert von y = f(x) ist unabhängig von der Wahl\par von x“ ist gleichbedeutend mit ∃y : ∀x : f(x) = y \par (Beutelspacher [10, S.54]). \blank \stopparagraph \stoptext Many thanks Uschi u.pdf Description: u.pdf ___ 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: Colored Paragraph
Dear Hraban, It was \startnarrower \stopnarrower, I put it out, now it is perfekt. I also send the pdf. Many thanks. Uschi -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Dienstag, 05. Dezember 2023 15:47 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: Colored Paragraph Hi Uschi, unfortunately you also forgot the source code. I’m not sure if the examples in the wiki are good – the combination with \startnarrower might be a problem. Maybe setting the width helps (e.g. to \makeupwidth). Hraban Am 05.12.23 um 15:29 schrieb Ursula Hermann: > Dear Hraban, > Sorry, forgot my name > Uschi > > -Ursprüngliche Nachricht- > Von: Ursula Hermann > Gesendet: Dienstag, 05. Dezember 2023 15:27 > An: 'mailing list for ConTeXt users' > Betreff: AW: [NTG-context] Re: Colored Paragraph > > Dear Hraban, > > I have tried it now, I have sent you the pdf. This works. But the paragraph > should fill the whole blackrule. > > -Ursprüngliche Nachricht- > Von: Henning Hraban Ramm > Gesendet: Dienstag, 05. Dezember 2023 14:58 > An: mailing list for ConTeXt users > Betreff: [NTG-context] Re: Colored Paragraph > > Am 05.12.23 um 14:16 schrieb Ursula Hermann: >> The paragraph should have a color in the background. How can I get an >> colored paragraph? > > Did you try \definetextbackground? > > https://wiki.contextgarden.net/TextBackground > https://wiki.contextgarden.net/Command/definetextbackground > > 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 > __ > _ ___ 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 ___ u.pdf Description: u.pdf ___ 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: Colored Paragraph
Dear Hraban, Sorry, forgot my name Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Dienstag, 05. Dezember 2023 15:27 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Re: Colored Paragraph Dear Hraban, I have tried it now, I have sent you the pdf. This works. But the paragraph should fill the whole blackrule. -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Dienstag, 05. Dezember 2023 14:58 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Colored Paragraph Am 05.12.23 um 14:16 schrieb Ursula Hermann: > The paragraph should have a color in the background. How can I get an > colored paragraph? Did you try \definetextbackground? https://wiki.contextgarden.net/TextBackground https://wiki.contextgarden.net/Command/definetextbackground 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: Colored Paragraph
Dear Hraban, I have tried it now, I have sent you the pdf. This works. But the paragraph should fill the whole blackrule. -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Dienstag, 05. Dezember 2023 14:58 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Colored Paragraph Am 05.12.23 um 14:16 schrieb Ursula Hermann: > The paragraph should have a color in the background. How can I get an > colored paragraph? Did you try \definetextbackground? https://wiki.contextgarden.net/TextBackground https://wiki.contextgarden.net/Command/definetextbackground 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 ___ u.pdf Description: u.pdf ___ 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] Colored Paragraph
Dear List, i have this example: \setupbodyfont[modern,10pt] \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \defineenumeration [theorem] [ text=Theorem, title=yes, width=fit, distance=0.5em, alternative=serried, ] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm] \starttext \margintext {1.1.1} \startparagraph It was essential for Hasselt to have a bridge across the Zwarte Water river. The bishop of Utrecht gave Hasselt his consent in 1486. \blank Other cities in the neighbourhood of Hasselt were afraid of the toll money to be paid when crossing this bridge so they prevented the construction for many years. \stopparagraph \stoptext The paragraph should have a color in the background. How can I get an colored paragraph? Many thanks Uschi ___ 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: It works after a few changes but ..
Dear List, After once more a little changes this is the example I wanted, and it is perfekt: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \defineenumeration [theorem] [ text=Theorem, title=yes, width=fit, distance=0.5em, alternative=serried, ] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=15cm] \starttext \margintext {1.1.1} \starttheorem The square on the hypotenuse is equal to the sum of the squares on the other two sides. \stoptheorem \stoptext Many thanks to Bruce and Aditya for your help. Regards Uschi Von: Ursula Hermann Gesendet: Montag, 20. November 2023 09:54:25 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: It works after a few changes but .. Dear Bruce, Yes, I need also margintext. Many thanks Uschi -Ursprüngliche Nachricht- Von: Bruce Horrocks Gesendet: Samstag, 18. November 2023 15:48 An: ntg-context mailing list Betreff: [NTG-context] Re: It works after a few changes but .. > On 17 Nov 2023, at 14:06, Ursula Hermann wrote: > > \margintext{2.1.1}{\starttheorem {The square on the hypotenuse is > equal to the sum of the squares on the other two sides. Ach is das > schön, dass du da bist} \stoptheorem The spurious parentheses seem to be a side-effect of having unmatched curly brackets in the bit that I have quoted. The following eliminates them: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic, list=all, listtext={Theorem }] \starttext \margintext{2.1.1}{\starttheorem The square on the hypotenuse is equal to the sum of the squares on the other two sides. Ach is das schön, dass du da bist \stoptheorem } \stoptext I see also in this thread that you have sad "yes" to Aditya's suggestion. But that doesn't have the margintext. Do you still want/need margintext? — Bruce Horrocks Hampshire, UK — 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 ___ ___ 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: It works after a few changes but ..
Dear Bruce, Yes, I need also margintext. Many thanks Uschi -Ursprüngliche Nachricht- Von: Bruce Horrocks Gesendet: Samstag, 18. November 2023 15:48 An: ntg-context mailing list Betreff: [NTG-context] Re: It works after a few changes but .. > On 17 Nov 2023, at 14:06, Ursula Hermann wrote: > > \margintext{2.1.1}{\starttheorem {The square on the hypotenuse is > equal to the sum of the squares on the other two sides. Ach is das > schön, dass du da bist} \stoptheorem The spurious parentheses seem to be a side-effect of having unmatched curly brackets in the bit that I have quoted. The following eliminates them: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic, list=all, listtext={Theorem }] \starttext \margintext{2.1.1}{\starttheorem The square on the hypotenuse is equal to the sum of the squares on the other two sides. Ach is das schön, dass du da bist \stoptheorem } \stoptext I see also in this thread that you have sad "yes" to Aditya's suggestion. But that doesn't have the margintext. Do you still want/need margintext? — Bruce Horrocks Hampshire, UK — 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: It works after a few changes but ..
Dear Aditya, yes, thank you so much, this works. Uschi Von: Aditya Mahajan Gesendet: Freitag, 17. November 2023 15:47:40 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: It works after a few changes but .. On Fri, 17 Nov 2023, Ursula Hermann wrote: > Dear List, > After a few changes i have here an example: > It works, but what I wanted to know is why are there > > round brackets after writing \starttheroem if i compile it. > Should be without round brackets. Are you looking for something like this? \defineenumeration [theorem] [ text=Theorem, title=yes, width=fit, distance=0.5em, alternative=serried, ] \starttext \starttheorem The square on the hypotenuse is equal to the sum of the squares on the other two sides. Ach is das schön, dass du da bist \stoptheorem \stoptext Aditya ___ 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] It works after a few changes but ..
Dear List, After a few changes i have here an example: It works, but what I wanted to know is why are there round brackets after writing \starttheroem if i compile it. Should be without round brackets. I have the following example, the text was in a PDF from 2008, called: Theorems in ConTeXt, and also my text with the margin: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=normal, way=bytext, conversion=numbers] \defineenumeration [theorem] [text=Theorem, title=yes, style=italic, list=all, listtext={Theorem }] \starttext \margintext{2.1.1}{\starttheorem {The square on the hypotenuse is equal to the sum of the squares on the other two sides. Ach is das schön, dass du da bist} \stoptheorem \stoptext Maybe someone can help me. ___ 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: Text and Remark
Dear Bruce Yes, it was better. But i show you how it should loook: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm] \margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm] \starttext \margintext{2.1.1}\remark{Remark 1 Ach ist das schön, dass du da bist} \stoptext But Remark should be a number as you wrote in your example. Thank you Uschi Von: Bruce Horrocks Gesendet: Donnerstag, 16. November 2023 15:58:50 An: ntg-context mailing list Betreff: [NTG-context] Re: Text and Remark On 16 Nov 2023, at 12:52, Ursula Hermann wrote: > > \defineenumeration > [remark] > [location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in] Does [alternative=left,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in] give what you want? — 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] Text and Remark
Dear List: I would like to have text next to the Remark Number \setupindenting[yes,small,first] \defineenumeration [remark] [location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in] \starttext \remark An enumeration (\tex{remark}, in this case) takes the paragraph that follows it as its argument. \remark This is the first paragraph after \tex{remark}. It is part of the remark. This is the second paragraph after \tex{remark}. It is not part of the remark. \startremark This is the first paragraph inside \tex{startremark}. It is part of the remark. This is the second paragraph inside \tex{startremark}. It is part of the remark. \stopremark \subsubremark Presto! \stoptext It should look like: Remark 1 I am here. How can I do that. Many Thanks Uschi ___ 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] How can I use \naturalnumbers
Dear List, I would like to use the \integers. I would like to use the commands in Text and also in Formulars. How to write in the right way? I have: \starttext \naturalnumbers {N} stoptext Many thanka Uschi ___ 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: Example is not working
Dear Aditya, Many thanks. Von: Aditya Mahajan Gesendet: Freitag, 3. November 2023 11:48:10 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Example is not working On Fri, 3 Nov 2023, Ursula Hermann wrote: > Dear List, > i hope somone can help me. \starttext ... \stoptext is missing! > This litte example is from the wiki, i wanted to try \placeformula \starttext > \placeformula[formula:aformula] > \startformula > y=x^2 > \stopformula > \placeformula > \startformula > \int_0^1 x^2 dx > \stopformula \stoptext Aditya ___ 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] Example is not working
Dear List, i hope somone can help me. This litte example is from the wiki, i wanted to try \placeformula \placeformula[formula:aformula] \startformula y=x^2 \stopformula \placeformula \startformula \int_0^1 x^2 dx \stopformula After compiling there is no PDF Page . But this: Command Line: context.exe --synctex=-1 "mathtry.tex" Startup Folder: C:\Users\Administrator\Downloads\cont-tmf\doc\context\sources\general\magazines resolvers | formats | executing runner 'run luametatex format': luametatex --jobname="./mathtry.tex" --socket --shell-escape --fmt=C:/texlive/2023/texmf-var/luametatex-cache/context/1b4da46d1f340757f9984eae810b1464/formats/luametatex/cont-en.fmt --lua=C:/texlive/2023/texmf-var/luametatex-cache/context/1b4da46d1f340757f9984eae810b1464/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./mathtry.tex" --c:input="./mathtry.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/texlive/2023/bin/windows" system > system > ConTeXt ver: 2023.05.05 18:36 LMTX fmt: 2023.6.1 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/texlive/2023/texmf-dist/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name 'C:/texlive/2023/texmf-dist/tex/context/base/mkxl/cont-new.mkxl' system > 'cont-sys.mkxl' loaded open source > level 1, order 2, name 'C:/texlive/2023/texmf-dist/tex/context/texlive/cont-sys.mkxl' close source> level 1, order 2, name 'C:/texlive/2023/texmf-dist/tex/context/texlive/cont-sys.mkxl' system > files > jobname './mathtry', input './mathtry.tex', result './mathtry' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 1, order 3, name './mathtry.tex' fonts > beware: no fonts are loaded yet, using 'lm mono' in box tex error > tex error on line 4 in file ./mathtry.tex: \textfont0 is undefined in ordinal, font id 0, character 63) \endgroup \Ustopmathmode \stopforceddisplaymath \egroup \ifcase \c_strc_formulas_frame_mode \else \strc_math_number_check_offsets \fi \ifcase \c_strc_formulas_frame_mode \strc_math_number_check \or \strc_math_number_check_outside \else \strc_math_number_check_inside \fi \str \endgroup \strc_formulas_endstrut \stopinnermath \afterdisplayspace \egroup \p_threshold \strc_formulas_place_number \strc_formulas_flush_number \dostarttagged \t!formulacontent \empty \dotagregisterformula \c_strc_formulas_n \csname \e!stop \formulaparameter \c!alternative \v!formula \endcsname \dostoptagged \dostoptagged \nonoindentati \stopformula 1 \placeformula[formula:aformula] 2 \startformula 3 y=x^2 4 >> \stopformula 5 \placeformula 6 \startformula 7 \int_0^1 x^2 dx 8 \stopformula 9 10 Somewhere in the math formula just ended, you used the stated character from an undefined font family. For example, plain TeX doesn't allow \it or \sl in subscripts. Proceed, and I'll try to forget that I needed that character. mtx-context | fatal error: return code: 1 Many regards Uschi Hermann _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 ___ 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] My example, with \blackrule, works perfect
Dear List, I just finished my example, did some changes today and it works perfect \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\}\blackrule[color=black, height=0.05ex, width=4cm] \starttext \margintext{2.1.1}\ {Ach ist das schön, dass du da bist.} \stoptext Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] \dontleavethemode
Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm] \startformula a^n + b^n = c^n. \stopformula \stoptext My Question is , where to put margintext, with \dontleavethemode, with blackrule, because if I put it after \starttext: \margintext{\blackrule\\{Me}}\dontleavehmode\blackrule Before : \margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm] there is no pdf after compiling. I get: Command Line: context.exe --synctex=-1 "pablo.tex" Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\tex\context\test\mkiv resolvers | formats | executing runner 'run luametatex format': luametatex --jobname="./pablo.tex" --socket --shell-escape --fmt=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./pablo.tex" --c:input="./pablo.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin" system > system > ConTeXt ver: 2023.09.03 19:03 LMTX fmt: 2023.9.4 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './pablo', input './pablo.tex', result './pablo' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 1, order 2, name './pablo.tex' modules > using user prefixed file 's-layout-show' modules > 's-layout-show' is loaded open source > level 2, order 3, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/modules/mkxl/s-layout-show.mkxl' loading > ConTeXt Page Macros / Runtime Macros resolvers > lua > loading file 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkiv/page-run.lua' succeeded close source> level 2, order 3, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/modules/mkxl/s-layout-show.mkxl' fonts > beware: no fonts are loaded yet, using 'lm mono' in box pack quality> underfull hbox at line 7 in file './pablo.tex': (badness 1490) pack quality> underfull hbox at line 7 in file './pablo.tex': Me (badness 1448) tex error > tex error on line 7 in file ./pablo.tex: Undefined control sequence \margintext{\blackrule\\{Me}}\dontleavethemode \blackrule 1 \setuppapersize[A8,landscape] 2 \setuplayout[leftmargin=2.5cm, 3 leftmargindistance=0.5cm, 4 backspace=2.9cm, 5 width=4cm] 6 \showframe 7 >> \margintext{\blackrule\\{Me}}\dontleavethemode\blackrule 8 margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm] 9 \starttext 10 \startformula 11 a^n + b^n = c^n. 12 \stopformula 13 \stoptext The control sequence at the end of the top line of your error message was never \def'ed. You can just continue as I'll forget about whatever was undefined. mtx-context | fatal error: return code: 1 _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 Thanks Uschi blackrule1.pdf Description: blackrule1.pdf ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] (no subject)
Dear List, After compiling the following example, which is from February 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line: context.exe --synctex=-1 "blackrule1.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive resolvers | formats | executing runner 'run luametatex format': luametatex --jobname="./blackrule1.tex" --socket --shell-escape --fmt=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./blackrule1.tex" --c:input="./blackrule1.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin" "\\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive" CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet. UNC-Pfade werden nicht untersttzt. Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt. system > system > ConTeXt ver: 2023.09.03 19:03 LMTX fmt: 2023.9.4 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './blackrule1', input './blackrule1.tex', result './blackrule1' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! runtime error : input file './blackrule1.tex' is not found, quitting mtx-context | fatal error: return code: 1 _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Re: After compiling
Dear Henning, Many thanks. That was the problem. Uschi Hermann -Ursprüngliche Nachricht- Von: Henning Hraban Ramm Gesendet: Montag, 04. September 2023 12:43 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: After compiling Am 04.09.23 um 12:25 schrieb Ursula Hermann: > After compiling the following example, which is from February 2021: > I get: > runtime error : input file './blackrule1.tex' is not found, quitting Are you sure your file is called "blackrule1.tex" and exists in the same directory as you’re calling it? Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] After compiling
There is no pdf to read. Uschi Hermann. Sorry, dindn't write my name in the first Mail Today. Von: Ursula Hermann Gesendet: Montag, 04. September 2023 11:44 An: 'ntg-context@ntg.nl' mailto:ntg-context@ntg.nl>> Betreff: Dear List, After compiling the following example, which is from February 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line: context.exe --synctex=-1 "blackrule1.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive resolvers | formats | executing runner 'run luametatex format': luametatex --jobname="./blackrule1.tex" --socket --shell-escape --fmt=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./blackrule1.tex" --c:input="./blackrule1.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin" "\\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive" CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet. UNC-Pfade werden nicht untersttzt. Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt. system > system > ConTeXt ver: 2023.09.03 19:03 LMTX fmt: 2023.9.4 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './blackrule1', input './blackrule1.tex', result './blackrule1' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! runtime error : input file './blackrule1.tex' is not found, quitting mtx-context | fatal error: return code: 1 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Re:
There is no pdf to read. Uschi Hermann. Sorry, dindn't write my name in the first Mail Today. Von: Ursula Hermann Gesendet: Montag, 04. September 2023 11:44 An: 'ntg-context@ntg.nl' Betreff: Dear List, After compiling the following example, which is from February 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line: context.exe --synctex=-1 "blackrule1.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive resolvers | formats | executing runner 'run luametatex format': luametatex --jobname="./blackrule1.tex" --socket --shell-escape --fmt=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./blackrule1.tex" --c:input="./blackrule1.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin" "\\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive" CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet. UNC-Pfade werden nicht untersttzt. Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt. system > system > ConTeXt ver: 2023.09.03 19:03 LMTX fmt: 2023.9.4 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname './blackrule1', input './blackrule1.tex', result './blackrule1' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! runtime error : input file './blackrule1.tex' is not found, quitting mtx-context | fatal error: return code: 1 _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] The same Table, im Math Modus?
Dear Yanrui, many thanks, works great. Uschi Von: ntg-context im Auftrag von Li Yanrui (李延瑞) via ntg-context Gesendet: Donnerstag, 23. März 2023 01:56:07 An: mailing list for ConTeXt users Cc: Li Yanrui (李延瑞) Betreff: Re: [NTG-context] The same Table, im Math Modus? Ursula Hermann via ntg-context mailto:ntg-context@ntg.nl>> 于2023年3月21日周二 20:45写道: I’d like to do a Table lik this one [enter image description here] I have no example. How can I do that? You can use xtable, e.g. \startxtable[frame=off,width=1cm,align=center] \startxrow[bottomframe=on,frameoffset=1pt] \startxcell[rightframe=on,frameoffset=1pt] $1$ \stopxcell \startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $2$ \stopxcell \startxcell[leftframe=on,frameoffset=1pt] $3$ \stopxcell \stopxrow \startxrow[topframe=on,bottomframe=on,frameoffset=1pt] \startxcell[rightframe=on,frameoffset=1pt] $4$ \stopxcell \startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $5$ \stopxcell \startxcell[leftframe=on,frameoffset=1pt] $6$ \stopxcell \stopxrow \startxrow[topframe=on,frameoffset=1pt] \startxcell[rightframe=on,frameoffset=1pt] $7$ \stopxcell \startxcell[leftframe=on,rightframe=on,frameoffset=1pt] $8$ \stopxcell \startxcell[leftframe=on,frameoffset=1pt] $9$ \stopxcell \stopxrow \stopxtable -- Best regards, Li Yanrui ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] The same Table, im Math Modus?
Von: Ursula Hermann Gesendet: Montag, 13. März 2023 12:51 An: 'mailing list for ConTeXt users' Betreff: Table I'd like to do a Table lik this one, is this possible with Math Modus? [enter image description here] I have no example. How can I do that? Many thanks Uschi Von: Ursula Hermann Gesendet: Montag, 13. März 2023 12:51 An: 'mailing list for ConTeXt users' Betreff: Table I'd like to do a Table lik this one [enter image description here] I have no example. How can I do that? Many thanks Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Table
Dear Mikael! Many thanks, that works great! Uschi Von: ntg-context Im Auftrag von Mikael Sundqvist via ntg-context Gesendet: Montag, 13. März 2023 14:16 An: mailing list for ConTeXt users Cc: Mikael Sundqvist Betreff: Re: [NTG-context] Table Hi Uschi, On Mon, Mar 13, 2023 at 1:03 PM Ursula Hermann via ntg-context mailto:ntg-context@ntg.nl>> wrote: I’d like to do a Table lik this one [enter image description here] I have no example. How can I do that? Many thanks Uschi There are probably better ways, but this seems to give something like what you look for: \starttext \setupTABLE[c][align=middle] \setupTABLE[c][odd][width=2em] \setupTABLE[c][even][width=1mm] \setupTABLE[r][2][height=1mm] \setupTABLE[c][1][leftframe=off] \setupTABLE[c][5][rightframe=off] \bTABLE \bTR \bTD 1 \eTD \bTD \eTD \bTD 2 \eTD \bTD \eTD \bTD 3 \eTD \eTR \bTR \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD \eTR \bTR \bTD 4 \eTD \bTD \eTD \bTD 5 \eTD \bTD \eTD \bTD 6 \eTD \eTR \bTR \bTD 7 \eTD \bTD \eTD \bTD 8 \eTD \bTD \eTD \bTD 9 \eTD \eTR \eTABLE \stoptext /Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Table
I'd like to do a Table lik this one [enter image description here] I have no example. How can I do that? Many thanks Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Double Lines
Dear List, The following example is from the mailing list: I would like to have double vertical Lines with $\Vert instead of \VL, and also \HL. How can I do this with an Math Modus? \setupcolors[state=start] \starttext \null\vskip15ex \hskip1em\framed[orientation=90,frame=off]{\bf Region}\blank\vskip-25.5ex \starttable[|c|l|r|r|r|r|r|r|r|] \DC \DC \DL[7] \DR \NC \NC \VL \use{7}\ReFormat[cB]{Years} \VL \AR \DC \DC \DL[7] \DR \NC \NC \VL \ReFormat[cB]{$<1$} \VL \ReFormat[cB]{$1-2$} \VL \ReFormat[cB]{$3-4$} \VL \ReFormat[cB]{$5-9$} \VL \ReFormat[cB]{$10-14$} \VL \ReFormat[cB]{$15+$} \VL \ReFormat[cB]{Total} \VL \AR \HL %\VL \offset[y=8ex]{\framed[orientation=90,frame=off]{\bf Region}} \VL East \VL 32 \VL 54 \VL 59 \VL 112 \VL 77 \VL 118 \VL 452 \VL \AR \VL \null\hskip2em\null \VL {\bf East} \VL 32 \VL 54 \VL 59 \VL 112 \VL 77 \VL 118 \VL 452 \VL \AR \VL \VL {\bf Midwest} \VL 31 \VL 68 \VL 68 \VL 120 \VL 63 \VL 173 \VL 523 \VL \AR \VL \VL {\bf South} \VL 53 \VL 92 \VL 93 \VL 158 \VL 106 \VL 158 \VL 660 \VL \AR \VL \VL {\bf West} \VL 41 \VL 56 \VL 67 \VL 78 \VL 45 \VL 86 \VL 373 \VL \AR \DC \DL[8] \DR \VL \VL {\bf Total} \VL 157 \VL 270 \VL 287 \VL 468 \VL 291 \VL 535 \VL 2008 \VL \AR \HL \stoptable \stoptext Many Thanks Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Writing Tabular with \Vert
Dear List, In this tabular I wanted to set \Vert. But when I compile it, \starttable \bTD \Vert r1c1\Vert \bTD \bf r1c2 \eTD \bTD \bf r1c3 \eTD \bTD \bf r1c4 \eTD \eTR \bTR \bTD r2c1 \eTD \bTD r2c2 \eTD \bTD[nr=2] r2c3 \eTD \bTD r2c4 \eTD \eTR \bTR \bTD r3c1 \eTD \bTD r3c2 \eTD \bTD r3c4 \eTD \eTR \bTR \bTD r4c1 \eTD \bTD r4c2 \eTD \bTD[nr=3] r4c3 \eTD \bTD[nr=3] r4c4 \eTD \eTR \bTR \bTD r5c1 \eTD \bTD r5c2 \eTD \eTR \bTR \bTD r6c1 \eTD \bTD r6c2 \eTD \eTR \stoptable I get this : Command Line: C:\texlive\2022\bin\win32\context.exe --synctex=1 "Tabular.tex" Startup Folder: C:\texlive\My Documents\My Documents resolvers | formats | executing runner 'run luatex format': C:/texlive/2022/bin/win32/luatex --jobname="Tabular" --fmt=C:/texlive/2022/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt --lua=C:/texlive/2022/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./Tabular.tex" --c:input="./Tabular.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="1" --c:texmfbinpath="C:/texlive/2022/bin/win32" This is LuaTeX, Version 1.15.0 (TeX Live 2022) system commands enabled. open source > level 1, order 1, name 'C:/texlive/2022/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2021.03.05 19:11 MKIV fmt: 2022.10.11 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name 'C:/texlive/2022/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source> level 2, order 2, name 'C:/texlive/2022/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'Tabular', input './Tabular', result 'Tabular' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 2, order 3, name 'C:/texlive/My Documents/My Documents/Tabular.tex' fonts > beware: no fonts are loaded yet, using 'lm mono' in box tex error > tex error on line 2 in file C:/texlive/My Documents/My Documents/Tabular.tex: ! Use of \csname\endcsname doesn't match its definition \tabl_table_restart_indeed #1->\gdef \tabl_table_restart {#1}\tabl_table_restart \tabl_table_insert_head \ifsplittables \ifconditional \c_tabl_table_repeat_tail \tablenoalign {\goodbreak }\tabl_table_insert_tail \tablenoalign {\goodbreak }\fi \fi \bTD l.2 \bTD \Vert r1c1\Vert 1 \starttable 2 >>\bTD \Vert r1c1\Vert 3 \bTD \bf r1c2 \eTD 4 \bTD \bf r1c3 \eTD 5 \bTD \bf r1c4 \eTD 6 \eTR 7 \bTR 8 \bTD r2c1 \eTD 9 \bTD r2c2 \eTD 10 \bTD[nr=2] r2c3 \eTD 11 \bTD r2c4 \eTD 12 \eTR mtx-context | fatal error: return code: 1 How can I write it in the right way? Uschi _ ConTeXt Compilation Report (Pages: 0) Errors: 1 Warnings: 0 Bad Boxes: 0 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Is this possible to do the same
Dear Gavin! Many thanks for your Mail. Uschi Von: ntg-context im Auftrag von Gavin via ntg-context Gesendet: Montag, 12. Dezember 2022 16:48:52 An: mailing list for ConTeXt users Cc: Gavin Betreff: Re: [NTG-context] Is this possible to do the same Hi Uschi, I use the MetaFun features of ConTeXt to cross out stuff. % Cancel command for use in equations. \startuniqueMPgraphic{cross out} picture cross; cross := image(draw (0,0)--(1,1); draw (0,1)--(1,0);); draw cross xscaled \overlaywidth yscaled \overlayheight withpen pencircle scaled .8pt ; \stopuniqueMPgraphic \defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}] \define[1]\cancel{% \ifmmode \mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}% \else% \framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}% \fi% } \starttext \dots E.g.~$\cancel{x+ {-x}}$. Works in \cancel{text}, too. \stoptext I do not have all of the features of the “cancel” package, but it works for a simple cross out. Change the MetaPost code to a single slash, if that is what you want, by removing either one of the draw commands. Hope that helps. If you need more features, I’d might be able to help you implement them. Gavin > On Dec 12, 2022, at 8:21 AM, Ursula Hermann via ntg-context > wrote: > > Dear List! > Sorry, but my pdf was too big. > So I send a little picture. I would like to know, if there is a > modus in ConTeXt like the same in LaTeX. I found this on page 108, Chapter 3 > Math symbos LaTeX Compherensive list. > Many thanks > Uschi > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Is this possible to do the same
Dear List! Sorry, but my pdf was too big. So I send a little picture. [cid:image001.jpg@01D90E45.CE727480] I would like to know, if there is a modus in ConTeXt like the same in LaTeX. I found this on page 108, Chapter 3 Math symbos LaTeX Compherensive list. Many thanks Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Floating Figure in framed-environment
Dear Oliver, maybe something like this? This is my example: \starttext \setuppapersize [A5] \setupexternalfigures [location=default] \setupindenting [yes, small] \setupwhitespace [small] \defineframedtext [prettyblock] [width=10cm, indenting={yes, small}, background=color, backgroundcolor=lightgreen, foreground=color, foregroundcolor=black, offset=2mm, align=flushleft] \starttext \startprettyblock \setupindenting[next] The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. It would be happening whether humans had ever evolved or not. \placefigure [][fig:church] {Stephanus Church.} {\externalfigure[ma-cb-24][width=.4\textwidth]} \stopprettyblock \setupindenting[next] Below, we have two separate columns; but up here, for the nonce, we have but the one. \startcolumns [n=2] Text, text, text \dots all in the first column \column Words, words, words \dots all in the second column. And look ye here! Even more words! \stopcolumns \stoptext Many regards Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Oliver Sieber via ntg-context Gesendet: Mittwoch, 19. Oktober 2022 11:31 An: ntg-context@ntg.nl Cc: Oliver Sieber Betreff: [NTG-context] Floating Figure in framed-environment Dear ConTeXt Users I am relatively new to context and I am suffering with a problem with the framed environment. I want to use a framed textbox for Definitions in my script. I also want to use floating figures. But this does not work and I haven’t found out why. Maybe I totally use it the wrong way. I would appreciate if someone could help me or has a tipp. Here is an example code, where the figure does not behave as expected, i.e. the figure is behind the text: \starttext \framed[corner=round, rulethickness=2pt, width=\textwidth, align=flushleft, offset=1em,background=color,framecolor=black] {{\bf Definition: Hello World} \blank[medium] \placefigure[right, none]{This is an example of a logo.}{\externalfigure[dummy]} Carrot cake tiramisu lollipop dragée lollipop marshmallow carrot cake sweet pastry. Tiramisu danish jelly tootsie roll tart gummi bears. Carrot cake chupa chups cake wafer lemon drops lemon drops tiramisu. Chocolate lemon drops sugar plum cheesecake jelly beans sugar plum. Tootsie roll cupcake jujubes pie chocolate bar bear claw chupa chups shortbread. Candy candy canes jelly-o jelly beans sugar plum muffin danish donut. Bonbon lemon drops powder jujubes marshmallow biscuit halvah. Powder carrot cake caramels chocolate cake carrot cake jelly-o. Topping danish tootsie roll gummi bears oat cake jujubes. Sweet candy canes cotton candy pie topping. Jelly-o carrot cake ice cream lemon drops macaroon gummies lemon drops tiramisu chocolate cake. Cupcake sugar plum shortbread gummi bears tootsie roll. Chocolate cake sugar plum macaroon candy canes chocolate bar donut cake icing tootsie roll. } \stoptext Best regards Oli ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] My little example
Dear List, Maybe someone can need this. Uschi file1.tex Description: file1.tex ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror
I got the same Mail. Uschi Hermann -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Jeong Dal via ntg-context Gesendet: Mittwoch, 07. September 2022 16:27 An: mailing list for ConTeXt users Cc: Jeong Dal Betreff: Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror Dear Taco, The following mail came every hour since a few days ago. But I don’t get any other mail from the list. I think that there is something wrong between my mail system and the server. However, I don’t know how to solve it. Would you please tell me what to do? Thank you. Best regards, Dalyoung > On Sep 7, 2022, at 9:03 PM, Cron Daemon via ntg-context > wrote: > > rsync: failed to connect to rsync.pragma-ade.nl (213.125.29.165): > Connection timed out (110) rsync error: error in socket IO (code 10) > at clientserver.c(125) [Receiver=3.1.2] > __ > _ If your question is of interest to others as well, > please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://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://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] After Compiling the Test, which usualy works perfect
Dear Hans, Thank you for your answer. So what should I do? Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Hans Hagen via ntg-context Gesendet: Dienstag, 08. März 2022 15:50 An: Ursula Hermann via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] After Compiling the Test, which usualy works perfect On 3/8/2022 3:35 PM, Ursula Hermann via ntg-context wrote: > Dear List, > > I have Windows 10, and WinEdt 10.3., actual verison. > > I wanted to do the test, but only I got this, after compiling: > > Command Line: C:\texlive\2021\bin\win32\context.exe --synctex=-1 > "context-test.tex" > > Startup Folder: > C:\Users\Hermann\Downloads\cont-tmf\tex\context\test\mkiv > > mtxrun | unknown script 'context.lua' or 'mtx-context.lua' did you mix texlive with the lmtx install? - 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 / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] After Compiling the Test, which usualy works perfect
Dear List, I have Windows 10, and WinEdt 10.3., actual verison. I wanted to do the test, but only I got this, after compiling: Command Line: C:\texlive\2021\bin\win32\context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\Downloads\cont-tmf\tex\context\test\mkiv mtxrun | unknown script 'context.lua' or 'mtx-context.lua' _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 What is wrong here? Uschi Hermann ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] What’s wrong with installation?
Dear List, I can't make the installation context-mswin.zip, too. Uschi Hermann -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Henning Hraban Ramm via ntg-context Gesendet: Montag, 07. März 2022 12:48 An: mailing list for ConTeXt users Cc: Henning Hraban Ramm Betreff: [NTG-context] What’s wrong with installation? Hi, I just tried to install a new instance of LMTX without success. """ $ unzip -l *.zip Archive: context-osx-64.zip Length DateTimeName - -- - 0 03-05-2019 22:50 bin/ 19082 01-21-2022 20:13 bin/mtx-install.lua 693184 01-21-2022 20:13 bin/mtxrun.lua 3910 01-21-2022 20:13 install.sh 2725900 01-21-2022 20:13 bin/mtxrun 24047 01-21-2022 20:13 installation.pdf - --- 3466123 6 files $ sh install.sh mtx-install | provide valid server and instance cp: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun: No such file or directory cp: /Users/hraban/lmtx_2022-03-07/tex/texmf-context/scripts/context/lua/mtxrun.lua: No such file or directory cp: /Users/hraban/lmtx_2022-03-07/tex/texmf-context/scripts/context/lua/mtx-install.lua: No such file or directory If you want to run ConTeXt everywhere, you need to adapt the path, like: export PATH=/Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin:$PATH If you run from an editor you can specify the full path to mtxrun: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context --autopdf ... The following settings were used: server : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl instance : install-lmtx extras : ownpath : /Users/hraban/lmtx_2022-03-07 platform : osx-64 $ ./bin/mtxrun --script ./bin/mtx-install.lua --update --server=lmtx.contextgarden.net --instance=install-lmtx --platform=osx-64 --extras=all mtx-install | provide valid server and instance """ Same result if I omit --server and --instance, since they default to the same. In mtx-install.lua, line 489 "local server = false" overwrites the previously set server variable. If I comment this line, I get: """ $ ./bin/mtxrun --script ./bin/mtx-install.lua --update --platform=osx-64 --extras=all mtx-install | server : lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl mtx-install | instance : install-lmtx mtx-install | platform : osx-64 mtx-install | system : unix mtx-install | invalid database 'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf.tma' mtx-install | invalid database 'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf-context.tma' mtx-install | invalid database 'http://lmtx.contextgarden.net,lmtx.pragma-ade.com,lmtx.pragma-ade.nl,dmz.pragma-ade.nl/install-lmtx//tex/texmf-osx-64.tma' mtx-install | current : %S mtx-install | target : %S mtx-install | removing : mtxrun mtx-install | removing : context mtx-install | copied : mtxrun mtx-install | copied : context mtx-install | running: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun --generate sh: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/mtxrun: No such file or directory mtx-install | running: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/context --make en sh: /Users/hraban/lmtx_2022-03-07/tex/texmf-osx-64/bin/context: No such file or directory mtx-install | mtx-install | mtx-install | ConTeXt LMTX with LuaMetaTeX is still experimental and when you get a crash this mtx-install | can be due to a mismatch between Lua bytecode and the engine. In that case you can mtx-install | try the following: mtx-install | mtx-install | - wipe the texmf-cache directory mtx-install | - run: mtxrun --generate mtx-install | - run: context --make mtx-install | mtx-install | When that doesn't solve the problem, ask on the mailing list (ntg-context@ntg.nl). mtx-install | mtx-install | update, done """ The "invalid database" lines don’t look good. If I give an explicit --server=lmtx.contextgarden.net, I still get the same error: """ mtx-install | invalid database 'http://lmtx.contextgarden.net/install-lmtx//tex/texmf.tma' mtx-install | invalid database 'http://lmtx.contextgarden.net/install-lmtx//tex/texmf-context.tma' mtx-install | invalid database 'http://lmtx.contextgarden.net/install-lmtx//tex/texmf-osx-64.tma' """ What’s wrong? Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive :
Re: [NTG-context] No formula in the pdf (Ursula Hermann)
Dear Thierry! The reason was, that i forgot \stoptext at the end Uschi Von: ntg-context im Auftrag von Thierry Horsin via ntg-context Gesendet: Mittwoch, 1. September 2021 14:01 An: ntg-context@ntg.nl Cc: Thierry Horsin Betreff: Re: [NTG-context] No formula in the pdf (Ursula Hermann) Hi Ursula, I tried your formula. The reason might be because you have two \starttext... Thierry ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] No formula in the pdf
Dear Hans, thank you. Uschi Von: ntg-context im Auftrag von Hans Hagen via ntg-context Gesendet: Mittwoch, 1. September 2021 13:07 An: Ursula Hermann via ntg-context Cc: Hans Hagen Betreff: Re: [NTG-context] No formula in the pdf On 9/1/2021 12:30 PM, Ursula Hermann via ntg-context wrote: > Dear List > > > I have the following example. > > \setuppapersize[A4] > \mainlanguage[de] > \starttext > Wir können sogar die gesamte Matrix A über ihre Einträge mit Hilfe der > Indizes definieren, indem wir schreiben > \startformula >A_{ij}=5i > \stopformula > \starttext ^^ \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl<http://www.pragma-ade.nl> | www.pragma-pod.nl<http://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 / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] No formula in the pdf
Dear List I have the following example. \setuppapersize[A4] \mainlanguage[de] \starttext Wir können sogar die gesamte Matrix A über ihre Einträge mit Hilfe der Indizes definieren, indem wir schreiben \startformula A_{ij}=5i \stopformula \starttext Why is there no formula in the pdf? And is that right with A{ij} After compiling i get the following Command Line: context.exe --synctex=-1 "Example1.tex" Startup Folder: C:\Users\Administrator\Documents\My Documents resolvers | formats | executing runner 'run luatex format': C:/texlive/2020/bin/win32/luatex --jobname="Example1" --fmt=C:/texlive/2020/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt --lua=C:/texlive/2020/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./Example1.tex" --c:input="./Example1.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/texlive/2020/bin/win32" This is LuaTeX, Version 1.12.0 (TeX Live 2020/W32TeX) system commands enabled. open source > level 1, order 1, name 'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2020.03.10 14:44 MKIV beta fmt: 2021.1.18 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name 'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source> level 2, order 2, name 'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'Example1', input './Example1', result 'Example1' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 2, order 3, name 'C:/Users/Administrator/Documents/My Documents/Example1.tex' modules > 'amsl' is not found fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded backend > xmp > using file 'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 close source> level 2, order 3, name 'C:/Users/Administrator/Documents/My Documents/Example1.tex' close source> level 1, order 3, name 'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' mkiv lua stats > used config file: selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua mkiv lua stats > used cache path: C:/texlive/2020/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9 mkiv lua stats > resource resolver: loadtime 0.165 seconds, 1 scans with scantime 0.003 seconds, 0 shared scans, 12 found files, scanned paths: C:/Users/Administrator/.texlive2020/texmf-config mkiv lua stats > stored bytecode data: 450 modules (0.395 sec), 93 tables (0.013 sec), 543 chunks (0.408 sec) mkiv lua stats > traced context: maxstack: 1398, freed: 0, unreachable: 1398 mkiv lua stats > cleaned up reserved nodes: 56 nodes, 9 lists of 442 mkiv lua stats > node memory usage: 11 attribute, 4 attribute_list, 1 glue, 51 glue_spec, 3 kern, 2 penalty, 2 temp, 2 user_defined mkiv lua stats > node list callback tasks: 8 unique task lists, 7 instances (re)created, 39 calls mkiv lua stats > synctex tracing: 2 referenced files, 4 files ignored, 5 objects flushed, logfile: Example1.synctex mkiv lua stats > driver time: 0.134 seconds mkiv lua stats > used backend: pdf (backend for directly generating pdf output) mkiv lua stats > jobdata time: 0.002 seconds saving, 0.001 seconds loading mkiv lua stats > callbacks: internal: 136, file: 144, direct: 2, late: 6, function 507, total: 795 mkiv lua stats > randomizer: resumed with value 0.087860107421875 mkiv lua stats > positions: 2 collected, 2 regular, 0 special mkiv lua stats > loaded tex modules: 1 requested, all missing (*-amsl) mkiv lua stats > result saved in file: Example1.pdf, compresslevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.111, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.208 seconds mkiv lua stats > used platform: mswin, type: windows, binary subtree: bin mkiv lua stats > used engine: luatex version: 1.12, functionality level: 7306, banner: this is luatex, version 1.12.0 (tex live 2020/w32tex) mkiv lua stats > control sequences: 45874 of 65536 + 10 mkiv lua stats > lua properties: engine: lua 5.3, used memory: 125 MB, ctx: 124 MB, max: unknown MB, hash chars: min(32,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.813 seconds, 1 processed pages, 1
Re: [NTG-context] \blackrule and margin
Dear Pablo! I have done some changes. How can I get both hairlines in the same height: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}} \hairline \startformula a^n + b^n = c^n. \stopformula \stoptext Thank you Uschi Von: ntg-context im Auftrag von Pablo Rodriguez Gesendet: Freitag, 19. Februar 2021 16:41 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] \blackrule and margin On 2/19/21 4:02 PM, Ursula Hermann wrote: > Dear List, > i have the little following example: > > \setuppapersize[A8,landscape] > \setuplayout[leftmargin=2.5cm, > leftmargindistance=0.2cm, > backspace=2.9cm, > width=4cm] > \showframe > \starttext > \blackrule > \margintext{Me} > \blackrule[color=black, height=0.5ex, width=1cm] > \stoptext > \startformula > a^n + b^n = c^n. > \stopformula > \stoptext > What i want is a\blackrule over the margintext, but i do not get what I > wantend. Hi Uschi, I don’t know whether this is similar to whay you might intend: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \blackrule \margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me} \startformula a^n + b^n = c^n. \stopformula \stoptext BTW, it isn’t also clear to me whether the formula is part of your document or not. Just in case it helps, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \blackrule and margin
Dear Pablo! Thank you so much for helping me. It is perfect. The formular is also a part of my documet. Uschi Von: ntg-context im Auftrag von Pablo Rodriguez Gesendet: Freitag, 19. Februar 2021 16:41 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] \blackrule and margin On 2/19/21 4:02 PM, Ursula Hermann wrote: > Dear List, > i have the little following example: > > \setuppapersize[A8,landscape] > \setuplayout[leftmargin=2.5cm, > leftmargindistance=0.2cm, > backspace=2.9cm, > width=4cm] > \showframe > \starttext > \blackrule > \margintext{Me} > \blackrule[color=black, height=0.5ex, width=1cm] > \stoptext > \startformula > a^n + b^n = c^n. > \stopformula > \stoptext > What i want is a\blackrule over the margintext, but i do not get what I > wantend. Hi Uschi, I don’t know whether this is similar to whay you might intend: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \blackrule \margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me} \startformula a^n + b^n = c^n. \stopformula \stoptext BTW, it isn’t also clear to me whether the formula is part of your document or not. Just in case it helps, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \blackrule and margin
Dear List, i have the little following example: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \blackrule \margintext{Me} \blackrule[color=black, height=0.5ex, width=1cm] \stoptext \startformula a^n + b^n = c^n. \stopformula \stoptext What i want is a\blackrule over the margintext, but i do not get what I wantend. Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \showmathcharacters, mk ii, how can I get the list, is not working!!
Dear List, I would like to know, what i can do, to geht all Math macros with MkII : \showmathcharacters in my Editor: WinEdt. I tried to compile it, but there is a mistake. I tried with \starttext and \stoptext, didn't work. Command Line: context.exe --synctex=-1 "Math 2.tex" Startup Folder: C:\Users\Administrator resolvers | formats | executing runner 'run luatex format': C:/texlive/2020/bin/win32/luatex --jobname="Math 2" --fmt=C:/texlive/2020/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.fmt --lua=C:/texlive/2020/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./Math 2.tex" --c:input="./Math 2.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/texlive/2020/bin/win32" This is LuaTeX, Version 1.12.0 (TeX Live 2020/W32TeX) system commands enabled. open source > level 1, order 1, name 'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2020.03.10 14:44 MKIV beta fmt: 2021.1.18 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name 'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source> level 2, order 2, name 'C:/texlive/2020/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'Math 2', input './Math 2', result 'Math 2' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 2, order 3, name 'C:/Users/Administrator/Math 2.tex' tex error > tex error on line 1 in file C:/Users/Administrator/Math 2.tex: ! Undefined control sequence l.1 \showmathcharacters 1 >> \showmathcharacters mtx-context | fatal error: return code: 1 _ ConTeXt Compilation Report (Pages: 0) Errors: 1 Warnings: 0 Bad Boxes: 0 ___ Many thanks Uschi Hermann ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Table of Content
Dear List! I did this example, which works perfect. If i would like to take a new page after the Table of Content, is \page the right way? % mode=mkiv \setuppapersize[A7][A7] \language[de] %list the "subject" sections in the ToC but don't modify the "section" counter: \setuphead[subject] [incrementnumber=list] %"width": distance between number and text in the ToC entry, "margin" : indent of ToC entry relative to left page margin \setuplist[section][width=1.5em] \setuplist[subsection][width=2.5em, margin=1.5em] \setuplist[subject] \setuplist[subject, section, subsection] \setupcombinedlist[content][list={subject,section,subsection}, alternative=c] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][5] \page \subject{Vorwort} \page \setupuserpagenumber[numberconversion=numbers] \setcounter[userpage][12] \section{One} \subsection{Sec A} \section{Two} \subject{Bibliography} \stoptext Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems with new beta
After new beta today Hans, it works fine. Uschi Von: Ursula Hermann Gesendet: Montag, 09. Dezember 2019 15:34 An: 'mailing list for ConTeXt users' Betreff: Problems with new beta Dear List! If I want to do the test from the new beta on WinEdt (I have Windows 10) , normaly the test works fine. But today as I wanted to make the test, it did not work. \starttext \startmode[mkiv] \startluacode tex.sprint("hello") \stopluacode \startMPcode draw textext("hello") rotated 45 ; \stopMPcode \framed{hello} \stopmode \startnotmode[mkiv] \startMPcode draw textext("hello") rotated -45 ; \stopMPcode \framed{hello} \stopnotmode \stoptext After Compiling with ConTeXt it does not work. I have the following mistake? Command Line: context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\AppData\Local\Temp\Temp1_cont-tmf.zip\tex\context\test\mkiv mtxrun | forcing cache reload resolvers | resolving | configuration files already identified resolvers | resolving | skipping configuration file 'selfautoparent:/texmf/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' There are no warnings, no errors, but it does not work. Why? _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 Many thanks Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems with new beta
Hello Hans! Thanks for your answer. How can I do this. You mean, going in texm-cache, and open cmd on Windows and write context--make en? Is that the right way? Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Hans Hagen Gesendet: Montag, 09. Dezember 2019 19:49 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Problems with new beta On 12/9/2019 3:34 PM, Ursula Hermann wrote: > Dear List! > > If I want to do the test from the new beta on WinEdt (I have Windows > 10) , normaly the test works fine. But today as I wanted to make the > test, it did not work. > > \starttext > > \startmode[mkiv] > > \startluacode > > tex.sprint("hello") > > \stopluacode > > \startMPcode > > draw textext("hello") rotated 45 ; > > \stopMPcode > > \framed{hello} > > \stopmode > > \startnotmode[mkiv] > > \startMPcode > > draw textext("hello") rotated -45 ; > > \stopMPcode > > \framed{hello} > > \stopnotmode > > \stoptext > > After Compiling with ConTeXt it does not work. I have the following > mistake? > > Command Line: context.exe --synctex=-1 "context-test.tex" If this is lmtx, can you wipe the cache (texm-cache) and run context --make en then? 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 / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Problems with new beta
Dear List! If I want to do the test from the new beta on WinEdt (I have Windows 10) , normaly the test works fine. But today as I wanted to make the test, it did not work. \starttext \startmode[mkiv] \startluacode tex.sprint("hello") \stopluacode \startMPcode draw textext("hello") rotated 45 ; \stopMPcode \framed{hello} \stopmode \startnotmode[mkiv] \startMPcode draw textext("hello") rotated -45 ; \stopMPcode \framed{hello} \stopnotmode \stoptext After Compiling with ConTeXt it does not work. I have the following mistake? Command Line: context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\AppData\Local\Temp\Temp1_cont-tmf.zip\tex\context\test\mkiv mtxrun | forcing cache reload resolvers | resolving | configuration files already identified resolvers | resolving | skipping configuration file 'selfautoparent:/texmf/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' There are no warnings, no errors, but it does not work. Why? _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 Many thanks Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] tikz
Hello everyone! I have: \usemodule{tikz} \starttext \starttikzpicture node {root} child {node {left}} child {node {right} child {node {child}} child {node {child}} } \stoptikzpicture \stoptext Then after compiling I have the following mistake: Command Line: context.exe --synctex=-1 "picture test.tex" Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\doc\context\sources\general\manuals\nodes resolvers | formats | executing runner 'run luametatex format': C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin/luametatex --jobname="picture test" --fmt=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./picture test.tex" --c:input="./picture test.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin" This is LuaMetaTeX, Version 2.01.0 open source > level 1, order 1, name 'cont-yes.mkiv' system > system > ConTeXt ver: 2019.11.13 00:08 MKIV beta fmt: 2019.11.27 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source> level 2, order 2, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'picture test', input './picture test', result 'picture test' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 2, order 3, name './picture test.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded tex error > tex error on line 5 in file ./picture test.tex: ! Undefined control sequence l.5 \starttikzpicture 1 2 \usemodule{tikz} 3 4 \starttext 5 >> \starttikzpicture 6 node {root} 7 child {node {left}} 8 child {node {right} 9 child {node {child}} 10 child {node {child}} 11 } 12 \stoptikzpicture 13 \stoptext The control sequence at the end of the top line of your error message was never \def'ed. You can just continue as I'll forget about whatever was undefined. mtx-context | fatal error: return code: 1 _ ConTeXt Compilation Report (Pages: 0) Errors: 1 Warnings: 0 Bad Boxes: 0 What is the mistake here? Many Thanks Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] After a long time I tried:
Dear List! I have tried: \starttext {This is me} \startMPcode input mptrees; u:=0.4cm; dirlabel:=90; abscoord:=true; endlabelspace:=0.5cm; draw startlabel("$S$"); draw tree[1][1]((-5.5u,4u),(5.5u,8u))("NP","","VP",""); \stopMPcode \stoptext But there is a mistake, i dont know where, and whats wrong. After compiling (I have WinEdt as Editor), with Context, got wrong, I tried it with mp.exe, i get the following warning: Command Line: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-mswin\bin\context.exe --synctex=-1 "context-test.tex" Startup Folder: C:\Users\Hermann\My Documents mtx-context | run 1: luametatex --fmt="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en" --jobname="context-test" --lua="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui" --c:currentrun=1 --c:fulljobname="./context-test.tex" --c:input="./context-test.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin" "cont-yes.mkiv" This is LuaMetaTeX, Version 2.00.0 open source > level 1, order 1, name 'cont-yes.mkiv' system > system > ConTeXt ver: 2019.10.04 17:53 MKIV beta fmt: 2019.10.7 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source> level 2, order 2, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'context-test', input './context-test', result 'context-test' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 2, order 3, name './context-test.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded metapost> initializing instance 'metafun:1' using format 'metafun' and method 'default' metapost> loading 'metafun' as 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/metapost/context/base/mpiv/metafun.mpxl' using method 'default' metapost> initializing number mode 'scaled' metapost log> metapost log> loading metafun, including plain.mp version 1.004 for metafun iv and xl metapost log> mplib warning: table expected from 'open_file' mtx-context | fatal error: return code: -1073741819 Best regards Uschi Hermann PS: I have done the beta version of cont-tmf today , and have installed context-mswin, what I do every week. _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Question to a table
Hello list! I have: \starttext \setupcombination [location=top, distance=\spaceamount] \bTABLE[align=flushleft,columndistance=0.1em] \bTR \bTD[width=2cm] Small \eTD \bTD[width=0.05\textwidth] \eTD \eTR \eTABLE \stoptext I have a question tot he sencond bTD [with 0.05\textwidth] \eTD, because: I would like to know: how can I put two different colors in this second bTD, should I do this like an overlay? There is not any text there. So that i have as an example to the list, pink and mystirose together, in one peace of the table without any text. Many thanks to the list Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Something wrong after ConTeXt installation, could somebody help me please?
I have forgotten: As Editor I have WinEdt. Uschi Von: ntg-context Im Auftrag von Ursula Hermann Gesendet: Mittwoch, 12. Juni 2019 11:55 An: mailing list for ConTeXt users Betreff: [NTG-context] Something wrong after ConTeXt installation, could somebody help me please? Hello List! \setuppapersize[A4] \setupexternalfigures [location=default] \setupbodyfont[Computer Modern Roman ,rm, tfx 7pt] \setupindenting [yes, small] \setupwhitespace [small] \setupcombination [location=top, distance=\spaceamount] \bTABLE[align=flushleft,columndistance=0.1em] \bTR \bTD[width=.2\textwidth]Small \eTD \bTD[width=0.05\textwidth] \eTD \eTR \eTABLE \setupexternalfigures [location=default] \setupindenting [yes, small] \setupwhitespace [small] \definecolor [rosybrown:1][h=FFBCB3] \defineframedtext [prettyblock] [width=10cm, indenting={yes, small}, background=color, backgroundcolor=rosybrown:1, foreground=color, foregroundcolor=black, offset=2mm, align=flushleft] \starttext \startprettyblock[width=7.5 cm,align={flushleft}] \noindentation The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. \stopprettyblock Below, we have two separate columns; but up here, for the nonce, we have but the one. \startcolumns [n=2] Text, text, text \dots all in the first column \column Words, words, words \dots all in the second column. \stopcolumns \stoptext \startcolumns[n=2] \input ward \column \input weisman \stopcolumns After installing ConTeXt in WinEdt: Command Line: C:\Users\Hermann\Downloads\context-mswin\bin\mtxrun.exe --synctex=-1 "melon.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\My Documents mtxrun | forcing cache reload resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found 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 'scripts' resolvers | resolving | remembering file 'mtx-base.lua' using hash 'lua::mtx-base.lua' resolvers | resolving | using suffix based filetype 'scripts' resolvers | resolving | remembering file 'mtx-bases.lua' using hash 'lua::mtx-bases.lua' resolvers | resolving | remembered file 'mtx-base.lua' resolvers | resolving | using suffix based filetype 'scripts' resolvers | resolving | remembering file 'mtx-t-mtx-base.lua' using hash 'lua::mtx-t-mtx-base.lua' resolvers | resolving | using suffix based filetype 'scripts' resolvers | resolving | remembering file 'mtx-t-mtx-bases.lua' using hash 'lua::mtx-t-mtx-bases.lua' resolvers | resolving | remembered file 'mtx-t-mtx-base.lua' resolvers | resolving | remembered file 'mtx-base.lua' mtxrun | unknown script 'mtx-base.lua' or 'mtx-mtx-base.lua' There's something wrong, but I don't know what. _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Ba
[NTG-context] Something wrong after ConTeXt installation, could somebody help me please?
Hello List! \setuppapersize[A4] \setupexternalfigures [location=default] \setupbodyfont[Computer Modern Roman ,rm, tfx 7pt] \setupindenting [yes, small] \setupwhitespace [small] \setupcombination [location=top, distance=\spaceamount] \bTABLE[align=flushleft,columndistance=0.1em] \bTR \bTD[width=.2\textwidth]Small \eTD \bTD[width=0.05\textwidth] \eTD \eTR \eTABLE \setupexternalfigures [location=default] \setupindenting [yes, small] \setupwhitespace [small] \definecolor [rosybrown:1][h=FFBCB3] \defineframedtext [prettyblock] [width=10cm, indenting={yes, small}, background=color, backgroundcolor=rosybrown:1, foreground=color, foregroundcolor=black, offset=2mm, align=flushleft] \starttext \startprettyblock[width=7.5 cm,align={flushleft}] \noindentation The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. \stopprettyblock Below, we have two separate columns; but up here, for the nonce, we have but the one. \startcolumns [n=2] Text, text, text \dots all in the first column \column Words, words, words \dots all in the second column. \stopcolumns \stoptext \startcolumns[n=2] \input ward \column \input weisman \stopcolumns After installing ConTeXt in WinEdt: Command Line: C:\Users\Hermann\Downloads\context-mswin\bin\mtxrun.exe --synctex=-1 "melon.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\My Documents mtxrun | forcing cache reload resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for fallback 'contextcnf.lua' on given path 'C:/Users/Hermann/Downloads/texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found 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 'scripts' resolvers | resolving | remembering file 'mtx-base.lua' using hash 'lua::mtx-base.lua' resolvers | resolving | using suffix based filetype 'scripts' resolvers | resolving | remembering file 'mtx-bases.lua' using hash 'lua::mtx-bases.lua' resolvers | resolving | remembered file 'mtx-base.lua' resolvers | resolving | using suffix based filetype 'scripts' resolvers | resolving | remembering file 'mtx-t-mtx-base.lua' using hash 'lua::mtx-t-mtx-base.lua' resolvers | resolving | using suffix based filetype 'scripts' resolvers | resolving | remembering file 'mtx-t-mtx-bases.lua' using hash 'lua::mtx-t-mtx-bases.lua' resolvers | resolving | remembered file 'mtx-t-mtx-base.lua' resolvers | resolving | remembered file 'mtx-base.lua' mtxrun | unknown script 'mtx-base.lua' or 'mtx-mtx-base.lua' There's something wrong, but I don't know what. _ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive :
[NTG-context] My own backgroundcolor in a frame
Dear List! I have the following example: \defineframedtext [prettyblock] [width=10cm, indenting={yes, small}, background=color, backgroundcolor=lightgreen, foreground=color, foregroundcolor=black , offset=2mm, align=flushleft] My problem is now: how can I write, if I have an Rgb Color and I do not know the name. I have looked at the list, but cannot find the color. Can I say: background=color, backgroundcolor=rgb and put the numbers in (lets say: r=200, g=112, b=300)? Is that correct, or do I have to take a special way? Or do I have to define it? Many thanks and regards Uschi Hermann ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Distance between two Columns
Dear List! I have the following example. I would like to have two columns that are in the distance small. So I have tried: \setuppapersize[A5] \startcolumns \defineframed [tightframed][width=5cm,width.1\textwidth,align=right] \tightframed{Small} \column \tightframed{A really really long line that is split at 5cm} If I take the example with only \tightframed, without the columns, I have the small distance, but I would like to have a left and right column with small distance. Can someone help me please? tight.pdf Description: tight.pdf ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Frame
High list! Another example, instead oft he cow, I took another figure: \setuppapersize [A5] \setupexternalfigures [location=default] \setupindenting [yes, small] \setupwhitespace [small] \defineframedtext [prettyblock] [width=10cm, indenting={yes, small}, background=color, backgroundcolor=lightgreen, foreground=color, foregroundcolor=black, offset=2mm, align=flushleft] \starttext \startprettyblock \setupindenting[next] The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. It would be happening whether humans had ever evolved or not. \placefigure [][fig:church] {Stephanus Church.} {\externalfigure[ma-cb-24][width=.4\textwidth]} \stopprettyblock \setupindenting[next] Below, we have two separate columns; but up here, for the nonce, we have but the one. \startcolumns [n=2] Text, text, text \dots all in the first column \column Words, words, words \dots all in the second column. And look ye here! Even more words! \stopcolumns \stoptext Works great. Many Regards Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Wolfgang Schuster Gesendet: Donnerstag, 21. Februar 2019 18:24 An: mailing list for ConTeXt users ; Marco Patzer Betreff: Re: [NTG-context] Frame Marco Patzer schrieb am 21.02.19 um 12:19: > On Thu, 21 Feb 2019 10:50:21 + > Ursula Hermann wrote: > >> Here is my example: >> >> \setuppapersize[A5] >> \setupcolors[state=start] > This is the default, no need to start the colours any longer. > >> {\framed >> [width=10cm, >> background=color,backgroundcolor=darkblue, >> foreground=color,foregroundcolor=white, >> align={flushleft}] >> {The Earth, as a habitat for animal life, is in old age and has a >> fatal illness. Several, in fact.\par \setupindenting[yes, small] It >> would be happening whether humans had ever evolved or not. >> >> \externalfigure[cow.pdf][width=1cm]} >> >> \setupwhitespace[small] >> \starttext >> Below, we have two separate columns; but up here, for the nonce, we >> have but the one. >> >> \startcolumns[n=2] % Two columns, please >> Text, text, text \dots >> all in the first column >> \column >> Words, words, words \dots >> all in the second column. >> And look ye here! Even more words! >> \stopcolumns >> \stoptext >> Why can‘t I see the cow? > You're missing > >\setupexternalfigures > [location=default] > > Without setting the location context doesn't check the system > directories for the sample images. > > Furthermore, you're typesetting before \starttext. That's why your > font is monospaced. > > And I try to separate content from style. That's why I move all style > information before \starttext and after \starttext comes only content > and markup (if possible). Nothing wrong with mixing it, but it's > easier to read and easier to change the layout after the fact. > I'd write your example as follows. > > \setuppapersize >[A5] > > \setupexternalfigures >[location=default] > > \setupindenting >[yes, small] > > \setupwhitespace >[small] > > \defineframedtext >[prettyblock] >[width=10cm, > indenting={yes, small}, > background=color, backgroundcolor=darkblue, > foreground=color, foregroundcolor=white, > offset=2mm, > align=flushleft] > > \starttext > > \startprettyblock >\noindentation You don’t need \noindentation when you add “next” to the indenting options. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Frame
Hello Marco! Thanks a lot, that worked. Many regards Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Marco Patzer Gesendet: Donnerstag, 21. Februar 2019 12:19 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Frame On Thu, 21 Feb 2019 10:50:21 + Ursula Hermann wrote: > Here is my example: > > \setuppapersize[A5] > \setupcolors[state=start] This is the default, no need to start the colours any longer. > {\framed >[width=10cm, >background=color,backgroundcolor=darkblue, >foreground=color,foregroundcolor=white, >align={flushleft}] > {The Earth, as a habitat for animal life, is in old age and has a > fatal illness. Several, in fact.\par \setupindenting[yes, small] It > would be happening whether humans had ever evolved or not. > > \externalfigure[cow.pdf][width=1cm]} > > \setupwhitespace[small] > \starttext > Below, we have two separate columns; but up here, for the nonce, we > have but the one. > > \startcolumns[n=2] % Two columns, please > Text, text, text \dots > all in the first column > \column > Words, words, words \dots >all in the second column. > And look ye here! Even more words! > \stopcolumns > \stoptext > Why can‘t I see the cow? You're missing \setupexternalfigures [location=default] Without setting the location context doesn't check the system directories for the sample images. Furthermore, you're typesetting before \starttext. That's why your font is monospaced. And I try to separate content from style. That's why I move all style information before \starttext and after \starttext comes only content and markup (if possible). Nothing wrong with mixing it, but it's easier to read and easier to change the layout after the fact. I'd write your example as follows. \setuppapersize [A5] \setupexternalfigures [location=default] \setupindenting [yes, small] \setupwhitespace [small] \defineframedtext [prettyblock] [width=10cm, indenting={yes, small}, background=color, backgroundcolor=darkblue, foreground=color, foregroundcolor=white, offset=2mm, align=flushleft] \starttext \startprettyblock \noindentation The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact. It would be happening whether humans had ever evolved or not. \externalfigure[cow][width=1cm] \stopprettyblock Below, we have two separate columns; but up here, for the nonce, we have but the one. \startcolumns [n=2] Text, text, text \dots all in the first column \column Words, words, words \dots all in the second column. And look ye here! Even more words! \stopcolumns \stoptext Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Frame
Hello Lars! Here is my example: \setuppapersize[A5] \setupcolors[state=start] {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not. \externalfigure[cow.pdf][width=1cm]} \setupwhitespace[small] \starttext Below, we have two separate columns; but up here, for the nonce, we have but the one. \startcolumns[n=2] % Two columns, please Text, text, text \dots all in the first column \column Words, words, words \dots all in the second column. And look ye here! Even more words! \stopcolumns \stoptext Why can‘t I see the cow? Many Regards Uschi Von: ntg-context Im Auftrag von Lars Gesendet: Mittwoch, 20. Februar 2019 15:38 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Frame It's the same as with text, but instead of text you put \externalfigure[path/to-figure.pdf][setup=value] inside the parenthesis { }: \setuppapersize[A5] \starttext {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} \blank {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align=middle] {\externalfigure[path/to-figure.pdf][width=.8\textwidth]} \stoptext You don't need the \setupcolors[state=start] command in ConTeXt mkiv by the way. Am 20/02/2019 um 12:31 schrieb Ursula Hermann: Hi Marco! I have another question to Frame. How is the process, if i have to take Figures in a Frame? Sorry, here I have no example, because I dont know, how to write it. Many thanks Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Mittwoch, 20. Februar 2019 11:10 An: 'mailing list for ConTeXt users' <mailto:ntg-context@ntg.nl> Betreff: AW: [NTG-context] Frame Hi, Marco! With colour: \setuppapersize[A5] \setupcolors[state=start] {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} Many Regards Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Mittwoch, 20. Februar 2019 10:44 An: 'mailing list for ConTeXt users' <mailto:ntg-context@ntg.nl> Betreff: AW: [NTG-context] Frame Hello Marco! It works, like I wanted: \setuppapersize[A5] {\framed [width=10cm, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} Thank you for helping Uschi -Ursprüngliche Nachricht- Von: ntg-context <mailto:ntg-context-boun...@ntg.nl> Im Auftrag von Ursula Hermann Gesendet: Dienstag, 19. Februar 2019 14:17 An: mailing list for ConTeXt users <mailto:ntg-context@ntg.nl> Betreff: Re: [NTG-context] Frame Hi Marco! Thanks a lot. Best regards Uschi -Ursprüngliche Nachricht- Von: ntg-context <mailto:ntg-context-boun...@ntg.nl> Im Auftrag von Marco Patzer Gesendet: Dienstag, 19. Februar 2019 14:11 An: ntg-context@ntg.nl<mailto:ntg-context@ntg.nl> Betreff: Re: [NTG-context] Frame On Tue, 19 Feb 2019 13:01:35 + Ursula Hermann <mailto:ursula.herm...@univie.ac.at> wrote: I have: \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] \starttext {Ich bin da.\par Du auch} \stoptext Move the \starttext to the beginning: \starttext \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] {Ich bin da.\par Du auch} \stoptext Marco ___ 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> / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirr
Re: [NTG-context] Frame
Hi Marco! I have another question to Frame. How is the process, if i have to take Figures in a Frame? Sorry, here I have no example, because I dont know, how to write it. Many thanks Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Mittwoch, 20. Februar 2019 11:10 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Frame Hi, Marco! With colour: \setuppapersize[A5] \setupcolors[state=start] {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} Many Regards Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Mittwoch, 20. Februar 2019 10:44 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Frame Hello Marco! It works, like I wanted: \setuppapersize[A5] {\framed [width=10cm, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} Thank you for helping Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Ursula Hermann Gesendet: Dienstag, 19. Februar 2019 14:17 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Frame Hi Marco! Thanks a lot. Best regards Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Marco Patzer Gesendet: Dienstag, 19. Februar 2019 14:11 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Frame On Tue, 19 Feb 2019 13:01:35 + Ursula Hermann wrote: > I have: > \framed > [height=3em, >width=.5\textwidth, >foregroundcolor=red, >framecolor=blue, >rulethickness=2pt, >background=color, >backgroundcolor=green] > \starttext > {Ich bin da.\par Du auch} > \stoptext Move the \starttext to the beginning: \starttext \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] {Ich bin da.\par Du auch} \stoptext Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Frame
Hi, Marco! With colour: \setuppapersize[A5] \setupcolors[state=start] {\framed [width=10cm, background=color,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} Many Regards Uschi -Ursprüngliche Nachricht- Von: Ursula Hermann Gesendet: Mittwoch, 20. Februar 2019 10:44 An: 'mailing list for ConTeXt users' Betreff: AW: [NTG-context] Frame Hello Marco! It works, like I wanted: \setuppapersize[A5] {\framed [width=10cm, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} Thank you for helping Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Ursula Hermann Gesendet: Dienstag, 19. Februar 2019 14:17 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Frame Hi Marco! Thanks a lot. Best regards Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Marco Patzer Gesendet: Dienstag, 19. Februar 2019 14:11 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Frame On Tue, 19 Feb 2019 13:01:35 + Ursula Hermann wrote: > I have: > \framed > [height=3em, >width=.5\textwidth, >foregroundcolor=red, >framecolor=blue, >rulethickness=2pt, >background=color, >backgroundcolor=green] > \starttext > {Ich bin da.\par Du auch} > \stoptext Move the \starttext to the beginning: \starttext \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] {Ich bin da.\par Du auch} \stoptext Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Frame
Hello Marco! It works, like I wanted: \setuppapersize[A5] {\framed [width=10cm, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not.} Thank you for helping Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Ursula Hermann Gesendet: Dienstag, 19. Februar 2019 14:17 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Frame Hi Marco! Thanks a lot. Best regards Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Marco Patzer Gesendet: Dienstag, 19. Februar 2019 14:11 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Frame On Tue, 19 Feb 2019 13:01:35 + Ursula Hermann wrote: > I have: > \framed > [height=3em, >width=.5\textwidth, >foregroundcolor=red, >framecolor=blue, >rulethickness=2pt, >background=color, >backgroundcolor=green] > \starttext > {Ich bin da.\par Du auch} > \stoptext Move the \starttext to the beginning: \starttext \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] {Ich bin da.\par Du auch} \stoptext Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Frame
Hi Marco! Thanks a lot. Best regards Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Marco Patzer Gesendet: Dienstag, 19. Februar 2019 14:11 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Frame On Tue, 19 Feb 2019 13:01:35 + Ursula Hermann wrote: > I have: > \framed > [height=3em, >width=.5\textwidth, >foregroundcolor=red, >framecolor=blue, >rulethickness=2pt, >background=color, >backgroundcolor=green] > \starttext > {Ich bin da.\par Du auch} > \stoptext Move the \starttext to the beginning: \starttext \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] {Ich bin da.\par Du auch} \stoptext Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Frame
I have: \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] \starttext {Ich bin da.\par Du auch} \stoptext The mistake after compiling: Command Line: context.exe --synctex=-1 "Frame ward.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\My Documents mtx-context | run 1: luatex --fmt="C:/texlive/2018/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en" --jobname="Frame ward" --lua="C:/texlive/2018/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./Frame ward.tex" --c:input="./Frame ward.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" "cont-yes.mkiv" This is LuaTeX, Version 1.07.0 (TeX Live 2018/W32TeX) system commands enabled. open source > level 1, order 1, name 'C:/texlive/2018/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2018.04.04 00:51 MKIV beta fmt: 2018.6.15 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name 'C:/texlive/2018/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' close source> level 2, order 2, name 'C:/texlive/2018/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'Frame ward', input './Frame ward', result 'Frame ward' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 2, order 3, name '//ub.univie.ac.at/U_Dom/Users G-L/Hermann/Documents/My Documents/Frame ward.tex' fonts > beware: no fonts are loaded yet, using 'lm mono' in box system > invalid \starttext ... \stoptext structure tex error > tex error on line 1 in file //ub.univie.ac.at/U_Dom/Users G-L/Hermann/Documents/My Documents/Frame ward.tex: ! You can't use `\end' in internal vertical mode \dostoptext ... \writeline }\donothing \normalend l.1 \dostoptext \clf_stoptext ->\luafunction \16>>clf_stoptext l.11 \stoptext 1 >> \framed 2 [height=3em, 3 width=.5\textwidth, 4 foregroundcolor=red, 5 framecolor=blue, 6 rulethickness=2pt, 7 background=color, 8 backgroundcolor=green] 9 \starttext 10 {Ich bin da.\par Du auch} 11 \stoptext ? I wanted to try some frames with text and paragraphs. But there is something wrong, and I dont know why. Many regards Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Frame with Color
High list! Maybe someone can help me. I tried: \setuppapersize[A5] \setupcolors[state=start] \framed [background=color,backgroundcolor=red, foreground=color,foregroundcolor=white frame=off] {\bf Wichtig} What I wanted, is a frame with background= red8 and a white text: Wichtig Many regards Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Changes \setuphead
Hi Wolfgang! Thank you for your mails. Ursula Hermann. -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Wolfgang Schuster Gesendet: Montag, 21. Jänner 2019 22:07 An: mailing list for ConTeXt users ; Otared Kavian Betreff: Re: [NTG-context] Changes \setuphead Otared Kavian schrieb am 21.01.19 um 12:08: > Hi Ursula, > > If you replace the \startsetups[chapter:before] with the following, you > obtain a page without the page number: > > \startsetups [chapter:before] >\doifoddpageelse > {} > {\pushbackground[page] > \setuppagenumbering[state=stop] \page[empty] or \page[header,footer,right] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Changes \setuphead
Hi Otared Thank you, that helped. I have tried the example, as written. Ursula Hermann -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Otared Kavian Gesendet: Montag, 21. Jänner 2019 12:08 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Changes \setuphead Hi Ursula, If you replace the \startsetups[chapter:before] with the following, you obtain a page without the page number: \startsetups [chapter:before] \doifoddpageelse {} {\pushbackground[page] \setuppagenumbering[state=stop] \setupbackgrounds[page][background=color,backgroundcolor=gray] \page[right] \setuppagenumbering[state=start] \popbackground} \stopsetups However probably there is a better way to achieve what you want… Best regards: OK > On 21 Jan 2019, at 11:26, Ursula Hermann wrote: > > Hello List! > > It is a long time ago, that I have written the last mail to you. > Thank you Taco so much, because for the new example of the Recent changes > from 17.January 2019. Because: Modyfying the page before a chapter is > something, that i can need. I mean this one: > > % next five lines just to show the effect on this wiki > \setuppapersize[A8][A5,landscape] \setuppaper[nx=4, ny=2] > \setuplayout[page][location=middle, marking=on] \setuparranging [XY] > \setupbodyfont[6pt] > > % actual example starts here > \setuppagenumbering > [alternative=doublesided] > > \startsetups [chapter:before] > \doifoddpageelse > {} > {\pushbackground[page] > \setupbackgrounds[page][background=color,backgroundcolor=gray] > \page[right] > \popbackground} > \stopsetups > > \setuphead > [chapter] > [page=yes, >before=\directsetup{chapter:before}] > > \starttext > > \startchapter[title={Knuth}] > \dorecurse{2}{\samplefile{knuth}} > \stopchapter > > \startchapter[title={Ward}] > \dorecurse{1}{\samplefile{ward}} > \stopchapter > > \startchapter[title={Zapf}] > \dorecurse{2}{\samplefile{zapf}} > \stopchapter > > > \stoptext > > I have a question: how can I have a empty page before the next chapter > without a page number? Do I have to write: \page =empty. ? > > Ursula Hermann > > > __ > _ If your question is of interest to others as well, > please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > __ > _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___