Reference Issue: This methodology was developed while investigating quarto-dev/quarto-cli#13647
Problem:
tufte.qmdhanging after running a bucket of tests in CIRoot Cause: Outdated
elsarticle.cls v3.3bundled in test extension causing TinyTeX corruptionSolution: Update extension to use
elsarticle.cls v3.4c
| --- | |
| format: latex | |
| keep-tex: true | |
| title: "Long Table kable fixups etc" | |
| _quarto: | |
| tests: | |
| latex: | |
| ensureFileRegexMatches: | |
| - | |
| - "\\label{tbl-test}" |
| # This function, Copy-BetweenWslInstance, is designed to facilitate the copying of files between different WSL distributions. | |
| # It requires the source and destination distributions, folders, and users as parameters. | |
| # If the destination folder or user is not specified, the function will default to using the source folder or user. | |
| # The function employs the wslpath utility to convert the paths into a format that is compatible with WSL. | |
| # Finally, it utilizes the Copy-Item cmdlet to execute the file copying process. | |
| function Copy-BetweenWslInstance { | |
| param( | |
| [Parameter(Mandatory=$true)] | |
| [string]$sourceDistribution, | |
| [Parameter(Mandatory=$true)] |
Copyright 2023 Christophe Dervieux
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR TH
| import { readLines } from "https://deno.land/[email protected]/io/read_lines.ts"; | |
| const f= await Deno.open('tests/timing-for-ci.txt'); | |
| let counter = 0 | |
| const timedTests = []; | |
| const timed = []; | |
| let test: string; | |
| let time: string; |
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
| <head></head> | |
| <body> | |
| <div id="plotly"> | |
| <script type="application/json" data-for="htmlwidget-5fa2f8dac72d5da20b9f">{"x":{"data":[{"x":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103 |
| #!/bin/sh | |
| # Called by "git | |
| # push" after it has checked the remote status, but before anything has been | |
| # pushed. If this script exits with a non-zero status nothing will be pushed. | |
| # | |
| # This hook is called with the following parameters: | |
| # | |
| # $1 -- Name of the remote to which the push is being done | |
| # $2 -- URL to which the push is being done |
We don't get pretty output by default with pandoc lua like we do with --to native
pandoc -f markdown -t native

^Z
[ Figure
( "" , [] , [] )
(Caption
Nothing [ Plain [ Str "My" , Space , Str "Image" ] ])
In Github, link to this part is https://gist.github.com/cderv/84a7f00b5de2f7c09c1005b4c75751d1#with-ending-dot without dot at the end
| #! /bin/bash | |
| # Using gh cli | |
| gh --repo jgm/pandoc release download --pattern '*amd64.deb' | |
| sudo dpkg -i $(ls pandoc-*.deb) | |
| rm $(ls pandoc-*.deb) |