All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] utilities/autodate.sh: too many \s
@ 2017-01-16 23:41 Trevor Woerner
  2017-01-17 11:30 ` Akira Yokosawa
  0 siblings, 1 reply; 9+ messages in thread
From: Trevor Woerner @ 2017-01-16 23:41 UTC (permalink / raw)
  To: perfbook

Remove extraneous \ which causes build to fail:

	! LaTeX Error: There's no line here to end.

	See the LaTeX manual or LaTeX Companion for explanation.
	Type  H <return>  for immediate help.
	 ...

	l.2 \\n
	       ewcommand{\\commityear}{2017}
	?
	! Emergency stop.
	 ...

	l.2 \\n
	       ewcommand{\\commityear}{2017}
	Your command was ignored.
	Type  I <command> <return>  to replace it with another command,
	or  <return>  to continue without it.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 utilities/autodate.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/autodate.sh b/utilities/autodate.sh
index 6df8f99..84b4ea7 100644
--- a/utilities/autodate.sh
+++ b/utilities/autodate.sh
@@ -45,4 +45,4 @@ year=`date --date="$date_str" +%Y`
 day=`date --date="$date_str" +%e`

 echo "\\date{$month $day, $year$modified}"
-echo "\\\newcommand{\\\commityear}{$year}"
+echo "\\newcommand{\\commityear}{$year}"
-- 
2.11.0.258.ge05806d


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-01-23  0:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-16 23:41 [PATCH] utilities/autodate.sh: too many \s Trevor Woerner
2017-01-17 11:30 ` Akira Yokosawa
2017-01-17 11:33   ` [PATCH] autodate.sh: Use printf instead of echo Akira Yokosawa
2017-01-19  2:33     ` Trevor Woerner
2017-01-19 11:16       ` [PATCH v2] autodate.sh: Use printf command " Akira Yokosawa
2017-01-20 15:01         ` Akira Yokosawa
2017-01-23  0:58           ` Paul E. McKenney
2017-01-18 17:00   ` [PATCH] utilities/autodate.sh: too many \s Trevor Woerner
2017-01-18 22:15     ` Akira Yokosawa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.