Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Nov 29, 2018
1 parent 3c7e597 commit 93880a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/manuals/en/new_main_reference/replace.sh
Expand Up @@ -208,12 +208,15 @@ perl -i -pe 's#\\os\{(.*?)\}\{(.*?)}#:strong:`\1 \2`#g' ${FILES}

# TODO: add link
sed -i -E 's#:raw-latex:`\\linkResourceDirective\{(.*)\}\{(.*)\}\{(.*)\}`#**\3**:sup:`\1`:sub:`\2`\ #g' ${FILES}

sed -i -E 's#:raw-latex:`\\linkResourceDirective\*\{(.*)\}\{(.*)\}\{(.*)\}`#**\3**:sup:`\1`:sub:`\2`\ #g' ${FILES}
perl -i -pe's#:raw-latex:`\\linkResourceDirectiveValue\{(.*?)\}\{(.*?)\}\{(.*?)\}\{(.*?)\}`#**\3**:sup:`\1`:sub:`\2`\ = **\4**#g' ${FILES}


perl -i -pe 's#:raw-latex:`\\host\{(.*?)\}`#:strong:`\1`#g' ${FILES}
perl -i -pe 's#\\host\{(.*?)\}#:strong:`\1`#g' ${FILES}
perl -i -pe 's#:raw-latex:`\\bquote\{(.*?)\}`#:emphasis:`\1`#g' ${FILES}

perl -i -pe 's#\\bconfigInput\{(.*?)\}#.. literalinclude:: ../../main/\1#g' ${FILES}
echo shortnames

# TODO: check if |xxxx| replace can be used
Expand Down

0 comments on commit 93880a0

Please sign in to comment.