Re: nobreak-fade.el v.8

2014-06-11 Thread Emanuel Berg
Stefan Monnier monn...@iro.umontreal.ca writes:

 IIRC {\bf foo} has been deprecated in LaTeX (in favor
 of \textbf{foo}) since the appearance of LaTeX2e.

Yeah? What was the reason for that? How is {\bf foo}
inferior? This is the second time today this happened,
I seem to be totally outdated... - but {\bf foo} works
with both pdflatex and xelatex (which I got from the
Debian Jessie repositories). I prefer that form as it
is quicker to type and has a more encapsulated
syntax. But I'll start using \textbf{foo} if you in
just one sentence or so can tell me what the gain would
be.

-- 
underground experts united:
http://user.it.uu.se/~embe8573
___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources


Re: nobreak-fade.el v.8

2014-06-11 Thread Ivan Andrus
On Jun 11, 2014, at 3:37 PM, Emanuel Berg embe8...@student.uu.se wrote:

 Stefan Monnier monn...@iro.umontreal.ca writes:
 
 IIRC {\bf foo} has been deprecated in LaTeX (in favor
 of \textbf{foo}) since the appearance of LaTeX2e.
 
 Yeah? What was the reason for that? How is {\bf foo}
 inferior? This is the second time today this happened,
 I seem to be totally outdated... - but {\bf foo} works
 with both pdflatex and xelatex (which I got from the
 Debian Jessie repositories). I prefer that form as it
 is quicker to type and has a more encapsulated
 syntax. But I'll start using \textbf{foo} if you in
 just one sentence or so can tell me what the gain would
 be.

\textbf and friends handle italic correction for you and are able to be nested, 
e.g., \textit{\textbf{blah}} is bold and italic.  See also 
http://tex.stackexchange.com/questions/41681/correct-way-to-bold-italicize-text.
  I know that’s two sentences (now three), but I’m feeling generous today. :-)

-Ivan
___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources


Re: nobreak-fade.el v.8

2014-06-10 Thread Kevin Ryde
Emanuel Berg embe8...@student.uu.se writes:

 {\bf boldface} and stuff like that

I don't think I've ever been emboldened to write \bf.
A bit of \rm perhaps.  :-)

-- 
It's a long way to the shop if you want a sausage roll.

___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources


Re: nobreak-fade.el v.8

2014-06-10 Thread Emanuel Berg
Kevin Ryde user42_ke...@yahoo.com.au writes:

 {\bf boldface} and stuff like that

 I don't think I've ever been emboldened to write \bf.
 A bit of \rm perhaps.  :-)

Ha-ha-ha, super :)

-- 
underground experts united:
http://user.it.uu.se/~embe8573
___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources


nobreak-fade.el v.8

2014-06-09 Thread Kevin Ryde
This is some miscellaneous funcs I use in fill-nobreak-predicate.
The latest addition is TeX maths to prevent line breaks when a short
symbol is at the start or end of something like

   $x \blah\blah y$



nobreak-fade.el
Description: application/emacs-lisp
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iD8DBQBTlVg4LFMCIV9q3ToRAm45AKCqTecUrXfTHmdclVroUD0+pegy/wCfcmrE
Hh2qpTZfGbKk7Jm9VpLq2c0=
=o3D0
-END PGP SIGNATURE-
___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources


Re: nobreak-fade.el v.8

2014-06-09 Thread Emanuel Berg
Kevin Ryde user42_ke...@yahoo.com.au writes:

 This is some miscellaneous funcs I use in
 fill-nobreak-predicate.  The latest addition is TeX
 maths to prevent line breaks when a short symbol is
 at the start or end of something like

 $x \blah\blah y$

Great! I thought of that myself many times when doing
LaTeX. And not only for the example you mention, but
for {\bf boldface} and stuff like that as well. You
type it into ordinary paragraphs (i.e., plain text), so
you want to fill it, but because they are logical
units, you wish to keep them together whenever possible
- also, breaking them often breaks the highlighting, I
have noticed, and it can get really
annoying/nonproductive tilting the text trying to get
it back. I will try this, now.

-- 
underground experts united:
http://user.it.uu.se/~embe8573
___
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources