Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 681 Bytes
1 | #!/usr/bin/env ruby |
2 | |
3 | require 'maruku' |
4 | |
5 | if File.basename($0) =~ /^marutex/ |
6 | # Convert each file |
7 | ARGV.each do |f| |
8 | puts "Opening #{f}" |
9 | |
10 | # read file content |
11 | input = File.open(f,'r').read |
12 | |
13 | # create Maruku |
14 | doc = Maruku.new(input) |
15 | # convert to a complete html document |
16 | latex = doc.to_latex_document |
17 | |
18 | # write to file |
19 | dir = File.dirname(f) |
20 | job = File.join(dir, File.basename(f, File.extname(f))) |
21 | filename = job + ".tex" |
22 | |
23 | File.open(filename,'w') do |f| f.puts latex end |
24 | |
25 | # run twice for cross references |
26 | system "pdflatex '#{job}' '-output-directory=#{dir}' " |
27 | system "pdflatex '#{job}' '-output-directory=#{dir}' " |
28 | |
29 | # system "open #{job}.pdf" |
30 | end |
31 | end |