From 2f7577f948833e580e5824e9a3add71716189fc2 Mon Sep 17 00:00:00 2001 From: John Marshall Date: Wed, 9 Jun 2021 10:28:56 +0100 Subject: [PATCH 1/2] test adding footnotehyper --- SAMv1.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/SAMv1.tex b/SAMv1.tex index 2998e9c79..e4c76a943 100644 --- a/SAMv1.tex +++ b/SAMv1.tex @@ -4,6 +4,7 @@ \definecolor{gray}{rgb}{0.7,0.7,0.7} \usepackage{framed} \usepackage{enumitem} +\usepackage{footnotehyper} \usepackage{longtable} \usepackage{makecell} \usepackage[pdfborder={0 0 0},hyperfootnotes=false]{hyperref} From 6aaa3768cf4d01b25dfc18c0cb7f2e8d57da0e06 Mon Sep 17 00:00:00 2001 From: John Marshall Date: Wed, 9 Jun 2021 10:36:04 +0100 Subject: [PATCH 2/2] Use Cheng Xu's up-to-date LaTeX docker image Add step installing tools that we use that are missing from this image. --- .circleci/config.yml | 10 +++++++++- .circleci/pdf_comment.js | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5ef5a7265..42b0c60f8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,9 +2,15 @@ version: 2 jobs: build: docker: - - image: htsspecs/circle-ci-image:0.7 + - image: ghcr.io/xu-cheng/texlive-full:latest steps: - checkout + - run: + name: Install additional tools + command: | + apk add --no-cache curl git make nodejs npm patch + npm install --global circle-github-bot@2.0.1 + - run: name: Compile the LaTeX command: | @@ -34,6 +40,8 @@ jobs: - run: name: Post PDFs to Github PR + environment: + NODE_PATH: /usr/lib/node_modules command: | .circleci/pdf_comment.js - store_artifacts: diff --git a/.circleci/pdf_comment.js b/.circleci/pdf_comment.js index 37280203b..80d4d4ec8 100755 --- a/.circleci/pdf_comment.js +++ b/.circleci/pdf_comment.js @@ -1,4 +1,4 @@ -#!/usr/bin/env nodejs +#!/usr/bin/env node const bot = require("circle-github-bot").create(); const fs = require('fs');