Re: [NTG-context] Tabulate containing high element

2017-11-01 Thread Procházka Lukáš Ing .

Hello Taco,

thank you for the hack.

\tabulatesplitlinemode=0 has local effect, so one may enclose it into group to 
protect global setting.

I also had to enclose some elements into \tbox to get proper vertical alignment 
- see the MWE attached.

Thank you anyway.

Best regards,

Lukas


On Tue, 31 Oct 2017 13:37:00 +0100, Taco Hoekwater  wrote:



Hi,

This should work:

  \tabulatesplitlinemode=0 % 1 | 2, default: 1
  % controls the splitting dimensions for lines in ‘p’ mode
  % 0: do nothing
  % 1: make each line exactly the height and depth of \strut
  % 2: make each line at least the height and depth height of \strut


Undocumented, so likely to change in the next beta ;)

Best wishes,
Taco



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

Tabul-with-HighElem.mkiv
Description: Binary data


Tabul-with-HighElem.pdf
Description: Adobe PDF 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
___

[NTG-context] Asymptote with Context

2017-11-01 Thread Akira Kakuto

If this has something to do with OpenGL, a properly
built asymptote might solve the problem.


I'm using on windows the cygwin binary provided by
the Asymptote developers:
http://asymptote.sourceforge.net/

The binary is included in TeX Live 2017 for windows.

context ntg71.tex
works fine.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Asymptote with Context

2017-11-01 Thread Fabrice Couvreur
Hi Aditya,
I continue to test files, some work (ntg70.tex) and some do not
(ntg71.tex). This
seems to depend on imported modules but why ?
Thank you.
Fabrice


2017-10-28 12:38 GMT+02:00 Fabrice Couvreur :

> Hi Aditya,
>
> What happens when you run
>>
>> asy -tex "context" -outformat pdf -outname ntg70-temp-ASY-0.pdf
>> ntg70-temp-ASY-0.tmp
>
>
>  fab@debian:~$ asy -tex "context" -outformat pdf -outname
>> ntg70-temp-ASY-0.pdf ntg70-temp-ASY-0.tmp
>> warning [version]: using possibly incompatible version 2.41 of plain.asy
>>
>> error: could not load module 'ntg70-temp-ASY-0.tmp'
>
>
>  After, I tried to recompile the file with the command ConTeXt Full with
> Emacs and it works 
>
> Does any other example with the filter module work?
>
>
>  It depends on the files, some yes, some no. For example the one who is
> attached does not work
>
> Thanks
> Fabrice
>
> 2017-10-27 13:38 GMT+02:00 Aditya Mahajan :
>
>> On Fri, 27 Oct 2017, Fabrice Couvreur wrote:
>>
>> I enclose the files you requested
>>>
>>
>> 1. What happens when you run
>>
>> asy -tex "context" -outformat pdf -outname ntg70-temp-ASY-0.pdf
>> ntg70-temp-ASY-0.tmp
>>
>> from the command line (in the same directory as your MWE). Do you get a
>> correct pdf?
>>
>> 2. Does any other example with the filter module work? (This is just to
>> make sure that \executesystemcommand{...} is working correctly).
>>
>>
>> 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/list
>> info/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> 
>> ___
>>
>
>


ntg70.tex
Description: TeX document


ntg71.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] Asymptote with Context

2017-11-01 Thread Aditya Mahajan

On Wed, 1 Nov 2017, Fabrice Couvreur wrote:


Hi Aditya,
I continue to test files, some work (ntg70.tex) and some do not
(ntg71.tex). This
seems to depend on imported modules but why ?


Both files work correctly at my end. I don't understand asymptote well 
enough to debug why some imported modules fail. The only reason that I can 
think of is that "import solids;" is calling an external program and there 
are some settings in your texmfcnf file that is restricting that program 
to run.


Are you using context minimals or texlive?

If you compile the attach ntg71.tex file, do you get ntg71-macro.pdf? If 
not, then this is an issue with shell escape restrictions on your system.


Aditya

ntg71.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
___

[NTG-context] bug in latest beta?

2017-11-01 Thread Pablo Rodriguez
Hans,

I have tried to update the ConTeXt Suite to latest beta and I got the
following message:

$ ./first-setup.sh --modules=all
receiving incremental file list

sent 29 bytes  received 155 bytes  122.67 bytes/sec
total size is 8,660,630  speedup is 47,068.64
./bin/mtxrun:5878: attempt to call local 'ln' (a nil value)

I think there may be a bug there.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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] Asymptote with Context

2017-11-01 Thread Ulrike Fischer
Am Wed, 1 Nov 2017 09:50:47 -0400 (EDT) schrieb Aditya Mahajan:

> The only reason that I can think of is that "import solids;" is
> calling an external program and there are some settings in your
> texmfcnf file that is restricting that program to run.

I don't know much about asymptote but as I just tried to debug an
error message in miktex: Imho the "solids" library calls the three
library which tries to use the OpenGL-renderer. 

In miktex this fails (https://github.com/MiKTeX/miktex/issues/26)
and the "solution" is to set the output format to pdf:

https://tex.stackexchange.com/questions/398421/miktex-how-to-install-glut-library-on-windows/398674#398674

Perhaps the problem here is due to a similar issue.


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___
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] bug in latest beta?

2017-11-01 Thread Pablo Rodriguez
On 11/01/2017 02:18 PM, Pablo Rodriguez wrote:
> [...]
> $ ./first-setup.sh --modules=all
> receiving incremental file list
> 
> sent 29 bytes  received 155 bytes  122.67 bytes/sec
> total size is 8,660,630  speedup is 47,068.64
> ./bin/mtxrun:5878: attempt to call local 'ln' (a nil value)

Hans,

many thanks for your fast fix.

After the newer beta I get another bug:

  $ mtxrunjit --generate
  ~/ctxbeta/tex/texmf-linux/bin/mtxrun:633: attempt to index local
'searchers' (a nil value)

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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] Asymptote with Context

2017-11-01 Thread Mojca Miklavec
On 1 November 2017 at 16:29, Ulrike Fischer wrote:
> Am Wed, 1 Nov 2017 09:50:47 -0400 (EDT) schrieb Aditya Mahajan:
>
>> The only reason that I can think of is that "import solids;" is
>> calling an external program and there are some settings in your
>> texmfcnf file that is restricting that program to run.
>
> I don't know much about asymptote but as I just tried to debug an
> error message in miktex: Imho the "solids" library calls the three
> library which tries to use the OpenGL-renderer.
>
> In miktex this fails (https://github.com/MiKTeX/miktex/issues/26)
> and the "solution" is to set the output format to pdf:
>
> https://tex.stackexchange.com/questions/398421/miktex-how-to-install-glut-library-on-windows/398674#398674
>
> Perhaps the problem here is due to a similar issue.

If this has something to do with OpenGL, a properly built asymptote
might solve the problem. Which OS and which distribution are you
using?

Mojca
___
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
___