From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: small caps Date: Sat, 31 Oct 2015 12:16:15 -0400 Message-ID: References: <87si4toc4g.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f9ae0074563052368dd4e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsYpF-0000En-DB for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 12:16:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsYpE-0001OI-5Z for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 12:16:17 -0400 Received: from mail-io0-x22d.google.com ([2607:f8b0:4001:c06::22d]:35417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsYpE-0001OC-0M for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 12:16:16 -0400 Received: by iofz202 with SMTP id z202so107815047iof.2 for ; Sat, 31 Oct 2015 09:16:15 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: Org Mode --001a113f9ae0074563052368dd4e Content-Type: text/plain; charset=UTF-8 On Oct 30, 2015 09:09, "Christian Moe" wrote: > > > Thomas S. Dye writes: > > > Sorry, I forgot to give an example. I use it like this [[sc:ad][AD]]. > > > > The advantage of a link over a macro is that the link should export > > correctly to both LaTeX and HTML. > > > > If you intend to export to a single backend, then Nicolas' suggestion to > > use a macro is simpler. > > Though you could support multiple backends with a macro, too, you just > need to use lots of @'s. E.g.: > > > #+MACRO: sc @@latex:\textsc{$1}@@@@html:$1@@ > > Already in 400 {{{sc(bc)}}}, the Greeks... > > > That's for a quick example; better to use or > something and put the CSS in a separate stylesheet, of couse thanks everyone for all the suggestions, I will try out a few of them and decide which seems most natural for me. But in any event I've learned a bit about macros and custom links, which has been great. Matt > > Yours, > Christian --001a113f9ae0074563052368dd4e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Oct 30, 2015 09:09, "Christian Moe" <mail@christianmoe.com> wrote:
>
>
> Thomas S. Dye writes:
>
> > Sorry, I forgot to give an example.=C2=A0 I use it like this [[sc= :ad][AD]].
> >
> > The advantage of a link over a macro is that the link should expo= rt
> > correctly to both LaTeX and HTML.
> >
> > If you intend to export to a single backend, then Nicolas' su= ggestion to
> > use a macro is simpler.
>
> Though you could support multiple backends with a macro, too, you just=
> need to use lots of @'s. E.g.:
>
>
> #+MACRO: sc @@latex:\textsc{$1}@@@@html:<span style=3D"font-va= riant:
> =C2=A0small-caps;">$1</span>@@
>
> Already in 400 {{{sc(bc)}}}, the Greeks...
>
>
> That's for a quick example; better to use <span class=3D"s= mallcaps"> or
> something and put the CSS in a separate stylesheet, of couse

thanks everyone for all the suggestions, I will try out a fe= w of them and decide which seems most natural for me. But in any event I= 9;ve learned a bit about macros and custom links, which has been great.

Matt
>
> Yours,
> Christian

--001a113f9ae0074563052368dd4e--