Skip to content

Commit

Permalink
current status
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Nov 27, 2018
1 parent e6c2b04 commit 8984ec7
Show file tree
Hide file tree
Showing 53 changed files with 5,267 additions and 17,083 deletions.
9 changes: 5 additions & 4 deletions docs/manuals/en/new_main_reference/replace.sh
Expand Up @@ -67,8 +67,8 @@ sed -i 's#:raw-latex:`\\yeno`#yes\\|no#g' *.rst
#sed -i 's|:raw-latex:`\\command{bconsole}`|:command:`bconsole`|g' *.rst

#sed -i -E 's|:raw-latex:`\\command\{(.*)\}`|:command:`\1`|g' *.rst
perl -i -pe 's#:raw-latex:`\\command\{(.*?)\}`#:command:`\1`#g' *.rst
perl -i -pe 's#:raw-latex:`\\bcommand\{(.*?)\}\{(.*?)\}`#:command:`\1 \2`#g' *.rst
perl -i -pe 's#:raw-latex:`\\command\{(.*?)\}`#:program:`\1`#g' *.rst
perl -i -pe 's#:raw-latex:`\\bcommand\{(.*?)\}\{(.*?)\}`#:program:`\1 \2`#g' *.rst



Expand Down Expand Up @@ -138,11 +138,11 @@ sed -i -E 's|:raw-latex:`\\index\[sd\]\{(.*)\}`|.. index:: SD; \1 |g' *.rst
#sed -i -E 's|:raw-latex:`\\label\{(.*)\}`|.. _\1: \1|g' *.rst
sed -i -E 's|:raw-latex:`\\label\{(.*)\}`|\n\n.. _`\1`: \1|g' *.rst

perl -i -pe 's|:raw-latex:`\\nameref\{(.*?)\}`|:ref:`\1`|g' *.rst
perl -i -pe 's|:raw-latex:`\\nameref\{(.*?)\}`|:ref:`\1`_|g' *.rst

sed -i -E 's|:raw-latex:`\\elink\{(.*)\}\{(.*)\}`|`\1 <\2>`_|g' *.rst

perl -i -pe 's|:raw-latex:`\\ilink\{(.*?)\}\{(.*?)\}`|:ref:`\2 \1`|g' *.rst
perl -i -pe 's|:raw-latex:`\\ilink\{(.*?)\}\{(.*?)\}`|:ref:`\1 <\2>`_|g' *.rst

#
# Warnings
Expand All @@ -155,6 +155,7 @@ sed -i -E 's|:raw-latex:`\\linkResourceDirectiveValue\{(.*)\}\{(.*)\}\{(.*)\}\{(
sed -i -E 's|:raw-latex:`\\resourceDirectiveValue\{(.*)\}\{(.*)\}\{(.*)\}\{(.*)\}`|**\3 = \4** (\1 configuration, \2 resource)|g' *.rst


sed -i -E 's#sec:#section_#g' *.rst

#
# IMAGES (JUST A FEW, SO MAYBE MANUALLY)
Expand Down

0 comments on commit 8984ec7

Please sign in to comment.