emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Difference between LaTeX and HTML exported documents for bold verbatim text
@ 2013-11-09 20:14 Mark Edgington
  2013-11-09 21:24 ` Aaron Ecay
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Edgington @ 2013-11-09 20:14 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

I have noticed that it if you have text like the following in org-mode:

A *B* *=C=*

then exporting to HTML causes A to be normal, B to be bold, and C to
be bold and fixed-width font.

Exporting the same to LaTeX, however, causes A to be normal, B to be
bold, and C to be only fixed-width but not bold.

It would be nice if both exporters were consistent in how they export
the styles for these cases (it seems like the HTML exporter gets it
right, while the LaTeX exporter doesn't).

Regards,

Mark

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

* Re: Difference between LaTeX and HTML exported documents for bold verbatim text
  2013-11-09 20:14 Difference between LaTeX and HTML exported documents for bold verbatim text Mark Edgington
@ 2013-11-09 21:24 ` Aaron Ecay
  2013-11-09 22:13   ` Mark Edgington
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Ecay @ 2013-11-09 21:24 UTC (permalink / raw)
  To: Mark Edgington, emacs-orgmode

Hi Mark,

2013ko azaroak 9an, Mark Edgington-ek idatzi zuen:
> 
> Hello all,
> 
> I have noticed that it if you have text like the following in org-mode:
> 
> A *B* *=C=*
> 
> then exporting to HTML causes A to be normal, B to be bold, and C to
> be bold and fixed-width font.
> 
> Exporting the same to LaTeX, however, causes A to be normal, B to be
> bold, and C to be only fixed-width but not bold.
> 
> It would be nice if both exporters were consistent in how they export
> the styles for these cases (it seems like the HTML exporter gets it
> right, while the LaTeX exporter doesn't).

This is an issue of the default font in LaTeX not providing the right
glyphs.  See:
http://tex.stackexchange.com/questions/33039/using-ttfamily-with-bfseries-or-how-to-enable-bold-in-fixed-width-font

-- 
Aaron Ecay

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

* Re: Difference between LaTeX and HTML exported documents for bold verbatim text
  2013-11-09 21:24 ` Aaron Ecay
@ 2013-11-09 22:13   ` Mark Edgington
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Edgington @ 2013-11-09 22:13 UTC (permalink / raw)
  To: emacs-orgmode

Aaron Ecay <aaronecay <at> gmail.com> writes:

> > It would be nice if both exporters were consistent in how they export
> > the styles for these cases (it seems like the HTML exporter gets it
> > right, while the LaTeX exporter doesn't).
> 
> This is an issue of the default font in LaTeX not providing the right
> glyphs.  See:
>
http://tex.stackexchange.com/questions/33039/using-ttfamily-with-bfseries-or-how-to-enable-bold-in-fixed-width-font
> 

Hi Aaron,

Thanks for your message -- it is now clear why this happens, and that it
isn't an issue with org-mode.  I guess it's best to leave the org-mode
defaults as they are, but maybe this would be good information to add to the
documentation if it isn't already there -- that one can have something like

#+LATEX_HEADER: \usepackage{courier}

in their file (or the corresponding setting in their emacs config) in order
to ensure that bold fixed-width fonts work properly.

Regards,

Mark

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

end of thread, other threads:[~2013-11-09 22:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-09 20:14 Difference between LaTeX and HTML exported documents for bold verbatim text Mark Edgington
2013-11-09 21:24 ` Aaron Ecay
2013-11-09 22:13   ` Mark Edgington

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).