This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%#!pdflatex | |
\documentclass[margin=0]{standalone} | |
\usepackage{xcolor,tikz,pgfmath,scsnowman,tikzducks} | |
\usepackage{bxcoloremoji} | |
% | |
\definecolor{mydblue}{rgb}{0.10,0.20,0.50} | |
\definecolor{mysblue}{rgb}{0.20,0.50,1.00} | |
\definecolor{mybrown}{rgb}{0.60,0.30,0.00} | |
\definecolor{mykhaki}{rgb}{0.85,0.65,0.30} | |
\colorlet{myyellow}{yellow!70!brown} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%#!pdflatex | |
\documentclass[margin=0pt]{standalone} | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern,pifont} | |
\usepackage{xcolor,scsnowman,tikzducks,pgfmath} | |
\newcommand*{\cLet}{\pgfmathsetmacro} | |
\setlength{\unitlength}{1bp} | |
\colorlet{bgcolor}{blue!30!green!10} | |
\pagecolor{bgcolor} | |
% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use v5.12; | |
my $program = "tcspingif"; | |
my $version = "0.8.1"; | |
my $mod_date = "2023/08/08"; | |
use constant DEFAULT_TICKS => 32; | |
use constant CYCLE => 2; # seconds | |
my ($ticks, $in_file, $out_file); | |
my $engine = "pdflatex"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input-files: | |
- test.md | |
filters: | |
- numbering.lua | |
output-file: test_out.html | |
standalone: true | |
table-of-contents: true | |
toc-depth: 2 | |
number-sections: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input-files: | |
- test.md | |
output-file: test_out.html | |
standalone: true | |
css: test.css | |
table-of-contents: true | |
toc-depth: 2 | |
# avoid pandoc's numbering... | |
number-sections: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM pandoc/latex:2.9.2 | |
# Here 'update latex' is needed, because LaTeX in this | |
# container is of version <2020-02-02> PL2, and LuaTeX-ja | |
# cannot run with this version. | |
RUN tlmgr install \ | |
bxjscls \ | |
bxwareki \ | |
everyhook \ | |
ipaex \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% https://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=2899&parent=16984 | |
\documentclass[uplatex]{jsarticle} | |
\usepackage{xparse} | |
\usepackage{okumacro} | |
\ExplSyntaxOn %!!!!!!!!!!!!!!!!!!!!!!!! expl3 code BEGIN | |
\seq_new:N \l__sruby_body_seq | |
\seq_new:N \l__sruby_ruby_seq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- latex-emoji.lua | |
-- | |
-- @copyright 2020 Takayuki YATO (aka. "ZR") | |
-- GitHub: https://github.com/zr-tex8r | |
-- Twitter: @zr_tex8r | |
-- This program is distributed under the MIT License. | |
-- | |
local filter_name = 'latex-emoji' | |
---------------------------------------- helpers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pandoc --filter=pandoc-crossref --filter=pandoc_remove_codelisting_filter -N test.md -s -o test-output.tex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function CodeBlock(block) | |
if block.classes:includes("csvin", 1) then | |
return pandoc.read(block.text, "csv").blocks[1] | |
end | |
end |