Skip to content

Instantly share code, notes, and snippets.

% 12pt default for scrlttr2
\documentclass{scrlttr2}
% \NewDocumentCommand{\foo}{m +m}
% {
% \IfFileExists{./#1}
% {#2}
% {\PackageError{formletterbug}{CONFIG FILE '#1' DOES NOT EXIST - NOT CREATING FORMLETTER}{Check that the config filename (first argument) has been correctly passed to \formletter}}
% %{\PackageError{formletterbug}{CONFIG FILE '#1' DOES NOT EXIST - NOT CREATING FORMLETTER}{Check that the config filename (first argument) has been correctly passed to \foo}}
% }
rm -rf test-shelve2
hg init test-shelve2
cd test-shelve2
echo "First line of foo.txt" >> foo.txt
hg add foo.txt
hg ci -m "Add foo.txt"
echo "Second line of foo.txt" >> foo.txt
hg ci -m "foo.txt second line"
hg topic bar
echo "First line of bar.txt" >> bar.txt
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package mercurial
dpkg-buildpackage: info: source version 6.2-1
dpkg-buildpackage: info: source distribution sid
dpkg-buildpackage: info: source changed by Julien Cristau <jcristau@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean --with python3,bash-completion
debian/rules override_dh_auto_clean
rm -rf topics1
hg init topics1
cd topics1
hg topics taxfm.2019-2020
touch foo
hg add foo
hg ci -m "add foo" foo
hg up null
touch bar
hg add bar
\documentclass{article}
\begin{document}
\newcommand{\somearg}{xx}
\newcommand{\someotherarg}{yy}
\newcommand{\yetsomeotherarg}{zz}
\foo{\somearg}{\someotherarg}
\bar{\somearg}{\someotherarg}{\yetsomeotherarg}
\documentclass[12pt]{scrartcl}
\usepackage{pgfkeys}
\begin{document}
\newcommand{\pdfconfigfilename}{FOO}
%\newcommand{\Pdfconfigfilename}{FOO}
\pgfkeys
{
\documentclass[12pt]{scrartcl}
\usepackage{pgfkeys}
\begin{document}
\newcommand\pdfconfig
\pgfkeys
{
/includepdffiles/.is family, /includepdffiles,
% Calling the keys so that the macros are defined.
\documentclass[12pt]{scrartcl}
\usepackage{pgfkeys}
\newcommand\colnames
\pgfkeys
{
/foo/.is family, /foo,
default/.style =
{
%https://tex.stackexchange.com/a/16253/3406
\documentclass[12pt]{scrartcl}
\usepackage{longtable}
%\usepackage{threeparttable}
\usepackage{threeparttablex}
\usepackage{booktabs}
\begin{document}
\begin{ThreePartTable}
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
** Mercurial Distributed SCM (version 6.1.1)
** Extensions loaded: churn, convert, extdiff, graphlog, hgext3rd.evolve 10.5.1, hgext3rd.topic 0.24.1.dev, hgk, histedit, journal, keyword, mq, narrow, pager, patchbomb, purge, rebase, record, schemes, share, show, strip
Traceback (most recent call last):
File "/usr/bin/hg", line 61, in <module>
dispatch.run()
File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 144, in run
status = dispatch(req)