Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Jean-Pierre Delange
Hi Aditya, Fabrice and others, I didn't know that the solution was to compile dm-1.tex with a call to MyLayout.mkvi. The file compile perfectly with \environment MyLayout command... JP - Mail original - De: "Aditya Mahajan" À: "mailing list for ConTeXt users"

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Jeong Dal
Dear Fabrice, I tried to compile your example, but not succeed. I am sorry that I couldn’t tell you what is the problem. Here is the part of the log file. One thing that I don’t understand is why it reads ##title and ##number, … Is it normal in log file? I hope that experts correct your

Re: [NTG-context] unwanted space after \in

2017-08-19 Thread Alan Bowen
Thanks, Aditya. Using \goto works better. I have been abusing \reference for some time now, mainly to mark the end of a file in order to generate page numbers: E.g., \reference[EOF]{} just before \stoptext or \stopcomponent with \at[EOF]. This has worked for getting the page range of a chapter or

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Fabrice Couvreur
Hi Aditya, Thank you very much !! I did not know that it was necessary to use \environment instead of \component, it is probably in the documentation Fabrice 2017-08-19 12:35 GMT+02:00 Aditya Mahajan : > On Sat, 19 Aug 2017, Fabrice Couvreur wrote: > > Hello, >> I have tried

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Fabrice Couvreur
Hello, I have tried many approaches, but it still does not work. Everything is passed to the dm-1.tex file (font, footer) but not the header. Have you tested the files, does it work for you ? Sorry to insist, but I really need this way of doingThank you Fabrice ## MyLayout.mkvi ##