From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: Seeking advice on a worg contribution Date: Tue, 06 May 2014 22:41:46 +0800 Message-ID: <27c33cde-6551-49cf-99a3-53ea1dee20a0@dewdrop-world.net> References: <874n13kybg.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="trojita=_835316b8-63c7-4aa7-a5b8-b6768241dc0e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhgZV-0004U2-HV for emacs-orgmode@gnu.org; Tue, 06 May 2014 10:42:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhgZQ-0006cL-Ex for emacs-orgmode@gnu.org; Tue, 06 May 2014 10:42:17 -0400 In-Reply-To: <874n13kybg.fsf@bzg.ath.cx> 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 To: Bastien Cc: orgmode This is a multipart/mixed message in MIME format. --trojita=_835316b8-63c7-4aa7-a5b8-b6768241dc0e Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On Tuesday, May 6, 2014 6:08:10 PM HKT, Bastien wrote: >> If not, what do I have to do to make it do that? (At least, display >> the captions slightly smaller.) > > Propose a diff against this CSS: > http://orgmode.org/worg/style/worg.css > > adding text properties (like font-size, for example?) to a new > .figure p {...} class. Here's a patch for worg.css. Captions for source code blocks are rendered=20 as in the HTML export, with the class name org-src-name. I=20 checked in Firefox, and it does change the appearance of the captions. It's getting kind of late here and I'm running out of steam, so I'll deal=20 with the links and pushing the text tomorrow. hjh --trojita=_835316b8-63c7-4aa7-a5b8-b6768241dc0e Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-class-definition-for-label.org-src-name-for-sour.patch Content-Transfer-Encoding: base64 RnJvbSA2Nzk2MWY4YmFhMTMzMThlODQ2YzZiMDlmMzhmNzc5YWU4NjY1YzkwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKYW1lcyBIYXJraW5zIDxqYW1zaGFyazcwQGRld2Ryb3Atd29y bGQubmV0PgpEYXRlOiBUdWUsIDYgTWF5IDIwMTQgMjI6MzU6MTAgKzA4MDAKU3ViamVjdDogW1BB VENIXSBBZGQgY2xhc3MgZGVmaW5pdGlvbiBmb3IgbGFiZWwub3JnLXNyYy1uYW1lIGZvciBzb3Vy Y2UtYmxvY2sKIGNhcHRpb25zCgotLS0KIHN0eWxlL3dvcmcuY3NzIHwgICAgNSArKysrKwogMSBm aWxlIGNoYW5nZWQsIDUgaW5zZXJ0aW9ucygrKQoKZGlmZiAtLWdpdCBhL3N0eWxlL3dvcmcuY3Nz IGIvc3R5bGUvd29yZy5jc3MKaW5kZXggMjU1MzU0Ni4uMTgwN2YyOCAxMDA2NDQKLS0tIGEvc3R5 bGUvd29yZy5jc3MKKysrIGIvc3R5bGUvd29yZy5jc3MKQEAgLTkyNiw2ICs5MjYsMTEgQEAgY29u dGVudDogIioqKiAiCiAgICAgLnJzc19pdGVtIGE6aG92ZXIge30KICAgICAucnNzX2RhdGUge30K IAorICAgIGxhYmVsLm9yZy1zcmMtbmFtZSB7CisJZm9udC1zaXplOiA4MCU7CisJZm9udC1zdHls ZTogaXRhbGljOworICAgIH0KKwogICAgICNzaG93X3NvdXJjZSB7bWFyZ2luOiAwOyBwYWRkaW5n OiAwO30KIAogICAgICNwb3N0YW1ibGUgewotLSAKMS43LjkuNQoK --trojita=_835316b8-63c7-4aa7-a5b8-b6768241dc0e--