wortsammler 1.0.3 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.gitignore +46 -4
- data/.gitpod.Dockerfile +32 -0
- data/.gitpod.yml +1 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/202_wortsammler-gem.iml +119 -0
- data/.idea/compiler.xml +22 -0
- data/.idea/encodings.xml +6 -0
- data/.idea/inspectionProfiles/profiles_settings.xml +7 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +9 -0
- data/.idea/vcs.xml +7 -0
- data/Gemfile +1 -0
- data/README.md +25 -28
- data/Rakefile +3 -3
- data/changelog.md +17 -1
- data/lib/wortsammler.rb +61 -54
- data/lib/wortsammler/class.Traceable.md.rb +9 -7
- data/lib/wortsammler/class.Traceable.rb +74 -60
- data/lib/wortsammler/class.proolib.rb +1102 -982
- data/lib/wortsammler/mdTraceParser.treetop +2 -2
- data/lib/wortsammler/version.rb +1 -1
- data/resources/default.wortsammler.latex +4 -3
- data/resources/main.md +1 -1
- data/resources/pandocdefault.docx +0 -0
- data/resources/pandocdefault.epub +70 -0
- data/resources/pandocdefault.html +73 -0
- data/resources/pandocdefault.latex +403 -0
- data/resources/sample_the-sample-document.yaml +27 -1
- data/spec/TC_EXP_001.md +2 -1
- data/spec/Zupfnoter.jpg +0 -0
- data/spec/tc_exp_003_reference.txt +14 -29
- data/spec/test_beautify.md +13 -1
- data/spec/test_beautify_reference.md +17 -3
- data/spec/test_mkindex_reference.txt +9 -38
- data/spec/test_slides.md +38 -0
- data/spec/wortsammler_spec.rb +186 -150
- data/testproject.xx/30_Sources/001_Main/main.md +273 -0
- data/testproject.xx/30_Sources/900_snippets/snippets.xlsx +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.docx +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.html +145 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.latex +416 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_compact.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.beamer.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.docx +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.html +145 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.latex +416 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_folien.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.docx +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.html +145 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.latex +416 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_mieter.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_review.latex +582 -0
- data/testproject.xx/30_Sources/ZGEN_Documents/RS_Main_review.pdf +0 -0
- data/testproject.xx/30_Sources/ZGEN_RequirementsTracing/RS_Main.traces.md +56 -0
- data/testproject.xx/30_Sources/ZGEN_RequirementsTracing/ZGEN_Reqtrace.graphml +119 -0
- data/testproject.xx/30_Sources/ZGEN_RequirementsTracing/ZGEN_Reqtrace.md +50 -0
- data/testproject.xx/30_Sources/ZGEN_RequirementsTracing/ZGEN_ReqtraceCompare.txt +52 -0
- data/testproject.xx/30_Sources/ZSUPP_Manifests/sample_the-sample-document.yaml +79 -0
- data/testproject.xx/30_Sources/ZSUPP_Styles/default.wortsammler.latex +321 -0
- data/testproject.xx/30_Sources/ZSUPP_Styles/logo.jpg +0 -0
- data/testproject.xx/30_Sources/ZSUPP_Tools/rakefile.rb +5 -0
- data/testresults/wortsammler_testresults.html +49 -466
- data/uninstall-pandoc.pl +79 -0
- data/wortsammler.gemspec +7 -4
- metadata +84 -14
- data/testresults/wortsammler_testresults.log +0 -325
- data/wortsammler-gem.sublime-project +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: df53db049d6297cbaac9e992d0ab0bc59c4e95a51ef3d8fa59dc781543324582
|
4
|
+
data.tar.gz: c92d46211884320ab896d66ca1b7c6c621bd69b19ea638ac4352b1955825382f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 075b2e1e548523df72ccbfa4d7f192365388483a76c6265d2f271bc3e1c4a5c147d9444056cd028e9d00909cb8f89b362585fabbb6a4d33a9be13c914c0dd0e6
|
7
|
+
data.tar.gz: e2a82d9d54f3e81b6b67c8064cb1e3fc19af86b5591dc61d98bb25ff38dd0b883dbd615378f71b9a162c0c6c09a33adb1e4ecfda084eda0adf1e72eb55cbfebd
|
data/.gitignore
CHANGED
@@ -16,9 +16,51 @@ test/version_tmp
|
|
16
16
|
tmp
|
17
17
|
testproject
|
18
18
|
wortsammler-gem.sublime-workspace
|
19
|
-
resources/pandocdefault.docx
|
20
|
-
resources/pandocdefault.epub
|
21
|
-
resources/pandocdefault.html
|
22
|
-
resources/pandocdefault.latex
|
23
19
|
pandoc.css
|
24
20
|
testoutput
|
21
|
+
|
22
|
+
### jetbrains ###
|
23
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
|
24
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
25
|
+
|
26
|
+
# User-specific stuff:
|
27
|
+
.idea/workspace.xml
|
28
|
+
.idea/tasks.xml
|
29
|
+
|
30
|
+
# Sensitive or high-churn files:
|
31
|
+
.idea/dataSources/
|
32
|
+
.idea/dataSources.ids
|
33
|
+
.idea/dataSources.xml
|
34
|
+
.idea/dataSources.local.xml
|
35
|
+
.idea/sqlDataSources.xml
|
36
|
+
.idea/dynamic.xml
|
37
|
+
.idea/uiDesigner.xml
|
38
|
+
|
39
|
+
# Gradle:
|
40
|
+
.idea/gradle.xml
|
41
|
+
.idea/libraries
|
42
|
+
|
43
|
+
# Mongo Explorer plugin:
|
44
|
+
.idea/mongoSettings.xml
|
45
|
+
|
46
|
+
## File-based project format:
|
47
|
+
*.iws
|
48
|
+
|
49
|
+
## Plugin-specific files:
|
50
|
+
|
51
|
+
# IntelliJ
|
52
|
+
/out/
|
53
|
+
|
54
|
+
# mpeltonen/sbt-idea plugin
|
55
|
+
.idea_modules/
|
56
|
+
|
57
|
+
# JIRA plugin
|
58
|
+
atlassian-ide-plugin.xml
|
59
|
+
|
60
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
61
|
+
com_crashlytics_export_strings.xml
|
62
|
+
crashlytics.properties
|
63
|
+
crashlytics-build.properties
|
64
|
+
fabric.properties
|
65
|
+
|
66
|
+
*.log
|
data/.gitpod.Dockerfile
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
FROM alpine:latest
|
2
|
+
|
3
|
+
|
4
|
+
RUN apk update &&\
|
5
|
+
apk add texlive-xetex texmf-dist-latexextra less
|
6
|
+
|
7
|
+
# from https://github.com/cybercode/alpine-ruby/blob/master/Dockerfile
|
8
|
+
# guess ist is to install native extensions
|
9
|
+
|
10
|
+
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
11
|
+
&& apk update \
|
12
|
+
&& apk add --update-cache postgresql-client nodejs \
|
13
|
+
libffi-dev readline sqlite build-base postgresql-dev \
|
14
|
+
libc-dev linux-headers libxml2-dev libxslt-dev readline-dev gcc libc-dev \
|
15
|
+
&& rm -rf /var/cache/apk/*
|
16
|
+
|
17
|
+
RUN apk update && apk upgrade && apk --update add \
|
18
|
+
ruby ruby ruby-dev ruby-irb ruby-rake ruby-io-console ruby-bigdecimal ruby-json ruby-bundler ruby-rspec \
|
19
|
+
libstdc++ tzdata bash ca-certificates \
|
20
|
+
&& echo 'gem: --no-document' > /etc/gemrc\
|
21
|
+
# from https://hub.docker.com/r/ciandt/docker-alpine-pandoc/dockerfile^\
|
22
|
+
# install pandoc
|
23
|
+
RUN \
|
24
|
+
apk add ca-certificates wget \
|
25
|
+
&& wget -O /tmp/pandoc.tar.gz https://github.com/jgm/pandoc/releases/download/2.5/pandoc-2.5-linux.tar.gz \
|
26
|
+
&& tar xvzf /tmp/pandoc.tar.gz --strip-components 1 -C /usr/local/ \
|
27
|
+
&& ln /usr/local/bin/pandoc /usr/local/bin/pandoc_2.5 \
|
28
|
+
&& update-ca-certificates \
|
29
|
+
&& apk del wget ca-certificates\
|
30
|
+
&& rm /tmp/pandoc.tar.gz
|
31
|
+
|
32
|
+
RUN apk update && apk add ghostscript
|
data/.gitpod.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{ image: { file: .gitpod.Dockerfile } }
|
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
202_wortsammler-gem
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build wortsammler-1.0.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated file" fullCmd="clobber" taksId="clobber" /><RakeTask description="Generate code coverage" fullCmd="coverage" taksId="coverage" /><RakeTask description="create documentation" fullCmd="doc" taksId="doc" /><RakeTask description="get the default stylefiles from pandoc" fullCmd="getpandocstyles" taksId="getpandocstyles" /><RakeTask description="Build and install wortsammler-1.0.0.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v1.0.0 and build and push wortsammler-1.0.0.gem to Rubygems" fullCmd="release" taksId="release" /><RakeTask description="Run specs" fullCmd="spec[focus]" taksId="spec[focus]" /><RakeTask description="run tests" fullCmd="test" taksId="test" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="spec" taksId="spec" /></RakeGroup></Settings>
|
@@ -0,0 +1,119 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="FacetManager">
|
4
|
+
<facet type="gem" name="Gem">
|
5
|
+
<configuration />
|
6
|
+
</facet>
|
7
|
+
</component>
|
8
|
+
<component name="ModuleRunConfigurationManager">
|
9
|
+
<configuration default="false" name="Unnamed" type="RakeRunConfigurationType" factoryName="Rake">
|
10
|
+
<module name="202_wortsammler-gem" />
|
11
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
12
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
13
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
14
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
15
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
16
|
+
<envs />
|
17
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
18
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
19
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
20
|
+
<COVERAGE_PATTERN ENABLED="true">
|
21
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
22
|
+
</COVERAGE_PATTERN>
|
23
|
+
</EXTENSION>
|
24
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
25
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="spec" />
|
26
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="" />
|
27
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
|
28
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
|
29
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
|
30
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
|
31
|
+
<RunnerSettings RunnerId="RubyDebugRunner" />
|
32
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
33
|
+
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
34
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
35
|
+
<method />
|
36
|
+
</configuration>
|
37
|
+
<configuration default="false" name="IRB console: 202_wortsammler-gem" type="IrbRunConfigurationType" factoryName="IRB console" temporary="true">
|
38
|
+
<module name="202_wortsammler-gem" />
|
39
|
+
<IRB_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
40
|
+
<IRB_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
41
|
+
<IRB_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
42
|
+
<IRB_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
43
|
+
<IRB_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
44
|
+
<envs />
|
45
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
46
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
47
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
48
|
+
<COVERAGE_PATTERN ENABLED="true">
|
49
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
50
|
+
</COVERAGE_PATTERN>
|
51
|
+
</EXTENSION>
|
52
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
53
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$USER_HOME$/.rvm/rubies/ruby-1.9.3-p448/bin/irb" />
|
54
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="--prompt simple" />
|
55
|
+
<IRB_RUN_CONFIG NAME="IS_RAILS_CONSOLE" VALUE="false" />
|
56
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
57
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
58
|
+
<method />
|
59
|
+
</configuration>
|
60
|
+
<configuration default="false" name="spec[focus]: 202_wortsammler-gem" type="RakeRunConfigurationType" factoryName="Rake" temporary="true">
|
61
|
+
<module name="202_wortsammler-gem" />
|
62
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
63
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
64
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
65
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
66
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
67
|
+
<envs />
|
68
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
69
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
70
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
71
|
+
<COVERAGE_PATTERN ENABLED="true">
|
72
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
73
|
+
</COVERAGE_PATTERN>
|
74
|
+
</EXTENSION>
|
75
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
76
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_NAME" VALUE="spec" />
|
77
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ARGS" VALUE="exp" />
|
78
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_ATTACHED_TEST_FRAMEWORKS" VALUE="" />
|
79
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_TRACE" VALUE="false" />
|
80
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_DRYRUN" VALUE="false" />
|
81
|
+
<RAKE_RUN_CONFIG_SETTINGS_ID NAME="RAKE_TASK_OPTION_PREREQS" VALUE="false" />
|
82
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
83
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
84
|
+
<method />
|
85
|
+
</configuration>
|
86
|
+
</component>
|
87
|
+
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
88
|
+
<content url="file://$MODULE_DIR$">
|
89
|
+
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
|
90
|
+
</content>
|
91
|
+
<orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p448 [wortsammler]" jdkType="RUBY_SDK" />
|
92
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
93
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
94
|
+
<orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.0, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
95
|
+
<orderEntry type="library" scope="PROVIDED" name="debugger-ruby_core_source (v1.3.8, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
96
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
97
|
+
<orderEntry type="library" scope="PROVIDED" name="diffy (v2.1.4, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
98
|
+
<orderEntry type="library" scope="PROVIDED" name="graph (v2.5.3, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
99
|
+
<orderEntry type="library" scope="PROVIDED" name="logger (v1.2.8, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
100
|
+
<orderEntry type="library" scope="PROVIDED" name="method_source (v0.8.2, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
101
|
+
<orderEntry type="library" scope="PROVIDED" name="mini_portile (v0.6.2, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
102
|
+
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.6.6.2, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
103
|
+
<orderEntry type="library" scope="PROVIDED" name="polyglot (v0.3.5, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
104
|
+
<orderEntry type="library" scope="PROVIDED" name="pry (v0.9.12.6, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
105
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.0.4, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
106
|
+
<orderEntry type="library" scope="PROVIDED" name="redcarpet (v2.2.2, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
107
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v2.13.0, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
108
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.13.1, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
109
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.13.0, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
110
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.13.1, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
111
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-debug-base19x (v0.11.30.pre15, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
112
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-debug-ide (v0.4.24.beta5, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
113
|
+
<orderEntry type="library" scope="PROVIDED" name="rubyXL (v3.3.7, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
114
|
+
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v1.1.7, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
115
|
+
<orderEntry type="library" scope="PROVIDED" name="slop (v3.6.0, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
116
|
+
<orderEntry type="library" scope="PROVIDED" name="treetop (v1.6.2, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
117
|
+
<orderEntry type="library" scope="PROVIDED" name="yard (v0.8.5.2, RVM: ruby-1.9.3-p448 [wortsammler]) [gem]" level="application" />
|
118
|
+
</component>
|
119
|
+
</module>
|
data/.idea/compiler.xml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="CompilerConfiguration">
|
4
|
+
<resourceExtensions />
|
5
|
+
<wildcardResourcePatterns>
|
6
|
+
<entry name="!?*.java" />
|
7
|
+
<entry name="!?*.form" />
|
8
|
+
<entry name="!?*.class" />
|
9
|
+
<entry name="!?*.groovy" />
|
10
|
+
<entry name="!?*.scala" />
|
11
|
+
<entry name="!?*.flex" />
|
12
|
+
<entry name="!?*.kt" />
|
13
|
+
<entry name="!?*.clj" />
|
14
|
+
<entry name="!?*.aj" />
|
15
|
+
</wildcardResourcePatterns>
|
16
|
+
<annotationProcessing>
|
17
|
+
<profile default="true" name="Default" enabled="false">
|
18
|
+
<processorPath useClasspath="true" />
|
19
|
+
</profile>
|
20
|
+
</annotationProcessing>
|
21
|
+
</component>
|
22
|
+
</project>
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_3" default="false" assert-keyword="false" jdk-15="false" project-jdk-name="RVM: ruby-1.9.3-p448 [wortsammler]" project-jdk-type="RUBY_SDK" />
|
4
|
+
</project>
|
data/.idea/modules.xml
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/202_wortsammler-gem.iml" filepath="$PROJECT_DIR$/.idea/202_wortsammler-gem.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
9
|
+
|
data/.idea/vcs.xml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,17 @@
|
|
1
|
+
[](https://gitpod.io/#https://github.com/bwl21/wortsammler)
|
2
|
+
|
1
3
|
# Wortsammler
|
2
4
|
|
5
|
+
> **plaease note**
|
6
|
+
> : this project is not actively maintained. I try to keep it alive in
|
7
|
+
> order to fulfil my own needs
|
8
|
+
|
3
9
|
Wortsammler (colloquial German for *word collector*) is an environment
|
4
10
|
to maintain doucmentation in markdown and publish it in various formats
|
5
11
|
for different audiences. It originated in some project specific hacks
|
6
|
-
wrapping around [pandoc]
|
7
|
-
more than two projects now and think it
|
8
|
-
as well.
|
12
|
+
wrapping around [pandoc](http://johnmacfarlane.net/pandoc/). But now I
|
13
|
+
refactored it since I use it in more than two projects now and think it
|
14
|
+
might be beneficial for others as well.
|
9
15
|
|
10
16
|
Typical application of Wortsammler is user manuals, project documents,
|
11
17
|
user manuals.
|
@@ -26,7 +32,6 @@ Basically Wortsammler comprises of
|
|
26
32
|
- expected output formats
|
27
33
|
- expected editions
|
28
34
|
- Requirements tracing (upstream / downstream)
|
29
|
-
|
30
35
|
- a command line tool to produce the doucments (`wortsammler`)
|
31
36
|
|
32
37
|
Wortsammler is built on top of other open source tools, in particular:
|
@@ -45,7 +50,7 @@ The features are based on three appraoches:
|
|
45
50
|
|
46
51
|
1. particular pattern in existing markdown
|
47
52
|
2. embedded HTML/LaTeX
|
48
|
-
3. specific syntax in strikethrouh sections (e.g.
|
53
|
+
3. specific syntax in strikethrouh sections (e.g. ~~ED simple~~)
|
49
54
|
|
50
55
|
## Installation
|
51
56
|
|
@@ -53,10 +58,9 @@ The features are based on three appraoches:
|
|
53
58
|
|
54
59
|
In order to use Wortsammler, you need to install the prerequisites:
|
55
60
|
|
56
|
-
- ruby
|
57
|
-
- pandoc
|
58
|
-
|
59
|
-
I plan to upgrade to 1.11.1 asap
|
61
|
+
- ruby 2.5
|
62
|
+
- pandoc 2.5 or above. Note that in this version, ean executable named
|
63
|
+
pandoc_2.5 must be in the search path.
|
60
64
|
|
61
65
|
- tex, in particular xelatex 3.1415926-2.4-0.9998
|
62
66
|
|
@@ -109,7 +113,6 @@ The rakefile is in `
|
|
109
113
|
|
110
114
|
## future plans
|
111
115
|
|
112
|
-
- provide a sublime text package
|
113
116
|
- improve documentation (it is flying around in German and needs to be
|
114
117
|
consolidated, please refer to
|
115
118
|
<https://github.com/bwl21/wortsammler/wiki>)
|
@@ -132,33 +135,32 @@ MIT: http://www.opensource.org/licenses/mit-license.php
|
|
132
135
|
|
133
136
|
## thanks to
|
134
137
|
|
135
|
-
- John Mc Farlane for [pandoc]
|
138
|
+
- John Mc Farlane for [pandoc](http://johnmacfarlane.net/pandoc/)
|
136
139
|
|
137
140
|
## Installation of the required software
|
138
141
|
|
139
142
|
### Ruby
|
140
143
|
|
141
|
-
Please use Ruby
|
144
|
+
Please use Ruby 2.5
|
142
145
|
|
143
146
|
- mac:
|
144
147
|
- installation requirex xcode with the commanline tools
|
145
|
-
- use Ruby Version Manager [https://rvm.io][]
|
146
|
-
- rvm install
|
147
|
-
- might take pretty long depending on
|
148
|
+
- use Ruby Version Manager \[https://rvm.io\]\[\]
|
149
|
+
- rvm install ruby_2.5
|
150
|
+
- might take pretty long depending on what you have on your mac.
|
148
151
|
- after ruby is installed `gem install wortsammler`
|
149
|
-
|
150
152
|
- windows
|
151
|
-
- download von
|
153
|
+
- download von
|
154
|
+
[http://rubyinstaller.org/downloads/](https://rubyinstaller.org/downloads/)
|
152
155
|
- development kit installieren
|
153
|
-
[DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe]
|
156
|
+
[DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe](https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe)
|
154
157
|
|
155
|
-
|
156
|
-
muss. In den scripten ist rquire ruby-debug aukommentiert.
|
158
|
+
you might need this to install gems
|
157
159
|
|
158
160
|
### pandoc
|
159
161
|
|
160
|
-
- Download [http://code.google.com/p/pandoc/downloads/list][]
|
161
|
-
- Homepage <
|
162
|
+
- Download \[http://code.google.com/p/pandoc/downloads/list\]\[\]
|
163
|
+
- Homepage <https://pandoc.org/>
|
162
164
|
|
163
165
|
### TeX
|
164
166
|
|
@@ -171,9 +173,4 @@ Please use Ruby 1.9.3
|
|
171
173
|
|
172
174
|
Alternatively you can use
|
173
175
|
|
174
|
-
- [usbtex]
|
175
|
-
|
176
|
-
[pandoc]: http://johnmacfarlane.net/pandoc/
|
177
|
-
[http://rubyinstaller.org/downloads/]: http://rubyforge.org/frs/%20download.php/76277/rubyinstaller-1.8.7-p370.exe
|
178
|
-
[DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe]: https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
|
179
|
-
[usbtex]: http://www.exomatik.net/U-Latex/USBTeXEnglish
|
176
|
+
- [usbtex](http://www.exomatik.net/U-Latex/USBTeXEnglish)
|
data/Rakefile
CHANGED
@@ -9,9 +9,9 @@ desc "Run specs"
|
|
9
9
|
RSpec::Core::RakeTask.new(:spec, :focus) do |t, args|
|
10
10
|
t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
|
11
11
|
if args[:focus] then
|
12
|
-
usetags="
|
12
|
+
usetags="-e #{args[:focus]}"
|
13
13
|
else
|
14
|
-
usetags="--tag ~exp"
|
14
|
+
usetags=nil #"--tag ~exp"
|
15
15
|
end
|
16
16
|
t.rspec_opts = [usetags,
|
17
17
|
" -fd -fd --out ./testresults/wortsammler_testresults.log -fh --out ./testresults/wortsammler_testresults.html"]
|
@@ -34,7 +34,7 @@ end
|
|
34
34
|
|
35
35
|
desc "get the default stylefiles from pandoc"
|
36
36
|
task :getpandocstyles do
|
37
|
-
[:latex, :docx, :html, :epub].each{|format |sh "
|
37
|
+
[:latex, :docx, :html, :epub].each{|format |sh "pandoc_2.0.5 -D #{format} > resources/pandocdefault.#{format}"}
|
38
38
|
end
|
39
39
|
|
40
40
|
desc "run tests"
|
data/changelog.md
CHANGED
@@ -1,6 +1,22 @@
|
|
1
|
+
# 2.0.0.dev.1
|
2
|
+
|
3
|
+
- now use pandoc 2.0.5 (requires pandoc_2.0.5 on path)
|
4
|
+
- tested with ruby 2.4.3
|
5
|
+
|
6
|
+
## BWC issues
|
7
|
+
|
8
|
+
- install pandoc 2.0.5 best from zip file
|
9
|
+
- ensure that pandoc_2.0.5 is on your path
|
10
|
+
- adapt your latex-styles accordingly (add definition for \tightlist)
|
11
|
+
- pandoc no longer mangles undescore (`_`) in labels when producing
|
12
|
+
latex. If you use `\ref{T01ux5fnumber}` you can now go back to
|
13
|
+
`\ref{T01_number}`
|
14
|
+
|
1
15
|
# 1.0.2 (27.03.2017)
|
16
|
+
|
2
17
|
- fix plantuml handling with pandoc 1.13
|
3
|
-
- prefix header labels with filename to avoid conflicts in merged
|
18
|
+
- prefix header labels with filename to avoid conflicts in merged
|
19
|
+
files
|
4
20
|
|
5
21
|
# 1.0.1 (12.09.2016)
|
6
22
|
|