Felipe Lalanne
44fb6d9648
[Removed] Unnecessary require 'time' line.
2012-06-11 11:39:37 +02:00
Felipe Lalanne
74c1ba1653
[Fix] Inline latex formula alignment
...
Fixed an issue of latex inline formulas not aligning correctly with
the text. The fix is a ruby translation of the Perl code described in
http://tex.stackexchange.com/questions/44486/pixel-perfect-vertical-alignment-of-image-rendered-tex-snippets .
This code calculates the alignment of the generated image depending on
the image size and the size of the white space between the formula and
the margins of the image.
The alignment now is nearly perfect, however the new rendering comes
with a performance impact because of the increased number of operations.
To reduce this impact, the generated images and calculated values for
the alignment are now cached in `~/.cache/gollum`. The caching is done
per formula and not per page, thus avoiding caching the same formula
twice.
The Readme and tests have been modified accordingly with the new tool
requirements and expected markup.
2012-06-11 11:25:25 +02:00
bootstraponline
59ac86cf6e
Add header example to readme.
2012-06-05 15:56:02 -06:00
bootstraponline
a4ecc9a187
Merge pull request #371 from bootstraponline/searchfix
...
Search fix (#348 with assert_not_match replacement).
2012-06-03 15:42:21 -07:00
bootstraponline
cc67c8b68e
Don't use assert_not_match.
2012-06-03 16:37:47 -06:00
bootstraponline
b41f660fec
Merge pull request #358 from blmarket/koreanfix
...
Use grit with force_encoding('ascii-8bit')
2012-06-03 15:00:37 -07:00
bootstraponline
00edcbbf64
Move build status to top of readme.
2012-06-03 15:56:29 -06:00
bootstraponline
c530c70575
Add tests for file_view.
2012-06-03 15:53:11 -06:00
bootstraponline
21840bb344
Remove debug code.
2012-06-03 14:00:50 -06:00
bootstraponline
57bc23779d
Merge pull request #370 from cholick/master
...
File View doesn't work when there's a single subdirectory
2012-06-03 12:41:23 -07:00
Matt Cholick (phenom2-desktop)
78e649f30a
fix for broken file view when only a single directory
2012-06-03 11:56:18 -05:00
blmarket
eaa7a61f71
Fixed 1.8.7 compatible issue
2012-05-31 21:27:27 +09:00
Neon
150a019b8d
Added test cases to test Unicode handling issue.
...
these test cases will fail on non-unicode testing environment
2012-05-31 20:14:21 +09:00
Jeong, Heon
5dd1158025
Use grit with force_encoding('ascii-8bit')
2012-05-31 20:14:21 +09:00
bootstraponline
c60ca4a8d2
Merge pull request #367 from bootstraponline/browser_fallback
...
Enable live preview only for supported user agents.
2012-05-29 17:35:01 -07:00
bootstraponline
e1b28f0805
Rename is_supported to supported_useragent?.
2012-05-29 18:28:19 -06:00
bootstraponline
aeeaeb1eae
Fall back to old edit mode for browsers that are not officially supported by Ace.
2012-05-29 16:32:39 -06:00
Corey Donohoe
76f87f9094
stay on 1.8.7 for the foreseeable future
...
Settles #365 for now
2012-05-28 10:55:59 -07:00
bootstraponline
01e1c92813
Add --base-path option.
2012-05-24 20:45:33 -06:00
bootstraponline
22c0206451
Call page.versions once.
2012-05-24 18:32:45 -06:00
bootstraponline
5173c258b7
Merge pull request #354 from bootstraponline/mathjax
...
Add MathJax (only for gollum, not github.com).
2012-05-24 16:24:44 -07:00
bootstraponline
ff8b892ebe
Add mathjax using SSL CDN.
2012-05-24 17:18:55 -06:00
bootstraponline
7b0988cc19
Remove empty line.
2012-05-24 17:10:05 -06:00
bootstraponline
a4c79f09f8
Gem uninstall does not require sudo (pointed out by @michaelklishin).
2012-05-24 16:48:54 -06:00
bootstraponline
7ec3d92215
Merge pull request #361 from github/travis-fixes
...
nuke the ffi gem on travis boxes
2012-05-24 15:43:21 -07:00
Corey Donohoe
ac9fef784a
nuke the ffi gem on travis boxes
...
/cc @bootstraponline @akzhan
2012-05-24 15:31:54 -07:00
bootstraponline
4822bad4fb
Merge pull request #355 from bootstraponline/author_fix
...
Fix author info (based on #350 ).
2012-05-23 11:40:26 -07:00
bootstraponline
d7dd90f073
Update README.md
2012-05-23 11:12:29 -06:00
Neon
bbc19d1800
Added testcase for 'open existing parent'
2012-05-24 00:04:45 +09:00
Jeong, Heon
9ee9e61312
Fix searching in page_dir if it exists
...
This bug can cause DuplicateError even there is no such file
in page_dir
2012-05-23 23:58:54 +09:00
bootstraponline
f765137f3f
Avoid nil.
2012-05-23 00:04:57 -06:00
bootstraponline
e160822b0f
Only use versions.
2012-05-22 23:48:56 -06:00
bootstraponline
c0e35b0126
Avoid nil.
2012-05-22 23:03:23 -06:00
bootstraponline
ac41ed629e
Merge modified #350 .
2012-05-22 22:46:15 -06:00
Kristi
8b5dfff2a1
Merge pull request #343 from kristi/toc
...
Table of contents feature
2012-05-22 13:14:25 -07:00
kristi
e77154bf7a
Merge remote-tracking branch 'upstream/master' into toc
2012-05-22 12:14:03 -07:00
kristi
5f5187e05c
Only set parentpage if a subpage was found
...
Fixes error if there's no header or footer
2012-05-22 11:55:02 -07:00
bootstraponline
5db1728a3f
Use org-ruby 0.6.3. Fixes #86 .
2012-05-22 09:49:11 -06:00
bootstraponline
c7984ceed1
Revert "Merge pull request #350 from blmarket/pageauthor"
...
This reverts commit 5d3571b7a3 , reversing
changes made to c1082b4474 .
2012-05-21 17:09:15 -06:00
bootstraponline
5d3571b7a3
Merge pull request #350 from blmarket/pageauthor
...
Proper last edit info (with test case)
2012-05-21 16:00:15 -07:00
bootstraponline
c1082b4474
Fix click.
2012-05-21 10:39:11 -06:00
bootstraponline
14f16349c0
Remove unload on save.
2012-05-21 10:35:29 -06:00
bootstraponline
aa7e01a085
Add unload confirmation on live preview, edit, and create.
2012-05-21 10:27:16 -06:00
bootstraponline
484629734e
Update README.md
2012-05-21 10:17:05 -06:00
bootstraponline
444fca2250
Revert changes to Home.
2012-05-21 10:02:55 -06:00
bootstraponline
7f17102c86
Remove home.md.
2012-05-21 10:00:06 -06:00
bootstraponline
e480998a4c
Merge pull request #345 from bootstraponline/file_view
...
Add file view.
2012-05-21 08:58:14 -07:00
bootstraponline
5c642997fe
Origin is undefined in Firefox.
2012-05-21 09:50:23 -06:00
bootstraponline
5be5cd5ba5
Updated Home (markdown)
2012-05-21 09:49:22 -06:00
bootstraponline
1d55ed0599
Updated Home (markdown)
2012-05-21 09:49:12 -06:00