Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir tmp > $null
- @"
- require 'prawn-svg'
- Prawn::Svg::Font::GENERIC_CSS_FONT_MAPPING.merge!(
- 'sans-serif' => 'KaiGen Gothic JP',
- 'serif' => 'KaiGen Gothic JP'
- )
- "@ | Set-Content tmp/config.rb > $null
- ls -r -i *.adoc |% {
- asciidoctor `
- -r ./tmp/config.rb `
- -r asciidoctor-pdf-cjk `
- -r asciidoctor-diagram `
- -r asciidoctor-pdf-cjk-kai_gen_gothic `
- -a pdf-style=KaiGenGothicJP `
- -b pdf $_.FullName
- }
- Remove-Item tmp -Recurse -Force > $null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement