Translate 初级正念禅修-从基础练习到觉知开启

This commit is contained in:
iacore
2026-07-10 21:35:09 +08:00
parent 52c0f83376
commit e144784e71
5 changed files with 304 additions and 19 deletions
@@ -0,0 +1,16 @@
#!/usr/bin/env fish
# Convert bilingual.dj to docx and package it in a zip file in /tmp/
# Usage: zip-bilingual-docx.fish [bilingual.dj]
# Defaults to bilingual.dj in the current directory.
set input (realpath (set -q argv[1]; and echo $argv[1]; or echo "bilingual.dj"))
set name (basename (dirname $input))
set docx "/tmp/$name-bilingual.docx"
set zip "/tmp/$name-bilingual.zip"
pandoc $input -f djot -t docx -o $docx
rm -f $zip
zip -j $zip $docx
echo $zip