summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-03-10 20:54:52 +0000
committerKarl Berry <karl@freefriends.org>2014-03-10 20:54:52 +0000
commit7984bd9ace7f87b10a105911d91ef92b0a515471 (patch)
treee0cc42588243b757945de7654514c307e8043192
parent006706844f583cd1edb181342d7a6d9cd366aa6b (diff)
fnpct (10mar14)
git-svn-id: svn://tug.org/texlive/trunk@33144 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/fnpct/README6
-rw-r--r--Master/texmf-dist/doc/latex/fnpct/fnpct_en.pdfbin590092 -> 594698 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fnpct/fnpct_en.tex2
-rw-r--r--Master/texmf-dist/tex/latex/fnpct/fnpct.sty38
4 files changed, 29 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/fnpct/README b/Master/texmf-dist/doc/latex/fnpct/README
index 16d0aa601dc..5e7d63adba5 100644
--- a/Master/texmf-dist/doc/latex/fnpct/README
+++ b/Master/texmf-dist/doc/latex/fnpct/README
@@ -1,15 +1,15 @@
--------------------------------------------------------------------------
-the FNPCT package v0.4a
+the FNPCT package v0.4b
footnote kerning
-2013/12/23
+2014/03/10
--------------------------------------------------------------------------
Clemens Niederberger
Web: https://bitbucket.org/cgnieder/fnpct/
E-Mail: contact@mychemistry.eu
--------------------------------------------------------------------------
-Copyright 2012-2013 Clemens Niederberger
+Copyright 2012-2014 Clemens Niederberger
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/Master/texmf-dist/doc/latex/fnpct/fnpct_en.pdf b/Master/texmf-dist/doc/latex/fnpct/fnpct_en.pdf
index 9080ad5246a..21ad2a58960 100644
--- a/Master/texmf-dist/doc/latex/fnpct/fnpct_en.pdf
+++ b/Master/texmf-dist/doc/latex/fnpct/fnpct_en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fnpct/fnpct_en.tex b/Master/texmf-dist/doc/latex/fnpct/fnpct_en.tex
index 938659e278c..f1f3226c5f5 100644
--- a/Master/texmf-dist/doc/latex/fnpct/fnpct_en.tex
+++ b/Master/texmf-dist/doc/latex/fnpct/fnpct_en.tex
@@ -43,7 +43,7 @@
authors = Clemens Niederberger ,
email = contact@mychemistry.eu ,
url = https://bitbucket.org/cgnieder/fnpct/ ,
- abstract = {The \fnpct package basically does two things to footnotes: if
+ abstract = {The \fnpct\ package basically does two things to footnotes: if
footnote marks are followed by a punctuation mark the order of footnote
and punctuation mark is reversed and the kerning gets adjusted. As a side
effect a new method of creating multiple footnotes and some other features
diff --git a/Master/texmf-dist/tex/latex/fnpct/fnpct.sty b/Master/texmf-dist/tex/latex/fnpct/fnpct.sty
index 60f6c18fb33..38c84f7f45d 100644
--- a/Master/texmf-dist/tex/latex/fnpct/fnpct.sty
+++ b/Master/texmf-dist/tex/latex/fnpct/fnpct.sty
@@ -8,7 +8,7 @@
% Web: https://bitbucket.org/cgnieder/fnpct/
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2012-2013 Clemens Niederberger
+% Copyright 2012-2014 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -31,8 +31,8 @@
\RequirePackage { xparse , l3keys2e , scrlfile }
\ProvidesExplPackage
{fnpct}
- {2013/12/23}
- {0.4a}
+ {2014/01/10}
+ {0.4b}
{footnote kerning}
% --------------------------------------------------------------------------
@@ -106,6 +106,8 @@
\dim_set:Nn \l__fnpct_normal_indent_dim { 1.5em }
\dim_new:N \l__fnpct_normal_parindent_dim
\dim_set:Nn \l__fnpct_normal_parindent_dim { 1em }
+\dim_new:N \l__fnpct_french_before_footnote_space_dim
+\dim_set:Nn \l__fnpct_french_before_footnote_space_dim { .16667em }
% multiple footnote input and output variables:
\tl_new:N \l__fnpct_multiple_footnotes_delimiter_tl
@@ -244,6 +246,8 @@
\prop_map_inline:Nn \l__fnpct_punctuation_marks_before_prop
{ \fnpct_set_punctuation_dim:nnn { before } { ##1 } { #1 } } ,
before-footnote-space .dim_set:N = \l__fnpct_before_footnote_dim ,
+ french-before-footnote-space .dim_set:N =
+ \l__fnpct_french_before_footnote_space_dim ,
punct-after .bool_set:N = \l__fnpct_punct_after_bool ,
punct-after .default:n = true ,
dont-mess-around .code:n =
@@ -399,6 +403,7 @@
\l__fnpct_tmpa_tl
{
\dim_set:Nn \l__fnpct_tmpa_dim { \l__fnpct_tmpa_tl }
+ \fnpct_no_break:
\skip_horizontal:N \l__fnpct_tmpa_dim
\fnpct_no_break:
\skip_horizontal:N \c_zero_skip
@@ -415,6 +420,7 @@
\l__fnpct_tmpa_tl
{
\dim_set:Nn \l__fnpct_tmpa_dim { \l__fnpct_tmpa_tl }
+ \fnpct_no_break:
\skip_horizontal:N \l__fnpct_tmpa_dim
\fnpct_no_break:
\skip_horizontal:N \c_zero_skip
@@ -887,10 +893,7 @@
}
%% the `tablefootnote' package:
\fnpct_treatment:nn { tablefootnote }
- {
- \fnpct_renew_and_mult_no_opt:NNN \tablefootnote
- \fnpct_orig_tablefootnote:w \multtablefootnote
- }
+ { \AdaptNote \tablefootnote \multtablefootnote }
%% the `bigfoot' package:
\fnpct_treatment:nn { bigfoot }
{
@@ -1019,17 +1022,18 @@
}
% --------------------------------------------------------------------------
-\RequirePackage{translations}
+\RequirePackage{translations}[2014/01/10]
\AtBeginDocument{
- \tl_set:Nx \l__fnpct_tmpa_tl { \baselanguage{French} }
- \tl_set:Nx \l__fnpct_tmpb_tl { \baselanguage{\languagename} }
- \tl_if_eq:NNT \l__fnpct_tmpa_tl \l__fnpct_tmpb_tl
+ \ifcurrentbaselanguage{French}
{
\AfterBeginDocument{
\let\@footnotemark\@footnotemarkORI
- \setfnpct{ before-footnote-space = .16667em }
+ \setfnpct{
+ before-footnote-space =
+ \l__fnpct_french_before_footnote_space_dim
+ }
}
- }
+ }{}
}
% --------------------------------------------------------------------------
@@ -1096,6 +1100,11 @@
- clearer distinction between internal commands and
document commands
2013/12/23 v0.4a - fix bug introcuded in v0.4 due to a typo
+2014/03/10 v0.4b - adapt to version 1.2 of package `translations'
+ - adapt to update to `tablefootnote'
+ - bug fix: add missing penalty that caused a footnote
+ marker to be placed on the following line in some
+ instances
% --------------------------------------------------------------------------
% NOTES:
@@ -1104,6 +1113,9 @@
% --------------------------------------------------------------------------
% TODO:
+- localization: should there be different defaults for different languages?
+ And who might provide enough information about conventions in other
+ languages?
- solve incompatibility with the `footnote' package
- get this working (??) => http://tex.stackexchange.com/questions/54288/nested-endnotes
- the `bigfoot' package provides \footnote+ and \footnote- -- let's see if we