From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: markup for small caps ? Date: Sun, 31 Oct 2010 09:08:48 -1000 Message-ID: <373F2343-91D3-435C-B447-E5548E2C865C@tsdye.com> References: <20101031143731.GA1759@edilibre.net> <3BD9D4F6-B3AF-45AF-B242-BEB6E05F2721@tsdye.com> <87lj5e8dgk.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=52591 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCdH5-0001Ft-Nd for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 15:09:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCdGw-00018A-2c for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 15:09:03 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:34715) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PCdGv-00017l-SP for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 15:08:54 -0400 In-Reply-To: <87lj5e8dgk.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: =?ISO-8859-1?Q?S=E9bastien_Mengin?= , emacs-orgmode@gnu.org On Oct 31, 2010, at 7:43 AM, Dan Davison wrote: > "Thomas S. Dye" writes: > >> Aloha Sebastien, >> >> Arbitrary markup is possible, see = http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-12 >> >> Using this approach [[latex:textsc][My small caps]] would export to >> LaTeX as \textsc{My small caps}. > > In the Org-buffer I see "My small caps" with a special underlined > face. This is standard for links with a non-missing display part, =20 > but in > the case of non-standard link types such as this I'm not sure it's > helpful. I think I'd like to see in my Org buffer what markup is being > applied.[1] > > (Related question -- is there a command I can enter with point on a =20= > link > which displays the raw text of the link? (temporarily remove =20 > overlays at > point?)) > > Thanks, > > Dan > > > Footnotes: > [1] Maybe add an optional display argument to org-add-link-type > which would be a function used by the org-activate-*-link function?? > Hi Dan, I agree that it would be good to generalize the Org-mode link syntax =20 so that it doesn't assume a link representation in the Org-mode buffer =20= and in HTML export. If a link representation was one possibility =20 among others, then this syntax would be that much more useful. As for showing small caps, say, in the Org-mode buffer, I agree that =20 this would be nice in this instance. Note, however, that this is an =20 instance of direct style markup and not semantic markup. In the more general case, the syntax applies semantic markup that is =20 recognized by a LaTeX class file, a CSS stylesheet, etc., which is =20 responsible for seeing that the marked up content looks right. IIUC, =20= your suggestion of an optional display argument would be the Org-mode =20= equivalent of the class file/stylesheet. It would be really great if =20= this argument accepted a function that relied on an Org-mode =20 stylesheet that the user could customize to support arbitrary semantic =20= elements. Perhaps this is already possible, but I haven't figured it =20= out yet. I don't know the answer to your related question. I just use literal =20= links for a while when I need them, then set them back to descriptive =20= links when I'm done. I agree that being able to do this on a link by =20= link basis would be useful. All the best, Tom > >> >> HTH, >> Tom >> >> On Oct 31, 2010, at 4:37 AM, S=E9bastien Mengin wrote: >> >>> Hi, >>> >>> I was wondering if a marker was available for smallcaps? >>> >>> Thanks in advance, >>> -- >>> S=E9bastien Mengin >>> =C9dition et logiciels libres >>> < Mise en page avec LaTeX > >>> http://edilibre.net >>> t=E9l. : 06 84 88 49 17 >>> jid. : sebastien-mengin@jabber.org >>> >>> >>> _______________________________________________ >>> Emacs-orgmode mailing list >>> Please use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode