Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pimp codeexamples (issue #640) #711

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b7c5702
- commented line that adds all libraries to the extracted codeexample…
Mo-Gul Jun 24, 2019
9937193
- finished adding libraries to codeexamples of the tutorial doc files
Mo-Gul Jun 25, 2019
8141bdd
- added `pre` stuff to codeexamples of the tutorial doc files so fewe…
Mo-Gul Jun 25, 2019
8ec9894
- adapted `extract.lua`
Mo-Gul Jun 26, 2019
bcae73f
- missed to update `pgfmanual-en-macros.tex`
Mo-Gul Jun 26, 2019
125f880
- finished switching from `libraries/tikz={...}` to `preamble={\useti…
Mo-Gul Jun 27, 2019
cb17274
- continued adding code to make extracted `codeexample`s work
Mo-Gul Jul 1, 2019
c39c6a5
- continued adding code to make extracted `codeexample`s work
Mo-Gul Jul 2, 2019
6ef58e6
- changed order of `setup code` and `preamble` in `extract.lua`
Mo-Gul Jul 2, 2019
5230356
- continued adding code to make extracted `codeexample`s work
Mo-Gul Jul 3, 2019
f1b8890
- % TODOsp: ... --> % TODOsp: codeexamples: ...
Mo-Gul Jul 3, 2019
da50350
- removed an unnecessary empty line
Mo-Gul Jul 3, 2019
9da30c6
- adapted `extract.lua` after Henri changed it in Master to also acco…
Mo-Gul Jul 13, 2019
09723c9
- accounted for some more `codeexample`s in `tex/generic/graphdrawing…
Mo-Gul Jul 14, 2019
2428348
Merge branch 'master' into PimpCodeexamples
Mo-Gul Jul 16, 2019
4dd4ac8
Revert "Merge branch 'master' into PimpCodeexamples"
Mo-Gul Jul 18, 2019
30ad80a
- removed commented/unnecessary stuff from `extract.lua`
Mo-Gul Jul 18, 2019
357a9af
- implemented suggestions given in https://github.com/pgf-tikz/pgf/pu…
Mo-Gul Jul 18, 2019
8c51d28
- commented some more `\begin{codeexample}[setup code,hidden]`
Mo-Gul Jul 18, 2019
900d477
- also need to Lua comment LaTeX comment in the Lua documentation files
Mo-Gul Jul 18, 2019
ed02c79
- moved `setup code` before `pre` in `extract.lua`
Mo-Gul Jul 20, 2019
26e55a3
- corrected wrongly commented Lua comments in the Lua documentation f…
Mo-Gul Jul 20, 2019
e66db1b
- continued(/finished) moving `setup code,hidden` to `preamble` of th…
Mo-Gul Jul 23, 2019
6fb64f8
- missed to commit/push the Lua documentation stuff
Mo-Gul Jul 24, 2019
87099dd
- fixed issue #718 ([manual] \usepgflibrary vs. \usetikzlibrary)
Mo-Gul Jul 27, 2019
3d5a3d8
- included issue #720 ("sub-library" should load "main library" by de…
Mo-Gul Jul 28, 2019
5528f3e
- moved `colorlet` to the `codeexample` itself instead of to `pre` in…
Mo-Gul Aug 5, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ matrix:
script:
- cd doc/generic/pgf/version-for-luatex/en
- make latex="lualatex --interaction=nonstopmode"
after_success:
after_script:
- cp pgfmanual.pdf ../../
- cp pgfmanual.pdf $TRAVIS_BUILD_DIR/../
- cd ../../../../../
- bash ci/update_tlcontrib.sh
before_deploy:
Expand All @@ -45,7 +44,7 @@ matrix:
- cd doc/generic/pgf/version-for-dvisvgm/en
- touch pgfmanual.toc
- make latex="lualatex --output-format=dvi --interaction=nonstopmode"
after_success:
after_script:
- bash ../../../../../ci/update_website.sh

- env: version=dvipdfm
Expand Down Expand Up @@ -78,13 +77,28 @@ matrix:
- cd doc/generic/pgf/version-for-xetex/en
- make latex="xelatex --no-pdf --interaction=nonstopmode"

- if: repo = pgf-tikz/pgf AND type != pull_request
env: update=sourceforge
before_install:
- openssl aes-256-cbc -K $encrypted_fd6ed174e9a3_key -iv $encrypted_fd6ed174e9a3_iv
-in ci/deploy_key.enc -out ci/deploy_key -d
install:
- git clone --mirror https://github.com/pgf-tikz/pgf.git pgf-git-mirror
- cd pgf-git-mirror
before_script:
- eval "$(ssh-agent -s)"
- chmod 600 ../ci/deploy_key
- echo -e "Host git.code.sf.net\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- ssh-add ../ci/deploy_key
script:
- git remote add sf ssh://[email protected]/p/pgf/git
- git push --mirror --force sf

deploy:
provider: releases
api_key: $GH_TOKEN
file_glob: true
file:
- $TRAVIS_BUILD_DIR/../pgf_*.zip
- $TRAVIS_BUILD_DIR/../pgfmanual.pdf
file: $TRAVIS_BUILD_DIR/../pgf_*.zip
skip_cleanup: true
overwrite: true
on:
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ backend drivers, including `pdftex` and `dvips`. It comes with a
user-friendly syntax layer called Ti*k*Z.

See the directory `doc/generic/pgf` for more information. See the file
`doc/generic/pgf/pgfmanual.pdf` (also available from
https://pgf-tikz.github.io/pgf/pgfmanual.pdf) for a manual. This
`doc/generic/pgf/pgfmanual.pdf` for a manual. This
documentation also explains the installation. See the file
`doc/generic/pgf/license/LICENSE` for license details.

Please go to the official repository at https://github.com/pgf-tikz/pgf or the
official mailing list at https://tug.org/mailman/listinfo/pgf-tikz to submit
bug reports, request new features, etc.
Please go to https://github.com/pgf-tikz/pgf
to submit bug reports, request new features, etc.

## Installation

Expand Down
Binary file added ci/deploy_key.enc
Binary file not shown.
20 changes: 3 additions & 17 deletions ci/update_tlcontrib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,6 @@ if ! git diff --quiet HEAD -- && [ "$1" != "-f" ]; then
exit 1
fi

CURRENT_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
function cleanup {
echo "Cleaning up changes"
git reset --hard "${CURRENT_BRANCH}"
git checkout "${CURRENT_BRANCH}"
}
trap cleanup EXIT

# Switch to a new branch
git checkout -f -B tlcontrib

# Prepare sources for tlpkg
mkdir -p texmf-dist/web2c
Expand All @@ -56,7 +46,7 @@ done
touch texmf-dist/doc/generic/pgf/pgfmanual.pdf # In case you forgot to move it
git add texmf-dist/doc/generic/pgf/pgfmanual.pdf
git add texmf-dist/tex/generic/pgf/pgf.revision.tex # This file HAS to exist!
git commit --no-gpg-sign --quiet --amend --no-edit
git commit --no-gpg-sign --quiet -m "Move files"

# Prepare tlpkg
mkdir -p /tmp/tlpkg/tlpsrc
Expand All @@ -82,12 +72,8 @@ mkdir -p tlcontrib/tlnet/
perl /tmp/tlpkg/bin/tl-update-tlpdb -from-git -master "${PWD}"
perl /tmp/tlpkg/bin/tl-update-containers -master "${PWD}" -location "${PWD}/tlcontrib/tlnet" -all -recreate -no-sign

# Copy pgfmanual.pdf to tlcontrib
cp texmf-dist/doc/generic/pgf/pgfmanual.pdf tlcontrib/

# Clear trap and cleanup
trap - EXIT
cleanup
# Reset git to previous state
git reset --hard HEAD~1

# Deploy the tree
cd tlcontrib/
Expand Down
240 changes: 0 additions & 240 deletions doc/generic/pgf/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,243 +1,3 @@
2019-07-12 Henri Menke

- Release 3.1.4

2019-07-12 Henri Menke

- after_script runs after deploy

2019-07-11 Henri Menke

- Add pgfmanual to release files

2019-07-11 johannesborgstrom

- Add URL of the pdf manual to the README.md file

2019-07-11 Henri Menke

- Goodbye SourceForge

2019-07-11 Henri Menke

- Clear trap before deploy

2019-07-11 Henri Menke

- Switch to a new branch for tlcontrib

2019-07-10 Henri Menke

- Stretchable dash patterns #629

2019-07-09 Henri Menke

- Try protected@edef in pgfmathparse

2019-07-05 Henri Menke

- Hardening patterns.meta a little

2019-07-04 Henri Menke

- \pgfmathrandominteger didn't handle expressions as input

2019-07-04 Henri Menke

- extract.lua: all extracted files are tex

2019-07-04 Henri Menke

- extract.lua: recurse into subdirectories, ignore remember picture

2019-07-03 Henri Menke

- Describe \pgfdeclarepattern and \tikzdeclarepattern

2019-07-03 Henri Menke

- Add patterns.meta to the manual

2019-06-27 Henri Menke

- /pgf/foreach/count is unscoped #702

2019-04-22 Henri Menke

- On the way to more configurable patterns

2019-06-27 Henri Menke

- Add mailing list to the README

2019-06-26 Henri Menke

- Missed stripping pt on dimensions #701

2019-06-26 Henri Menke

- Bend angle need not be integer #700

2019-06-26 Henri Menke

- No dedicated options for libraries (for now)

2019-06-26 Henri Menke

- Add option to hide code

2019-06-26 Henri Menke

- Stripping comments was too greedy

2019-06-26 Henri Menke

- Small fix to the grammar

2019-06-25 Henri Menke

- Typos in luamath

2019-06-24 Henri Menke

- Functionality to print libraries in code listings

2019-06-23 Stefan Pinnow

- - fixed some typos

2019-06-22 Stefan Pinnow

- - fixed regression (accidentally duplicated part of code)

2019-06-21 Henri Menke

- \pgf@nodecallback might be called twice #693

2019-06-21 Henri Menke

- Default implementation of \pgfsys@hboxsynced doesn't work for dvips #690

2019-06-21 Henri Menke

- Fix position tracking for XeTeX #353

2019-06-06 Henri Menke

- Wrong order in definition of \translate #689

2019-06-05 Henri Menke

- FILES is generated

2019-06-05 Henri Menke

- Change priority of Travis jobs

2019-06-05 Henri Menke

- Load imakeidx before hyperref

2019-06-05 Henri Menke

- Remove user config from deploy script

2019-06-03 Henri Menke

- Revert "Missing spaces in error messages #679"

2019-05-31 cfeuersaenger

- Restored lost functionality in intersections / fillbetween feature

2019-05-30 Christian Feuersaenger

- Revert 00f4e8d4154dcb3133ed4a106b6254b8faf874e2

2019-05-30 Christian Feuersaenger

- Fixed regression: the merge cc191ed4ae5bd11df9ce42595102caa4e1f141b4 accidentally deleted a feature

2019-05-24 Henri Menke

- Use imakeidx for automatic index creation

2019-05-23 Henri Menke

- Looks like I got tex4ht working

2019-05-23 Henri Menke

- Use T1 for DVI output for now, see also https://github.com/mgieseki/dvisvgm/issues/2

2019-05-23 Henri Menke

- luaotfload was missing this whole time

2019-05-23 Henri Menke

- Merge remote-tracking branch 'loopspace/master'

2019-05-23 Henri Menke

- Disable T1 encoding for LuaTeX

2019-05-21 Andrew Stacey

- Extended the higher-level save of the last moveto so that it also works with nodes.

2019-05-21 Andrew Stacey

- Added dimensions for saving the last moveto coordinates so that -- cycle works with nodes. The existing method uses the coordinates stored from the last soft path move to, but this has an extra transformation applied to it meaning that when it gets used in node placement the transformation is applied twice.

2019-05-20 Henri Menke

- Missing spaces in error messages #679

2019-05-17 Henri Menke

- Move tlcontrib to tlnet folder to make room for possible future MikTeX contrib

2019-05-17 Henri Menke

- Typo in alternate angles #676

2019-05-15 Henri Menke

- Missing xcolor definitions for Plain and ConTeXt #675

2019-05-13 Henri Menke

- Typo

2019-05-13 Henri Menke

- Some more fixes for the tex4ht manual

2019-05-13 Henri Menke

- Merge remote-tracking branch 'Mo-Gul/master'

2019-05-13 Henri Menke

- Revert all but the useful changes of 98829b450a96a6790570aba11949cd9834e49e2c

2019-05-13 Henri Menke

- Some more cleanup before deploy

2019-05-10 Henri Menke

- Fix .lastretry #672

2019-05-13 Henri Menke

- Deploy TDS and CTAN zip

2019-05-13 Henri Menke

- Get git tag in Makefile

2019-05-09 Henri Menke

- Release 3.1.3
Expand Down
6 changes: 4 additions & 2 deletions doc/generic/pgf/README
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ doc/generic/pgf/pgfmanual.pdf for a manual. This
documentation also explains the installation. See the file
doc/generic/pgf/license/LICENSE for license details.

Please go to the official repository at https://github.com/pgf-tikz/pgf
or the official mailing list at https://tug.org/mailman/listinfo/pgf-tikz
Please go to https://github.com/pgf-tikz/pgf
to submit bug reports, request new features, etc.



Loading