diff --git a/.codespellrc b/.codespellrc deleted file mode 100644 index 89950d6..0000000 --- a/.codespellrc +++ /dev/null @@ -1,7 +0,0 @@ -[codespell] -# Ref: https://github.com/codespell-project/codespell#using-a-config-file -skip = .git*,*.pdf,.codespellrc -check-hidden = true -# names, case sensitive -ignore-regex = \bWille\b|\\@\S+ -# ignore-words-list = diff --git a/.github/workflows/build-pdf.yml b/.github/workflows/build-pdf.yml index 8d320f4..489834a 100644 --- a/.github/workflows/build-pdf.yml +++ b/.github/workflows/build-pdf.yml @@ -12,37 +12,24 @@ jobs: name: Build template runs-on: ubuntu-latest container: - image: texlive/texlive:latest-full + image: thomasweise/docker-texlive-full:latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Build pdf - run: | - prev_style=contemporary - for style in casual classic banking oldstyle fancy contemporary - do - echo -e "\033[1;35mCompiling style $style...\033[0m" - # first cleanup, but keep .log files for later artifact upload - latexmk -c -e 'sub cleanup_generated { my $ext = $_[0]; return 0 if $ext eq "log"; return 1; }' - sed -i "s/moderncvstyle\[\]{${prev_style}}/moderncvstyle\[\]{${style}}/g" template.tex - latexmk -pdflua ./template.tex - mv template.pdf template_${style}.pdf - mv template.log template_${style}.log - # remember previous style - prev_style=$style - done + run: latexmk -pdflua ./template.tex - name: Upload pdf uses: actions/upload-artifact@v4 with: name: template.pdf - path: ./template_*.pdf + path: ./template.pdf - name: Upload log if: ${{ always() }} uses: actions/upload-artifact@v4 with: name: template.log - path: ./template_*.log + path: ./template.log diff --git a/.github/workflows/build-userguide-pdf.yml b/.github/workflows/build-userguide-pdf.yml deleted file mode 100644 index 665b93c..0000000 --- a/.github/workflows/build-userguide-pdf.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Build user guide - -on: - push: - branches: - - master - paths: - - 'manual/moderncv_userguide.tex' - pull_request: - paths: - - 'manual/moderncv_userguide.tex' - -jobs: - build-userguide: - name: Build user guide - runs-on: ubuntu-latest - env: - UG_AUTHOR: Auto Userguide Creator - UG_COMMIT_MESSAGE: build of user guide - container: - image: texlive/texlive:latest-full - - steps: - - name: Checkout source code - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - - name: Build user guide pdf - run: latexmk -pdflua -cd ./manual/moderncv_userguide.tex - - - name: Upload user guide pdf - uses: actions/upload-artifact@v4 - with: - name: moderncv_userguide.pdf - path: ./manual/moderncv_userguide.pdf - - - name: Upload user guide log - if: ${{ always() }} - uses: actions/upload-artifact@v4 - with: - name: moderncv_userguide.log - path: ./manual/moderncv_userguide.log - - - name: Push new user guide to master - if: ${{ github.ref_name == 'master' }} - run: | - # maybe switch to an image with git already included, for now install it here - apt update && apt install git -y - git config --global user.name '${{ env.UG_AUTHOR }}' - git config --global user.email '${{ github.actor }}@users.noreply.github.com' - ls -l - git add manual/moderncv_userguide.pdf - git commit -m "${{ env.UG_COMMIT_MESSAGE }}" - git push diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml deleted file mode 100644 index b026c85..0000000 --- a/.github/workflows/codespell.yml +++ /dev/null @@ -1,25 +0,0 @@ -# Codespell configuration is within .codespellrc ---- -name: Codespell - -on: - push: - branches: [master] - pull_request: - branches: [master] - -permissions: - contents: read - -jobs: - codespell: - name: Check for spelling errors - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Annotate locations with typos - uses: codespell-project/codespell-problem-matcher@v1 - - name: Codespell - uses: codespell-project/actions-codespell@v2 diff --git a/CHANGELOG b/CHANGELOG index f950fc9..223f7bb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,30 +1,20 @@ version next -- Upgrade to Fontawesome 6 (#183) -- Document how to set custom strings for social command (#239) -- Correct documentation to reflect new order \moderncvcolor before \moderncvstyle (#256) - -version 2.5.1 (31 Jan 2026) -- Fix french babel breaking contemporary style (#219) -- Fix birthdate not showing up in contemporary style (#244) -- Fix Inspire HEP social link (#241) - Change moderncvcolors.tex to a .sty file for MikTeX compatibility (#199) - Fix error when omitting the photo in contemporary style (#201) - Fix spacing between first and last name (#204) - Include social icons in cover letter for styles classic, fancy and banking (#170) - Update Oldstyle to use symbols instead of marvosym (#209) -- Added SimpleX and Threema social (#217) - Fix spacing between first and last name again (#220) - Make header details flush against sides for casual, classic, and contemporary styles (#229) -- Fix tikz icon color in contemporary style (#224) -- Add contemporary CV header style to cover letter, which also makes icons - visible (#186) -- Fix minor horizontal spacing issue in 'contemporary' style header +- partially fix orphaned section headers for singualar use of \section and \subsection + commands and give users the new adjustable lengths \cvsectionstretchability + and \subsectionstretchability. In case \section and \subsection are used + directly one after the other, an orphaned section header might still occur. + This is structural and should be solved by \newpage instead of increasing + \cvsectionstretchability (#10/#226). -version 2.4.2 (01 Feb 2025) -- Added support for additional social icons like medium. (#264) - version 2.4.1 (18 Jul 2024) - Fix commons/colors.tex not found in package (#194) @@ -149,7 +139,7 @@ version 1.4.0 (28 Mar 2013) now use each of these multiple times, e.g. to display multiple mobile phone numbers. - Deprecated \firstname and \familyname in favour of \name{}{}. -- Added a new mechanism to select among different possible icon sets: +- Added a new mechanism to select amongs different possible icon sets: \moderncvicons{}, where can be "marvosym" (used by default in the banking, casual and classic styles) or "letters" (used by default in the oldstyle style). \moderncvicons should always be called after diff --git a/create-release-tarball.sh b/create-release-tarball.sh index 1550249..9066c00 100755 --- a/create-release-tarball.sh +++ b/create-release-tarball.sh @@ -1,10 +1,5 @@ #!/bin/sh # script to create a tarball for the files that should be in the CTAN upload -# -# do not forget to replace comments/headers beforehand -# 1. date and version in moderncv_userguide.tex -# 2. find . -type f -exec sed -i 's/$OLD_DATE $OLD_VERSION/$NEW_DATE $NEW_VERSION/g' {} \; -# 3. find . -type f -exec sed -i 's|-$OLD_YEAR moderncv maintainers (github.com/moderncv)|-$NEW_YEAR moderncv maintainers (github.com/moderncv)|g' {} \; # fetch version via git VERSION=$(git describe --tags --dirty) @@ -17,7 +12,7 @@ rm -f $TARBALL $TARBALL.gz git archive --prefix=moderncv/ HEAD > $TARBALL # remove git specific files -tar -f $TARBALL --delete moderncv/.github/ moderncv/.gitignore moderncv/create-release-tarball.sh moderncv/.codespellrc +tar -f $TARBALL --delete moderncv/.github/ moderncv/.gitignore moderncv/create-release-tarball.sh # compress gzip $TARBALL diff --git a/manual/moderncv_userguide.pdf b/manual/moderncv_userguide.pdf index 6c91c56..ff1a48d 100644 Binary files a/manual/moderncv_userguide.pdf and b/manual/moderncv_userguide.pdf differ diff --git a/manual/moderncv_userguide.tex b/manual/moderncv_userguide.tex index e8b982b..ab0d8c0 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -1,5 +1,5 @@ -%% moderncv_userguide.tex as shipped with 2026-01-31 v2.5.1 modern curriculum vitae and letter document class (moderncv) -%% 2021 David Seus (cryptointerest@posteo.de), 2021-2026 moderncv maintainers (github.com/moderncv). +%% moderncv_userguide.tex as shipped with 2024-07-18 v2.4.1 modern curriculum vitae and letter document class (moderncv) +%% 2021 David Seus, cryptointerest@posteo.de % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License version 1.3c, @@ -9,7 +9,7 @@ \title{% \texttt{moderncv} User Guide\\ - {\small Package v2.5.1}% + {\small Package v2.4.1}% } % Cristina Sambo, \author{% @@ -18,7 +18,7 @@ moderncv community\\ {\small Documentation by David Seus}% } -\date{2026-01-31} +\date{\today} % Language and encoding options \usepackage[english]{babel} @@ -104,7 +104,7 @@ emph={[2] familydefault, sfdefault, rmdefault, inputenc, moderncv, document, bibliographyitemlabel, addresssymbol, mobilephonesymbol, fixedphonesymbol, faxphonesymbol, emailsymbol, homepagesymbol, linkedinsocialsymbol, - xingsocialsymbol, twittersocialsymbol, githubsocialsymbol, gitlabsocialsymbol, mastodonsocialsymbol, codebergsocialsymbol, discordsocialsymbol, twitchsocialsymbol, youtubesocialsymbol, tiktoksocialsymbol, instagramsocialsymbol, soundcloudsocialsymbol, steamsocialsymbol, xboxsocialsymbol, playstationsocialsymbol, battlenetsocialsymbol, simplexsocialsymbol, threemasocialsymbol, + xingsocialsymbol, twittersocialsymbol, githubsocialsymbol, gitlabsocialsymbol, stackoverflowsocialsymbol, bitbucketsocialsymbol, skypesocialsymbol, orcidsocialsymbol, researchgatesocialsymbol, arxivsocialsymbol, inspiresocialsymbol, researcheridsocialsymbol, telegramsocialsymbol, whatsappsocialsymbol, signalsocialsymbol, matrixsocialsymbol, googlescholarsocialsymbol, cvstretchability, bornsymbol }, @@ -240,17 +240,17 @@ where at most one value for each option can be passed to the document class: \end{tabular} \subsubsection*{Choosing a \texttt{moderncv} style and color} -Choose a \Moderncv style and color by adjusting the commands (command order is important!): +Choose a \Moderncv style and color by adjusting the commands \begin{lstlisting} - \moderncvcolor{} \moderncvstyle{