Compare commits
No commits in common. "c6c4c6b2014c396ccb5c79476105bba4c53acb4f" and "cdd3acb0b756bf9ca6618d268e53184e9d68ad66" have entirely different histories.
c6c4c6b201
...
cdd3acb0b7
2 changed files with 2 additions and 7 deletions
|
@ -59,10 +59,8 @@ if test "$format" = epub -o "$format" = rtf -o "$format" = docx; then
|
||||||
#if which pandoc >/dev/null; then
|
#if which pandoc >/dev/null; then
|
||||||
# pandoc --reference-doc=$HOME/template.docx -s -o "$output" "$htmlfile"
|
# pandoc --reference-doc=$HOME/template.docx -s -o "$output" "$htmlfile"
|
||||||
if which libreoffice >/dev/null; then
|
if which libreoffice >/dev/null; then
|
||||||
embed_dir="$(mktemp -d)"
|
echo libreoffice --headless --writer --convert-to "$format" "$htmlfile"
|
||||||
libreoffice --headless --writer --convert-to "html:HTML (StarWriter):EmbedImages" --outdir "$embed_dir" "$htmlfile"
|
libreoffice --headless --writer --convert-to "$format" "$htmlfile"
|
||||||
libreoffice --headless --writer --convert-to "$format" "$embed_dir"/*
|
|
||||||
rm -r "$embed_dir"
|
|
||||||
else
|
else
|
||||||
echo "No tengo libreoffice para convertir a $format."
|
echo "No tengo libreoffice para convertir a $format."
|
||||||
rm "$htmlfile"
|
rm "$htmlfile"
|
||||||
|
|
3
.zshrc
3
.zshrc
|
@ -12,9 +12,6 @@ bindkey -e
|
||||||
bindkey "^[f" forward-word
|
bindkey "^[f" forward-word
|
||||||
bindkey "^[b" backward-word
|
bindkey "^[b" backward-word
|
||||||
|
|
||||||
zmodload zsh/complist
|
|
||||||
zstyle ':completion:*' menu yes select
|
|
||||||
|
|
||||||
zstyle ':completion:*' list-dirs-first yes
|
zstyle ':completion:*' list-dirs-first yes
|
||||||
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue