Skip to content

Commit

Permalink
Fix (again) bug on latex into box-not envs, issue#28
Browse files Browse the repository at this point in the history
  • Loading branch information
szaghi committed Jun 17, 2015
1 parent 6385c16 commit 3809924
Show file tree
Hide file tree
Showing 307 changed files with 17,430 additions and 27 deletions.
Binary file modified .coverage
Binary file not shown.
14 changes: 7 additions & 7 deletions examples/getting-started/getting_started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ <h5>External dependencies</h5>
<div class="columns">
<div style="display:block;float:left;width:45%;padding: 0 1%;" class="column" column-number="1">
<ul>
<li><strong>presentation</strong> with its own options, having:<ul><li>one <strong>canvas</strong> with its own options over wich the slides are rendered:</li><li>N <strong>slide</strong>(s) with their own options; each slide has:<ul><li>$N_H$ <strong>headers</strong>, with $N_H \in [0,\infty]$;</li><li>$N_F$ <strong>footers</strong>, with $N_F \in [0,\infty]$;</li><li>$N_L$ left <strong>sidebars</strong>, with $N_L \in [0,\infty]$;</li><li>$N_R$ right <strong>sidebars</strong>, with $N_R \in [0,\infty]$;</li><li>1 main <strong>content</strong>.</li></ul></li></ul></li>
<li><strong>presentation</strong> with its own options, having:<ul><li>one <strong>canvas</strong> with its own options over wich the slides are rendered:</li><li>N <strong>slide</strong>(s) with their own options; each slide has:<ul><li><mathjax>$N_H$</mathjax><strong>headers</strong>, with <mathjax>$N_H \in [0,\infty]$</mathjax>;</li><li><mathjax>$N_F$</mathjax><strong>footers</strong>, with <mathjax>$N_F \in [0,\infty]$</mathjax>;</li><li><mathjax>$N_L$</mathjax> left <strong>sidebars</strong>, with <mathjax>$N_L \in [0,\infty]$</mathjax>;</li><li><mathjax>$N_R$</mathjax> right <strong>sidebars</strong>, with <mathjax>$N_R \in [0,\infty]$</mathjax>;</li><li>1 main <strong>content</strong>.</li></ul></li></ul></li>
</ul>
</div>
<div style="display:block;float:left;width:55%;padding-left:1%;" class="column" column-number="2">
Expand Down Expand Up @@ -1933,9 +1933,9 @@ <h5>MaTiSSe.py supports LaTeX equations!</h5>
</code>
</pre>
<p>and you get:
$$
<mathjax>$$
x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
$$</p>
$$</mathjax></p>
</div>
<div class="slide-sidebar_1">
<div style="float:left;font-weight:bold;font-variant:small-caps;font-size:105%;display:inline-block">Getting Started to play with MaTiSSe.py</div>
Expand Down Expand Up @@ -2224,7 +2224,7 @@ <h4>Example</h4>
</pre>
<p>where:</p>
<ul>
<li><code>$box</code> and <code>$endbox</code> are the tags defining the box environment;</li>
<li><code><mathjax>$box&lt;/code&gt; and &lt;code&gt;$</mathjax>endbox</code> are the tags defining the box environment;</li>
<li><code>$style[style_options]</code> defines the style of the whole box; this is optional and can be omitted; the <code>style_options</code> are any valid css style definitions;</li>
<li><code>$caption(caption_type)[caption_options]{caption}</code> defines the caption of the box that can be styled differently from the main box content and it is optional; the <code>(caption_type)</code> defines caption prefixing <em>class</em>, e.g. <em>Fig.</em> for figures, and it is itself optional: any sentences are valid; to disable the printing of the prefixing class use <code>$caption(none)...</code>; the <code>[caption_options]</code> defines the style options of the only caption: they are any valid css definitions; the <code>{caption}</code> defines the caption text and it must be present if <code>$caption</code> is defined;</li>
<li><code>$content(content_type)[content_options]{content}</code> is not optional: it defines the box&rsquo;s content; the <code>(content_type)</code> defines defines the type of the content, &lsquo;figure&rsquo;, &lsquo;table&rsquo;, &lsquo;note&rsquo; and &lsquo;box&rsquo; for generic environments, and it is itself optional; the <code>[content_options]</code> defines the style options of the only content: they are any valid css definitions; the <code>{content}</code> defines the content data;</li>
Expand Down Expand Up @@ -2413,7 +2413,7 @@ <h4>Example</h4>
</pre>
<p>where the elements are the same of box environment, but:</p>
<ul>
<li>the <code>content_type</code> and <code>caption_type</code> are automatically set to <code>note</code> and <code>Note</code> respectively; anyhow they can be still specified inside the <code>$note/$endnote</code> environment;</li>
<li>the <code>content_type</code> and <code>caption_type</code> are automatically set to <code>note</code> and <code>Note</code> respectively; anyhow they can be still specified inside the <code><mathjax>$note/$</mathjax>endnote</code> environment;</li>
<li>no matter the order of <code>$caption</code>/<code>$content</code> statements, the caption is always placed above the content.</li>
</ul>
<p>You have seen this env on many preceding slides. Consider the following code:</p>
Expand Down Expand Up @@ -2513,7 +2513,7 @@ <h4>Example</h4>
</pre>
<p>where the elements are the same of box environment, but:</p>
<ul>
<li>the <code>content_type</code> and <code>caption_type</code> are automatically set to <code>figure</code> and <code>Figure</code> respectively; anyhow they can be still specified inside the <code>$figure/$endfigure</code> environment;</li>
<li>the <code>content_type</code> and <code>caption_type</code> are automatically set to <code>figure</code> and <code>Figure</code> respectively; anyhow they can be still specified inside the <code><mathjax>$figure/$</mathjax>endfigure</code> environment;</li>
<li>the <code>content</code> must be the (relative to the root) path of an external figure file;</li>
<li>no matter the order of <code>$caption</code>/<code>$content</code> statements, the caption is always placed below the content.</li>
</ul>
Expand Down Expand Up @@ -3002,7 +3002,7 @@ <h4>Example</h4>
<div class="slide-content">
<p>I known, you have just seen the universe of MaTiSSe.py, this is just a recall&hellip; The customizable theme elements are:</p>
<ul>
<li><strong>presentation</strong> with its own options, having:<ul><li>one <strong>canvas</strong> with its own options over wich the slides are rendered:</li><li>N <strong>slide</strong>(s) with their own options; each slide has:<ul><li>$N_H$ <strong>headers</strong>, with $N_H \in [0,\infty]$;</li><li>$N_F$ <strong>footers</strong>, with $N_F \in [0,\infty]$;</li><li>$N_L$ left <strong>sidebars</strong>, with $N_L \in [0,\infty]$;</li><li>$N_R$ right <strong>sidebars</strong>, with $N_R \in [0,\infty]$;</li><li>1 main <strong>content</strong>.</li></ul></li></ul></li>
<li><strong>presentation</strong> with its own options, having:<ul><li>one <strong>canvas</strong> with its own options over wich the slides are rendered:</li><li>N <strong>slide</strong>(s) with their own options; each slide has:<ul><li><mathjax>$N_H$</mathjax><strong>headers</strong>, with <mathjax>$N_H \in [0,\infty]$</mathjax>;</li><li><mathjax>$N_F$</mathjax><strong>footers</strong>, with <mathjax>$N_F \in [0,\infty]$</mathjax>;</li><li><mathjax>$N_L$</mathjax> left <strong>sidebars</strong>, with <mathjax>$N_L \in [0,\infty]$</mathjax>;</li><li><mathjax>$N_R$</mathjax> right <strong>sidebars</strong>, with <mathjax>$N_R \in [0,\infty]$</mathjax>;</li><li>1 main <strong>content</strong>.</li></ul></li></ul></li>
</ul>
<div style="font-variant:small-caps;text-align:center;" class="figure" id="Figure-4">
<figure>
Expand Down
31 changes: 31 additions & 0 deletions release/MaTiSSe-0.3.2/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# How to contribute

This project is open source, therefore, anyone interested to use, to develop or to contribute to it is welcome.

The project must remain KISS (Keep It Simple and Stupid) thus a few guidelines for contributing are provided.

## Issues Handling

If you find issues (bugs or new features requests) you are kindly requested to highlight them on the GitHub repository.

+ Make sure you have a [GitHub account](https://github.com/signup/free);
+ submit a ticket for your issue, assuming one does not already exist;
+ clearly describe the issue including steps to reproduce when it is a bug;
+ make sure you fill in the earliest version that you know has the issue.

Alternatively, you can signal issues directly to the main developer at stefano.zaghi@gmail.com.

## Collaborative Development

If you like to directly contribute to the project you are welcome. To improve the collaborative development of the project you are kindly requested to respect the following guidelines.

+ Fork the repository on GitHub;
+ create a topic branch from where you want to base your work;
+ this is usually the master branch:
+ only target release branches if you are certain your fix must be on that branch;
+ to quickly create a topic branch based on master; `git branch fix/master/my_contribution master` then checkout the new branch with `git checkout fix/master/my_contribution`; please avoid working directly on the `master` branch;
+ check for unnecessary whitespace with `git diff --check` before committing;
+ make sure your commit messages are clear;
+ make sure you have properly tested for your changes.

As long as possible, contributors are kindly requested to follow the current coding style of the project (two white spaces instead of tabs, no trailing white spaces, blank lines should not have any space). In general, it is strongly recommended to avoid Microsoft-Windows-like carriage-return symbols in order to not pollute the source files with unnecessary symbols.

0 comments on commit 3809924

Please sign in to comment.