3 Commits

Author SHA1 Message Date
Marc Wäckerlin
a43e21e3b2 initial release, ready for ctan, typo 2018-08-15 23:34:15 +02:00
Marc Wäckerlin
deeec7c8b2 more cleanups for ctan 2018-08-15 23:21:17 +02:00
Marc Wäckerlin
73d0ec06b0 textwidth in example updated 2018-08-15 00:05:01 +02:00
13 changed files with 37 additions and 14 deletions

View File

@@ -198,11 +198,10 @@ See [examples] for more examples.
Need More
=========
If you are missing a feature or a configuration option, just open a [ticket] and I will care about it.
If you are missing a feature or a configuration option, consult the [project] page. Just open a [ticket] and the [author] will care about it. Or extend it, it's [lgpl].
[ticket]: https://mrw.sh/templates/latex/issues "open issues and tickets for my LaTeX-templates project"
[examples]: examples "more examples"
[vcard]: https://tools.ietf.org/html/rfc6350 "RFC 6350, vCard Format Specification Version 4.0"
[app]: https://f-droid.org/de/packages/com.google.zxing.client.android/ "Barcode Scanner"
@@ -226,3 +225,8 @@ If you are missing a feature or a configuration option, just open a [ticket] and
[wikipedia]: https://wikipedia.org "the online encyclopedia"
[pgp]: https://en.wikipedia.org/wiki/Pretty_Good_Privacy "pretty good privacy — encryption standard"
[nextcloud federation id]: https://nextcloud.com/federation "share your cloud across others"
[I]: https://marc.wäckerlin.ch "Marc Wäckerlin"
[ticket]: https://mrw.sh/templates/businesscard-qrcode/issues "open issues and tickets for my LaTeX-templates project"
[author]: https://marc.wäckerlin.ch "Marc Wäckerlin"
[project]: https://mrw.sh/templates/businesscard-qrcode "the main project page"
[lgpl]: https://www.gnu.org/licenses/lgpl-3.0 "Library GNU Public License"

View File

@@ -1,5 +1,7 @@
% Author: Marc Wäckerlin
% License: LGPL
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{businesscard-qrcode}[2018/08/14 version 1.0 ready for ctan]
\ProvidesClass{businesscard-qrcode}[2018/08/15 version 1.2 ready for ctan]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% option evaluation

View File

@@ -1,5 +1,5 @@
#AC_PREREQ([2.69])
AC_INIT([businesscard-qrcode], [1.1], [marc@waeckerlin.org])
AC_INIT([businesscard-qrcode], [1.2], [marc@waeckerlin.org])
AM_INIT_AUTOMAKE([1.9 tar-pax])
AC_ARG_WITH([latexdir],

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,6 +1,8 @@
\documentclass[paperheight=5.4cm,paperwidth=10.4cm,
contentheight=5cm,contentwidth=10cm,
cutdist=2]
cutdist=2,
textwidth=0.6,
qrwidth=.35]
{businesscard-qrcode}
\givennames{Gretchen\ Frieda}
@@ -13,4 +15,4 @@
\begin{document}
\drawcard
\end{document}
\end{document}

Binary file not shown.

View File

@@ -3,10 +3,10 @@ AUTOMAKE_OPTIONS = foreign
SUBDIRS = examples screenshots
dist_latex_DATA = @PACKAGE_NAME@.cls
dist_doc_DATA = README.md @PACKAGE_NAME@.pdf
dist_doc_DATA = README.md #@PACKAGE_NAME@.pdf
@PACKAGE_NAME@.pdf: README.md
pandoc --toc --latex-engine=xelatex -o $@ $<
#@PACKAGE_NAME@.pdf: README.md
# pandoc --toc --latex-engine=xelatex -o $@ $<
CLEANFILES = @PACKAGE_NAME@.pdf
#CLEANFILES = @PACKAGE_NAME@.pdf
MAINTAINERCLEANFILES = makefile.in aclocal.m4 configure install-sh missing

19
release.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash -ex
./autogen.sh
./configure --prefix=/ --docdir=/ --with-latexdir=/
make all
file=$(sed -n 's/AC_INIT(\[\(.*\)\], \[\(.*\)\], .*/\1/p' configure.ac)
version=$(sed -n 's/AC_INIT(\[\(.*\)\], \[\(.*\)\], .*/\2/p' configure.ac)
DESTDIR=$(pwd)/${file} make install
tar czf ${file}-${version}-ctan.tar.gz ${file}
DESTDIR=$(pwd)/${file} make uninstall maintainer-clean
for d in $(sed -n 's/SUBDIRS *= *//p' makefile.am); do
rmdir ${file}/${d}
done
rmdir ${file}
set +x
echo "====================================================================="
echo "File is ready for CTAN upload:"
echo "${file}-${version}-ctan.tar.gz"
echo "====================================================================="

View File

@@ -1,7 +1,3 @@
EXAMPLES = example john-doe-hongkong \
peter-muster-example-company-zuerich special-papersize \
texstudio_d30266
screenshotdir=${docdir}/screenshots
dist_screenshot_DATA=$(EXAMPLES:%=%.jpg)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 77 KiB