Skip to content

Commit 6c040fd

Browse files
author
Christophe Delord
committed
update Fizzbuff with the latest version of LuaX binaries
1 parent dd527eb commit 6c040fd

File tree

6 files changed

+45
-86
lines changed

6 files changed

+45
-86
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_style = space
7+
indent_size = 4
8+
insert_final_newline = true
9+
#max_line_length =
10+
tab_width = 4
11+
trim_trailing_whitespace = true

README.md

Lines changed: 10 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -400,52 +400,23 @@ code blocks and are replaced by an image by panda.
400400
401401
<img src="./img/example-gnuplot.svg" style="width:67.0%" />
402402
403-
# hey
403+
# Precompiled LuaX binaries
404404
405-
`hey` is a shell script. It is intended to easily install some tools
406-
based on LuaX and Pandoc to pre-process files and generate documents,
407-
using Lua as a common, simple and powerful scripting language.
405+
[cdelord.fr/pub](https://cdelord.fr/pub) provides LuaX binaries as well
406+
as some other useful softwares (LuaX based tools, Pandoc…).
408407
409-
## Example
408+
These tools are used to pre-process files and generate documents, using
409+
Lua as a common, simple and powerful scripting language.
410410
411-
Easy installation, only `hey` is needed:
411+
These tools can easily be installed with a single shell command:
412412
413413
``` sh
414-
wget https://raw.githubusercontent.com/CDSoft/hey/master/hey
414+
curl https://cdelord.fr/pub/luax-full.sh | sh
415415
```
416416
417-
Its usage is very similar to `apt` or `dnf`:
418-
419-
``` sh
420-
$ hey list
421-
all install all packets
422-
423-
======== CDSoft softwares =====================================================
424-
bang Ninja file generator scriptable in LuaX
425-
calculadoira
426-
simple yet powerful calculator
427-
lsvg LuaX interpreter specialized to generate SVG images
428-
luax Lua eXtended, a Lua interpreter with a better REPL and useful libraries
429-
panda Pandoc Lua filter that works on internal Pandoc’s AST
430-
tagref Maintain cross-references in your code
431-
ypp Yet another preprocessor, scriptable in LuaX
432-
433-
======== Other softwares ======================================================
434-
ditaa DIagrams Through Ascii Art
435-
pandoc Swiss-army knife to convert from and to a bunch of document formats
436-
pandoc-latex-template
437-
Clean pandoc LaTeX template to convert your markdown files to PDF or LaTeX
438-
pandoc-panam-css
439-
Pan Am: Simple CSS for Pandoc
440-
plantuml
441-
PlantUML
442-
typst Focus on your text and let Typst take care of layout and formatting
443-
```
444-
445-
``` sh
446-
$ hey install all
447-
...
448-
```
417+
More details on [cdelord.fr/pub](https://cdelord.fr/pub), especially for
418+
Windows users who may need to download a Zip archive and decompress it
419+
manually.
449420
450421
# Fizzbuzz
451422

build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ local pandoc_flags = {
109109
local html_flags = {
110110
pandoc_flags,
111111
"--to html5",
112-
"--css", "$$PANDOC_USER_DATA_DIRECTORY/panam.css",
112+
--"--css", "$$PANDOC_USER_DATA_DIRECTORY/panam.css",
113113
"--embed-resources --standalone",
114114
"--mathml",
115115
}

build.ninja

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
# Ninja file generated by bang (https://cdelord.fr/bang)
2+
# bang build.lua -o build.ninja
3+
4+
# Fizzbuzz build system
5+
#
6+
# Targets:
7+
# help show this help message
8+
# all compile, test and document FizzBuzz
9+
# clean clean generated files
210

311
ninja_required_version = 1.11.1
412

@@ -70,7 +78,7 @@ rule ypp
7078
depfile = $builddir/dependencies/$out.d
7179

7280
rule panda_html
73-
command = export LUA_PATH="$builddir/tests/?.lua;./?.lua"; export REQDB="$builddir/reqdb.lua"; export REQTARGET="fizzbuzz.pdf"; export PANDA_TARGET=$out; export PANDA_DEP_FILE=$depfile; export LOGO=$logo_html; export PANDOC_USER_DATA_DIRECTORY=`pandoc -v | awk -F': *' '$$1=="User data directory" {print $$2}'`; panda --table-of-content --to html5 --css $$PANDOC_USER_DATA_DIRECTORY/panam.css --embed-resources --standalone --mathml $in -o $out
81+
command = export LUA_PATH="$builddir/tests/?.lua;./?.lua"; export REQDB="$builddir/reqdb.lua"; export REQTARGET="fizzbuzz.pdf"; export PANDA_TARGET=$out; export PANDA_DEP_FILE=$depfile; export LOGO=$logo_html; export PANDOC_USER_DATA_DIRECTORY=`pandoc -v | awk -F': *' '$$1=="User data directory" {print $$2}'`; panda --table-of-content --to html5 --embed-resources --standalone --mathml $in -o $out
7482
depfile = $builddir/dependencies/$out.d
7583

7684
rule panda_pdf

fizzbuzz.md

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -417,31 +417,23 @@ set yrange [-1.5:1.5]
417417
plot sin(x) lw 4, cos(x) lw 4
418418
```
419419

420-
# hey
420+
# Precompiled LuaX binaries
421421

422-
`hey` is a shell script. It is intended to easily install some tools based on
423-
LuaX and Pandoc to pre-process files and generate documents, using Lua as a
424-
common, simple and powerful scripting language.
422+
[cdelord.fr/pub](https://cdelord.fr/pub) provides LuaX binaries
423+
as well as some other useful softwares (LuaX based tools, Pandoc...).
425424

426-
## Example
425+
These tools are used to pre-process files and generate documents,
426+
using Lua as a common, simple and powerful scripting language.
427427

428-
Easy installation, only `hey` is needed:
428+
These tools can easily be installed with a single shell command:
429429

430430
``` sh
431-
wget https://raw.githubusercontent.com/CDSoft/hey/master/hey
431+
curl https://cdelord.fr/pub/luax-full.sh | sh
432432
```
433433

434-
Its usage is very similar to `apt` or `dnf`:
435-
436-
``` sh
437-
$ hey list
438-
@sh "hey list"
439-
```
440-
441-
``` sh
442-
$ hey install all
443-
...
444-
```
434+
More details on [cdelord.fr/pub](https://cdelord.fr/pub),
435+
especially for Windows users who may need to download a Zip archive
436+
and decompress it manually.
445437

446438
# Fizzbuzz
447439

fizzbuzz_slideshow.md

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -529,41 +529,19 @@ plot sin(x) lw 4, cos(x) lw 4
529529
```
530530
``````
531531

532-
# hey
532+
# LuaX binaries
533533

534-
## `hey`
534+
## [cdelord.fr/pub](https://cdelord.fr/pub)
535535

536536
- single shell script
537537
- install LuaX, ypp, pandoc, panda, ...
538538

539539
## Simple installation
540540

541541
``` sh
542-
git clone https://github.com/CDSoft/hey
542+
curl https://cdelord.fr/pub/luax-full.sh | sh
543543
```
544544

545-
::::::::::::::::::::::::::::: {.columns}
546-
547-
:::::::::: {.column width=48%}
548-
549-
## Simple usage
550-
551-
``` sh
552-
hey install all
553-
```
554-
555-
::::::::::
556-
557-
:::::::::: {.column width=48%}
558-
559-
## Get hey
560-
561-
<https://github.com/CDSoft/hey>
562-
563-
::::::::::
564-
565-
:::::::::::::::::::::::::::::
566-
567545
# Fizzbuzz
568546

569547
::::::::::::::::::::::::::::: {.columns}
@@ -576,7 +554,6 @@ hey install all
576554
- YPP
577555
- Pandoc
578556
- Panda
579-
- with a complete environment installed with `hey`
580557

581558
## using Lua tables everywhere
582559

@@ -627,7 +604,7 @@ hey install all
627604
- @link "Pandoc manual" "https://pandoc.org/MANUAL.html"
628605
- @link "Pandoc Lua filters" "https://pandoc.org/lua-filters.html"
629606
- @link "Panda" "https://github.com/CDSoft/panda"
630-
- @link "hey" "https://github.com/CDSoft/hey"
607+
- @link "LuaX binaries" "https://cdelord.fr/pub"
631608

632609
# Questions
633610

0 commit comments

Comments
 (0)