From 925395e5c8eb88345dceabaa4a32ff48f1d48ce9 Mon Sep 17 00:00:00 2001 From: Fabrice Niessen Date: Tue, 9 Apr 2019 21:16:37 +0200 Subject: [PATCH] Fix issue #52 --- README.html | 157 ++++++++++++++++++++++++++++++++-------------------- README.org | 20 +++++-- 2 files changed, 114 insertions(+), 63 deletions(-) diff --git a/README.html b/README.html index 8cdc2b0..be76d16 100644 --- a/README.html +++ b/README.html @@ -163,6 +163,19 @@ .footdef { margin-bottom: 1em; } .figure { padding: 1em; } .figure p { text-align: center; } + .equation-container { + display: table; + text-align: center; + width: 100%; + } + .equation { + vertical-align: middle; + } + .equation-label { + display: table-cell; + text-align: right; + vertical-align: middle; + } .inlinetask { padding: 10px; border: 2px solid gray; @@ -196,36 +209,41 @@

Table of Contents

@@ -236,12 +254,12 @@ btn_donate_LG.gif -
-

1 Overview

+
+

1 Overview

-
-

1.1 Description

+
+

1.1 Description

Though you can easily override CSS stylesheets and add your own HTML themes, we @@ -267,8 +285,8 @@ Follow f_niessen on Twitter for upda

-
-

1.2 Requirements

+
+

1.2 Requirements

Org mode version 8 (or later) is required. @@ -281,12 +299,12 @@ If such a version is not bundled with your Emacs, install one from ELPA.

-
-

2 Quotations

+
+

2 Quotations

-
-

2.1 About Bigblow

+
+

2.1 About Bigblow

“Very very nice, I enjoy it a lot.”
@@ -327,8 +345,8 @@ wonderful package!”

-
-

2.2 About ReadTheOrg

+
+

2.2 About ReadTheOrg

“OMG. The ReadTheOrg theme for exported HTML from org mode files is eye @@ -368,8 +386,8 @@ available.”

-
-

3 Gallery

+
+

3 Gallery

This is a list of available HTML themes for Org mode, which you can use right @@ -377,8 +395,8 @@ now! Well, I hope to have more than one in a couple of weeks…

-
-

3.1 Bigblow

+
+

3.1 Bigblow

Bigblow is perfect for your work: it is a clean design aimed at optimal Org @@ -478,8 +496,8 @@ Keyboard shortcuts to save time and boost your productivity:

-
-

3.2 ReadTheOrg

+
+

3.2 ReadTheOrg

ReadTheOrg is a clone of the official – and great! – theme @@ -514,8 +532,8 @@ default structure of the HTML export)!

-
-

4 Demo

+
+

4 Demo

I’ve written a demo page for the themes that provides a maximal working support @@ -529,11 +547,11 @@ admonitions, footnotes, tables and other details.

-
-

5 Using a theme

+
+

5 Using a theme

-Using a theme from the theme gallery for your own Org documents is very easy: +Using a theme from the theme gallery for your own Org documents is very easy:

    @@ -573,14 +591,24 @@ with C-c C-e h h.
-
-

6 Customizing a theme

+
+

6 Customizing a theme

You love those themes, but you still would like to override particular HTML -tags? +tags? Some examples do follow…

+

+Before doing that, though, if you think it really is an improvement that could +server other persons as well, including me, you’re invited to submit your +change… +

+
+ +
+

6.1 Change the background code blocks

+

Here’s an example to insert into your Org documents:

@@ -590,21 +618,32 @@ Here’s an example to insert into your Org documents: #+HTML_HEAD: <style>pre.src{background:#343131;color:white;} </style>
+
+
+
+

6.2 Unset body width limit of ReadTheOrg

+

-Before doing that, though, if you think it really is an improvement that could -server other persons as well, including me, you’re invited to submit your -change… +Solution provided by Malcolm Cook:

+ +
+
#+HTML_HEAD: <style> #content{max-width:1800px;}</style>
+#+HTML_HEAD: <style> p{max-width:800px;}</style>
+#+HTML_HEAD: <style> li{max-width:800px;}</style
+
+
+
-
-

7 Contributing

+
+

7 Contributing

-
-

7.1 Issues

+
+

7.1 Issues

Report issues and suggest features and improvements on the GitHub issue tracker. @@ -612,8 +651,8 @@ Report issues and suggest features and improvements on the -

7.2 Patches

+
+

7.2 Patches

I love contributions! Patches under any form are always welcome! @@ -621,8 +660,8 @@ I love contributions! Patches under any form are always welcome!

-
-

7.3 Donations

+
-
-

7.4 Follow me

+
+

7.4 Follow me

I have an f_niessen account on Twitter. You should follow it. @@ -648,8 +687,8 @@ I have an f_niessen account on Twitt

-
-

8 License

+
+

8 License

Copyright (C) 2011-2018 Fabrice Niessen. diff --git a/README.org b/README.org index 876a61a..6a238a1 100644 --- a/README.org +++ b/README.org @@ -187,7 +187,13 @@ Using a theme from the [[id:79e0ed21-c3b0-4f00-bdab-29fbff9dcad4][theme gallery] * Customizing a theme You love those themes, but you still would like to override particular HTML -tags? +tags? Some examples do follow... + +Before doing that, though, if you think it really is an improvement that could +server other persons as well, including me, you're invited to submit your +change... + +** Change the background code blocks Here's an example to insert into your Org documents: @@ -196,9 +202,15 @@ Here's an example to insert into your Org documents: ,#+HTML_HEAD: #+end_src -Before doing that, though, if you think it really is an improvement that could -server other persons as well, including me, you're invited to submit your -change... +** Unset body width limit of ReadTheOrg + +Solution provided by Malcolm Cook: + +#+begin_src org :tangle no +,#+HTML_HEAD: +,#+HTML_HEAD: +,#+HTML_HEAD: