[NTG-context] Problem with a macro

2018-02-11 Thread Fabrice Couvreur
Hi Hans, The macro that you proposed me worked very well but since my update of context standalone, it does not work any more. Thank you. Fabrice \setupmathextensible[integral][rightoffset=-3mu,exact=yes,factor=2] \unexpanded\def\integ#1#2#3{\math{\autointegral{#1}{#2}{#3}\diff x}} \starttext

Re: [NTG-context] To \getbuffer or to \input: which one is it better?

2018-02-11 Thread Hans Hagen
On 2/11/2018 8:49 AM, Otared Kavian wrote: On 10 Feb 2018, at 17:56, Hans Hagen wrote: On 2/10/2018 4:10 PM, Otared Kavian wrote: […] buffers are quite efficient as they never see the file system while input reads the file each time .. both are fresh reads so they obey

Re: [NTG-context] placing a wide float at the bottom

2018-02-11 Thread Henning Hraban Ramm
Am 2018-02-10 um 18:03 schrieb Rik Kabel : > On 2018-02-10 10:00, Henning Hraban Ramm wrote: >> \placefigure[bottom]{}{\externalfigure[hacker][width=\textwidth]} >> works just fine, >> I get "top" placement with >>

[NTG-context] Bug with module pgfplots ?

2018-02-11 Thread Fabrice Couvreur
Hello, Following a standalone context update, all files that use the pgfplots module produce the following error message : tex error > tex error on line 85 in file /home/fab/ntg77.tex: ! You can't use `the character 7' after \the 7 \pdflastobj ->\pdffeedback lastobj /pgfpat4\space \the

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Fabrice Couvreur
Hi Otared, I also found that by removing this line, it worked. However, if Hans proposed this macro, this line should have utility no ? Fabrice 2018-02-11 10:01 GMT+01:00 Otared Kavian : > Hi Fabrice, > > If you remove the line >

Re: [NTG-context] Typesetting an interview

2018-02-11 Thread Henning Hraban Ramm
I’d loved to use some clean code, but since I didn’t manage on my own, I resolved to this somewhat ugly setup: \def\doStartInt[#1]{\testpage[2]% \noindent\emph{#1}\par\gobblespacetokens% \startnarrower[left]\noindent\gobblespacetokens} \def\startInt{\dosingleempty\doStartInt}

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Jeong Dal
Dear Otared, As you said, it is working well. However, the numbers 1, 4 located at the top and the bottom of the integral sign which is not usual in math. I have seen a discussion about such an output, but I may not see the result which I want. As you see in the following example, only the

[NTG-context] avoiding space on top of a page

2018-02-11 Thread Henning Hraban Ramm
Ahoi, I configured my section titles to have a line of space (\blank[big]) before and after the title. But if the section starts on a new page, the title should start in the first line. I couldn’t find the right combination of \blank options... \setuplayout[grid=yes] \setuphead[section][

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Otared Kavian
Hi Dalyoung, You are right regarding the unnatural way of using \autointegral. An easy way to use the \autointegral command in a more natural way is to define one’s own macro, as in the following: \setupmathdelimiter[integral][rightoffset=-3mu,exact=yes,factor=2]

[NTG-context] Midsentence alias

2018-02-11 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Midsentences in the ConTeXt sense are quite common. Consider the following: === \setuplanguage[en] [leftsentence={{} \endash\nobreakspace}, rightsentence={{} \endash\nobreakspace}, leftsubsentence={{} \textbar\nobreakspace}, rightsubsentence={{} \textbar\nobreakspace},

Re: [NTG-context] Midsentence alias

2018-02-11 Thread Hans Hagen
On 2/11/2018 5:20 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Is there an analogous symbol for a midsentence, which requires a mark only at its beginning? |=| - Hans Hagen | PRAGMA ADE

Re: [NTG-context] To \getbuffer or to \input: which one is it better?

2018-02-11 Thread Hans Hagen
On 2/11/2018 2:17 PM, Aditya Mahajan wrote: On Sun, 11 Feb 2018, Hans Hagen wrote: Think different ... see end. \startluacode     document.speakerdata = {     {     speakername = "Gauss",     title   = "Remarks on Number Theory",     time    = "8am",   

Re: [NTG-context] Midsentence alias

2018-02-11 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 11 Feb 2018 09:56:40 -0700, Hans Hagen wrote: On 2/11/2018 5:20 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Is there an analogous symbol for a midsentence, which requires a mark only at its beginning? |=| Excellent! -- Idris Samawi Hamid, Professor Department of

Re: [NTG-context] avoiding space on top of a page

2018-02-11 Thread Wolfgang Schuster
Henning Hraban Ramm 11. Februar 2018 um 16:00 Ahoi, I configured my section titles to have a line of space (\blank[big]) before and after the title. But if the section starts on a new page, the title should start in the first line. I couldn’t find the right

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Wolfgang Schuster
Fabrice Couvreur 11. Februar 2018 um 09:35 Hi Hans, The macro that you proposed me worked very well but since my update of context standalone, it does not work any more. Thank you. Fabrice

Re: [NTG-context] placing a wide float at the bottom

2018-02-11 Thread Rik Kabel
On 2018-02-11 06:50, Henning Hraban Ramm wrote: Am 2018-02-10 um 18:03 schrieb Rik Kabel : On 2018-02-10 10:00, Henning Hraban Ramm wrote: \placefigure[bottom]{}{\externalfigure[hacker][width=\textwidth]} works just fine, I get "top" placement with

Re: [NTG-context] ntg-context Digest, Vol 164, Issue 29

2018-02-11 Thread Jeong Dal
Dear Wolfgang, “\setupmathematics[integral=nolimits]” did what I want. If I knew this two weeks ago, I saved my time to edit formulas. I should ask for this feature two weeks ago. There are so many things in ConTeXt that I don’t know. Thank you. Best regards, Dalyoung > \starttext > >

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Otared Kavian
Hi Fabrice, If you remove the line \setupmathextensible[integral][rightoffset=-3mu,exact=yes,factor=2] then your example typesets well with the last beta version 2018.02.09 00:04. Best regards: OK > On 11 Feb 2018, at 09:35, Fabrice Couvreur > wrote: >

Re: [NTG-context] To \getbuffer or to \input: which one is it better?

2018-02-11 Thread Aditya Mahajan
On Sun, 11 Feb 2018, Hans Hagen wrote: Think different ... see end. \startluacode document.speakerdata = { { speakername = "Gauss", title = "Remarks on Number Theory", time= "8am", room= "B", day

Re: [NTG-context] Typesetting an interview

2018-02-11 Thread Wolfgang Schuster
\definemeasure[interview][3em] \define[1]\InterviewHeadCommand {\offset[x=-\measure{interview}]{#1}} \definedescription [interview] [alternative=top, headcommand=\InterviewHeadCommand, margin=\measure{interview}] \showframe[text][text] \starttext \startinterview{Weisman} \input

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Wolfgang Schuster
Jeong Dal 12. Februar 2018 um 00:31 Dear Otared, All of your examples yield the same output in which the numbers locate at the top and at the bottom of the integral sign. Is it what you expected? I am looking for a way to place numbers at the right of the integral

Re: [NTG-context] Problem with a macro

2018-02-11 Thread Jeong Dal
Dear Otared, All of your examples yield the same output in which the numbers locate at the top and at the bottom of the integral sign. Is it what you expected? I am looking for a way to place numbers at the right of the integral sign under the \startformula … \stopformula environment as the