From asr at eafit.edu.co Mon Apr 1 00:19:32 2019 From: asr at eafit.edu.co (Andres Sicard Ramirez) Date: Sun, 31 Mar 2019 22:19:32 +0000 Subject: [Agda-dev] [ANNOUNCE] Agda 2.6.0 release candidate 2 Message-ID: Dear all, The Agda Team is very pleased to announce the second release candidate of Agda 2.6.0. Installation ======= This RC can be installed using the following instructions: $ cabal install https://hackage.haskell.org/package/Agda-2.5.4.2.20190330/candidate/Agda-2.5.4.2.20190330.tar.gz or $ cabal get https://hackage.haskell.org/package/Agda-2.5.4.2.20190330/candidate/Agda-2.5.4.2.20190330.tar.gz $ cd Agda-2.5.4.2.20190330 $ cabal install GHC supported versions =============== This RC has been tested with GHC 8.6.4, 8.4.4, 8.2.2, 8.0.2 and 7.10.3 on Linux, macOS and Windows. Note that this RC cannot be installed on Windows using GHC 8.6.3 due to a GHC bug. Standard library ========== For the time being, you can use the *experimental* branch of the standard library which is compatible with this RC. This branch of the standard library is available at https://github.com/agda/agda-stdlib/ Highlights ====== * Added support for Cubical Agda (https://agda.readthedocs.io/en/latest/language/cubical.html) which adds new features such as univalence and higher inductive types to Agda. * Added support for ML-style automatic generalization of variables (https://agda.readthedocs.io/en/latest/language/generalization-of-declared-variables.html). * Added a new sort `Prop` of definitionally proof-irrelevant propositions (https://agda.readthedocs.io/en/latest/language/prop.html). * The implementation of instance search (https://agda.readthedocs.io/en/latest/language/instance-arguments.html) got a major overhaul and no longer supports overlapping instances (unless enabled by a flag). Complete list of changes and fixed issues ========================= http://hackage.haskell.org/package/Agda-2.5.4.2.20190330/candidate/changelog Enjoy the RC and please test as much as possible. -- Andr?s on behalf of the Agda Team From sanzhiyan at gmail.com Mon Apr 8 20:09:10 2019 From: sanzhiyan at gmail.com (Andrea Vezzosi) Date: Mon, 8 Apr 2019 20:09:10 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> Message-ID: you mean the full "make test" ? In any case, any suggestion on how to get the latex-related tests to work? They never did for me. On Thu, Mar 28, 2019 at 5:05 PM Andreas Abel wrote: > > Folks, > > don't forget your manners: > > - before pushing to master, run the testsuite through > - if you want travis take care of this, work with pull requests > > If you think you can predict whether the testsuite will run through > cleanly after your changes, let me assure you, you are most likely > wrong. I have been there many times. > > Best, > Andreas > > > -- > Andreas Abel <>< Du bist der geliebte Mensch. > > Department of Computer Science and Engineering > Chalmers and Gothenburg University, Sweden > > andreas.abel at gu.se > http://www.cse.chalmers.se/~abela/ > _______________________________________________ > Agda-dev mailing list > Agda-dev at lists.chalmers.se > https://lists.chalmers.se/mailman/listinfo/agda-dev From asr at eafit.edu.co Mon Apr 8 20:24:10 2019 From: asr at eafit.edu.co (Andres Sicard Ramirez) Date: Mon, 8 Apr 2019 18:24:10 +0000 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> Message-ID: Hi Andrea, On Mon, 8 Apr 2019 at 13:09, Andrea Vezzosi wrote: > > In any case, any suggestion on how to get the latex-related tests to > work? They never did for me. They work for me. Which is your problem? Best, -- Andr?s From abela at chalmers.se Mon Apr 8 23:08:29 2019 From: abela at chalmers.se (Andreas Abel) Date: Mon, 8 Apr 2019 23:08:29 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> Message-ID: <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> > you mean the full "make test" ? Yes. > In any case, any suggestion on how to get the latex-related tests to > work? Do you have the texlive suite 2018 installed? (I suppose so.) On 2019-04-08 20:09, Andrea Vezzosi wrote: > you mean the full "make test" ? > > In any case, any suggestion on how to get the latex-related tests to > work? They never did for me. > > On Thu, Mar 28, 2019 at 5:05 PM Andreas Abel wrote: >> >> Folks, >> >> don't forget your manners: >> >> - before pushing to master, run the testsuite through >> - if you want travis take care of this, work with pull requests >> >> If you think you can predict whether the testsuite will run through >> cleanly after your changes, let me assure you, you are most likely >> wrong. I have been there many times. >> >> Best, >> Andreas >> >> >> -- >> Andreas Abel <>< Du bist der geliebte Mensch. >> >> Department of Computer Science and Engineering >> Chalmers and Gothenburg University, Sweden >> >> andreas.abel at gu.se >> http://www.cse.chalmers.se/~abela/ >> _______________________________________________ >> Agda-dev mailing list >> Agda-dev at lists.chalmers.se >> https://lists.chalmers.se/mailman/listinfo/agda-dev -- Andreas Abel <>< Du bist der geliebte Mensch. Department of Computer Science and Engineering Chalmers and Gothenburg University, Sweden andreas.abel at gu.se http://www.cse.chalmers.se/~abela/ From sanzhiyan at gmail.com Tue Apr 9 10:18:53 2019 From: sanzhiyan at gmail.com (Andrea Vezzosi) Date: Tue, 9 Apr 2019 10:18:53 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> Message-ID: I suppose some work, but for doc-user-manual-tools-acmart-pdflatex_LaTeX I get LATEX_COMPILE_FAILED with pdflatex On Mon, Apr 8, 2019 at 11:08 PM Andreas Abel wrote: > > > you mean the full "make test" ? > > Yes. > > > In any case, any suggestion on how to get the latex-related tests to > > work? > > Do you have the texlive suite 2018 installed? (I suppose so.) > > On 2019-04-08 20:09, Andrea Vezzosi wrote: > > you mean the full "make test" ? > > > > In any case, any suggestion on how to get the latex-related tests to > > work? They never did for me. > > > > On Thu, Mar 28, 2019 at 5:05 PM Andreas Abel wrote: > >> > >> Folks, > >> > >> don't forget your manners: > >> > >> - before pushing to master, run the testsuite through > >> - if you want travis take care of this, work with pull requests > >> > >> If you think you can predict whether the testsuite will run through > >> cleanly after your changes, let me assure you, you are most likely > >> wrong. I have been there many times. > >> > >> Best, > >> Andreas > >> > >> > >> -- > >> Andreas Abel <>< Du bist der geliebte Mensch. > >> > >> Department of Computer Science and Engineering > >> Chalmers and Gothenburg University, Sweden > >> > >> andreas.abel at gu.se > >> http://www.cse.chalmers.se/~abela/ > >> _______________________________________________ > >> Agda-dev mailing list > >> Agda-dev at lists.chalmers.se > >> https://lists.chalmers.se/mailman/listinfo/agda-dev > > -- > Andreas Abel <>< Du bist der geliebte Mensch. > > Department of Computer Science and Engineering > Chalmers and Gothenburg University, Sweden > > andreas.abel at gu.se > http://www.cse.chalmers.se/~abela/ From abela at chalmers.se Tue Apr 9 13:43:55 2019 From: abela at chalmers.se (Andreas Abel) Date: Tue, 9 Apr 2019 13:43:55 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> Message-ID: Maybe a unicode problem. Does the equivalent of the following work for you? ~/agda/test/LaTeXAndHTML/succeed$ ln -s /Users/abel/.cabal/share/x86_64-osx-ghc-8.6.4/Agda-2.6.0/agda.sty ~/agda/test/LaTeXAndHTML/succeed$ pdflatex acmart-pdflatex.tex On 2019-04-09 10:18, Andrea Vezzosi wrote: > I suppose some work, but for > > doc-user-manual-tools-acmart-pdflatex_LaTeX > > I get > > LATEX_COMPILE_FAILED with pdflatex > > On Mon, Apr 8, 2019 at 11:08 PM Andreas Abel wrote: >> >> > you mean the full "make test" ? >> >> Yes. >> >> > In any case, any suggestion on how to get the latex-related tests to >> > work? >> >> Do you have the texlive suite 2018 installed? (I suppose so.) >> >> On 2019-04-08 20:09, Andrea Vezzosi wrote: >>> you mean the full "make test" ? >>> >>> In any case, any suggestion on how to get the latex-related tests to >>> work? They never did for me. >>> >>> On Thu, Mar 28, 2019 at 5:05 PM Andreas Abel wrote: >>>> >>>> Folks, >>>> >>>> don't forget your manners: >>>> >>>> - before pushing to master, run the testsuite through >>>> - if you want travis take care of this, work with pull requests >>>> >>>> If you think you can predict whether the testsuite will run through >>>> cleanly after your changes, let me assure you, you are most likely >>>> wrong. I have been there many times. >>>> >>>> Best, >>>> Andreas >>>> >>>> >>>> -- >>>> Andreas Abel <>< Du bist der geliebte Mensch. >>>> >>>> Department of Computer Science and Engineering >>>> Chalmers and Gothenburg University, Sweden >>>> >>>> andreas.abel at gu.se >>>> http://www.cse.chalmers.se/~abela/ >>>> _______________________________________________ >>>> Agda-dev mailing list >>>> Agda-dev at lists.chalmers.se >>>> https://lists.chalmers.se/mailman/listinfo/agda-dev >> >> -- >> Andreas Abel <>< Du bist der geliebte Mensch. >> >> Department of Computer Science and Engineering >> Chalmers and Gothenburg University, Sweden >> >> andreas.abel at gu.se >> http://www.cse.chalmers.se/~abela/ -- Andreas Abel <>< Du bist der geliebte Mensch. Department of Computer Science and Engineering Chalmers and Gothenburg University, Sweden andreas.abel at gu.se http://www.cse.chalmers.se/~abela/ From nad at cse.gu.se Tue Apr 9 14:24:05 2019 From: nad at cse.gu.se (Nils Anders Danielsson) Date: Tue, 9 Apr 2019 14:24:05 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> Message-ID: <0de4af9c-33c0-f196-4da8-4667d9e6db82@cse.gu.se> On 09/04/2019 10.18, Andrea Vezzosi wrote: > I suppose some work, but for > > doc-user-manual-tools-acmart-pdflatex_LaTeX > > I get > > LATEX_COMPILE_FAILED with pdflatex It should be possible to get a more informative error message by running the following commands (starting in the root directory of the Agda source tree): cd doc/user-manual/tools agda --latex acmart-pdflatex.lagda.tex cd latex pdflatex acmart-pdflatex.tex -- /NAD From sanzhiyan at gmail.com Wed Apr 10 15:30:29 2019 From: sanzhiyan at gmail.com (Andrea Vezzosi) Date: Wed, 10 Apr 2019 15:30:29 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: <0de4af9c-33c0-f196-4da8-4667d9e6db82@cse.gu.se> References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> <0de4af9c-33c0-f196-4da8-4667d9e6db82@cse.gu.se> Message-ID: I installed the ubuntu (meta?) package texlive-full, which improved things. However the xelatex tests still fail. Following Nils' instructions I can get to an actual error: ! Undefined control sequence. l.12 \newfontfamily {\AgdaSerifFont}{Linux Libertine O} On Tue, Apr 9, 2019 at 2:24 PM Nils Anders Danielsson wrote: > > On 09/04/2019 10.18, Andrea Vezzosi wrote: > > I suppose some work, but for > > > > doc-user-manual-tools-acmart-pdflatex_LaTeX > > > > I get > > > > LATEX_COMPILE_FAILED with pdflatex > > It should be possible to get a more informative error message by running > the following commands (starting in the root directory of the Agda > source tree): > > cd doc/user-manual/tools > agda --latex acmart-pdflatex.lagda.tex > cd latex > pdflatex acmart-pdflatex.tex > > -- > /NAD > _______________________________________________ > Agda-dev mailing list > Agda-dev at lists.chalmers.se > https://lists.chalmers.se/mailman/listinfo/agda-dev From nad at cse.gu.se Wed Apr 10 15:59:29 2019 From: nad at cse.gu.se (Nils Anders Danielsson) Date: Wed, 10 Apr 2019 15:59:29 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> <0de4af9c-33c0-f196-4da8-4667d9e6db82@cse.gu.se> Message-ID: <6d66da12-09e5-5414-2fd0-7659053c4ca0@cse.gu.se> On 10/04/2019 15.30, Andrea Vezzosi wrote: > ! Undefined control sequence. > l.12 \newfontfamily > {\AgdaSerifFont}{Linux Libertine O} This command can be found in several files. -- /NAD From asr at eafit.edu.co Wed Apr 10 17:08:45 2019 From: asr at eafit.edu.co (Andres Sicard Ramirez) Date: Wed, 10 Apr 2019 15:08:45 +0000 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> <0de4af9c-33c0-f196-4da8-4667d9e6db82@cse.gu.se> Message-ID: I think xelatex needs the fonts installed in your system. Does the installation of the Ubuntu package fonts-linuxlibertine fix the problem? On Wed, 10 Apr 2019 at 08:30, Andrea Vezzosi wrote: > > I installed the ubuntu (meta?) package texlive-full, which improved > things. However the xelatex tests still fail. > > Following Nils' instructions I can get to an actual error: > > ! Undefined control sequence. > l.12 \newfontfamily > {\AgdaSerifFont}{Linux Libertine O} > > > > On Tue, Apr 9, 2019 at 2:24 PM Nils Anders Danielsson wrote: > > > > On 09/04/2019 10.18, Andrea Vezzosi wrote: > > > I suppose some work, but for > > > > > > doc-user-manual-tools-acmart-pdflatex_LaTeX > > > > > > I get > > > > > > LATEX_COMPILE_FAILED with pdflatex > > > > It should be possible to get a more informative error message by running > > the following commands (starting in the root directory of the Agda > > source tree): > > > > cd doc/user-manual/tools > > agda --latex acmart-pdflatex.lagda.tex > > cd latex > > pdflatex acmart-pdflatex.tex > > > > -- > > /NAD > > _______________________________________________ > > Agda-dev mailing list > > Agda-dev at lists.chalmers.se > > https://lists.chalmers.se/mailman/listinfo/agda-dev > _______________________________________________ > Agda-dev mailing list > Agda-dev at lists.chalmers.se > https://lists.chalmers.se/mailman/listinfo/agda-dev > La informaci?n contenida en este correo electr?nico est? dirigida ?nicamente a su destinatario y puede contener informaci?n confidencial, material privilegiado o informaci?n protegida por derecho de autor. Est? prohibida cualquier copia, utilizaci?n, indebida retenci?n, modificaci?n, difusi?n, distribuci?n o reproducci?n total o parcial. Si usted recibe este mensaje por error, por favor contacte al remitente y elim?nelo. La informaci?n aqu? contenida es responsabilidad exclusiva de su remitente por lo tanto la Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The information contained in this email is addressed to its recipient only and may contain confidential information, privileged material or information protected by copyright. Its prohibited any copy, use, improper retention, modification, dissemination, distribution or total or partial reproduction. If you receive this message by error, please contact the sender and delete it. The information contained herein is the sole responsibility of the sender therefore Universidad EAFIT is not responsible for what the message contains. -- Andr?s From nad at cse.gu.se Wed Apr 10 17:45:35 2019 From: nad at cse.gu.se (Nils Anders Danielsson) Date: Wed, 10 Apr 2019 17:45:35 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> <0de4af9c-33c0-f196-4da8-4667d9e6db82@cse.gu.se> Message-ID: On 10/04/2019 17.08, Andres Sicard Ramirez wrote: > I think xelatex needs the fonts installed in your system. Does the > installation of the Ubuntu package fonts-linuxlibertine fix the > problem? The error message states that the \newfontfamily command is not available. This command comes from the fontspec package. Andrea did not state which file triggered this error (there are several tests related to XeLaTeX that include this line), but my guess would be that the error is restricted to the file acmart-xelatex.lagda.tex, which is the only one that uses \newfontfamily and does not load fontspec. With my current setup the fontspec package is loaded by acmart (via libertine) when XeLaTeX is used, but perhaps we shouldn't rely on that behaviour. Andrea, can the problem be fixed by adding "\usepackage{fontspec}" before the offending line? -- /NAD From sanzhiyan at gmail.com Thu Apr 11 14:56:14 2019 From: sanzhiyan at gmail.com (Andrea Vezzosi) Date: Thu, 11 Apr 2019 14:56:14 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> <0de4af9c-33c0-f196-4da8-4667d9e6db82@cse.gu.se> Message-ID: The error was indeed about acmart-xelatex.lagda.tex And yes, adding "\usepackage{fontspec}" makes compilation go through! FYI the relevant packages installed on this machine should be these: texlive-publishers/bionic,bionic,now 2017.20180305-2 all [installed] fonts-linuxlibertine/bionic,bionic,now 5.3.0-4 all [installed,automatic] Linux Libertine family of fonts On Wed, Apr 10, 2019 at 5:45 PM Nils Anders Danielsson wrote: > > On 10/04/2019 17.08, Andres Sicard Ramirez wrote: > > I think xelatex needs the fonts installed in your system. Does the > > installation of the Ubuntu package fonts-linuxlibertine fix the > > problem? > > The error message states that the \newfontfamily command is not > available. This command comes from the fontspec package. > > Andrea did not state which file triggered this error (there are several > tests related to XeLaTeX that include this line), but my guess would be > that the error is restricted to the file acmart-xelatex.lagda.tex, which > is the only one that uses \newfontfamily and does not load fontspec. > With my current setup the fontspec package is loaded by acmart (via > libertine) when XeLaTeX is used, but perhaps we shouldn't rely on that > behaviour. > > Andrea, can the problem be fixed by adding "\usepackage{fontspec}" > before the offending line? > > -- > /NAD > _______________________________________________ > Agda-dev mailing list > Agda-dev at lists.chalmers.se > https://lists.chalmers.se/mailman/listinfo/agda-dev From nad at cse.gu.se Thu Apr 11 16:28:07 2019 From: nad at cse.gu.se (Nils Anders Danielsson) Date: Thu, 11 Apr 2019 16:28:07 +0200 Subject: [Agda-dev] Run the testsuite before pushing to master In-Reply-To: References: <162f557a-277f-6deb-395a-2a3d1b023900@chalmers.se> <5355458b-7cea-4ccf-17f5-e1dfe183d465@chalmers.se> <0de4af9c-33c0-f196-4da8-4667d9e6db82@cse.gu.se> Message-ID: <1c681f20-995b-8c86-64ac-bad903d38329@cse.gu.se> On 11/04/2019 14.56, Andrea Vezzosi wrote: > And yes, adding "\usepackage{fontspec}" makes compilation go through! I pushed this change to the repository. -- /NAD From asr at eafit.edu.co Fri Apr 12 14:40:42 2019 From: asr at eafit.edu.co (Andres Sicard Ramirez) Date: Fri, 12 Apr 2019 12:40:42 +0000 Subject: [Agda-dev] [ANNOUNCE] Agda 2.6.0 Message-ID: Dear all, The Agda Team is very pleased to announce the release of Agda 2.6.0. * GHC supported versions Agda 2.6.0 has been tested with GHC 8.6.4, 8.4.4, 8.2.2, 8.0.2 and 7.10.3 on Linux, macOS and Windows. Note that this RC cannot be installed on Windows using GHC 8.6.3 due to a GHC bug. * Installation cabal update && cabal install Agda * Standard library A new version of the standard library will be announced soon. For the time being, you can use the upstream version of the library available at https://github.com/agda/agda-stlib/ * Highlights ** Added support for Cubical Agda (https://agda.readthedocs.io/en/v2.6.0/language/cubical.html) which adds new features such as univalence and higher inductive types to Agda. ** Added support for ML-style automatic generalization of variables (https://agda.readthedocs.io/en/v2.6.0/language/generalization-of-declared-variables.html). ** Added a new sort `Prop` of definitionally proof-irrelevant propositions (https://agda.readthedocs.io/en/v2.6.0/language/prop.html). ** The implementation of instance search (https://agda.readthedocs.io/en/v2.6.0/language/instance-arguments.html) got a major overhaul and no longer supports overlapping instances (unless enabled by a flag). * Complete list of language changes, incompatibilities and closed issues http://hackage.haskell.org/package/Agda-2.6.0/changelog Enjoy Agda 2.6.0. -- Andr?s on behalf of the Agda Team