emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dale <dale@codefu.org>
To: emacs-orgmode@gnu.org
Subject: Is doc/org-version.tex generation broken?
Date: Fri, 30 Jun 2017 08:25:24 -0500	[thread overview]
Message-ID: <CAEj9N4+z=bd9xBaiPBe29AL-HEMrF+foVO7gT3wwRYpJ4kVP=w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]

Hi!

a8d007db15 starts generating doc/org-version.{tex,inc}, but on my OS X
system this ends up creating broken files with (I believe) vertical tab
characters in them.  On HEAD this morning:

$ make card
[...]
PDFLATEX=pdftex texi2pdf --batch --clean --expand orgcard.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded
format=pdftex)
 restricted \write18 enabled.
entering extended mode

(../../.././orgcard.tex
(/Users/dale/repositories/org-mode/doc/org-version.tex
/Users/dale/repositories/org-mode/doc/org-version.tex:3: Missing control
sequen
ce inserted.
<inserted text>
                \inaccessible
<to be read again>


l.3 \def
         ersionyear{2017}
[...]
/opt/local/bin/texi2dvi: pdftex exited with bad status, quitting.
make[1]: *** [orgcard.pdf] Error 1
make: *** [card] Error 2

$ cat doc/org-version.tex
% automatically generated, do not edit
\def\orgversionnumber{9.0.9}
\def
    ersionyear{2017}
\def\year{2017}

I have no idea how that \v is getting turned into a vertical tab.  Is make
processing these?

$ gmake --version
GNU Make 4.2.1
Built for x86_64-apple-darwin15.6.0
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ cat /tmp/test-makefile
single:
echo "single: 123\v456"

double:
echo "double: 123\\v456"

quad:
echo "quad: 123\\\\v456"
$ gmake -f /tmp/test-makefile single double quad
echo "single: 123\v456"
single: 123
           456
echo "double: 123\\v456"
double: 123
           456
echo "quad: 123\\\\v456"
quad: 123\v456

Is this something screwed up in my environment or are others seeing this as
well?

Thanks,
Dale

[-- Attachment #2: Type: text/html, Size: 2811 bytes --]

             reply	other threads:[~2017-06-30 13:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-30 13:25 Dale [this message]
2017-06-30 14:08 ` Is doc/org-version.tex generation broken? Michael Ax
2017-06-30 14:30 ` Kyle Meyer
2017-06-30 17:29   ` Kyle Meyer
2017-07-01  3:46     ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEj9N4+z=bd9xBaiPBe29AL-HEMrF+foVO7gT3wwRYpJ4kVP=w@mail.gmail.com' \
    --to=dale@codefu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).