Re: [NTG-context] Invoking ConTeXt from inside php web appliction

2016-07-09 Thread Pavneet Arora
I believe that public in this case refers to public assets such as CSS, js, etc., where one puts custom files rather than publicly accessible, e.g., wp-uploads for WordPress. In the case of most frameworks, URL access is limited to specified routes only which point to controller methods.

[NTG-context] Issue with tex.hangindent with latest beta 2016-07-08 17:24

2016-07-09 Thread josephcanedo
Dear list, In some lua code I have in my project, I’ve started getting this error when upgrading to latest beta (used to work fine for lots of versions for months) : attempt to perform arithmetic on field 'hangindent' (a nil value) when using expression: tex.hangindent in lua code. I am

Re: [NTG-context] Invoking ConTeXt from inside php web appliction

2016-07-09 Thread Henning Hraban Ramm
Am 2016-07-09 um 17:45 schrieb Pavneet Arora : > Sorry that this has taken me so long. The report card application has > been deployed, and although I am still going through and resolving minor > bugs, it is very much in use (350 students leaving on Tu who already have >

[NTG-context] bug in image scaling

2016-07-09 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigure[location=default] \starttext \insertpages[cow.pdf][width=\textwidth] \stoptext Using latest beta from 2016.07.08 17:19, scaling doesn’t work. Am I missing something or have I hit a bug? Just in case it might me

[NTG-context] tug.org/interview: Pavneet Arora

2016-07-09 Thread Pavneet Arora
Thanks for the kind words, Luigi. Glad you enjoyed the interview. It is a bit unsettling to find that you have revealed so much about yourself ;). Dave is an excellent interviewer. Regards. > Nice interview especially (at least for me) the answer to the question -- Pavneet Arora m:

[NTG-context] Invoking ConTeXt from inside php web appliction

2016-07-09 Thread Pavneet Arora
Dear Hraban, Sorry that this has taken me so long. The report card application has been deployed, and although I am still going through and resolving minor bugs, it is very much in use (350 students leaving on Tu who already have their foundation work marked and commented within the system;

Re: [NTG-context] \defineparagraphs

2016-07-09 Thread Wolfgang Schuster
John Kitzmiller 9. Juli 2016 um 14:48 Thank you Wolfgang. I had to change .5\localhsize to .5\textwidth for it to work here (and scale down the cow to make it fit in the barn.) I am looking into combinations to center the graphic in the second x box, and make a

Re: [NTG-context] \defineparagraphs

2016-07-09 Thread John Kitzmiller
> On 8Jul, 2016, at 09:20, Wolfgang Schuster > wrote: > >> The code below works with context2016.02.15, but fails with >> context2016.05.19. >> >> Itemize within the defined paragraph (Mypar) no longer puts the thinrule in >> the margin (see the third question.)

Re: [NTG-context] \currentheadnumber does not work

2016-07-09 Thread Wolfgang Schuster
Fabrice Couvreur 9. Juli 2016 um 12:17 Hi Wolfgang, In the first example, so I do not need the command \currentheadnumber but just do: \setuphead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\Headed] ConTeXt passes the section

Re: [NTG-context] \currentheadnumber does not work

2016-07-09 Thread Fabrice Couvreur
Hi Wolfgang, In the first example, so I do not need the command \currentheadnumber but just do : \setuphead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\Headed] But in this second example, using the command \determineheadnumber[chapter], the chapter number is

Re: [NTG-context] ppchTeX

2016-07-09 Thread Henri Menke
Dear Alan, thanks a lot for fixed code. Could you point out where to find the updated manual for MkIV? Cheers, Henri On 07/07/2016 08:26 PM, Alan BRASLAU wrote: > On Wed, 6 Jul 2016 18:23:57 +0200 > Henri Menke wrote: > >> Dear list, >> >> I just wanted to check whether

Re: [NTG-context] \currentheadnumber does not work

2016-07-09 Thread Wolfgang Schuster
Fabrice Couvreur 9. Juli 2016 um 11:12 Hello, In this command, I have two problems: - \currentheadnumber does not work You need \determineheadnumber[chapter] before you can access the value with \currentheadnumber - the chapter number appears in

[NTG-context] \currentheadnumber does not work

2016-07-09 Thread Fabrice Couvreur
Hello, In this command, I have two problems : - \currentheadnumber does not work - the chapter number appears in black thank you, Fabrice \setuppagenumbering[location=footer] \startuseMPgraphic{head} pickup pencircle scaled 1mm ; drawoptions(withcolor lightgray) ; fill unitsquare scaled