diff --git a/pelicanconf-web.py b/pelicanconf-web.py index 1adda2e..e620618 100644 --- a/pelicanconf-web.py +++ b/pelicanconf-web.py @@ -88,6 +88,8 @@ ASCIIDOCTOR_EXTRA_OPTIONS = [ '--attribute=figure-caption=Рис.', '--attribute=toc-title=Содержание', '--attribute=experimental', + '--attribute=pdf-themesdir={}/themes/pdf'.format(os.getcwd()), + '--attribute=pdf-theme=wiki', ] REPLACES = ( diff --git a/pelicanconf.py b/pelicanconf.py index 454c839..200f98b 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -88,8 +88,8 @@ ASCIIDOCTOR_EXTRA_OPTIONS = [ '--attribute=figure-caption=Рис.', '--attribute=toc-title=Содержание', '--attribute=experimental', - '--attribute=pdf-themesdir=themes/pdf', - '--attribute=pdf-theme=basic', + '--attribute=pdf-themesdir={}/themes/pdf'.format(os.getcwd()), + '--attribute=pdf-theme=wiki', ] REPLACES = ( diff --git a/themes/pdf/basic.yml b/themes/pdf/basic.yml deleted file mode 100644 index 665b53c..0000000 --- a/themes/pdf/basic.yml +++ /dev/null @@ -1,4 +0,0 @@ -extends: default -image: - caption: - align: inherit diff --git a/themes/pdf/wiki-theme.yml b/themes/pdf/wiki-theme.yml new file mode 100644 index 0000000..2de8364 --- /dev/null +++ b/themes/pdf/wiki-theme.yml @@ -0,0 +1,8 @@ +extends: default +page: + size: A4 +# layout: portrait +# margin: [15mm, 20mm, 15mm, 10mm] +image: + caption: + align: inherit diff --git a/wiki/Prog/Development/Настройка QtCreator.adoc b/wiki/Prog/Development/Настройка QtCreator.adoc index 43d2b21..474e43b 100644 --- a/wiki/Prog/Development/Настройка QtCreator.adoc +++ b/wiki/Prog/Development/Настройка QtCreator.adoc @@ -13,13 +13,13 @@ image::qtcreator-setup/qtcreator20.png[qtcreator20,align="center"] [.text-center] .Справка - О модулях (часть 1) -image::qtcreator-setup/qtcreator21.png[qtcreator21,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator21.png[qtcreator21,pdfwidth=80%,scaledwidth=80%,align="center"] {empty} + [.text-center] .Справка - О модулях (часть 2) -image::qtcreator-setup/qtcreator22.png[qtcreator22,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator22.png[qtcreator22,pdfwidth=80%,scaledwidth=80%,align="center"] <<< @@ -27,7 +27,7 @@ image::qtcreator-setup/qtcreator22.png[qtcreator22,pdfwidth=85%,scaledwidth=85%, [.text-center] .Инструменты - Параметры - Среда - Система -image::qtcreator-setup/qtcreator41.png[qtcreator41,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator41.png[qtcreator41,pdfwidth=80%,scaledwidth=80%,align="center"] {empty} + @@ -35,7 +35,7 @@ image::qtcreator-setup/qtcreator41.png[qtcreator41,pdfwidth=85%,scaledwidth=85%, [.text-center] .Инструменты - Параметры - Текстовый редактор - Поведение -image::qtcreator-setup/qtcreator42.png[qtcreator42,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator42.png[qtcreator42,pdfwidth=80%,scaledwidth=80%,align="center"] <<< @@ -43,7 +43,7 @@ image::qtcreator-setup/qtcreator42.png[qtcreator42,pdfwidth=85%,scaledwidth=85%, [.text-center] .Инструменты - Параметры - С++ - Именование файлов -image::qtcreator-setup/qtcreator51.png[qtcreator51,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator51.png[qtcreator51,pdfwidth=80%,scaledwidth=80%,align="center"] {empty} + @@ -51,7 +51,7 @@ image::qtcreator-setup/qtcreator51.png[qtcreator51,pdfwidth=85%,scaledwidth=85%, [.text-center] .Инструменты - Параметры - Стилизатор - Uncrustify -image::qtcreator-setup/qtcreator55.png[qtcreator55,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator55.png[qtcreator55,pdfwidth=80%,scaledwidth=80%,align="center"] <<< @@ -59,7 +59,7 @@ image::qtcreator-setup/qtcreator55.png[qtcreator55,pdfwidth=85%,scaledwidth=85%, [.text-center] .Инструменты - Параметры - Сборка и запуск - Основное -image::qtcreator-setup/qtcreator61.png[qtcreator61,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator61.png[qtcreator61,pdfwidth=80%,scaledwidth=80%,align="center"] {empty} + @@ -67,7 +67,7 @@ image::qtcreator-setup/qtcreator61.png[qtcreator61,pdfwidth=85%,scaledwidth=85%, [.text-center] .Инструменты - Параметры - To-Do -image::qtcreator-setup/qtcreator67.png[qtcreator67,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator67.png[qtcreator67,pdfwidth=80%,scaledwidth=80%,align="center"] <<< @@ -75,7 +75,7 @@ image::qtcreator-setup/qtcreator67.png[qtcreator67,pdfwidth=85%,scaledwidth=85%, [.text-center] .Импорт проекта - Настроить проект -image::qtcreator-setup/qtcreator74.png[qtcreator74,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator74.png[qtcreator74,pdfwidth=80%,scaledwidth=80%,align="center"] {empty} + @@ -83,5 +83,5 @@ image::qtcreator-setup/qtcreator74.png[qtcreator74,pdfwidth=85%,scaledwidth=85%, [.text-center] .Проект - Настройки сборки -image::qtcreator-setup/qtcreator81.png[qtcreator81,pdfwidth=85%,scaledwidth=85%,align="center"] +image::qtcreator-setup/qtcreator81.png[qtcreator81,pdfwidth=80%,scaledwidth=80%,align="center"]