Compare commits

...

58 Commits

Author SHA1 Message Date
cb3b5f2d83 Update .github/workflows/pages.yml
All checks were successful
CI / Build thesis PDFs (push) Successful in 1m18s
CI / Build thesis PDFs and push them to pages (push) Successful in 1m8s
CI / Verify PDF/A (push) Successful in 53s
2025-02-12 19:30:50 +00:00
5b12d9b340 Update .github/workflows/pages.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m6s
CI / Build thesis PDFs and push them to pages (push) Failing after 45s
CI / Verify PDF/A (push) Has been cancelled
2025-02-12 19:28:15 +00:00
b88ac5953a Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m32s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Successful in 55s
2025-02-12 19:23:37 +00:00
80550c0605 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m9s
CI / Build thesis PDFs and push them to pages (push) Failing after 1s
CI / Verify PDF/A (push) Failing after 30s
2025-02-12 19:21:18 +00:00
cd46ac53e5 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m11s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 34s
2025-02-12 19:18:29 +00:00
1cd591ba5e Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m23s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 16s
2025-02-12 19:16:17 +00:00
3522362c50 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m4s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 28s
2025-02-12 19:12:58 +00:00
28a6953bf7 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m8s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 11s
2025-02-12 19:09:30 +00:00
a41618320b Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m14s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 2s
2025-02-12 19:06:47 +00:00
0db19f1632 Update .github/workflows/main.yml
Some checks failed
CI / Install node (push) Successful in 2s
CI / Build thesis PDFs (push) Successful in 1m5s
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
CI / Verify PDF/A (push) Failing after 14s
2025-02-12 19:04:24 +00:00
6d12c4d468 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m9s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 34s
2025-02-12 18:50:17 +00:00
7ba54b5317 revert 9e329059c7
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m30s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 15s
revert Update .github/workflows/main.yml
2025-02-12 18:24:50 +00:00
42c28c4581 revert 9947badf25
Some checks failed
CI / Install node (push) Successful in 3s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Build thesis PDFs (push) Failing after 2s
CI / Verify PDF/A (push) Has been skipped
revert Update .github/workflows/main.yml
2025-02-12 18:24:35 +00:00
9947badf25 Update .github/workflows/main.yml
Some checks failed
CI / Install node (push) Successful in 2s
CI / Build thesis PDFs and push them to pages (push) Failing after 1s
CI / Build thesis PDFs (push) Failing after 3s
CI / Verify PDF/A (push) Has been skipped
2025-02-12 18:09:20 +00:00
9e329059c7 Update .github/workflows/main.yml
Some checks failed
CI / Install node (push) Successful in 1m43s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Build thesis PDFs (push) Failing after 2s
CI / Verify PDF/A (push) Has been skipped
2025-02-12 17:56:16 +00:00
0137565e24 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m10s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 13s
2025-02-12 17:48:39 +00:00
86ce01e6f1 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m2s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 20s
2025-02-12 17:36:17 +00:00
1df05fd5e3 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m0s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 13s
2025-02-12 17:26:09 +00:00
625280bff5 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m3s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 12s
2025-02-12 17:23:58 +00:00
6026e0a6e4 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m5s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 14s
2025-02-12 17:22:06 +00:00
5f4ae595f1 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m2s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 13s
2025-02-12 17:16:23 +00:00
4b2be865f2 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m5s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 13s
2025-02-12 17:08:37 +00:00
f77ad72186 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m3s
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
CI / Verify PDF/A (push) Failing after 20s
2025-02-12 17:06:33 +00:00
59347ac757 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Failing after 1m16s
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
2025-02-12 17:04:30 +00:00
008338519b Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Successful in 1m28s
CI / Build thesis PDFs and push them to pages (push) Failing after 13s
CI / Verify PDF/A (push) Failing after 15s
2025-02-12 17:00:26 +00:00
98e7b2877f Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
CI / Build thesis PDFs (push) Successful in 1m14s
CI / Verify PDF/A (push) Failing after 8s
2025-02-12 15:51:40 +00:00
dacfafcaa1 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Failing after 38s
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
2025-02-12 15:49:21 +00:00
Petruny Oleg
d26005d339 test http push
Some checks failed
CI / Build thesis PDFs (push) Failing after 46s
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 4s
2025-02-12 09:20:37 +01:00
5743ec0bd0 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Failing after 41s
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
2025-02-12 08:14:13 +00:00
802a43b669 fix
Some checks failed
CI / Build thesis PDFs (push) Failing after 4s
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
2025-02-12 08:11:50 +00:00
9011fde91c Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Failing after 46s
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
2025-02-12 08:09:18 +00:00
3815d449c3 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs (push) Failing after 4s
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 2s
2025-02-12 08:08:15 +00:00
aba21af91a node
Some checks failed
CI / Build thesis PDFs (push) Failing after 4s
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
2025-02-12 08:06:30 +00:00
e04e78f3c8 typo
Some checks failed
CI / Build thesis PDFs (push) Failing after 4s
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
2025-02-12 08:03:48 +00:00
13456bedef fix
Some checks failed
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
CI / Build thesis PDFs (push) Blocked by required conditions
CI / Verify PDF/A (push) Blocked by required conditions
2025-02-12 08:02:04 +00:00
f39e44b8fe Update .github/workflows/main.yml
Some checks failed
CI / Install prerequisites (push) Successful in 15s
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
CI / Build thesis PDFs (push) Failing after 3s
CI / Verify PDF/A (push) Has been skipped
2025-02-12 07:39:46 +00:00
c4353aa389 Update .github/workflows/main.yml
Some checks failed
CI / Install prerequisites (push) Failing after 28s
CI / Build thesis PDFs (push) Has been skipped
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
2025-02-12 07:37:23 +00:00
927836f63c Update .github/workflows/main.yml
Some checks failed
CI / Install prerequisites (push) Failing after 1m12s
CI / Build thesis PDFs (push) Has been skipped
CI / Verify PDF/A (push) Has been skipped
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
fix
2025-02-12 07:26:11 +00:00
d8625d908d typo
Some checks failed
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
2025-02-11 21:34:10 +00:00
6873d217f6 Update .github/workflows/main.yml
Some checks failed
CI / Build thesis PDFs and push them to pages (push) Failing after 3s
fix for gitea
2025-02-11 21:30:38 +00:00
Mirek Kratochvil
f97729b222
Merge pull request #21 from petrkasp/patch-2
Some checks failed
CI / Build thesis PDFs and push them to pages (push) Failing after 1s
CI / Build thesis PDFs (push) Failing after 3s
CI / Verify PDF/A (push) Has been skipped
Align declaration with Dean's regulation 27/2023
2024-05-07 12:03:43 +02:00
Mirek Kratochvil
e7bbc6a88e
Merge pull request #20 from exaexa/mk-lualatex
default to lualatex
2024-05-07 12:00:44 +02:00
Petr Kašpárek
11a21a7ea9
Align dedication with Dean's regulation 27/2023
For some reason, it is different. See:
https://www.mff.cuni.cz/cs/vnitrni-zalezitosti/predpisy/opatreni-dekana/opatreni-dekana-c-27-2023
2024-05-07 11:03:04 +02:00
Mirek Kratochvil
0ed4027cdb
Merge pull request #18 from JanProvaznik/gh-ci-verify-fix
GitHub CI: fail on veraPDF crash
2024-05-07 10:12:52 +02:00
Mirek Kratochvil
0a14ba9406 default to lualatex 2024-05-07 09:45:55 +02:00
Jan Provaznik
c2c0f2624b GitHub CI: fail on veraPDF crash
fixes #17
2024-05-06 13:16:43 +02:00
Mirek Kratochvil
a32ca00846
Merge pull request #15 from petrkasp/patch-1
Fix typos in pdfa.sh
2024-01-30 22:12:56 +01:00
Petr Kašpárek
6923ac2244
Fix typos in pdfa.sh 2024-01-30 22:00:50 +01:00
Mirek Kratochvil
94dfe3f95a migration to luatex broke the older fonts (remove them) 2023-07-27 18:03:42 +02:00
Mirek Kratochvil
62b3a8a1e7
Merge pull request #14 from exaexa/mk-iso690
highlight and better explain the iso690 options
2023-07-25 13:47:02 +02:00
Mirek Kratochvil
6ef8b6d44b highlight and better explain the iso690 options
Closes #13.

Side effect: Replace bibtex backend with biber.
2023-07-25 08:24:46 +02:00
Mirek Kratochvil
e3b2307061 explicitly add latexmk to docker
closes #12
2023-07-10 18:04:41 +02:00
Mirek Kratochvil
8232ed9d06 enforce lualatex by more force
thanks @kukas for reminding me the forgotten file. :D
2023-07-10 18:02:11 +02:00
Jirka Balhar
bfc58de1d4 suggest using luatex instead of pdflatex 2023-07-10 18:01:06 +02:00
Mirek Kratochvil
beb319ef4e remove the pdflatex leftovers
we're defaulting lualatex for quite some time anyway
2023-07-10 00:03:47 +02:00
Mirek Kratochvil
15ef81ae58 be a total nerd about the correct kind of hyphen here 2023-07-10 00:03:47 +02:00
Mirek Kratochvil
7ace40d47b fixup of pages deploy 2023-07-04 09:13:58 +02:00
Mirek Kratochvil
5a768a9daa
Merge pull request #10 from Woromi/master
generalized title.tex Czech version
2023-07-04 08:24:54 +02:00
13 changed files with 58 additions and 72 deletions

View File

@ -15,7 +15,9 @@ jobs:
container: { image: 'aergus/latex' } container: { image: 'aergus/latex' }
steps: steps:
- uses: actions/checkout@v3 - name: Install nodejs
run: apt-get update && apt-get install -y nodejs
- uses: https://gitea.com/ScMi1/checkout@v1
- name: Build the thesis - name: Build the thesis
run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en
- name: Upload artifacts - name: Upload artifacts
@ -32,7 +34,9 @@ jobs:
container: { image: 'ghcr.io/mff-cuni-cz/cuni-thesis-validator' } container: { image: 'ghcr.io/mff-cuni-cz/cuni-thesis-validator' }
steps: steps:
- name: Install nodejs
run: apt-get update && apt-get upgrade -y && apt-get install -y curl && curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
- name: Get PDFs - name: Get PDFs
uses: actions/download-artifact@v3 uses: https://gitea.com/actions/download-artifact@v3
- name: Run VeraPDF - name: Run VeraPDF
run: verify Thesis/*.pdf | tee /dev/stderr | grep -qE 'nonCompliant="0"' run: verify Thesis/*.pdf | tee /dev/stderr | grep -qE 'nonCompliant="0" failedJobs="0"'

View File

@ -11,7 +11,9 @@ jobs:
container: { image: 'aergus/latex' } container: { image: 'aergus/latex' }
steps: steps:
- uses: actions/checkout@v3 - name: Install nodejs
run: apt-get update && apt-get install -y nodejs
- uses: https://gitea.com/ScMi1/checkout@v1
- name: Build the thesis - name: Build the thesis
run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en
- name: Prepare a website directory - name: Prepare a website directory
@ -24,8 +26,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
cd public cd public
git config --local user.name "$GITHUB_ACTOR" git config --global --add safe.directory "$GITHUB_WORKSPACE"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
GIT_WORK_TREE=. git checkout --orphan gh-pages GIT_WORK_TREE=. git checkout --orphan gh-pages
GIT_WORK_TREE=. git add . GIT_WORK_TREE=. git add .
GIT_WORK_TREE=. git commit -m 'pages' GIT_WORK_TREE=. git commit -m 'pages'

1
.latexmkrc Normal file
View File

@ -0,0 +1 @@
$pdf_mode = 4

View File

@ -1,6 +1,6 @@
NAME=thesis NAME=thesis
ABSTRACT=abstract ABSTRACT=abstract
LATEXMKOPTS=#-pdf #enable for forcing pdflatex LATEXMKOPTS=-pdflua #you can also use -pdf for forcing pdflatex, if required
LATEXMK=latexmk $(LATEXMKOPTS) LATEXMK=latexmk $(LATEXMKOPTS)
all: all:

View File

@ -60,7 +60,7 @@ docker run -u $UID -ti --rm -v $PWD:/th -w /th aergus/latex make
## PDF/A ## PDF/A
With a bit of luck, you should get a valid PDF/A right out of LaTeX. If you are using GitHub actions or GitLab CI, the CI will run the PDF/A verifier automatically for you. With a bit of luck, you should get a valid PDF/A right out of LaTeX. Remember that you should use a well-maintained PDF-capable TeX engine, which currently means `lualatex` and may possibly also include `xelatex`. Older `pdflatex` might work, but you may hit problems (e.g. using "small caps" feature with the default Libertinus font triggers glyph validation errors). If you are using GitHub actions or GitLab CI, the CI will run the PDF/A verifier automatically for you.
A PDF/A validator that can point out exact problems is available here: https://github.com/mff-cuni-cz/cuni-thesis-validator A PDF/A validator that can point out exact problems is available here: https://github.com/mff-cuni-cz/cuni-thesis-validator

View File

@ -2,8 +2,6 @@
\usepackage[a-2u]{pdfx} \usepackage[a-2u]{pdfx}
\usepackage[czech,shorthands=off]{babel} \usepackage[czech,shorthands=off]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern} \usepackage{lmodern}

View File

@ -1,8 +1,6 @@
\documentclass[12pt]{report} \documentclass[12pt]{report}
\usepackage[a-2u]{pdfx} \usepackage[a-2u]{pdfx}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern} \usepackage{lmodern}

View File

@ -54,7 +54,7 @@ As an usual example, \xxx{\textit{`The sentence, which I wrote, seemed ugly.'}}
\paragraph{Nouns} \paragraph{Nouns}
Every noun needs a determiner (`a', `the', `my', `some', \dots); the exceptions to this rule, such as non-adjectivized names and indeterminate plural, are relatively scarce. Without a determiner, a noun can be easily mistaken for something completely different, such as an adjective or a verb. Every noun needs a determiner (`a', `the', `my', `some', \dots); the exceptions to this rule, such as non-adjectivized names and indeterminate plural, are relatively scarce. Without a determiner, a noun can be easily mistaken for something completely different, such as an adjective or a verb.
Name all things with appropriate nouns to help both the reader and yourself, and do not hesitate to invent good names and labels for anything that you will refer to more than once. Proper naming will save you a lot of writing effort because you will not have to repeat descriptions such as \xxx{\textit{`the third output of the second benchmarked method of the improved set,'}} instead you may introduce a labeling that will allow you to say just something like \textit{`output M2\textsuperscript{+}-3'}. At the same time, this will reduce the risk that the reader will confuse the object with another one --- for illustration, the long version of the previous example might very easily confuse with the second output of the third method. The same also applies to methods descriptions, algorithms, programs, testing datasets, theorems, use-cases, challenges and other things. As an example, \xxx{\textit{`the algorithm that organizes the potatoes into appropriate buckets'}} shortens nicely as \textit{`the potato bucketer'} and may be labeled as a procedure \textsc{BucketPotatoes()}, and \xxx{\textit{`the issue where the robot crashes into a wall and takes significant time to return to the previous task'}} may be called just \textit{`the crash-recovery lag'}. Name all things with appropriate nouns to help both the reader and yourself, and do not hesitate to invent good names and labels for anything that you will refer to more than once. Proper naming will save you a lot of writing effort because you will not have to repeat descriptions such as \xxx{\textit{`the third output of the second benchmarked method of the improved set,'}} instead you may introduce a labeling that will allow you to say just something like \textit{`output M2\textsuperscript{+}-3'}. At the same time, this will reduce the risk that the reader will confuse the object with another one --- for illustration, the long version of the previous example might very easily confuse with the second output of the third method. The same also applies to methods descriptions, algorithms, programs, testing datasets, theorems, use-cases, challenges and other things. As an example, \xxx{\textit{`the algorithm that organizes the potatoes into appropriate buckets'}} shortens nicely as \textit{`the potato bucketer'} and may be labeled as a procedure \textsc{BucketPotatoes()}, and \xxx{\textit{`the issue where the robot crashes into a wall and takes significant time to return to the previous task'}} may be called just \textit{`the crash--recovery lag'}.
\paragraph{Verbs} \paragraph{Verbs}
Although English can express a whopping 65 base verb tenses and their variants, scientific literature often suppresses this complexity and uses only several basic tenses where the meaning is clearly defined. Typically, you state facts in present simple (\textit{`Theorem 1 proves that Gadget B works as intended.'}), talk about previous work and experiments done in past simple (\textit{`We constructed Gadget B from Gizmo C, which was previously prepared by Tinkerer et al.'}), and identify achieved results in present perfect (\textit{`We have constructed Technology T.'}). Avoid using future tense, except for sections that explicitly describe future work --- as a typical mistake, if you state that the thesis \emph{will} describe something in later chapters, you imply that the description is not present there yet. Although English can express a whopping 65 base verb tenses and their variants, scientific literature often suppresses this complexity and uses only several basic tenses where the meaning is clearly defined. Typically, you state facts in present simple (\textit{`Theorem 1 proves that Gadget B works as intended.'}), talk about previous work and experiments done in past simple (\textit{`We constructed Gadget B from Gizmo C, which was previously prepared by Tinkerer et al.'}), and identify achieved results in present perfect (\textit{`We have constructed Technology T.'}). Avoid using future tense, except for sections that explicitly describe future work --- as a typical mistake, if you state that the thesis \emph{will} describe something in later chapters, you imply that the description is not present there yet.

View File

@ -17,6 +17,7 @@ RUN apt-get -qq update && apt-get install -y \
texlive-science \ texlive-science \
texlive \ texlive \
ghostscript \ ghostscript \
latexmk \
make make
RUN rm -fr /var/lib/apt /var/cache/apt RUN rm -fr /var/lib/apt /var/cache/apt

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# Use this script to convert random PDFs to PDF/A (e.g. figures). # Use this script to convert random PDFs to PDF/A (e.g. figures).
# Unfortunately, ghostscript can not retain the PDF/A metadata. In result, if # Unfortunately, ghostscript cannot retain the PDF/A metadata. In result, if
# you use this on the thesis, it _will_ become PDF/A compliant (and SIS will # you use this on the thesis, it _will_ become PDF/A compliant (and SIS will
# accept it), but won't contain the magic PDF/A "stamp" and will show only as # accept it), but won't contain the magic PDF/A "stamp" and will show only as
# normal PDF-1.4. :( # normal PDF-1.4. :(
@ -17,7 +17,7 @@ gs -dPDFA=1 \
# Notes: # Notes:
# #
# PDFACompatibilityPolicy=3 actually doesn't exist. A bug in ghostscript # PDFACompatibilityPolicy=3 actually doesn't exist. A bug in ghostscript
# interprets is as something between 1 and 2, without unnecessary failing on # interprets it as something between 1 and 2, without unnecessarily failing on
# various dumb errors. # various dumb errors.
# #
# Add -dNoOutputFonts if you absolutely totally need to get rid of fonts in a # Add -dNoOutputFonts if you absolutely totally need to get rid of fonts in a

0
test.txt Normal file
View File

View File

@ -6,8 +6,6 @@
\usepackage[a-2u]{pdfx} \usepackage[a-2u]{pdfx}
\ifEN\else\usepackage[czech,shorthands=off]{babel}\fi \ifEN\else\usepackage[czech,shorthands=off]{babel}\fi
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% See https://en.wikipedia.org/wiki/Canons_of_page_construction before % See https://en.wikipedia.org/wiki/Canons_of_page_construction before
% modifying the size of printable area. LaTeX defaults are great. % modifying the size of printable area. LaTeX defaults are great.
@ -16,31 +14,24 @@
% The official recommendation expands the area quite a bit (looks pretty harsh): % The official recommendation expands the area quite a bit (looks pretty harsh):
%\usepackage[textwidth=145mm,textheight=247mm]{geometry} %\usepackage[textwidth=145mm,textheight=247mm]{geometry}
%%% FONTS %%% %%% TYPICAL FONT CHOICES (uncomment what you like) %%%
\usepackage{lmodern} % TeX "original" (this sets up the latin mono) % Recommended combo: Libertinus (autoselects Biolinum for sans) and everything
% else (math+tt) comes from Latin Modern)
\usepackage{lmodern}
\usepackage[mono=false]{libertinus}
% Optionally choose an override for the main font for typesetting: % For the "classic" LaTeX fonts (very good for pure math theses), simply
\usepackage[mono=false]{libertinus} % popular for comp-sci (ACM uses this) % comment out the libertinus package above.
%\usepackage{tgschola} % Schoolbook-like (gives a bit of historic feel)
%\usepackage[scale=0.96]{tgpagella} % Palladio-like (popular in formal logic). % IBM Plex font suite: nice, but requires us to fine-tune the sizes and does
% IBM Plex font suite is nice but requires us to fine-tune the sizes, also note % not directly support small caps (\textsc):
% that it does not directly support small caps (\textsc) and requires lualatex:
%\usepackage[usefilenames,RM={Scale=0.88},SS={Scale=0.88},SScon={Scale=0.88},TT={Scale=0.88},DefaultFeatures={Ligatures=Common}]{plex-otf} %\usepackage[usefilenames,RM={Scale=0.88},SS={Scale=0.88},SScon={Scale=0.88},TT={Scale=0.88},DefaultFeatures={Ligatures=Common}]{plex-otf}
% Optionally, choose a custom sans-serif fonts (e.g. for figures and tables). % TeX Gyre combo (Pagella+Heros+Cursor)
% Default sans-serif font is usually Latin Modern Sans. Some font packages %\usepackage{fontspec}
% (e.g. libertinus) replace that with a better matching sans-serif font. %\setmainfont{TeX Gyre Pagella}
%\usepackage{tgheros} % recommended and very readable (Helvetica-like) %\setsansfont{TeX Gyre Heros}
%\usepackage{FiraSans} % looks great %\setmonofont{TeX Gyre Cursor}
% DO NOT typeset the main text in sans-serif font!
% The serifs make the text easily readable on the paper.
% IMPORTANT FONT NOTE: Some fonts require additional PDF/A conversion using
% the pdfa.sh script. These currently include only 'tgpagella'; but various
% other fonts from the texlive distribution need that too (mainly the Droid
% font family).
% some useful packages % some useful packages
\usepackage{microtype} \usepackage{microtype}
@ -51,25 +42,33 @@
\usepackage{caption} \usepackage{caption}
\usepackage{floatrow} \usepackage{floatrow}
% load bibliography tools % Bibliography formatting.
\usepackage[backend=bibtex,natbib,style=numeric,sorting=none]{biblatex} % CHECK THE REQUIREMENTS OF YOUR DEPARTMENT AND FACULTY ON THE CITATION FORMAT!
% alternative with alphanumeric citations (more informative than numbers):
%\usepackage[backend=bibtex,natbib,style=alphabetic]{biblatex}
% %
% alternatives that conform to iso690 % These are relatively "safe" default options that most people use:
% (iso690 is not formally required on MFF, but may help elsewhere): \usepackage[natbib,style=numeric,sorting=none]{biblatex}
%\usepackage[backend=bibtex,natbib,style=iso-numeric,sorting=none]{biblatex} % alternative with alphanumeric citations (more informative than numbers, and
%\usepackage[backend=bibtex,natbib,style=iso-alphabetic]{biblatex} % more common in computer science journals):
%\usepackage[natbib,style=alphabetic]{biblatex}
% %
% additional option choices: % ALTERNATIVES THAT CONFORM TO ISO690
% ISO690 is not the greatest citation format ever, but may be formally
% required at Charles University, depending on your faculty and department.
%\usepackage[natbib,style=iso-numeric,sorting=none]{biblatex}
%\usepackage[natbib,style=iso-alphabetic]{biblatex}
% You might want to add extra options such as `maxbibnames=6,maxcitenames=2`
% here to further conform to some of the formatting requirements (see below for
% details). Again, consult your faculty rules.
%
% Additional option choices:
% - add `giveninits=true` to typeset "E. A. Poe" instead of full Edgar Allan % - add `giveninits=true` to typeset "E. A. Poe" instead of full Edgar Allan
% - `terseinits=true` additionaly shortens it to nature-like "Poe EA" % - `terseinits=true` additionaly shortens it to nature-like "Poe EA"
% - add `maxnames=10` to limit (or loosen) the maximum number of authors in % - add `maxnames=10` to limit (or loosen) the maximum number of authors in
% bibliography entry before shortening to `et al.` (useful when referring to % bibliography entry before shortening to `et al.` (useful when referring to
% book collections that may have hundreds of authors) % book collections that may have hundreds of authors)
% - for additional flexibility (e.g. multiple reference sections, etc.), % - use `maxcitenames=2` to finetune the amount of authors listed in text-cite
% remove `backend=bibtex` and compile with `biber` instead of `bibtex` (see % commands (\citet). Corresponding option that only affects the bibliography
% Makefile) % is `maxbibnames=10`.
% - `sorting=none` causes the bibliography list to be ordered by the order of % - `sorting=none` causes the bibliography list to be ordered by the order of
% citation as they appear in the text, which is usually the desired behavior % citation as they appear in the text, which is usually the desired behavior
% with numeric citations. Additionally you can use a style like % with numeric citations. Additionally you can use a style like
@ -85,7 +84,7 @@
%\DeclareNameAlias{default}{family-given} %\DeclareNameAlias{default}{family-given}
% load the file with bibliography entries % load the file with bibliography entries
\addbibresource{refs} \addbibresource{refs.bib}
% remove this if you won't use fancy verbatim environments % remove this if you won't use fancy verbatim environments
\usepackage{fancyvrb} \usepackage{fancyvrb}

View File

@ -72,28 +72,10 @@
\ifEN \ifEN
\noindent \noindent
I declare that I carried out this \ThesisAccusative thesis independently, and only with the cited I declare that I carried out this \ThesisAccusative thesis on my own, and only with the cited sources, literature and other professional sources. I understand that my work relates to the rights and obligations under the Act No. 121/2000 Sb., the Copyright Act, as amended, in particular the fact that the Charles University has the right to conclude a license agreement on the use of this work as a school work pursuant to Section 60 subsection 1 of the Copyright Act.
sources, literature and other professional sources. It has not been used to obtain another
or the same degree.
\else \else
\noindent \noindent
Prohlašuji, že jsem tuto \ThesisAccusative práci vypracoval(a) samostatně a výhradně Prohlašuji, že jsem tuto \ThesisAccusative práci vypracoval(a) samostatně a~výhradně s~použitím citovaných pramenů, literatury a~dalších odborných zdrojů. Beru na vědomí, že se na moji práci vztahují práva a~povinnosti vyplývající ze zákona č.~121/2000 Sb., autorského zákona v platném znění, zejména skutečnost, že Univerzita Karlova má právo na uzavření licenční smlouvy o~užití této práce jako školního díla podle § 60 odst. 1 autorského zákona.
s~použitím citovaných pramenů, literatury a dalších odborných zdrojů.
Tato práce nebyla využita k získání jiného nebo stejného titulu.
\fi
\ifEN
\medskip\noindent
I understand that my work relates to the rights and obligations under the Act No.~121/2000 Sb.,
the Copyright Act, as amended, in particular the fact that the Charles
University has the right to conclude a license agreement on the use of this
work as a school work pursuant to Section 60 subsection 1 of the Copyright~Act.
\else
\medskip\noindent
Beru na~vědomí, že se na moji práci vztahují práva a povinnosti vyplývající
ze zákona č. 121/2000 Sb., autorského zákona v~platném znění, zejména skutečnost,
že Univerzita Karlova má právo na~uzavření licenční smlouvy o~užití této
práce jako školního díla podle §60 odst. 1 autorského zákona.
\fi \fi
\vspace{10mm} \vspace{10mm}