Browse Source

fixe pipe

Hugo Roy 8 years ago
parent
commit
9b38ddde56
1 changed files with 4 additions and 1 deletions
  1. 4 1
      filters/docx.zsh

+ 4 - 1
filters/docx.zsh

@@ -14,4 +14,7 @@ sed 's#"t":"RawInline","c":\["html","<vfill>"\]#"t":"Str","c":"* * *"#g'  | \
     sed 's#"t":"RawInline","c":\["html","<parnum>"\]#"t":"Str","c":"\[¶ "#g'  | \
     sed 's#"t":"RawInline","c":\["html","<\/parnum>"\]#"t":"Str","c":"\]"#g' | \
     sed 's#"t":"RawInline","c":\["html","<vparnum>"\]#"t":"Str","c":"\[¶ "#g'  | \
-    sed 's#"t":"RawInline","c":\["html","<\/vparnum>"\]#"t":"Str","c":"\]"#g' 
+    sed 's#"t":"RawInline","c":\["html","<\/vparnum>"\]#"t":"Str","c":"\]"#g' | \
+    sed 's#\["loi"\],\[\]#\[\[custom-style,"loi"\]\]#g' | \
+    sed 's#\["parl"\],\[\]#\[\[custom-style,"parl"\]\]#g' | \
+    sed 's#\["jpref"\],\[\]#\[\[custom-style,"jpref"\]\]#g'