forked from CarlWright/NGerlguten
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set aside my earlier work... took up the version from github richcarl…
…/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
1 parent
65dfbdb
commit 687172b
Showing
207 changed files
with
122,807 additions
and
16,376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.