[NTG-context] Chapter precis
Some old fashioned novels have a chapter précis in the table of contents. In Latex exists the command \chapterprecis to put the text at the beginning of the chapter and in the able of contents. I thought, I can realize this in ConTeXt with \writebetweenlist[chapter]{XYZ} or with \weitetolist[chapter]{XYZ} But both produce only a fatal error. What’s wrong here? Thanks für help! WH ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Chapter precis
The example works for me too. But the command doesn’t work in my file. I can’t find out why. On 28 Aug 2014, at 16:46, Wolfgang Schuster wrote: Am 28.08.2014 um 16:17 schrieb Werner Hintze w.hin...@posteo.eu: Some old fashioned novels have a chapter précis in the table of contents. In Latex exists the command \chapterprecis to put the text at the beginning of the chapter and in the able of contents. I thought, I can realize this in ConTeXt with \writebetweenlist[chapter]{XYZ} or with \weitetolist[chapter]{XYZ} But both produce only a fatal error. What’s wrong here? Hard to tell without a example which demonstrates the error because the following works for me. \starttext \completecontent \chapter{This is a chapter} \writetolist[chapter]{}{This is a summary of the chapter with \tex{writetolist}.} \writebetweenlist[chapter][location=here]{This is a summary of the chapter with \tex{writebetweenlist}.} \chapter{This is another chapter} \stoptext 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Chapter precis
Hmm... That’s really strange, What I did: 1. I deleted the line with \writebetweenlist and compiled the file. It worked. 2. I put back the line and triode to compile - fatal error 3. I commented out all the lines which had something to do with the table of contend - fatal error 4. I changed all back - fatal error (as expected) 5. I commented out all the lines in my project files (all the lines with \input and compiled and got an empty file witour errors. 6. I deleted the comment signs one after the other and compiled every time - no error 7. All was how it was, so I entered the \writebetweenlist (absolutely the same: copy and paste) and ... Tatarata! It works... An enigma. I effectively changed nothing, all is now as it was before. Very, very strange... Anyway: It works. Thanks for the help! WH On 28 Aug 2014, at 16:46, Wolfgang Schuster wrote: Am 28.08.2014 um 16:17 schrieb Werner Hintze w.hin...@posteo.eu: Some old fashioned novels have a chapter précis in the table of contents. In Latex exists the command \chapterprecis to put the text at the beginning of the chapter and in the able of contents. I thought, I can realize this in ConTeXt with \writebetweenlist[chapter]{XYZ} or with \weitetolist[chapter]{XYZ} But both produce only a fatal error. What’s wrong here? Hard to tell without a example which demonstrates the error because the following works for me. \starttext \completecontent \chapter{This is a chapter} \writetolist[chapter]{}{This is a summary of the chapter with \tex{writetolist}.} \writebetweenlist[chapter][location=here]{This is a summary of the chapter with \tex{writebetweenlist}.} \chapter{This is another chapter} \stoptext 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Chapter precis
Yes. I did. Before and now. But I think, writebetweenlist is not what I’m looking for. I try now with \writetolist[section] and to give the section list the desired format. That seems not easy, because the text now runs on the whole line, this means also in the region, where the page numbers are. It should terminate before, where the line of dots terminates or so. I see no parameter for this width seems ti be not the right one (it seems, width has no visible effect at all). On 28 Aug 2014, at 17:22, Wolfgang Schuster wrote: Am 28.08.2014 um 17:17 schrieb Werner Hintze w.hin...@posteo.eu: Hmm... That’s really strange, What I did: I deleted the line with \writebetweenlist and compiled the file. It worked. I put back the line and triode to compile - fatal error I commented out all the lines which had something to do with the table of contend - fatal error I changed all back - fatal error (as expected) I commented out all the lines in my project files (all the lines with \input and compiled and got an empty file witour errors. I deleted the comment signs one after the other and compiled every time - no error All was how it was, so I entered the \writebetweenlist (absolutely the same: copy and paste) and ... Tatarata! It works... An enigma. I effectively changed nothing, all is now as it was before. Very, very strange… Do you set all three arguments for \writebetweenlist, i.e. \writebetweenlist[…]{…}{…} 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Chapter precis
Sorry. I don’t understand. If I use maxwidth (line 2 without the %), I get just one truncated line of the text. But I’d like to have all the text, somewhat indented on both sides, but not truncated. But why is the text without maxwidth indented on the right? Werner On 28 Aug 2014, at 17:57, Wolfgang Schuster wrote: Am 28.08.2014 um 17:46 schrieb Werner Hintze w.hin...@posteo.eu: Yes. I did. Before and now. But I think, writebetweenlist is not what I’m looking for. I try now with \writetolist[section] and to give the section list the desired format. That seems not easy, because the text now runs on the whole line, this means also in the region, where the page numbers are. It should terminate before, where the line of dots terminates or so. I see no parameter for this width seems ti be not the right one (it seems, width has no visible effect at all). You can use the maxwidth key to set a limit for the width of the list entry. \definelist[chaptertext] %\setuplist [chaptertext][maxwidth=8cm] \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Chapter precis
Aha. I see. So it may work. But I just recalled how to achieve the same result with Latex and Memoir... And I decided to sleep one night and if then my feeling ist the same as now, I'll turn back to Latex. I’m too stupid for such a complicated tool as ConTeXt. I know that it is much better als Latex, but I don’t understand it. It’s now a year that I use it frequently and I have the impression that I made not a single step forward. Let’s see what the morning brings and says ;) Thank you all for all your help! Werner On 28 Aug 2014, at 18:53, Wolfgang Schuster wrote: Am 28.08.2014 um 18:17 schrieb Werner Hintze w.hin...@posteo.eu: Sorry. I don’t understand. If I use maxwidth (line 2 without the %), I get just one truncated line of the text. But I’d like to have all the text, somewhat indented on both sides, but not truncated. But why is the text without maxwidth indented on the right? When you enable the pagenumber context puts some space between the number and the text. \definelist[chaptertext] \setuplist [chaptertext][margin=2em,pagecommand=\gobbleoneargument] %\setuplist [chaptertext][margin=2em,pagenumber=no] \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fany break - no solution?
Oh. Sorry. It’s to early in the morning... ;) But now all is well. Very strange. I did the first command several times before. An enigma. Anyway: Now it works. Thanks to all for the help and – especially – the patience ;-) W. On 24 Aug 2014, at 8:38, Akira Kakuto wrote: The first and the second line are processed without problems. The third command produces some output and hangs then after ?language 'en‘ is enabled?. After terminating with ^C, I get this: Sorry. You should first make and edit the files mkiiexample.tex and mkivexample.tex in the current directory. Thanks, Akira ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Fany break - no solution?
May be it’s my fault, but I didm’ see any solution for this strange problem with the fancy break module. I must say that I didn’t the end of the conversation because it was to technical. So I don’t know yet: Is it my fault, must I change something? Or is it a problem with TexLive? Who can tell me what to do? Thanks! ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fany break - no solution?
The first and the second line are processed without problems. The third command produces some output and hangs then after »language 'en‘ is enabled«. After terminating with ^C, I get this: tex errorerror on line 4 in file /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv: ! I can't find file `! I can't find file `./mkivexa} \luat_start_lua_code_indeed .} \luat_start_lua_code_indeed ...xpanded {\endgroup \noexpand \directlua {#1}} l.91 \stopluacode (Press Enter to retry, or Control-D to exit)Please type another input file name: ! Emergency stop l.4 } } context.finishjob()s.* } \luat_start_lua_code_indeed ...nd \directlua {#1}} l.91 \stopluacode And now? I installed TexLive some days ago on the new formatted hard disk and in the new installed OS X... On 24 Aug 2014, at 7:49, Akira Kakuto wrote: Who can tell me what to do? Try on the terminal /usr/local/texlive/2014/bin/x86_64-darwin/context --generate /usr/local/texlive/2014/bin/x86_64-darwin/texexec mkiiexample.tex /usr/local/texlive/2014/bin/x86_64-darwin/context mkivexample.tex If the path is different, use your own path. Best, Akira ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fancybreak - no hope?
On 19 Aug 2014, at 19:02, Hans Hagen wrote: I see no message that the module is loaded which is weird. But your format is from may, so are you sure you use the latest versions of all? I installed TexLive some days before from scratch because I made a reinstall for my Mac. This moment I looked for updates, but there was nothing So I think, it is the newest version. Can you try the version from the contextgarden? You mean the stand alone version? This one works without problems. It’s just the TextLive version which makes problems. ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fancybreak - no hope?
On 19 Aug 2014, at 19:16, Wolfgang Schuster wrote: It’s a bug in the commands.usemodules function in file-mod.lua which sets a wrong status value when you try to load a notexsitend file. With your minimal example I get the message »file not found«. Does this mean, that context doesn’t find the module fancybreak? And what can I do? It’s in the right place – I believe... ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Intsalling modules - once more
I made a new step: I found out how to change the script in Texnicle. It was for MKII, now I changed it to MKIV. It works well now. The problem is just the module fancybreak. When I try to use it, I get the message »Undefined control sequence«. Some lines before I find: »resolvers modules 'fancybreak' is already loaded«. This doesn’t happen with the stand alone. What is wrong here? On 18 Aug 2014, at 19:40, Wolfgang Schuster wrote: Am 18.08.2014 um 19:03 schrieb Werner Hintze w.hin...@posteo.eu: On 18 Aug 2014, at 18:17, Aditya Mahajan wrote: MkIV will not load .mkii files. What is the exact command that you use to run context? Aha! You found the point! I use Texnicle as editor and the context engine Texnicle provides. It calls texexec... But it’s not enough to put here context. The problem remains, that I get the message, that fancy break is undefined. What happens when you process this example with Texnicle: \usemodule[fancybreak] \starttext \input knuth \fancybreak{$***$} \input ward \stoptext 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Fancybreak - no hope?
Hi Wolfgang, I forgot to tell, what happes, when I try to compile your example. It’s just the same: There is a message in the log file: »Module already loaded« and the next one about fancybreak is »undefined control sequence«. What can this mean? Here is the log: open source 1 1 /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.8.19 int: english/english system 'cont-new.mkiv' loaded open source 2 2 /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv close source 2 2 /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv system files jobname 'Untitled', input './Untitled', result 'Untitled' fontslatin modern fonts are not preloaded languageslanguage 'en' is active open source 2 3 /Users/whintze/Desktop/LatexTests/Untitled.tex resolversmodules 'fancybreak' is already loaded fontspreloading latin modern fonts (second stage) fonts'fallback modern-designsize rm 12pt' is loaded open source 3 4 /usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex close source 3 4 /usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex tex errorerror on line 7 in file /Users/whintze/Desktop/LatexTests/Untitled.tex: ! Undefined control sequence l.7 \fancybreak {$***$} 1 \usemodule[fancybreak] 2 3 \starttext 4 5 \input knuth 6 7 \fancybreak{$***$} 8 9 \input ward 10 11 \stoptext ? tex errorerror on line 7 in file /Users/whintze/Desktop/LatexTests/Untitled.tex: ! Emergency stop ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fancybreak - no hope?
Something I want to add: Now the problem has no more to do with Tdexnicle. I corected the script, and it works well now. When I don't use it, but make in the termini context filename.tex, I get the same error message. On 19 Aug 2014, at 16:52, Werner Hintze wrote: Hi Wolfgang, I forgot to tell, what happes, when I try to compile your example. It’s just the same: There is a message in the log file: »Module already loaded« and the next one about fancybreak is »undefined control sequence«. What can this mean? Here is the log: open source 1 1 /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.8.19 int: english/english system 'cont-new.mkiv' loaded open source 2 2 /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv close source 2 2 /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv system files jobname 'Untitled', input './Untitled', result 'Untitled' fontslatin modern fonts are not preloaded languageslanguage 'en' is active open source 2 3 /Users/whintze/Desktop/LatexTests/Untitled.tex resolversmodules 'fancybreak' is already loaded fontspreloading latin modern fonts (second stage) fonts'fallback modern-designsize rm 12pt' is loaded open source 3 4 /usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex close source 3 4 /usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex tex errorerror on line 7 in file /Users/whintze/Desktop/LatexTests/Untitled.tex: ! Undefined control sequence l.7 \fancybreak {$***$} 1 \usemodule[fancybreak] 2 3 \starttext 4 5 \input knuth 6 7 \fancybreak{$***$} 8 9 \input ward 10 11 \stoptext ? tex errorerror on line 7 in file /Users/whintze/Desktop/LatexTests/Untitled.tex: ! Emergency stop ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Intsalling modules - once more
If nobody can tell me how to install the module ”fancybreak« on Mac OS (may be the question is too stupid), can anybody tell me where I find the needed information? The wiki doesn't help me because I don’t know $TEXMF. Thanks! WH P.S.: I had no problem to install the module in the stand alone version. The problem is about the »normal« distribution (TexLive). ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Intsalling modules - once more
Thank you. The files are in the right places, I believe, it was only »sudo mktexlsr« lacking. (This is not mentioned in the wiki. Unforunately it doesn't help. Now the module is found, but I get an error message when it is used. This seems to be an issue with the TextLive distribution, because it works fine with the stand alone. So I stick with t stand alone... ;) Anyway: Thank you for your help. W. On 18 Aug 2014, at 10:55, Akira Kakuto wrote: If nobody can tell me how to install the module ”fancybreak« on Mac OS ... It may be OK by the following: After checking files /usr/local/texlive/texmf-local/doc/context/third/fancybreak/fancybreak-doc.pdf /usr/local/texlive/texmf-local/doc/context/third/fancybreak/README /usr/local/texlive/texmf-local/tex/context/interface/third/t-fancybreak.xml /usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkii /usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkvi (1) sudo mktexlsr (2) context --generate Best, Akira ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Intsalling modules - once more
I don’t know if I use MKII or not. I understood that not. But in the log file I see something about the module for MKII: system : module fancybreak (mkii) loaded (/usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkii loading : ConTeXt User Module / Fancybreak ) regime : unknown regime de, utf check : missing or ungrouped '=' after 'medium' in line 60 (@@dseinru eckung) ! Missing number, treated as zero. to be read again e \currentindentation -e inrueckung \assigndimension ...xpandafter \endcsname \else #1 \expandafter \gobblethreea... \simplesetupindenting ...ndentation \ctxparindent {1em}{1.5em}{2em} \next1 #1,-\docomplexsetupindentingA {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.61 \setupindenting[einrueckung] ? ! Emergency stop. No idea what this means. Anyway: It means that I can’t use it with context in TexLive, but with the stand alone. So I can use it as before and all is well. On 18 Aug 2014, at 15:31, Aditya Mahajan wrote: On Mon, 18 Aug 2014, Werner Hintze wrote: Thank you. The files are in the right places, I believe, it was only »sudo mktexlsr« lacking. (This is not mentioned in the wiki. Unforunately it doesn't help. Now the module is found, Are you using MkII? mktexlsr should not be needed for MkIV. You can find the values of TEXMF (or any other variable set in texmf.cnf or texmfcnf.lua) by For MkII kpsewhich --expand-var \$TEXMF For MkIV mtxrun --expand-var TEXMF Aditya___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Intsalling modules - once more
On 18 Aug 2014, at 15:42, Wolfgang Schuster wrote: You can unzip the content of the zip-file in your local tex tree. This was my first try. And the first time I saw the message »module not found«. After this I looked in the wiki and used the other path (/usr/local etc.) — with the same result »module not found«... ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Intsalling modules - once more
On 18 Aug 2014, at 16:56, Wolfgang Schuster wrote: Your problem is the line above where you use “einrueckung” as keyword for \setupindenting which is invalid and causes the error message. Aha. Strange. When I use the stand alone version, this is no problem. And if I comment out the lines with »einrueckung« (it’s no illegal, I defined it), I get the message, that \defineconversionset is illegal. But there is no problem if I use the stand alone version. Hmm... ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Intsalling modules - once more
Well: I use MKIV. On 18 Aug 2014, at 17:05, Aditya Mahajan wrote: On Mon, 18 Aug 2014, Werner Hintze wrote: I don’t know if I use MKII or not. (Simplified version). If you compile the file using `context filename` you are using MkIV; if you compile the file using `texexec filename` you are using MkII. Unless you have a really good reason to stick to MkII (legacy code, etc), use MkIV. Aditya___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Intsalling modules - once more
On 18 Aug 2014, at 18:17, Aditya Mahajan wrote: MkIV will not load .mkii files. What is the exact command that you use to run context? Aha! You found the point! I use Texnicle as editor and the context engine Texnicle provides. It calls texexec... But it’s not enough to put here context. The problem remains, that I get the message, that fancy break is undefined. OK. That’s enough. I stay with the stand alone version. I don’t know why, but it works. (It was just the point that I have two times context on my hard disk. I could delete LaTeX, but I fell the moment apporaching when I turn back to LaTeX. It’s a pity... Context is by far the better system – in all points but one: If one don’t know how to use it, one will never know...) Anyway: Thanks for the help. W. ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Installing modules
I would like to use the module fancy break. I downloaded the module and have now a directory »t-facybreak-2013« which contains the subdirectories »doc« and »tex«. If I understand the website text well, I must go to the directory which is in the variable $TEXMF. But it seems, there is no such variable. »ECHO $TEXMF« brings an empty line. I found a directory /usr/local/texlive/texmf-local/tex/context where I put the directory »third« from the module directory. Then I made context --generate. The effect is zero: I get the message »Module not found«. Can anybody tell me how to install this module? Thanks WH ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] interaction (mailto) query
Just put \%20 for for a space: »A\%20subject\%20with\%20spaces« On 16 Jul 2014, at 16:55, Alan Bowen wrote: Many thanks, Peter. This works well but only if I do not have spaces in the fields for “body=” etc. How did you get around this limitation? (I am running ConTeXt ver: 2014.07.11 12:20 MKIV beta.) All best, Alan On Wed, Jul 16, 2014 at 8:28 AM, Peter Münster pmli...@free.fr wrote: On Wed, Jul 16 2014, Peter Rolf wrote: Am 16.07.2014 13:27, schrieb Alan Bowen: To open a new email message in the user’s email client, I have \useURL [xxx] [mailto:x...@yyy.org mailto:x...@yyy.org] [mailto:x...@yyy.org?subject=foo] And if you need a newline in the body: [mailto:x...@yyy.org?subject=my subjectbody=Hi Peter,\%0ABye] -- Peter ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] sections without numbering
Hi Philipp, I don’t know what happened: I believe I started a new thread with a new subject. My mail program makes sometimes strange things… Anayway. Thanks for your response. In the meantime I found another solution: \starttext \define[2]\MyChapter {#1.\,Kapitel: #2} \setuphead [chapter] [command=\MyChapter, page=no] \startchapter [title=Die ersten Menschen] \input knuth \stopchapter \startchapter [title=Mehr von den ersten Menschen] \input knuth \stopchapter \stoptext But you helped me to unterstand better what happens here. Thank you and best regards Werner *** ☞ Werner Hintze ● Auerstraße 1 ● D-10249 Berlin ☜ Fon: +49 (30) 42 73 485 ● Mob: +49 (160) 94 68 76 60 *** On 13 Jul 2014, at 9:03, Philipp Gesang wrote: Hello Werner! · I can’t figure out how to change the chapter heading. More important: I have no idea where to find the needed information. What I want to see is for example: Kapitel: Blablabla Several unnumbered structures are predefined. \setuphead [subject] [before=Kapitel~] \starttext \startsubject [title=foo] \input knuth \stopsubject \stoptext If you wish for the styles of the label and the title to match, you’ll have to assign them manually: \definealternativestyle [subjectstyle] [\italic \tfd] \setuphead [subject] [ style=subjectstyle, before=\bgroup \subjectstyle Kapitel~\egroup, ] \starttext \startsubject [title=foo] \input knuth \stopsubject \stoptext The reason as to why this isn’t as easy as \setuplabeltext [chapter=Kapitel] \setuphead [chapter] [number=no] is that the section label is treated as part of the number. Consequently, Context exposes no option to typeset the label independently. However, it can be made work by passing an appropriate command that omits the number: \setuplabeltext [chapter=Kapitel] \setuphead [chapter] [deepnumbercommand=\gobbleoneargument] \starttext \startchapter [title=foo] \input knuth \stopchapter \stoptext Where can I find these informations? In the manual [0]. The \title and \subject structurals even made the second place on the “top ten” ladder of important commands (cf. section 1.10). The numberless versions also feature promintently on the wiki [1]. PS Next time you ask a new question, please open a new thread with an adequate subject to keep the list tidy. Best regards, Philipp [0] http://wiki.contextgarden.net/ConTeXt_reference_manual [1] http://wiki.contextgarden.net/Titles#Default 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] sections without numbering
Aha. I see. Two possibilities more. But I forgot another problem. All these solutions give me »1.2. Kapitel« - »1.2. Kapitel« etc. if it’s the first part. I don’t unterstand the mechanism and so I don’t know where to look for the solution. On 13 Jul 2014, at 11:38, Wolfgang Schuster wrote: Am 13.07.2014 um 09:23 schrieb Werner Hintze w.hin...@posteo.eu: Hi Philipp, I don’t know what happened: I believe I started a new thread with a new subject. My mail program makes sometimes strange things… Anayway. Thanks for your response. In the meantime I found another solution: \starttext \define[2]\MyChapter {#1.\,Kapitel: #2} \setuphead [chapter] [command=\MyChapter, page=no] \setuphead [chapter] [numbercommand=\groupedcommand{}{ Kapitel:},page=no,sectionstopper=.] or \setuplabeltext[en][chapter={, Kapitel:}] \setuphead [chapter] [page=no,sectionstopper=.] 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] running PlainTeX from beta
I can’t figure out how to change the chapter heading. More important: I have no idea where to find the needed information. What I want to see is for example: Kapitel: Blablabla I believe this works somehow with setuphead, but in the Manual I find just the list of options and the sentence »many of this options will be explained later«, but no hing when and where. The Wiki doesn’t help either. The best I can get is: 1.1 Blablabla But hat’s not what I need… I’m sure this is a stupid question, but I’m looking since some hours for a solution and didn’t make the sloghtest progress… Where can I find these informations? ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Poem with long verses
I can’t figure out how to typeset poems with very long verses. I know that I can use the lines environment for verses, but if a verse is long, it must be broken and the second line must be indented. It seems that the lines environment doesn’t wllow this. Anayway I would prefer a solution which avoids the lines environment. This means I would like to define two commands: \startVerse and \stopVerse. But I find no solution. How can this be realized in Kontext? In LaTeX with memoir it’s really easy. ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Sectionnumbering
I would like to give my own numbers to several chapters. I made this: \setuphead[chapter] [ownnumber=yes] \starttext \part{Erster Teil} \chapter{3}{Anfang} \chapter{6}{Weiter} \stoptext But the result is not the dired one. I want to have: 3 Anfang 6 Weiter But I get 1.3 Anfang 1.6 Weiter How can I suppress the part number? I searched for two hours or more in the Manual und on the web page and couldn’t find a hint... ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Sectionnumbering
Thank you! It works. But I don't unterstand why. Where can I find informaitons about »setcionsegments«? The wiki seems to have nothing... 2014-05-27 15:42 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com: Am 27.05.2014 um 15:37 schrieb Werner Hintze w.hin...@me.com: I would like to give my own numbers to several chapters. I made this: \setuphead[chapter] [ownnumber=yes] \starttext \part{Erster Teil} \chapter{3}{Anfang} \chapter{6}{Weiter} \stoptext But the result is not the dired one. I want to have: 3 Anfang 6 Weiter But I get 1.3 Anfang 1.6 Weiter How can I suppress the part number? I searched for two hours or more in the Manual und on the web page and couldn’t find a hint… You can use the sectionsegments key to choose the counter which are displayed for the header. \setuphead [chapter] [ownnumber=yes, sectionsegments=chapter] 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] I'm too studpid for Context...
Thank you. But I still Don’t unterstand. I believe, I can write so: \definefontfamily [myfamily] [serif] [Palatino] \setupbodyfont[myfamily, 10pt] But then I have no italics, bold or small caps. When I write only: \setupbodyfont[palatino, 10pt] all is well. What’ wromg here? On 23 May 2014, at 19:23, Wolfgang Schuster wrote: Am 23.05.2014 um 19:14 schrieb Werner Hintze we.hin...@gmail.com: I believe, it is possible to use in Conext the otf-fonts I have in my computer. I generated the database, the quert shows me, that the font is there, but I can not get it in my file. And when I read the chapter in the Manual or whatever I can find, I read a lot about Typescripts and unterstand absolutely nothing. I find how to make a typescript for palatino, which makes no difference, but I don’t unterstand why I shall make a typescript and how. Is there a text which tells step by step what I have to so and why? Now the situation is: I have a lot of Fonts and can use just four. That was much easier with LaTeX… The context suite provides the \definefontfamily command which let you select a font (the name of the font goes into the third argument) without the need to write a typescript. Below is a example where I used fonts from my ms office installation. \definefontfamily [myfontcollection] [serif] [Cambria] \definefontfamily [myfontcollection] [sans] [Calibri] \definefontfamily [myfontcollection] [mono] [Consolas] \definefontfamily [myfontcollection] [math] [Cambria Math] \setupbodyfont[myfontcollection] \starttext {\rm\input ward } {\ss\input ward } {\tt\input ward } \startformula c^2 = a^2 + b^2 \stopformula \stoptext 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] I'm too studpid for Context...
Aha! Thank you. Now it’s little bit more clear. I use Mac OS X. Have a nice weekend! On 24 May 2014, at 13:02, Wolfgang Schuster wrote: Am 24.05.2014 um 12:51 schrieb Werner Hintze we.hin...@gmail.com: Thank you. But I still Don’t unterstand. I believe, I can write so: \definefontfamily [myfamily] [serif] [Palatino] \setupbodyfont[myfamily, 10pt] But then I have no italics, bold or small caps. Which system do you use? When I use the default palatino font from OS X only the upright style is shown because there is a bug in the fontloader when the font is in ttc or font format. When I write only: \setupbodyfont[palatino, 10pt] all is well. What’ wromg here? In this case context uses the tex gyre patella font (a palatino clone), you can load it with the \definefontfamily command when you write \definefontfamily […] […] [TeX Gyre Pagella] 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] I'm too studpid for Context...
I believe, it is possible to use in Conext the otf-fonts I have in my computer. I generated the database, the quert shows me, that the font is there, but I can not get it in my file. And when I read the chapter in the Manual or whatever I can find, I read a lot about Typescripts and unterstand absolutely nothing. I find how to make a typescript for palatino, which makes no difference, but I don’t unterstand why I shall make a typescript and how. Is there a text which tells step by step what I have to so and why? Now the situation is: I have a lot of Fonts and can use just four. That was much easier with LaTeX... ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setnumber
I don’t unterstand \startfrontmatter, \starbodymatter etc. I thought, the frontmatter has roman numerals, the bodymatter normal and so on. This is not automatically so. Now founf how to make this, bus the problem is: I can’t reset the page number. I believed, it shoul work like this: \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] % some stuff \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers] \setnumber[page]{1} %some stuff \stopbodymatter This doesn’t work, may be because \setnumber is not a command in ConTeXt? Where is my error?___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setnumber
Thank you! This works. But tell me: How do you know this? The manual and the website don’t explain it this way… Best regards Werner On 22 May 2014, at 12:16, Otared Kavian wrote: Hi, In fact you should use \setupuserpagenumber[number=1] as in the following example: begin example \starttext \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers] \setupuserpagenumber[number=1] \input ward.tex \stopbodymatter \stoptext end example Best regards: OK On 22 May 2014, at 11:37, Werner Hintze we.hin...@gmail.com wrote: I don’t unterstand \startfrontmatter, \starbodymatter etc. I thought, the frontmatter has roman numerals, the bodymatter normal and so on. This is not automatically so. Now founf how to make this, bus the problem is: I can’t reset the page number. I believed, it shoul work like this: \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] % some stuff \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers] \setnumber[page]{1} %some stuff \stopbodymatter This doesn’t work, may be because \setnumber is not a command in ConTeXt? Where is my error? ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setnumber
Thank you once more! This looks better. It’s a pity that such things are not »wikified«… ;) But there is a new surprise: What is knute.tex, ward.tex and tufte.tex? Are there more of those texte? And how does one finde them? On 22 May 2014, at 12:32, Otared Kavian wrote: Actually the issue was discussed some time ago and Wolfgang Schuster explained that. In fact after sending you the previous answer I realized that he explained also that the right way is to use \defineconversionset and then reset the userpagenumber when necessary: look at the following example: begin example \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber] [][numbers] \defineconversionset[backpart:pagenumber] [][characters] \starttext \startfrontmatter \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber[number=1] \input ward.tex \stopbodymatter \startbackmatter \setupuserpagenumber[number=1] \input tufte.tex \stopbackmatter \stoptext end example It would be nice to wikify things each time one learns something… Best regards: OK On 22 May 2014, at 12:24, Werner Hintze we.hin...@gmail.com wrote: Thank you! This works. But tell me: How do you know this? The manual and the website don’t explain it this way… Best regards Werner On 22 May 2014, at 12:16, Otared Kavian wrote: Hi, In fact you should use \setupuserpagenumber[number=1] as in the following example: begin example \starttext \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] \input knuth.tex \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers] \setupuserpagenumber[number=1] \input ward.tex \stopbodymatter \stoptext end example Best regards: OK On 22 May 2014, at 11:37, Werner Hintze we.hin...@gmail.com wrote: I don’t unterstand \startfrontmatter, \starbodymatter etc. I thought, the frontmatter has roman numerals, the bodymatter normal and so on. This is not automatically so. Now founf how to make this, bus the problem is: I can’t reset the page number. I believed, it shoul work like this: \startfrontmatter \setupuserpagenumber[numberconversion=Romannumerals] % some stuff \stopfrontmatter \startbodymatter \setupuserpagenumber[numberconversion=numbers] \setnumber[page]{1} %some stuff \stopbodymatter This doesn’t work, may be because \setnumber is not a command in ConTeXt? Where is my error? 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setnumber
This is the problem: It works, but I don’t unterstand why. I make just my first steps with ConTeXt… Anyway: I found out, that this is the best solution: \defineconversionset[frontpart:pagenumber][][romannumerals] \defineconversionset[bodypart:pagenumber][][numbers] \defineconversionset[backpart:pagenumber] [][characters \defineconversionset[appendix:pagenumber][][Characters] \setupuserpagenumber[numberconversionset=pagenumber,way=byblock] Now it’s not nessecary to reset the pagenumber. Thanks for the hint about the Sample texts. Best regards. WH On 22 May 2014, at 12:56, Otared Kavian wrote: On 22 May 2014, at 12:44, Werner Hintze we.hin...@gmail.com wrote: Thank you once more! This looks better. It’s a pity that such things are not »wikified«… ;) Once you think you have well understood something do not hesitate to wikify it… But there is a new surprise: What is knute.tex, ward.tex and tufte.tex? Are there more of those texte? And how does one finde them? Look where you have installed the ConTeXt tree, in the following directory tex/texmf-context/tex/context/sample you’ll find some other sample files which can be input for testing: they are very useful! Best regards: OK ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Fwd: Oldstyle numbers
I’m new to ConText and so my question may be a stupid one. But I hope somebody can help me: How can I activate »old style numbers« (Medievalziffern). I thought, it should work like this: \setupbodyfont[palatino, 10pt] \definefontfeature [default] [default] [onum=yes] But this doesn’t work. What do I have to do? Many thanks for your help! ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Blindtext
And just another strange question: Is there any command like \blindtext (or \blinddocument) in LaTeX? I just try to figure out how Kontext works, and so it would ne fine to have some texte every time available. (I can put some text from everywhere, but the blindtext package is much more comfortable.) Thank you! ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Blindtext
It’ a command which inserts some nonsense text where I put it. I Latex I can chose how many paragraphs I want to have and can even setuo a whole document with chapters, sections etc. It’s fine for Testung Layouts and font settings. On 21 May 2014, at 11:04, Hans Hagen wrote: On 5/21/2014 10:59 AM, Werner Hintze wrote: And just another strange question: Is there any command like \blindtext (or \blinddocument) in LaTeX? I just try to figure out how Kontext works, and so it would ne fine to have some texte every time available. (I can put some text from everywhere, but the blindtext package is much more comfortable.) What is \blindtext ? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Oldstyle numbers
Wow! Thank you. Now I unterstand. On 21 May 2014, at 11:06, Hans Hagen wrote: On 5/21/2014 10:58 AM, Werner Hintze wrote: I’m new to ConText and so my question may be a stupid one. But I hope somebody can help me: How can I activate »old style numbers« (Medievalziffern). I thought, it should work like this: \setupbodyfont[palatino, 10pt] \definefontfeature [default] [default] [onum=yes] But this doesn’t work. What do I have to do? first redefine the feature, then load the bodyfont, so swap these commands Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Blindtext
Aha. Thank you. I unterstand that there is a solution, but I don’t unterstand it. Anyway: There are lots of more important things in ConTeXt I don’t understand yet – and may be never will unterstand. (For example how to use Fonts.) Thanks for your help and have a nice day! On 21 May 2014, at 11:29, Hans Hagen wrote: On 5/21/2014 11:08 AM, Werner Hintze wrote: It’ a command which inserts some nonsense text where I put it. I Latex I can chose how many paragraphs I want to have and can even setuo a whole document with chapters, sections etc. It’s fine for Testung Layouts and font settings. \usemodule[visual] \starttext some \fakewords{4}{8} here \fakelines{3}{5} \stoptext or \usemodule[ipsum] you can run : context --global m-ipsum.mkiv to get an idea about that one On 21 May 2014, at 11:04, Hans Hagen wrote: On 5/21/2014 10:59 AM, Werner Hintze wrote: And just another strange question: Is there any command like \blindtext (or \blinddocument) in LaTeX? I just try to figure out how Kontext works, and so it would ne fine to have some texte every time available. (I can put some text from everywhere, but the blindtext package is much more comfortable.) What is \blindtext ? Hans |Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands | tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com http://www.pragma-ade.com | 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 mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___