Skip to content

Commit

Permalink
Set aside my earlier work... took up the version from github richcarl…
Browse files Browse the repository at this point in the history
…/erlguten

My thanks to the folks at Klarna, Stockholm, Sweden. They've added more fonts
and hyphenation rules for Swedish, Danish, Norwegian and Finish
  • Loading branch information
CarlWright committed Apr 16, 2010
1 parent 65dfbdb commit 687172b
Show file tree
Hide file tree
Showing 207 changed files with 122,807 additions and 16,376 deletions.
39 changes: 21 additions & 18 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
%% General Terms
%%
%% Erlguten is free software. It can be used, modified and
%% redistributed by anybody for personal or commercial use. The only
%% restriction is altering the copyright notice associated with the
%% material. Individuals or corporations are permitted to use, include or
%% modify the Erlguten engine. All material developed with the Erlguten
%% language belongs to their respective copyright holder.
%%
%% Copyright Notice
%%
%% This program is free software. It can be redistributed and/or
%% modified, provided that this copyright notice is kept intact. This
%% program is distributed in the hope that it will be useful, but without
%% any warranty; without even the implied warranty of merchantability or
%% fitness for a particular purpose. In no event shall the copyright
%% holder be liable for any direct, indirect, incidental or special
%% damages arising in any way out of the use of this software.
The MIT License

Copyright (c) 2003-2010 Joe Armstrong, Johan Bevemyr, Mikael Karlsson, Sean
Hinde, H�kan Stenholm, Richard Carlsson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
22 changes: 18 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
SUBDIRS = src priv/fonts/bin
SUBDIRS=src priv/src
APPNAME=erlguten
DOC_OPTS={def,{version,\"$(EG_VSN)\"}}
ERL=erl

.PHONY: all conf $(SUBDIRS)
include vsn.mk

all: conf $(SUBDIRS)
.PHONY: all conf test $(SUBDIRS)

conf:
all: conf $(SUBDIRS) test docs

conf test:
cd $@ && $(MAKE)

$(SUBDIRS):
cd $@ && $(MAKE)

docs: doc/index.html

doc/index.html: doc/overview.edoc $(wildcard src/*.erl)
$(ERL) -noshell -eval "edoc:application($(APPNAME), \".\", [$(DOC_OPTS)])" -s init stop

clean:
cd src && $(MAKE) clean
cd test && $(MAKE) clean
Binary file removed NGerlguten.zip
Binary file not shown.
17 changes: 17 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
1) Install with make

2) try the command

./erlguten test1.xml

This produces test1.pdf


If you are building this without the help of "make", you'll need to compile all the /src files,
run "eg_afm:make()" and run "eg_mk_hyphen:start()".

These build font .erl files in /priv/src that all need to be compile to get font information.
You also need to compile the /src/eg_hyphen_rules* files so that hyphenation will also work.



25 changes: 0 additions & 25 deletions build_notes.txt

This file was deleted.

5 changes: 0 additions & 5 deletions conf/include.mk.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ EMAKEFILE=Emakefile

ERL_SOURCES := $(wildcard *.erl)
ERL_OBJECTS := $(ERL_SOURCES:%.erl=../ebin/%.beam)
ERL_DOCUMENTS := $(ERL_SOURCES:%.erl=../doc/%.html)
MODULES := $(ERL_SOURCES:%.erl=%)

APP_SOURCES := $(wildcard *.app.src)
Expand All @@ -30,7 +29,3 @@ APPSCRIPT = '$$vsn=shift; $$mods=""; while(@ARGV){ $$_=shift; s/^([A-Z].*)$$/\'\

../ebin/%.beam: %.erl
$(ERLC) $(ERLC_FLAGS) -o ../ebin $<

../doc/%.html: %.erl
${ERL} -noshell -run edoc file $< -run init stop
mv $*.html ../doc/
21 changes: 0 additions & 21 deletions demos/demo_instructions.txt

This file was deleted.

52 changes: 0 additions & 52 deletions demos/galley_001.gal

This file was deleted.

27 changes: 0 additions & 27 deletions demos/galley_002.gal

This file was deleted.

Binary file removed demos/test1.pdf
Binary file not shown.
Binary file removed demos/test2.pdf
Binary file not shown.
100 changes: 0 additions & 100 deletions doc/NGerlguten PDF functions.mm

This file was deleted.

Binary file removed doc/NGerlguten.doc
Binary file not shown.
Binary file removed doc/NGerlguten.pdf
Binary file not shown.
Binary file removed doc/NextGenErlguten_logo.png
Binary file not shown.
Binary file removed doc/Thumbs.db
Binary file not shown.
Loading

0 comments on commit 687172b

Please sign in to comment.