GNU bug report logs -
#2666
23.0.91; TeX calendar and UTF-8 encoding
Previous Next
To reply to this bug, email your comments to 2666 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2666
; Package
emacs
.
(Fri, 13 Mar 2009 21:25:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 13 Mar 2009 21:25:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Hello!
I have localised calendar to show month and day names in German. This
month is März. When I create a (La)TeX calendar, it's in UTF-8
(because of my shell environment), the ä is 0xC3 0xA4 or ä in ISO
8859-1 or À in ISO 8859-15. The latter is my preferred LaTeX input
encoding since it allows to use our currency sign, the €. This now
makes it necessary to use the textcomp package in LaTeX.
Is it possible to make the output produced or its encoding more
flexible, adapt itself to the default encoding of GNU Emacs? If not,
could the documentation be updated to state which encoding is used
and that the user should use cal-tex-preamble-extra to adapt for that?
I have some difficulties with the documentation of cal-tex-preamble-
extra. Its doc-string contains
For example, to include extra packages:
"\\usepackage{foo}\n\\usepackage{bar}\n".
but when I use \\ and \n in the customisation interface these appear
unchanged in the calendar.tex buffer. (Actually LaTeX does not
complain when a few commands are concatenated to build a long line.)
I haven't yet saved my customisation – if this explains the
difference between theory and practise.
I'd also recommend to use the report class instead of article in the
LaTeX output generated: no useless AUX file is created then. Other
differences won't show up.
Another improvement would be to update some old LaTeX code, for
example the
\special{landscape}{}%
This would only work for ancient DVI output. Modern XeTeX and pdfTeX
do not understand this. A completely orthogonal solution is:
\usepackage[landscape]{geometry}
Between ``[´´ and ``]´´ is also the correct place to define the margin:
\usepackage[landscape,nomarginpar,top=0pt,margin={-2cm,-2cm}]{geometry}
It should be OK to just use:
\usepackage[landscape,nomarginpar,top=0pt]{geometry}
It's not necessary to set \textwidth and \textheight. There is
probably no-one using a TeX distribution elder then 15 years, i.e.,
it will be teTeX or TeX Live based. In these distributions a TeX
configuration file sets the default paper size. To switch from
landscape to portrait just remove the ``landscape,´´ option from the
line loading the geometry package or set clearly:
\usepackage[portrait,nomarginpar,top=0pt]{geometry}
This package is in all TeX distributions. Since some years (<10) this
is also true for the Latin Modern fonts (texdoc lm-info), which are
planned as a modernised update and substitute of all CM fonts in a
modern font format (OTF), which can be loaded via
\usepackage{lmodern}
(actually PostScript fonts are used here). It could also be thought
of making the LaTeX output XeTeX compatible (loading ifpdf and
ifxetex packages, loading the fontspec package for XeTeX and setting
a system font, for example Times, or leaving the default Latin Modern).
In GNU Emacs 23.0.91.1 (powerpc-apple-darwin8.11.0, GTK+ Version 2.14.7)
of 2009-03-13 on localhost
Windowing system distributor `The XFree86 Project, Inc', version
11.0.40400000
configured using `configure '--without-sound' '--without-pop' '--
with-dbus' '--with-libotf' '--x-includes=/opt/local/include' '--x-
libraries=/opt/local/lib' '--enable-locallisppath=/Library/
Application Support/Emacs/calendar23:/Library/Application Support/
Emacs' 'PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/
pkgconfig:/usr/lib/pkgconfig' 'CFLAGS=-Wno-pointer-sign -H -pipe -
fPIC -mcpu=7450 -mtune=7450 -fast -mpim-altivec -ftree-vectorize -
foptimize-register-move -freorder-blocks -freorder-blocks-and-
partition -fthread-jumps -fpeephole -fno-crossjumping' 'LDFLAGS=-
dead_strip -multiply_defined suppress -L/opt/local/lib' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: de_DE.UTF-8
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: de_DE.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Info
Minor modes in effect:
shell-dirtrack-mode: t
diff-auto-refine-mode: t
show-paren-mode: t
display-time-mode: t
desktop-save-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
--
Mit friedvollen Grüßen
Pete
Imbecility, n.:
A kind of divine inspiration, or sacred fire affecting
censorious critics of this dictionary.
– Ambrose Bierce: _The Devil's Dictionary_
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2666
; Package
emacs
.
(Fri, 13 Mar 2009 23:20:04 GMT)
Full text and
rfc822 format available.
Message #8 received at 2666 <at> emacsbugs.donarmstrong.com (full text, mbox):
reassign 2666 emacs,calendar
severity 2666 wishlist
stop
Peter Dyballa wrote:
> I have some difficulties with the documentation of cal-tex-preamble-
> extra. Its doc-string contains
>
> For example, to include extra packages:
> "\\usepackage{foo}\n\\usepackage{bar}\n".
>
> but when I use \\ and \n in the customisation interface these appear
> unchanged in the calendar.tex buffer.
The above is what you need to use if you _don't_ use customize.
It seems that customize tries to be helpful and does extra quoting of
values you insert. So in the customize input field, you just type:
\usepackage{foo}C-q C-j
\usepackage{bar}
That results in the value being set to what it says in the doc-string.
I can add a comment along these lines, but it's a general customize
feature.
The other items are wishlists.
bug reassigned from package `emacs' to `emacs,calendar'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Fri, 13 Mar 2009 23:20:05 GMT)
Full text and
rfc822 format available.
Severity set to `wishlist' from `normal'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Fri, 13 Mar 2009 23:20:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2666
; Package
emacs,calendar
.
(Fri, 13 Mar 2009 23:35:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Fri, 13 Mar 2009 23:35:04 GMT)
Full text and
rfc822 format available.
Message #17 received at 2666 <at> emacsbugs.donarmstrong.com (full text, mbox):
Am 14.03.2009 um 00:10 schrieb Glenn Morris:
> That results in the value being set to what it says in the doc-string.
Can't customise be customised to correct some doc-strings? Or should
I send a new bug report?
--
Greetings
Pete
When in doubt, use brute force.
– Ken Thompson
bug reassigned from package 'emacs,calendar' to 'emacs'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 30 Mar 2010 07:12:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 78 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.