* Asymptote with Context @ 2017-10-26 10:30 Fabrice Couvreur 2017-10-26 15:09 ` Aditya Mahajan 0 siblings, 1 reply; 16+ messages in thread From: Fabrice Couvreur @ 2017-10-26 10:30 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 184 bytes --] https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html Hi, I tested the file and the figure is not drawn but I get the following message "[[output file missing" Thanks Fabrice [-- Attachment #1.2: Type: text/html, Size: 863 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-10-26 10:30 Asymptote with Context Fabrice Couvreur @ 2017-10-26 15:09 ` Aditya Mahajan 2017-10-27 7:44 ` Fabrice Couvreur 0 siblings, 1 reply; 16+ messages in thread From: Aditya Mahajan @ 2017-10-26 15:09 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, 26 Oct 2017, Fabrice Couvreur wrote: > https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html > > Hi, > I tested the file and the figure is not drawn but I get the following > message "[[output file missing" That works at my end so you will need to provide additional information. Please create a MWE, add \traceexternalfilters after \usemodule[filter] and attach the tex and log files. 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/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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-10-26 15:09 ` Aditya Mahajan @ 2017-10-27 7:44 ` Fabrice Couvreur 2017-10-27 11:38 ` Aditya Mahajan 0 siblings, 1 reply; 16+ messages in thread From: Fabrice Couvreur @ 2017-10-27 7:44 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1079 bytes --] Hi Aditya, I enclose the files you requested Thank you Fabrice 2017-10-26 17:09 GMT+02:00 Aditya Mahajan <adityam@umich.edu>: > On Thu, 26 Oct 2017, Fabrice Couvreur wrote: > > https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html >> >> Hi, >> I tested the file and the figure is not drawn but I get the following >> message "[[output file missing" >> > > That works at my end so you will need to provide additional information. > Please create a MWE, add \traceexternalfilters after \usemodule[filter] and > attach the tex and log files. > > 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 > ____________________________________________________________ > _______________________ [-- Attachment #1.2: Type: text/html, Size: 2555 bytes --] [-- Attachment #2: ntg70.tex --] [-- Type: application/x-tex, Size: 524 bytes --] [-- Attachment #3: ntg70.log --] [-- Type: text/x-log, Size: 7657 bytes --] resolvers > trees > analyzing 'home:texmf' open source > level 1, order 1, name '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' system > system > ConTeXt ver: 2017.05.15 21:48 MKIV beta fmt: 2017.10.21 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' close source > level 2, order 2, name '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 'ntg70', input './ntg70', result 'ntg70' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 2, order 3, name '/home/fab/ntg70.tex' resolvers > modules > 'filter' is loaded open source > level 3, order 4, name '/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-filter.mkiv' loading > Filter (ver: 2016.03.02) resolvers > modules > 'module-catcodes' is loaded open source > level 4, order 5, name '/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-module-catcodes.tex' loading > Module Catcodes (ver: 2011.12.17) close source > level 4, order 5, name '/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-module-catcodes.tex' close source > level 3, order 5, name '/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-filter.mkiv' t-filter > defining filter : ASY fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded t-filter > current filter : ASY t-filter > base file : ntg70-temp-ASY-0 t-filter > input file : ntg70-temp-ASY-0.tmp t-filter > output file : ntg70-temp-ASY-0.pdf t-filter > command : asy -tex "context" -outformat pdf -outname ntg70-temp-ASY-0.pdf ntg70-temp-ASY-0.tmp t-filter > state : t-filter > cached output file 'ntg70-temp-ASY-0.pdf' missing. Rerunning filter t-filter > file 'ntg70-temp-ASY-0.pdf' cannot be found t-filter > current filter : ASY t-filter > base file : ntg70-temp-ASY-0 t-filter > input file : ntg70-temp-ASY-0.tmp t-filter > output file : ntg70-temp-ASY-0.pdf floatblocks > '1' placed backend > xmp > using file '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 close source > level 2, order 5, name '/home/fab/ntg70.tex' close source > level 1, order 5, name '/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv' system > structure > start used structure used structure > text: ntg70 system > structure > stop used structure system > files > start used files used file > 1: filename=cont-yes.mkiv filetype=tex foundname=/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database used file > 2: filename=publ-imp-default.lua filetype=scripts foundname=/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database used file > 3: filename=cont-new.mkiv filetype=tex foundname=/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/cont-new.mkiv usedmethod=database used file > 4: filename=lang-us.lua filetype=scripts foundname=/home/fab/texlive/2017/texmf-dist/tex/context/patterns/mkiv/lang-us.lua usedmethod=database used file > 5: filename=/home/fab/ntg70.tex foundname=/home/fab/ntg70.tex usedmethod=direct used file > 6: filename=t-filter.mkiv filetype=tex foundname=/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-filter.mkiv usedmethod=database used file > 7: filename=t-module-catcodes.tex filetype=tex foundname=/home/fab/texlive/2017/texmf-dist/tex/context/third/filter/t-module-catcodes.tex usedmethod=database used file > 8: filename=lm.lfg filetype=tex foundname=/home/fab/texlive/2017/texmf-dist/tex/context/fonts/mkiv/lm.lfg usedmethod=database used file > 9: filename=lmroman12-regular filetype=otf format=otf foundname=/home/fab/texlive/2017/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database used file > 10: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/fab/texlive/2017/texmf-dist/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database used file > 11: filename=lmmono12-regular filetype=otf format=otf foundname=/home/fab/texlive/2017/texmf-dist/fonts/opentype/public/lm/lmmono12-regular.otf usedmethod=database used file > 12: filename=lmroman12-bold filetype=otf format=otf foundname=/home/fab/texlive/2017/texmf-dist/fonts/opentype/public/lm/lmroman12-bold.otf usedmethod=database used file > 13: filename=lpdf-pdx.xml filetype=tex foundname=/home/fab/texlive/2017/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database system > files > stop used files system > options > start commandline options used option > currentrun="3" used option > fulljobname="./ntg70.tex" used option > input="./ntg70.tex" used option > kindofrun="2" used option > maxnofruns="9" used option > no-parse-first-line="true" system > options > stop commandline options system > options > start commandline files used file > 1: ./ntg70.tex system > options > stop commandline files mkiv lua stats > used config file: selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua mkiv lua stats > used cache path: readable+writable: '/home/fab/texlive/2017/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9' mkiv lua stats > resource resolver: loadtime 0.111 seconds, 1 scans with scantime 0.010 seconds, 0 shared scans, 13 found files, scanned paths: /home/fab/texmf mkiv lua stats > stored bytecode data: 404 modules (0.360 sec), 91 tables (0.015 sec), 495 chunks (0.374 sec) mkiv lua stats > traced context: maxstack: 1232, freed: 1, unreachable: 1231 mkiv lua stats > cleaned up reserved nodes: 49 nodes, 9 lists of 447 mkiv lua stats > node memory usage: 2 glue, 2 penalty, 9 attribute, 49 glue_spec, 3 attribute_list, 2 temp, 2 user_defined mkiv lua stats > node list callback tasks: 7 unique task lists, 6 instances (re)created, 53 calls mkiv lua stats > used backend: pdf (backend for directly generating pdf output) mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading mkiv lua stats > callbacks: 291 direct, 913 indirect, 1204 total mkiv lua stats > randomizer: resumed with value 0.72510686736792 mkiv lua stats > loaded tex modules: 2 requested, all found (*-filter *-module-catcodes) mkiv lua stats > loaded patterns: en::2, load time: 0.000 mkiv lua stats > result saved in file: ntg70.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf, lmmono12-regular.otf, lmroman12-bold.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.029, afm 1.512, tfm 1.000, 6 instances, load time 0.217 seconds mkiv lua stats > used platform: linux-64, type: unix, binary subtree: bin mkiv lua stats > luatex banner: this is luatex, version 1.0.4 (tex live 2017) mkiv lua stats > control sequences: 45255 of 65536 + 100000 mkiv lua stats > lua properties: engine: lua, used memory: 90 MB (ctx: 89 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.748 seconds, 1 processed pages, 1 shipped pages, 1.337 pages/second [-- Attachment #4: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-10-27 7:44 ` Fabrice Couvreur @ 2017-10-27 11:38 ` Aditya Mahajan 2017-10-28 10:38 ` Fabrice Couvreur 0 siblings, 1 reply; 16+ messages in thread From: Aditya Mahajan @ 2017-10-27 11:38 UTC (permalink / raw) To: mailing list for ConTeXt users 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/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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-10-27 11:38 ` Aditya Mahajan @ 2017-10-28 10:38 ` Fabrice Couvreur 2017-11-01 11:53 ` Fabrice Couvreur 0 siblings, 1 reply; 16+ messages in thread From: Fabrice Couvreur @ 2017-10-28 10:38 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1674 bytes --] 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 <adityam@umich.edu>: > 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 > ____________________________________________________________ > _______________________ > [-- Attachment #1.2: Type: text/html, Size: 3768 bytes --] [-- Attachment #2: ntg70.tex --] [-- Type: application/x-tex, Size: 778 bytes --] [-- Attachment #3: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-10-28 10:38 ` Fabrice Couvreur @ 2017-11-01 11:53 ` Fabrice Couvreur 2017-11-01 13:50 ` Aditya Mahajan 0 siblings, 1 reply; 16+ messages in thread From: Fabrice Couvreur @ 2017-11-01 11:53 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1985 bytes --] 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 <fabrice1.couvreur@gmail.com>: > 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 <adityam@umich.edu>: > >> 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 >> ____________________________________________________________ >> _______________________ >> > > [-- Attachment #1.2: Type: text/html, Size: 5129 bytes --] [-- Attachment #2: ntg70.tex --] [-- Type: application/x-tex, Size: 1011 bytes --] [-- Attachment #3: ntg71.tex --] [-- Type: application/x-tex, Size: 1009 bytes --] [-- Attachment #4: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-11-01 11:53 ` Fabrice Couvreur @ 2017-11-01 13:50 ` Aditya Mahajan 2017-11-01 15:29 ` Ulrike Fischer 0 siblings, 1 reply; 16+ messages in thread From: Aditya Mahajan @ 2017-11-01 13:50 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 699 bytes --] 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 [-- Attachment #2: Type: application/x-tex, Size: 1113 bytes --] [-- Attachment #3: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-11-01 13:50 ` Aditya Mahajan @ 2017-11-01 15:29 ` Ulrike Fischer 2017-11-01 15:49 ` Mojca Miklavec 0 siblings, 1 reply; 16+ messages in thread From: Ulrike Fischer @ 2017-11-01 15:29 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-11-01 15:29 ` Ulrike Fischer @ 2017-11-01 15:49 ` Mojca Miklavec 2017-11-02 8:54 ` Fabrice Couvreur 0 siblings, 1 reply; 16+ messages in thread From: Mojca Miklavec @ 2017-11-01 15:49 UTC (permalink / raw) To: Ulrike Fischer, mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-11-01 15:49 ` Mojca Miklavec @ 2017-11-02 8:54 ` Fabrice Couvreur 2017-11-02 9:14 ` Mojca Miklavec 0 siblings, 1 reply; 16+ messages in thread From: Fabrice Couvreur @ 2017-11-02 8:54 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1836 bytes --] Hi Aditya > Are you using context minimals or texlive? With Emacs, I work with context minimals and command 'ConTeXt Full' but I also tried with texlive 2017. If you compile the attach ntg71.tex file, do you get ntg71-macro.pdf? No Fabrice 2017-11-01 16:49 GMT+01:00 Mojca Miklavec <mojca.miklavec.lists@gmail.com>: > 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 > ____________________________________________________________ > _______________________ > [-- Attachment #1.2: Type: text/html, Size: 3776 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-11-02 8:54 ` Fabrice Couvreur @ 2017-11-02 9:14 ` Mojca Miklavec 2017-11-02 10:26 ` Fabrice Couvreur 0 siblings, 1 reply; 16+ messages in thread From: Mojca Miklavec @ 2017-11-02 9:14 UTC (permalink / raw) To: mailing list for ConTeXt users On 2 November 2017 at 09:54, Fabrice Couvreur wrote: > Hi Aditya >> >> Are you using context minimals or texlive? > > With Emacs, I work with context minimals and command 'ConTeXt Full' but I > also tried with texlive 2017. A more relevant question would be: where does your asymptote binary come from and which OS 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-11-02 9:14 ` Mojca Miklavec @ 2017-11-02 10:26 ` Fabrice Couvreur 2017-11-02 11:43 ` Fabrice Couvreur 0 siblings, 1 reply; 16+ messages in thread From: Fabrice Couvreur @ 2017-11-02 10:26 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1448 bytes --] I will first specify that all the files with the extension .asy work and that I try to include Asymptote code in a file with the extension .tex to be able to compile it with context. My operating system is Debian Stretch and I installed Asymptote in my home because that of Texlive 2017 did not work because some libraries were missing https://sourceforge.net/p/asymptote/discussion/409349/thread/d208bdcc/ fab@debian:~$ which asy /home/fab/Asymptote/bin/asy fab@debian:~$ Fabrice 2017-11-02 10:14 GMT+01:00 Mojca Miklavec <mojca.miklavec.lists@gmail.com>: > On 2 November 2017 at 09:54, Fabrice Couvreur wrote: > > Hi Aditya > >> > >> Are you using context minimals or texlive? > > > > With Emacs, I work with context minimals and command 'ConTeXt Full' but > I > > also tried with texlive 2017. > > A more relevant question would be: where does your asymptote binary > come from and which OS 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 > ____________________________________________________________ > _______________________ > [-- Attachment #1.2: Type: text/html, Size: 2860 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-11-02 10:26 ` Fabrice Couvreur @ 2017-11-02 11:43 ` Fabrice Couvreur 2017-11-02 11:45 ` Fabrice Couvreur 0 siblings, 1 reply; 16+ messages in thread From: Fabrice Couvreur @ 2017-11-02 11:43 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2711 bytes --] I check if the installation of Asymptote is correct. If I compile the file test-1.asy it works with a pdf output but if I compile the file test-2.asy it does not work and the pdf file is empty. Both files compile with OpenGL output fab@debian:~$ asy -V -f pdf test-1.asy warning [version]: using possibly incompatible version 2.41 of plain.asy fab@debian:~$ asy -V -f pdf test-2.asy warning [version]: using possibly incompatible version 2.41 of plain.asy fab@debian:~$ (evince:8297): Poppler-WARNING **: Unsupported Annot Type (evince:8297): Poppler-WARNING **: Unsupported Annot Type ** (evince:8297): WARNING **: Unimplemented annotation: POPPLER_ANNOT_UNKNOWN, please post a bug report in Evince bugzilla ( http://bugzilla.gnome.org) with a testcase. (evince:8297): Poppler-WARNING **: Unsupported Annot Type (evince:8297): Poppler-WARNING **: Unsupported Annot Type ** (evince:8297): WARNING **: Unimplemented annotation: POPPLER_ANNOT_UNKNOWN, please post a bug report in Evince bugzilla ( http://bugzilla.gnome.org) with a testcase. (evince:8297): Poppler-WARNING **: Unsupported Annot Type fab@debian:~$ 2017-11-02 11:26 GMT+01:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>: > I will first specify that all the files with the extension .asy work and > that I try to include Asymptote code in a file with the extension .tex to > be able to compile it with context. > > My operating system is Debian Stretch and I installed Asymptote in my home > because that of Texlive 2017 did not work because some libraries were > missing > > https://sourceforge.net/p/asymptote/discussion/409349/thread/d208bdcc/ > > fab@debian:~$ which asy > /home/fab/Asymptote/bin/asy > fab@debian:~$ > > Fabrice > > 2017-11-02 10:14 GMT+01:00 Mojca Miklavec <mojca.miklavec.lists@gmail.com> > : > >> On 2 November 2017 at 09:54, Fabrice Couvreur wrote: >> > Hi Aditya >> >> >> >> Are you using context minimals or texlive? >> > >> > With Emacs, I work with context minimals and command 'ConTeXt Full' >> but I >> > also tried with texlive 2017. >> >> A more relevant question would be: where does your asymptote binary >> come from and which OS 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/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 >> ____________________________________________________________ >> _______________________ >> > > [-- Attachment #1.2: Type: text/html, Size: 5118 bytes --] [-- Attachment #2: test-1.asy --] [-- Type: application/octet-stream, Size: 120 bytes --] pen[][] p={{rgb(black),rgb(black)}, {rgb(red),rgb(green)}}; latticeshade((0,0)--(0,2cm)--(2cm,0)--cycle,p); [-- Attachment #3: test-2.asy --] [-- Type: application/octet-stream, Size: 297 bytes --] import three; size(8cm,0); currentlight.background=black; material White(real x, real y){ return material(diffusepen=gray(.05+.1x+.3y), emissivepen=gray(.05+.1x+.3y)); } for(int y=0; y<=2; ++y) for(int x=0; x<3; ++x) draw(shift(2x,2y,0)*unitsphere,White(x,y)); [-- Attachment #4: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-11-02 11:43 ` Fabrice Couvreur @ 2017-11-02 11:45 ` Fabrice Couvreur 2017-11-02 13:06 ` Fabrice Couvreur 0 siblings, 1 reply; 16+ messages in thread From: Fabrice Couvreur @ 2017-11-02 11:45 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2938 bytes --] Sorry test-2.asy compile with OpenGL output 2017-11-02 12:43 GMT+01:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>: > I check if the installation of Asymptote is correct. > If I compile the file test-1.asy it works with a pdf output but if I > compile the file test-2.asy it does not work and the pdf file is empty. > Both files compile with OpenGL output > > fab@debian:~$ asy -V -f pdf test-1.asy > warning [version]: using possibly incompatible version 2.41 of plain.asy > > fab@debian:~$ asy -V -f pdf test-2.asy > warning [version]: using possibly incompatible version 2.41 of plain.asy > > fab@debian:~$ > (evince:8297): Poppler-WARNING **: Unsupported Annot Type > > (evince:8297): Poppler-WARNING **: Unsupported Annot Type > > ** (evince:8297): WARNING **: Unimplemented annotation: > POPPLER_ANNOT_UNKNOWN, please post a bug report in Evince bugzilla ( > http://bugzilla.gnome.org) with a testcase. > > (evince:8297): Poppler-WARNING **: Unsupported Annot Type > > (evince:8297): Poppler-WARNING **: Unsupported Annot Type > > ** (evince:8297): WARNING **: Unimplemented annotation: > POPPLER_ANNOT_UNKNOWN, please post a bug report in Evince bugzilla ( > http://bugzilla.gnome.org) with a testcase. > > (evince:8297): Poppler-WARNING **: Unsupported Annot Type > > fab@debian:~$ > > > 2017-11-02 11:26 GMT+01:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>: > >> I will first specify that all the files with the extension .asy work and >> that I try to include Asymptote code in a file with the extension .tex to >> be able to compile it with context. >> >> My operating system is Debian Stretch and I installed Asymptote in my >> home because that of Texlive 2017 did not work because some libraries were >> missing >> >> https://sourceforge.net/p/asymptote/discussion/409349/thread/d208bdcc/ >> >> fab@debian:~$ which asy >> /home/fab/Asymptote/bin/asy >> fab@debian:~$ >> >> Fabrice >> >> 2017-11-02 10:14 GMT+01:00 Mojca Miklavec <mojca.miklavec.lists@gmail.com >> >: >> >>> On 2 November 2017 at 09:54, Fabrice Couvreur wrote: >>> > Hi Aditya >>> >> >>> >> Are you using context minimals or texlive? >>> > >>> > With Emacs, I work with context minimals and command 'ConTeXt Full' >>> but I >>> > also tried with texlive 2017. >>> >>> A more relevant question would be: where does your asymptote binary >>> come from and which OS 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/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 >>> ____________________________________________________________ >>> _______________________ >>> >> >> > [-- Attachment #1.2: Type: text/html, Size: 6240 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Asymptote with Context 2017-11-02 11:45 ` Fabrice Couvreur @ 2017-11-02 13:06 ` Fabrice Couvreur 0 siblings, 0 replies; 16+ messages in thread From: Fabrice Couvreur @ 2017-11-02 13:06 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 3475 bytes --] When compiling the file with asy -V -f pdf test-2.asy I get the following message warning: /home/fab/context/tex/texmf/web2c/texmf.cnf:49: (kpathsea) No cnf value on line: OSFONTDIR =. dvips: warning: no config file for `download35' dvips: ! Couldn't find header file: tex.pro /home/fab/Asymptote/share/asymptote/plain_shipout.asy: 87.10: runtime: shipout failed 2017-11-02 12:45 GMT+01:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>: > Sorry test-2.asy compile with OpenGL output > > 2017-11-02 12:43 GMT+01:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com>: > >> I check if the installation of Asymptote is correct. >> If I compile the file test-1.asy it works with a pdf output but if I >> compile the file test-2.asy it does not work and the pdf file is empty. >> Both files compile with OpenGL output >> >> fab@debian:~$ asy -V -f pdf test-1.asy >> warning [version]: using possibly incompatible version 2.41 of plain.asy >> >> fab@debian:~$ asy -V -f pdf test-2.asy >> warning [version]: using possibly incompatible version 2.41 of plain.asy >> >> fab@debian:~$ >> (evince:8297): Poppler-WARNING **: Unsupported Annot Type >> >> (evince:8297): Poppler-WARNING **: Unsupported Annot Type >> >> ** (evince:8297): WARNING **: Unimplemented annotation: >> POPPLER_ANNOT_UNKNOWN, please post a bug report in Evince bugzilla ( >> http://bugzilla.gnome.org) with a testcase. >> >> (evince:8297): Poppler-WARNING **: Unsupported Annot Type >> >> (evince:8297): Poppler-WARNING **: Unsupported Annot Type >> >> ** (evince:8297): WARNING **: Unimplemented annotation: >> POPPLER_ANNOT_UNKNOWN, please post a bug report in Evince bugzilla ( >> http://bugzilla.gnome.org) with a testcase. >> >> (evince:8297): Poppler-WARNING **: Unsupported Annot Type >> >> fab@debian:~$ >> >> >> 2017-11-02 11:26 GMT+01:00 Fabrice Couvreur <fabrice1.couvreur@gmail.com> >> : >> >>> I will first specify that all the files with the extension .asy work and >>> that I try to include Asymptote code in a file with the extension .tex to >>> be able to compile it with context. >>> >>> My operating system is Debian Stretch and I installed Asymptote in my >>> home because that of Texlive 2017 did not work because some libraries were >>> missing >>> >>> https://sourceforge.net/p/asymptote/discussion/409349/thread/d208bdcc/ >>> >>> fab@debian:~$ which asy >>> /home/fab/Asymptote/bin/asy >>> fab@debian:~$ >>> >>> Fabrice >>> >>> 2017-11-02 10:14 GMT+01:00 Mojca Miklavec <mojca.miklavec.lists@gmail.co >>> m>: >>> >>>> On 2 November 2017 at 09:54, Fabrice Couvreur wrote: >>>> > Hi Aditya >>>> >> >>>> >> Are you using context minimals or texlive? >>>> > >>>> > With Emacs, I work with context minimals and command 'ConTeXt Full' >>>> but I >>>> > also tried with texlive 2017. >>>> >>>> A more relevant question would be: where does your asymptote binary >>>> come from and which OS 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/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 >>>> ____________________________________________________________ >>>> _______________________ >>>> >>> >>> >> > [-- Attachment #1.2: Type: text/html, Size: 7693 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Asymptote with Context
@ 2017-11-02 5:41 Akira Kakuto
0 siblings, 0 replies; 16+ messages in thread
From: Akira Kakuto @ 2017-11-02 5:41 UTC (permalink / raw)
To: ntg-context
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2017-11-02 13:06 UTC | newest] Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-10-26 10:30 Asymptote with Context Fabrice Couvreur 2017-10-26 15:09 ` Aditya Mahajan 2017-10-27 7:44 ` Fabrice Couvreur 2017-10-27 11:38 ` Aditya Mahajan 2017-10-28 10:38 ` Fabrice Couvreur 2017-11-01 11:53 ` Fabrice Couvreur 2017-11-01 13:50 ` Aditya Mahajan 2017-11-01 15:29 ` Ulrike Fischer 2017-11-01 15:49 ` Mojca Miklavec 2017-11-02 8:54 ` Fabrice Couvreur 2017-11-02 9:14 ` Mojca Miklavec 2017-11-02 10:26 ` Fabrice Couvreur 2017-11-02 11:43 ` Fabrice Couvreur 2017-11-02 11:45 ` Fabrice Couvreur 2017-11-02 13:06 ` Fabrice Couvreur 2017-11-02 5:41 Akira Kakuto
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).