[NTG-context] Bug with jobs.file.run?

2019-08-24 Thread Aditya Mahajan

Hi,

I use jobs.file.run in t-filter to cache the results so that the external 
filters are only run if the content has changed. For some reason, this is 
not working but I cannot figure out why? Repeating the same steps as 
t-filter manually works, but something goes wrong when I use the t-filter 
interface.


See the attached test.tex file.

When I run

   context test.tex
   context test.tex | grep run

I get

graphics> run > processing file, no changes in 'test.md', not processed

graphics> run > processing file, changes in 'test-temp-pandoc-0.tmp', 
processing forced

Notice that the first run is the manual job.files.run and the second run 
is the one from t-filter.


The test file contains a fix, which is simply a copy-paste of the relavant 
code from graph-fil.lua. When I run


context --mode=fix test.tex
context --mode=fix test.tex | grep run


I get

graphics> run > processing file, no changes in 'test.md', not processed

graphics> run > processing file, no changes in 
'test-temp-pandoc-0.tmp', not processed


So, I am not sure what is going wrong, and why is it getting fixed if I 
simply copy the definition of jobs.file.run. Any hints?


Thanks,
Aditya

test.tex
Description: TeX document
___
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] balanced vertical spaces under \startcolumnset

2019-08-24 Thread Sytse Knypstra
Maybe paragraphs work for you?
(https://wiki.contextgarden.net/Columns)

Sytse


> Op 22 augustus 2019 om 15:37 schreef Jeong Dal :
> 
> 
> Dear Sytse Knypstra,
> 
> Thank you for your reply.
> 
> I read the manual “Columns” as you suggested.
> The command \setupcolumnsetstart made a balanced output.
> But my problem is little different from it.
> 
> I want exam paper of two columns in a page and  in each column 
>  two problems located with the same space for solution.
> In general, it worked well, except the solution space of the last problem.
> Without \column, the heights of the two problems in the last column are 
> different.
> With \column, the heights are same, but it create another extra blank page.
> 
> It is not a big problem, but I wonder there is a solution.
> 
> Thank you for your concern.
> 
> Best regards,
> 
> Dalyoung
> 
> > 
> > \setuplayout[grid=yes]
> > \emptylines[...] % see the command \emptylines in ConTeXtgarden
> > \setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9
> > \setupcolumnsetlines[...][...][...][...] % see the manual COLUMNS, page 9
> > %\showgrid % uncomment if you want to see the grid lines and line numbers
> > 
> > You find the manual COLUMNS under the heading 'Layout' on
> > https://wiki.contextgarden.net/Manuals.
> > 
> > With kind regards,
> > 
> > Sytse
> 
>
___
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
___