├── LICENSE ├── README.md ├── example.html ├── example.pdf ├── fonts ├── computer_modern │ ├── OFL-FAQ.txt │ ├── OFL.txt │ ├── README.txt │ ├── cmun-serif.css │ ├── cmun-typewriter.css │ ├── cmunbi.eot │ ├── cmunbi.svg │ ├── cmunbi.ttf │ ├── cmunbi.woff │ ├── cmunbx.eot │ ├── cmunbx.svg │ ├── cmunbx.ttf │ ├── cmunbx.woff │ ├── cmunit.eot │ ├── cmunit.svg │ ├── cmunit.ttf │ ├── cmunit.woff │ ├── cmunrm.eot │ ├── cmunrm.svg │ ├── cmunrm.ttf │ ├── cmunrm.woff │ ├── cmuntb.eot │ ├── cmuntb.svg │ ├── cmuntb.ttf │ ├── cmuntb.woff │ ├── cmunti.eot │ ├── cmunti.svg │ ├── cmunti.ttf │ ├── cmunti.woff │ ├── cmuntt.eot │ ├── cmuntt.svg │ ├── cmuntt.ttf │ ├── cmuntt.woff │ ├── cmuntx.eot │ ├── cmuntx.svg │ ├── cmuntx.ttf │ └── cmuntx.woff └── latin_modern │ ├── GUST-FONT-LICENSE.txt │ ├── MANIFEST-Latin-Modern-Math.txt │ ├── README-Latin-Modern-Math.txt │ ├── latinmodern-math.otf │ ├── lmmono10-italic.otf │ ├── lmmono10-regular.otf │ ├── lmmono12-regular.otf │ ├── lmmono8-regular.otf │ ├── lmmono9-regular.otf │ ├── lmmonocaps10-oblique.otf │ ├── lmmonocaps10-regular.otf │ ├── lmmonolt10-bold.otf │ ├── lmmonolt10-boldoblique.otf │ ├── lmmonolt10-oblique.otf │ ├── lmmonolt10-regular.otf │ ├── lmmonoltcond10-oblique.otf │ ├── lmmonoltcond10-regular.otf │ ├── lmmonoprop10-oblique.otf │ ├── lmmonoprop10-regular.otf │ ├── lmmonoproplt10-bold.otf │ ├── lmmonoproplt10-boldoblique.otf │ ├── lmmonoproplt10-oblique.otf │ ├── lmmonoproplt10-regular.otf │ ├── lmmonoslant10-regular.otf │ ├── lmodern.css │ ├── lmodern.html │ ├── lmroman10-bold.otf │ ├── lmroman10-bolditalic.otf │ ├── lmroman10-italic.otf │ ├── lmroman10-regular.otf │ ├── lmroman12-bold.otf │ ├── lmroman12-italic.otf │ ├── lmroman12-regular.otf │ ├── lmroman17-regular.otf │ ├── lmroman5-bold.otf │ ├── lmroman5-regular.otf │ ├── lmroman6-bold.otf │ ├── lmroman6-regular.otf │ ├── lmroman7-bold.otf │ ├── lmroman7-italic.otf │ ├── lmroman7-regular.otf │ ├── lmroman8-bold.otf │ ├── lmroman8-italic.otf │ ├── lmroman8-regular.otf │ ├── lmroman9-bold.otf │ ├── lmroman9-italic.otf │ ├── lmroman9-regular.otf │ ├── lmromancaps10-oblique.otf │ ├── lmromancaps10-regular.otf │ ├── lmromandemi10-oblique.otf │ ├── lmromandemi10-regular.otf │ ├── lmromandunh10-oblique.otf │ ├── lmromandunh10-regular.otf │ ├── lmromanslant10-bold.otf │ ├── lmromanslant10-regular.otf │ ├── lmromanslant12-regular.otf │ ├── lmromanslant17-regular.otf │ ├── lmromanslant8-regular.otf │ ├── lmromanslant9-regular.otf │ ├── lmromanunsl10-regular.otf │ ├── lmsans10-bold.otf │ ├── lmsans10-boldoblique.otf │ ├── lmsans10-oblique.otf │ ├── lmsans10-regular.otf │ ├── lmsans12-oblique.otf │ ├── lmsans12-regular.otf │ ├── lmsans17-oblique.otf │ ├── lmsans17-regular.otf │ ├── lmsans8-oblique.otf │ ├── lmsans8-regular.otf │ ├── lmsans9-oblique.otf │ ├── lmsans9-regular.otf │ ├── lmsansdemicond10-oblique.otf │ ├── lmsansdemicond10-regular.otf │ ├── lmsansquot8-bold.otf │ ├── lmsansquot8-boldoblique.otf │ ├── lmsansquot8-oblique.otf │ └── lmsansquot8-regular.otf ├── latex.css └── page.css /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Philipp Miller 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | HTMLpaper 2 | ========= 3 | 4 | This is a simple CSS "Framework" that lets you create and manually layout printable HTML documents. 5 | Basically the printed version will look exactly like what you see on screen. 6 | You can create complex layouts using CSS without worrying about them getting botched by your browser's print settings. 7 | 8 | Additionally, there is a very basic LaTeX style formatting option 9 | that let's you create pages that will look like and 10 | seemlessly integrate into LaTeX documents. See LaTeX's `pdfpages` package. 11 | 12 | Font files for LaTeX's Latin Modern as well as the original Computer Modern are included. The css will default to a system installed version of Latin Modern and fallback to the included Latin Modern webfont. 13 | You may also want to include [MathJax](http://www.mathjax.org) for displaying mathematical formula. 14 | 15 | ### Requirements 16 | * I assume you know your way around HTML and CSS. Otherwise you should probably find another (easier) way to do whatever it is you are trying to do. 17 | * A sensible, up-to-date web browser is recomended. I have only tested this in Firefox 29+ but I assume that latest Webkit browsers will work fine as well (feedback is appreciated). 18 | 19 | 20 | ### How to use 21 | * Look at the *example.html* file. The easiest way to start will be to modify it. 22 | You can copy-paste `div.page` to add more pages. 23 | Make sure you leave the document structure intact and `page.css` is linked in your document's head. 24 | * Put your content inside `div.page-inner`. Go Nuts. 25 | * Add the appropriate CSS classes to specify what paper format you want to use.Look inside *page.css* to see what paper formats are available. 26 | The default format is DIN A4. 27 | Feel free to suggest more formats! 28 | * Add a `.latex` class in your document for things that should look like LaTeX. If it all should look like LaTeX, just add it to the `body` tag. 29 | Make sure *latex.css* is linked in your document's head and look inside to see what classes you can use. 30 | * Open the HTML file in your browser (see requirements). 31 | * Use the browser's print function. 32 | Make sure to check a preview first or use a 'print to file' feature. 33 | 34 | 35 | ### When to use 36 | Consider the following scenarios 37 | * You want to create a short (1 or 2 pages) document, like a handout or a cheatsheet. 38 | * You are trying to create something that looks like LaTeX but LaTeX keeps botching your complex box layout. You know you can achieve it using CSS. 39 | * All other alternatives have failed you (office suite, InDesign, [Scribus](http://www.scribus.net/canvas/Scribus)). 40 | * Maybe you want to automate stuff like generating a table or even create graphics with something like [D3.js](http://d3js.org/). 41 | * Something else I haven't though of yet. 42 | 43 | 44 | ### When not to use 45 | * Don't use this to write long, multi page documents. That's what LaTeX is for. 46 | * Don't expect any magical auto-formatting. That's not what this is. 47 | * Don't use this *because* you don't know LaTeX. If you *can* use this then LaTeX will be easy enough to learn for you. 48 | 49 | 50 | ### Terms 51 | * This Software is provided as is, yada yada. I don't take any responsibility for things you manage to break or waste by using this. If you print out a thousand pages and then notice something is slightly off, that's on you. 52 | * Don't distribute it claiming you created it yourself. 53 | * If you create something cool with this, you may show it to me, so I can feel warm and fuzzy inside. 54 | * License is MIT, see included LICENSE file. 55 | -------------------------------------------------------------------------------- /example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HTMLpaper Example 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 | 14 |
15 |

Section Heading

16 |

Lorem ipsum dolor sit amet, illud referrentur nam et, quod dictas sententiae cu vix. Has in quodsi singulis eloquentiam. Ut animal phaedrum per. Id vel modo torquatos. Cum id oblique inermis inciderint, labore constituam pro id. Delenit efficiendi nam ea, eu adhuc partem eos.

17 | 18 |

Laudem theophrastus ne vel, dicant malorum albucius pri ut. Est facete labores volumus ad. Est nonumy invenire conclusionemque ut, ignota urbanitas voluptatibus ea usu. Tollit definitionem vim an, libris adversarium ei eam, nibh omnium persius qui ne.

19 | 20 |

Subsection Heading

21 |

Pro sumo malorum nostrud ea. Vis et oblique docendi platonem, mel ei prima eloquentiam. Ei mea liber delectus, similique disputationi vim id. Usu utinam viderer vituperatoribus et.

22 | 23 |

Has esse augue ut. Option praesent pro te, est percipitur signiferumque te. Natum eirmod efficiantur est ex, pri veritus iudicabit cu. Cum oportere persecuti ne, at vide vocent elaboraret qui.

24 | 25 |

Paragraph Heading

26 |

Ea eius mazim contentiones est. Democritum philosophia at eam. Ad congue nusquam mea, te eos aperiri commune splendide. Aliquam incorrupte his ea, duo ea quis illum alienum. Vel eu tota praesent, his ex insolens imperdiet dissentiet. Quo ei graece interesset.

27 | 28 |

29 | 30 | https://github.com/philer 31 | 32 |

33 |
34 | 35 | 1 36 |
37 |
38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/example.pdf -------------------------------------------------------------------------------- /fonts/computer_modern/OFL-FAQ.txt: -------------------------------------------------------------------------------- 1 | OFL FAQ - Frequently Asked Questions about the SIL Open Font License (OFL) 2 | Version 1.1 - 26 February 2007 3 | (See http://scripts.sil.org/OFL for updates) 4 | 5 | 6 | 1 ABOUT USING AND DISTRIBUTING FONTS LICENSED UNDER THE OFL 7 | 8 | 1.1 Can I use the fonts in any publication, even embedded in the file? 9 | Yes. You may use them like most other fonts, but unlike some fonts you may include an embedded subset of the fonts in your document. Such use does not require you to include this license or other files (listed in OFL condition 2), nor does it require any type of acknowledgement within the publication. Some mention of the font name within the publication information (such as in a colophon) is usually appreciated. If you wish to include the complete font as a separate file, you should distribute the full font package, including all existing acknowledgements, and comply with the OFL conditions. Of course, referencing or embedding an OFL font in any document does not change the license of the document itself. The requirement for fonts to remain under the OFL does not apply to any document created using the fonts and their derivatives. Similarly, creating any kind of graphic using a font under OFL does not make the resulting artwork subject to the OFL. 10 | 11 | 1.2 Can I make web pages using these fonts? 12 | Yes! Go ahead! Using CSS (Cascading Style Sheets) is recommended. 13 | 14 | 1.3 Can I make the fonts available to others from my web site? 15 | Yes, as long as you meet the conditions of the license (do not sell by itself, include the necessary files, rename Modified Versions, do not abuse the Author(s)' name(s) and do not sublicense). 16 | 17 | 1.4 Can the fonts be included with Free/Libre and Open Source Software collections such as GNU/Linux and BSD distributions? 18 | Yes! Fonts licensed under the OFL can be freely aggregated with software under FLOSS (Free/Libre and Open Source Software) licenses. Since fonts are much more useful aggregated to than merged with existing software, possible incompatibility with existing software licenses is not a problem. You can also repackage the fonts and the accompanying components in a .rpm or .deb package and include them in distro CD/DVDs and online repositories. 19 | 20 | 1.5 I want to distribute the fonts with my program. Does this mean my program also has to be free and open source software? 21 | No. Only the portions based on the font software are required to be released under the OFL. The intent of the license is to allow aggregation or bundling with software under restricted licensing as well. 22 | 23 | 1.6 Can I include the fonts on a CD of freeware or commercial fonts? 24 | Yes, as long some other font or software is also on the disk, so the OFL font is not sold by itself. 25 | 26 | 1.7 Can I sell a software package that includes these fonts? 27 | Yes, you can do this with both the Original Version and a Modified Version. Examples of bundling made possible by the OFL would include: word processors, design and publishing applications, training and educational software, edutainment software, etc. 28 | 29 | 1.8 Why won't the OFL let me sell the fonts alone? 30 | The intent is to keep people from making money by simply redistributing the fonts. The only people who ought to profit directly from the fonts should be the original authors, and those authors have kindly given up potential direct income to distribute their fonts under the OFL. Please honor and respect their contribution! 31 | 32 | 1.9 I've come across a font released under the OFL. How can I easily get more information about the Original Version? How can I know where it stands compared to the Original Version or other Modified Versions? 33 | Consult the copyright statement(s) in the license for ways to contact the original authors. Consult the FONTLOG for information on how the font differs from the Original Version, and get in touch with the various contributors via the information in the acknowledgment section. Please consider using the Original Versions of the fonts whenever possible. 34 | 35 | 1.10 What do you mean in condition 4? Can you provide examples of abusive promotion / endorsement / advertisement vs. normal acknowledgement? 36 | The intent is that the goodwill and reputation of the author(s) should not be used in a way that makes it sound like the original author(s) endorse or approve of a specific Modified Version or software bundle. For example, it would not be right to advertise a word processor by naming the author(s) in a listing of software features, or to promote a Modified Version on a web site by saying "designed by ...". However, it would be appropriate to acknowledge the author(s) if your software package has a list of people who deserve thanks. We realize that this can seem to be a gray area, but the standard used to judge an acknowledgement is that if the acknowledgement benefits the author(s) it is allowed, but if it primarily benefits other parties, or could reflect poorly on the author(s), then it is not. 37 | 38 | 39 | 2 ABOUT MODIFYING OFL LICENSED FONTS 40 | 41 | 2.1 Can I change the fonts? Are there any limitations to what things I can and cannot change? 42 | You are allowed to change anything, as long as such changes do not violate the terms of the license. In other words, you are not allowed to remove the copyright statement(s) from the font, but you could add additional information into it that covers your contribution. 43 | 44 | 2.2 I have a font that needs a few extra glyphs - can I take them from an OFL licensed font and copy them into mine? 45 | Yes, but if you distribute that font to others it must be under the OFL, and include the information mentioned in condition 2 of the license. 46 | 47 | 2.3 Can I charge people for my additional work? In other words, if I add a bunch of special glyphs and/or OpenType/Graphite code, can I sell the enhanced font? 48 | Not by itself. Derivative fonts must be released under the OFL and cannot be sold by themselves. It is permitted, however, to include them in a larger software package (such as text editors, office suites or operating systems), even if the larger package is sold. In that case, you are strongly encouraged, but not required, to also make that derived font easily and freely available outside of the larger package. 49 | 50 | 2.4 Can I pay someone to enhance the fonts for my use and distribution? 51 | Yes. This is a good way to fund the further development of the fonts. Keep in mind, however, that if the font is distributed to others it must be under the OFL. You won't be able to recover your investment by exclusively selling the font, but you will be making a valuable contribution to the community. Please remember how you have benefitted from the contributions of others. 52 | 53 | 2.5 I need to make substantial revisions to the font to make it work with my program. It will be a lot of work, and a big investment, and I want to be sure that it can only be distributed with my program. Can I restrict its use? 54 | No. If you redistribute a Modified Version of the font it must be under the OFL. You may not restrict it in any way. This is intended to ensure that all released improvements to the fonts become available to everyone. But you will likely get an edge over competitors by being the first to distribute a bundle with the enhancements. Again, please remember how you have benefitted from the contributions of others. 55 | 56 | 2.6 Do I have to make any derivative fonts (including source files, build scripts, documentation, etc.) publicly available? 57 | No, but please do share your improvements with others. You may find that you receive more than what you gave in return. 58 | 59 | 2.7 Why can't I use the Reserved Font Name(s) in my derivative font names? I'd like people to know where the design came from. 60 | The best way to acknowledge the source of the design is to thank the original authors and any other contributors in the files that are distributed with your revised font (although no acknowledgement is required). The FONTLOG is a natural place to do this. Reserved Font Name(s) ensure that the only fonts that have the original names are the unmodified Original Versions. This allows designers to maintain artistic integrity while allowing collaboration to happen. It eliminates potential confusion and name conflicts. When choosing a name be creative and avoid names that reuse almost all the same letters in the same order or sound like the original. Keep in mind that the Copyright Holder(s) can allow a specific trusted partner to use Reserved Font Name(s) through a separate written agreement. 61 | 62 | 2.8 What do you mean by "primary name as presented to the user"? Are you referring to the font menu name? 63 | Yes, the requirement to change the visible name used to differentiate the font from others applies to the font menu name and other mechanisms to specify a font in a document. It would be fine, for example, to keep a text reference to the original fonts in the description field, in your modified source file or in documentation provided alongside your derivative as long as no one could be confused that your modified source is the original. But you cannot use the Reserved Font Names in any way to identify the font to the user (unless the Copyright Holder(s) allow(s) it through a separate agreement; see section 2.7). Users who install derivatives ("Modified Versions") on their systems should not see any of the original names ("Reserved Font Names") in their font menus, for example. Again, this is to ensure that users are not confused and do not mistake a font for another and so expect features only another derivative or the Original Version can actually offer. Ultimately, creating name conflicts will cause many problems for the users as well as for the designer of both the Original and Modified versions, so please think ahead and find a good name for your own derivative. Font substitution systems like fontconfig, or application-level font fallback configuration within OpenOffice.org or Scribus, will also get very confused if the name of the font they are configured to substitute to actually refers to another physical font on the user's hard drive. It will help everyone if Original Versions and Modified Versions can easily be distinguished from one another and from other derivatives. The substitution mechanism itself is outside the scope of the license. Users can always manually change a font reference in a document or set up some kind of substitution at a higher level but at the lower level the fonts themselves have to respect the Reserved Font Name(s) requirement to prevent ambiguity. If a substitution is currently active the user should be aware of it. 64 | 65 | 2.9 Am I not allowed to use any part of the Reserved Font Names? 66 | You may not use the words of the font names, but you would be allowed to use parts of words, as long as you do not use any word from the Reserved Font Names entirely. We do not recommend using parts of words because of potential confusion, but it is allowed. For example, if "Foobar" was a Reserved Font Name, you would be allowed to use "Foo" or "bar", although we would not recommend it. Such an unfortunate choice would confuse the users of your fonts as well as make it harder for other designers to contribute. 67 | 68 | 2.10 So what should I, as an author, identify as Reserved Font Names? 69 | Original authors are encouraged to name their fonts using clear, distinct names, and only declare the unique parts of the name as Reserved Font Names. For example, the author of a font called "Foobar Sans" would declare "Foobar" as a Reserved Font Name, but not "Sans", as that is a common typographical term, and may be a useful word to use in a derivative font name. Reserved Font Names should also be single words. A font called "Flowing River" should have Reserved Font Names "Flowing" and "River", not "Flowing River". 70 | 71 | 2.11 Do I, as an author, have to identify any Reserved Font Names? 72 | No, but we strongly encourage you to do so. This is to avoid confusion between your work and Modified versions. You may, however, give certain trusted parties the right to use any of your Reserved Font Names through separate written agreements. For example, even if "Foobar" is a RFN, you could write up an agreement to give company "XYZ" the right to distribute a modified version with a name that includes "Foobar". This allows for freedom without confusion. 73 | 74 | 2.12 Are any names (such as the main font name) reserved by default? 75 | No. That is a change to the license as of version 1.1. If you want any names to be Reserved Font Names, they must be specified after the copyright statement(s). 76 | 77 | 2.13 What is this FONTLOG thing exactly? 78 | It has three purposes: 1) to provide basic information on the font to users and other developers, 2) to document changes that have been made to the font or accompanying files, either by the original authors or others, and 3) to provide a place to acknowledge the authors and other contributors. Please use it! See below for details on how changes should be noted. 79 | 80 | 2.14 Am I required to update the FONTLOG? 81 | No, but users, designers and other developers might get very frustrated at you if you don't! People need to know how derivative fonts differ from the original, and how to take advantage of the changes, or build on them. 82 | 83 | 84 | 3 ABOUT THE FONTLOG 85 | 86 | The FONTLOG can take a variety of formats, but should include these four sections: 87 | 88 | 3.1 FONTLOG for 89 | This file provides detailed information on the font software. This information should be distributed along with the fonts and any derivative works. 90 | 91 | 3.2 Basic Font Information 92 | (Here is where you would describe the purpose and brief specifications for the font project, and where users can find more detailed documentation. It can also include references to how changes can be contributed back to the Original Version. You may also wish to include a short guide to the design, or a reference to such a document.) 93 | 94 | 3.3 ChangeLog 95 | (This should list both major and minor changes, most recent first. Here are some examples:) 96 | 97 | 7 February 2007 (Pat Johnson) Version 1.3 98 | - Added Greek and Cyrillic glyphs 99 | - Released as "" 100 | 101 | 7 March 2006 (Fred Foobar) Version 1.2 102 | - Tweaked contextual behaviours 103 | - Released as "" 104 | 105 | 1 Feb 2005 (Jane Doe) Version 1.1 106 | - Improved build script performance and verbosity 107 | - Extended the smart code documentation 108 | - Corrected minor typos in the documentation 109 | - Fixed position of combining inverted breve below (U+032F) 110 | - Added OpenType/Graphite smart code for Armenian 111 | - Added Armenian glyphs (U+0531 -> U+0587) 112 | - Released as "" 113 | 114 | 1 Jan 2005 (Joe Smith) Version 1.0 115 | - Initial release of font "" 116 | 117 | 3.4 Acknowledgements 118 | (Here is where contributors can be acknowledged. 119 | 120 | If you make modifications be sure to add your name (N), email (E), web-address (W) and description (D). This list is sorted by last name in alphabetical order.) 121 | 122 | N: Jane Doe 123 | E: jane@university.edu 124 | W: http://art.university.edu/projects/fonts 125 | D: Contributor - Armenian glyphs and code 126 | 127 | N: Fred Foobar 128 | E: fred@foobar.org 129 | W: http://foobar.org 130 | D: Contributor - misc Graphite fixes 131 | 132 | N: Pat Johnson 133 | E: pat@fontstudio.org 134 | W: http://pat.fontstudio.org 135 | D: Designer - Greek & Cyrillic glyphs based on Roman design 136 | 137 | N: Tom Parker 138 | E: tom@company.com 139 | W: http://www.company.com/tom/projects/fonts 140 | D: Engineer - original smart font code 141 | 142 | N: Joe Smith 143 | E: joe@fontstudio.org 144 | W: http://joe.fontstudio.org 145 | D: Designer - original Roman glyphs 146 | 147 | (Original authors can also include information here about their organization.) 148 | 149 | 150 | 4 ABOUT MAKING CONTRIBUTIONS 151 | 152 | 4.1 Why should I contribute my changes back to the original authors? 153 | It would benefit many people if you contributed back to what you've received. Providing your contributions and improvements to the fonts and other components (data files, source code, build scripts, documentation, etc.) could be a tremendous help and would encourage others to contribute as well and 'give back', which means you will have an opportunity to benefit from other people's contributions as well. Sometimes maintaining your own separate version takes more effort than merging back with the original. Be aware that any contributions, however, must be either your own original creation or work that you own, and you may be asked to affirm that clearly when you contribute. 154 | 155 | 4.2 I've made some very nice improvements to the font, will you consider adopting them and putting them into future Original Versions? 156 | Most authors would be very happy to receive such contributions. Keep in mind that it is unlikely that they would want to incorporate major changes that would require additional work on their end. Any contributions would likely need to be made for all the fonts in a family and match the overall design and style. Authors are encouraged to include a guide to the design with the fonts. It would also help to have contributions submitted as patches or clearly marked changes (the use of smart source revision control systems like subversion, svk or bzr is a good idea). Examples of useful contributions are bug fixes, additional glyphs, stylistic alternates (and the smart font code to access them) or improved hinting. 157 | 158 | 4.3 How can I financially support the development of OFL fonts? 159 | It is likely that most authors of OFL fonts would accept financial contributions - contact them for instructions on how to do this. Such contributions would support future development. You can also pay for others to enhance the fonts and contribute the results back to the original authors for inclusion in the Original Version. 160 | 161 | 162 | 5 ABOUT THE LICENSE 163 | 164 | 5.1 I see that this is version 1.1 of the license. Will there be later changes? 165 | Version 1.1 is the first minor revision of the OFL. We are confident that version 1.1 will meet most needs, but are open to future improvements. Any revisions would be for future font releases, and previously existing licenses would remain in effect. No retroactive changes are possible, although the Copyright Holder(s) can re-release the font under a revised OFL. All versions will be available on our web site: http://scripts.sil.org/OFL. 166 | 167 | 5.2 Can I use the SIL Open Font License for my own fonts? 168 | Yes! We heartily encourage anyone to use the OFL to distribute their own original fonts. It is a carefully constructed license that allows great freedom along with enough artistic integrity protection for the work of the authors as well as clear rules for other contributors and those who redistribute the fonts. Some additional information about using the OFL is included at the end of this FAQ. 169 | 170 | 5.3 Does this license restrict the rights of the Copyright Holder(s)? 171 | No. The Copyright Holder(s) still retain(s) all the rights to their creation; they are only releasing a portion of it for use in a specific way. For example, the Copyright Holder(s) may choose to release a 'basic' version of their font under the OFL, but sell a restricted 'enhanced' version. Only the Copyright Holder(s) can do this. 172 | 173 | 5.4 Is the OFL a contract or a license? 174 | The OFL is a license and not a contract and so does not require you to sign it to have legal validity. By using, modifying and redistributing components under the OFL you indicate that you accept the license. 175 | 176 | 5.5 How about translating the license and the FAQ into other languages? 177 | SIL certainly recognises the need for people who are not familiar with English to be able to understand the OFL and this FAQ better in their own language. Making the license very clear and readable is a key goal of the OFL. 178 | 179 | If you are an experienced translator, you are very welcome to help by translating the OFL and its FAQ so that designers and users in your language community can understand the license better. But only the original English version of the license has legal value and has been approved by the community. Translations do not count as legal substitutes and should only serve as a way to explain the original license. SIL - as the author and steward of the license for the community at large - does not approve any translation of the OFL as legally valid because even small translation ambiguities could be abused and create problems. 180 | 181 | We give permission to publish unofficial translations into other languages provided that they comply with the following guidelines: 182 | 183 | - put the following disclaimer in both English and the target language stating clearly that the translation is unofficial: 184 | 185 | "This is an unofficial translation of the SIL Open Font License into $language. It was not published by SIL International, and does not legally state the distribution terms for fonts that use the OFL. A release under the OFL is only valid when using the original English text. 186 | 187 | However, we recognize that this unofficial translation will help users and designers not familiar with English to understand the SIL OFL better and make it easier to use and release font families under this collaborative font design model. We encourage designers who consider releasing their creation under the OFL to read the FAQ in their own language if it is available. 188 | 189 | Please go to http://scripts.sil.org/OFL for the official version of the license and the accompanying FAQ." 190 | 191 | - keep your unofficial translation current and update it at our request if needed, for example if there is any ambiguity which could lead to confusion. 192 | 193 | If you start such a unofficial translation effort of the OFL and its accompanying FAQ please let us know, thank you. 194 | 195 | 196 | 6 ABOUT SIL INTERNATIONAL 197 | 198 | 6.1 Who is SIL International and what does it do? 199 | SIL International is a worldwide faith-based education and development organization (NGO) that studies, documents, and assists in developing the world's lesser-known languages through literacy, linguistics, translation, and other academic disciplines. SIL makes its services available to all without regard to religious belief, political ideology, gender, race, or ethnic background. SIL's members and volunteers share a Christian commitment. 200 | 201 | 6.2 What does this have to do with font licensing? 202 | The ability to read, write, type and publish in one's own language is one of the most critical needs for millions of people around the world. This requires fonts that are widely available and support lesser-known languages. SIL develops - and encourages others to develop - a complete stack of writing systems implementation components available under open licenses. This open stack includes input methods, smart fonts, smart rendering libraries and smart applications. There has been a need for a common open license that is specifically applicable to fonts and related software (a crucial component of this stack) so SIL developed the SIL Open Font License with the help of the FLOSS community. 203 | 204 | 6.3 How can I contact SIL? 205 | Our main web site is: http://www.sil.org/ 206 | Our site about complex scripts is: http://scripts.sil.org/ 207 | Information about this license (including contact email information) is at: http://scripts.sil.org/OFL 208 | 209 | 210 | 7 ABOUT USING THE OFL FOR YOUR ORIGINAL FONTS 211 | 212 | If you want to release your fonts under the OFL, you only need to do the following: 213 | 214 | 7.1 Put your copyright and reserved font names information in the beginning of the main OFL file. 215 | 7.2 Put your copyright and the OFL references in your various font files (such as in the copyright, license and description fields) and in your other components (build scripts, glyph databases, documentation, rendering samples, etc). 216 | 7.3 Write an initial FONTLOG for your font and include it in the release package. 217 | 7.4 Include the OFL in your release package. 218 | 7.5 We also highly recommend you include the relevant practical documentation on the license by putting the OFL-FAQ in your package. 219 | 7.6 If you wish, you can use the OFL Graphics on your web page. 220 | 221 | 222 | 223 | That's all. If you have any more questions please get in touch with us. 224 | 225 | 226 | -------------------------------------------------------------------------------- /fonts/computer_modern/OFL.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) Authors of original metafont fonts: 2 | Donald Ervin Knuth (cm, concrete fonts) 3 | 1995, 1996, 1997 J"org Knappen, 1990, 1992 Norbert Schwarz (ec fonts) 4 | 1992-2006 A.Khodulev, O.Lapko, A.Berdnikov, V.Volovich (lh fonts) 5 | 1997-2005 Claudio Beccari (cb greek fonts) 6 | 2002 FUKUI Rei (tipa fonts) 7 | 2003-2005 Han The Thanh (Vietnamese fonts) 8 | 1996-2005 Walter Schmidt (cmbright fonts) 9 | 10 | Copyright (C) 2003-2009, Andrey V. Panov (panov@canopus.iacp.dvo.ru), 11 | with Reserved Font Family Name "Computer Modern Unicode fonts". 12 | 13 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 14 | This license is copied below, and is also available with a FAQ at: 15 | http://scripts.sil.org/OFL 16 | 17 | 18 | ----------------------------------------------------------- 19 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 20 | ----------------------------------------------------------- 21 | 22 | PREAMBLE 23 | The goals of the Open Font License (OFL) are to stimulate worldwide 24 | development of collaborative font projects, to support the font creation 25 | efforts of academic and linguistic communities, and to provide a free and 26 | open framework in which fonts may be shared and improved in partnership 27 | with others. 28 | 29 | The OFL allows the licensed fonts to be used, studied, modified and 30 | redistributed freely as long as they are not sold by themselves. The 31 | fonts, including any derivative works, can be bundled, embedded, 32 | redistributed and/or sold with any software provided that any reserved 33 | names are not used by derivative works. The fonts and derivatives, 34 | however, cannot be released under any other type of license. The 35 | requirement for fonts to remain under this license does not apply 36 | to any document created using the fonts or their derivatives. 37 | 38 | DEFINITIONS 39 | "Font Software" refers to the set of files released by the Copyright 40 | Holder(s) under this license and clearly marked as such. This may 41 | include source files, build scripts and documentation. 42 | 43 | "Reserved Font Name" refers to any names specified as such after the 44 | copyright statement(s). 45 | 46 | "Original Version" refers to the collection of Font Software components as 47 | distributed by the Copyright Holder(s). 48 | 49 | "Modified Version" refers to any derivative made by adding to, deleting, 50 | or substituting -- in part or in whole -- any of the components of the 51 | Original Version, by changing formats or by porting the Font Software to a 52 | new environment. 53 | 54 | "Author" refers to any designer, engineer, programmer, technical 55 | writer or other person who contributed to the Font Software. 56 | 57 | PERMISSION & CONDITIONS 58 | Permission is hereby granted, free of charge, to any person obtaining 59 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 60 | redistribute, and sell modified and unmodified copies of the Font 61 | Software, subject to the following conditions: 62 | 63 | 1) Neither the Font Software nor any of its individual components, 64 | in Original or Modified Versions, may be sold by itself. 65 | 66 | 2) Original or Modified Versions of the Font Software may be bundled, 67 | redistributed and/or sold with any software, provided that each copy 68 | contains the above copyright notice and this license. These can be 69 | included either as stand-alone text files, human-readable headers or 70 | in the appropriate machine-readable metadata fields within text or 71 | binary files as long as those fields can be easily viewed by the user. 72 | 73 | 3) No Modified Version of the Font Software may use the Reserved Font 74 | Name(s) unless explicit written permission is granted by the corresponding 75 | Copyright Holder. This restriction only applies to the primary font name as 76 | presented to the users. 77 | 78 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 79 | Software shall not be used to promote, endorse or advertise any 80 | Modified Version, except to acknowledge the contribution(s) of the 81 | Copyright Holder(s) and the Author(s) or with their explicit written 82 | permission. 83 | 84 | 5) The Font Software, modified or unmodified, in part or in whole, 85 | must be distributed entirely under this license, and must not be 86 | distributed under any other license. The requirement for fonts to 87 | remain under this license does not apply to any document created 88 | using the Font Software. 89 | 90 | TERMINATION 91 | This license becomes null and void if any of the above conditions are 92 | not met. 93 | 94 | DISCLAIMER 95 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 96 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 97 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 98 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 99 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 100 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 101 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 102 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 103 | OTHER DEALINGS IN THE FONT SOFTWARE. 104 | -------------------------------------------------------------------------------- /fonts/computer_modern/README.txt: -------------------------------------------------------------------------------- 1 | This package was compiled by Christian Perfect (http://checkmyworking.com) from the Computer Modern Unicode fonts created by Andrey V. Panov (http://cm-unicode.sourceforge.net/) 2 | 3 | They're released under the SIL Open Font License. See OFL.txt and OFL-FAQ.txt for the terms. 4 | 5 | A demo page for these fonts was at http://www.checkmyworking.com/cm-web-fonts/ when I released them. I can only apologise, citizen of the future, if that address doesn't exist any more. 6 | -------------------------------------------------------------------------------- /fonts/computer_modern/cmun-serif.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Computer Modern Serif'; 3 | src: url('cmunrm.eot'); 4 | src: url('cmunrm.eot?#iefix') format('embedded-opentype'), 5 | url('cmunrm.woff') format('woff'), 6 | url('cmunrm.ttf') format('truetype'), 7 | url('cmunrm.svg#cmunrm') format('svg'); 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | 12 | 13 | @font-face { 14 | font-family: 'Computer Modern Serif'; 15 | src: url('cmunbx.eot'); 16 | src: url('cmunbx.eot?#iefix') format('embedded-opentype'), 17 | url('cmunbx.woff') format('woff'), 18 | url('cmunbx.ttf') format('truetype'), 19 | url('cmunbx.svg#cmunbx') format('svg'); 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | 25 | @font-face { 26 | font-family: 'Computer Modern Serif'; 27 | src: url('cmunti.eot'); 28 | src: url('cmunti.eot?#iefix') format('embedded-opentype'), 29 | url('cmunti.woff') format('woff'), 30 | url('cmunti.ttf') format('truetype'), 31 | url('cmunti.svg#cmunti') format('svg'); 32 | font-weight: normal; 33 | font-style: italic; 34 | } 35 | 36 | 37 | @font-face { 38 | font-family: 'Computer Modern Serif'; 39 | src: url('cmunbi.eot'); 40 | src: url('cmunbi.eot?#iefix') format('embedded-opentype'), 41 | url('cmunbi.woff') format('woff'), 42 | url('cmunbi.ttf') format('truetype'), 43 | url('cmunbi.svg#cmunbi') format('svg'); 44 | font-weight: bold; 45 | font-style: italic; 46 | } 47 | 48 | 49 | -------------------------------------------------------------------------------- /fonts/computer_modern/cmun-typewriter.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Computer Modern Typewriter'; 3 | src: url('cmuntt.eot'); 4 | src: url('cmuntt.eot?#iefix') format('embedded-opentype'), 5 | url('cmuntt.woff') format('woff'), 6 | url('cmuntt.ttf') format('truetype'), 7 | url('cmuntt.svg#cmuntt') format('svg'); 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | 12 | 13 | @font-face { 14 | font-family: 'Computer Modern Typewriter'; 15 | src: url('cmuntb.eot'); 16 | src: url('cmuntb.eot?#iefix') format('embedded-opentype'), 17 | url('cmuntb.woff') format('woff'), 18 | url('cmuntb.ttf') format('truetype'), 19 | url('cmuntb.svg#cmuntb') format('svg'); 20 | font-weight: bold; 21 | font-style: normal; 22 | } 23 | 24 | 25 | @font-face { 26 | font-family: 'Computer Modern Typewriter'; 27 | src: url('cmunit.eot'); 28 | src: url('cmunit.eot?#iefix') format('embedded-opentype'), 29 | url('cmunit.woff') format('woff'), 30 | url('cmunit.ttf') format('truetype'), 31 | url('cmunit.svg#cmunit') format('svg'); 32 | font-weight: normal; 33 | font-style: italic; 34 | } 35 | 36 | 37 | @font-face { 38 | font-family: 'Computer Modern Typewriter'; 39 | src: url('cmuntx.eot'); 40 | src: url('cmuntx.eot?#iefix') format('embedded-opentype'), 41 | url('cmuntx.woff') format('woff'), 42 | url('cmuntx.ttf') format('truetype'), 43 | url('cmuntx.svg#cmuntx') format('svg'); 44 | font-weight: bold; 45 | font-style: italic; 46 | } 47 | 48 | 49 | -------------------------------------------------------------------------------- /fonts/computer_modern/cmunbi.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunbi.eot -------------------------------------------------------------------------------- /fonts/computer_modern/cmunbi.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunbi.ttf -------------------------------------------------------------------------------- /fonts/computer_modern/cmunbi.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunbi.woff -------------------------------------------------------------------------------- /fonts/computer_modern/cmunbx.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunbx.eot -------------------------------------------------------------------------------- /fonts/computer_modern/cmunbx.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 14 | 16 | 19 | 22 | 26 | 29 | 30 | 32 | 33 | 36 | 38 | 40 | 41 | 42 | 43 | 45 | 46 | 48 | 51 | 52 | 55 | 58 | 60 | 62 | 65 | 66 | 68 | 69 | 70 | 71 | 74 | 77 | 79 | 81 | 83 | 84 | 86 | 87 | 89 | 90 | 91 | 93 | 95 | 96 | 98 | 100 | 102 | 104 | 107 | 110 | 113 | 114 | 116 | 118 | 120 | 122 | 124 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 135 | 137 | 139 | 141 | 143 | 145 | 149 | 151 | 152 | 154 | 156 | 157 | 159 | 161 | 163 | 165 | 167 | 169 | 172 | 173 | 175 | 177 | 179 | 181 | 183 | 185 | 188 | 189 | 192 | 194 | 195 | 196 | 197 | -------------------------------------------------------------------------------- /fonts/computer_modern/cmunbx.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunbx.ttf -------------------------------------------------------------------------------- /fonts/computer_modern/cmunbx.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunbx.woff -------------------------------------------------------------------------------- /fonts/computer_modern/cmunit.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunit.eot -------------------------------------------------------------------------------- /fonts/computer_modern/cmunit.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunit.ttf -------------------------------------------------------------------------------- /fonts/computer_modern/cmunit.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunit.woff -------------------------------------------------------------------------------- /fonts/computer_modern/cmunrm.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunrm.eot -------------------------------------------------------------------------------- /fonts/computer_modern/cmunrm.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 14 | 16 | 19 | 23 | 27 | 30 | 31 | 33 | 35 | 38 | 40 | 41 | 42 | 43 | 44 | 46 | 47 | 49 | 52 | 53 | 56 | 58 | 60 | 62 | 64 | 65 | 67 | 69 | 70 | 72 | 74 | 77 | 79 | 81 | 83 | 85 | 87 | 89 | 92 | 94 | 95 | 97 | 99 | 101 | 103 | 105 | 107 | 109 | 112 | 115 | 118 | 120 | 122 | 124 | 127 | 130 | 132 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 143 | 145 | 147 | 149 | 151 | 153 | 156 | 158 | 160 | 162 | 164 | 165 | 168 | 170 | 172 | 174 | 176 | 178 | 181 | 182 | 184 | 186 | 188 | 190 | 192 | 193 | 196 | 197 | 200 | 202 | 203 | 204 | 205 | -------------------------------------------------------------------------------- /fonts/computer_modern/cmunrm.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunrm.ttf -------------------------------------------------------------------------------- /fonts/computer_modern/cmunrm.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunrm.woff -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntb.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmuntb.eot -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmuntb.ttf -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntb.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmuntb.woff -------------------------------------------------------------------------------- /fonts/computer_modern/cmunti.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunti.eot -------------------------------------------------------------------------------- /fonts/computer_modern/cmunti.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunti.ttf -------------------------------------------------------------------------------- /fonts/computer_modern/cmunti.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmunti.woff -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntt.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmuntt.eot -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntt.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 14 | 16 | 19 | 22 | 25 | 28 | 30 | 32 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 45 | 48 | 50 | 52 | 54 | 56 | 58 | 60 | 61 | 63 | 65 | 66 | 67 | 69 | 71 | 73 | 75 | 77 | 78 | 80 | 82 | 84 | 86 | 87 | 89 | 91 | 93 | 96 | 98 | 100 | 101 | 104 | 107 | 110 | 112 | 114 | 116 | 119 | 121 | 123 | 125 | 126 | 127 | 128 | 130 | 131 | 132 | 134 | 136 | 138 | 140 | 142 | 144 | 147 | 149 | 150 | 152 | 154 | 155 | 158 | 160 | 161 | 163 | 165 | 167 | 170 | 172 | 174 | 176 | 179 | 181 | 184 | 186 | 188 | 189 | 191 | 192 | 193 | 194 | 195 | -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmuntt.ttf -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntt.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmuntt.woff -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntx.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmuntx.eot -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntx.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmuntx.ttf -------------------------------------------------------------------------------- /fonts/computer_modern/cmuntx.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/computer_modern/cmuntx.woff -------------------------------------------------------------------------------- /fonts/latin_modern/GUST-FONT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | % This is a preliminary version (2006-09-30), barring acceptance from 2 | % the LaTeX Project Team and other feedback, of the GUST Font License. 3 | % (GUST is the Polish TeX Users Group, http://www.gust.org.pl) 4 | % 5 | % For the most recent version of this license see 6 | % http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt 7 | % or 8 | % http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt 9 | % 10 | % This work may be distributed and/or modified under the conditions 11 | % of the LaTeX Project Public License, either version 1.3c of this 12 | % license or (at your option) any later version. 13 | % 14 | % Please also observe the following clause: 15 | % 1) it is requested, but not legally required, that derived works be 16 | % distributed only after changing the names of the fonts comprising this 17 | % work and given in an accompanying "manifest", and that the 18 | % files comprising the Work, as listed in the manifest, also be given 19 | % new names. Any exceptions to this request are also given in the 20 | % manifest. 21 | % 22 | % We recommend the manifest be given in a separate file named 23 | % MANIFEST-.txt, where is some unique identification 24 | % of the font family. If a separate "readme" file accompanies the Work, 25 | % we recommend a name of the form README-.txt. 26 | % 27 | % The latest version of the LaTeX Project Public License is in 28 | % http://www.latex-project.org/lppl.txt and version 1.3c or later 29 | % is part of all distributions of LaTeX version 2006/05/20 or later. 30 | 31 | -------------------------------------------------------------------------------- /fonts/latin_modern/MANIFEST-Latin-Modern-Math.txt: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | ############ The TeX Gyre Collection of Fonts ############ 3 | ########################################################################### 4 | 5 | Font: Latin Modern Math 6 | Authors: Bogus\l{}aw Jackowski, Piotr Strzelczyk and Piotr Pianowski 7 | Version: 1.959 8 | Date: 5 IX 2014 9 | 10 | Copyright 2012--2014 for TeX Gyre math extensions by B. Jackowski, 11 | P. Strzelczyk and P. Pianowski (on behalf of TeX Users Groups). 12 | 13 | This work can be freely used and distributed under 14 | the GUST Font License (GFL -- see GUST-FONT-LICENSE.txt) 15 | which is actually an instance of the LaTeX Project Public License 16 | (LPPL -- see http://www.latex-project.org/lppl.txt). 17 | 18 | This work has the maintenance status "maintained". The Current Maintainer 19 | of this work is Bogus\l{}aw Jackowski, Piotr Strzelczyk and Piotr Pianowski. 20 | 21 | This work consists of the files listed in this file. 22 | 23 | Below, in three sections required by the GUST Font License, 24 | font names and file names specific for the Latin Modern Math 25 | font are listed. 26 | 27 | NOTE: the names of the directories are not subject to the renaming 28 | restrictions. 29 | 30 | 1. Fonts whose names should be changed in derived works as requested 31 | by clause 1 of GUST-FONT-LICENSE.txt 32 | 33 | 1.1 OTF menu names 34 | Latin Modern Math 35 | LatinModernMath-Regular 36 | 37 | 2. Files whose names should be changed in derived works as requested 38 | by clause 1 of GUST-FONT-LICENSE.txt 39 | 40 | 2.1 otf/latinmodern-math.otf 41 | 42 | 2.2 doc/MANIFEST-Latin-Modern-Math.txt 43 | doc/README-Latin-Modern-Math.txt 44 | doc/presentation-lmodern_math.pdf 45 | doc/math-test.tex 46 | doc/math-test-context.tex 47 | doc/test-context-latinmodern_math.pdf 48 | doc/test-context-latinmodern_math.tex 49 | doc/test-lualatex-latinmodern_math.pdf 50 | doc/test-lualatex-latinmodern_math.tex 51 | doc/test-xelatex-latinmodern_math.pdf 52 | doc/test-xelatex-latinmodern_math.tex 53 | doc/test-word-tg_latinmodern_math.docx 54 | doc/test-word-tg_latinmodern_math.pdf 55 | 56 | 3. Files whose names need not be changed in derived works as requested 57 | by clause 1 of GUST-FONT-LICENSE.txt 58 | 59 | doc/GUST-FONT-LICENSE.txt 60 | doc/INSTALL.txt 61 | -------------------------------------------------------------------------------- /fonts/latin_modern/README-Latin-Modern-Math.txt: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | ############ Latin Modern Collection of Fonts ############ 3 | ########################################################################### 4 | 5 | Font: Latin Modern Math 6 | Authors: Bogus\l{}aw Jackowski, Piotr Strzelczyk and Piotr Pianowski 7 | Version: 1.959 8 | Date: 5 IX 2014 9 | 10 | License: 11 | % Copyright 2012--2014 for the Latin Modern math extensions by B. Jackowski, 12 | % P. Strzelczyk and P. Pianowski (on behalf of TeX Users Groups). 13 | % 14 | % This work can be freely used and distributed under 15 | % the GUST Font License (GFL -- see GUST-FONT-LICENSE.txt) 16 | % which is actually an instance of the LaTeX Project Public License 17 | % (LPPL -- see http://www.latex-project.org/lppl.txt). 18 | % 19 | % This work has the maintenance status "maintained". The Current Maintainer 20 | % of this work is Bogus\l{}aw Jackowski, Piotr Strzelczyk and Piotr Pianowski. 21 | % 22 | % This work consists of the files listed 23 | % in the MANIFEST-Latin-Modern-Math.txt file. 24 | 25 | ########################################################################### 26 | ############ A BRIEF DESCRIPTION OF THE FONT ############ 27 | ########################################################################### 28 | 29 | Latin Modern Math is a math companion for the Latin Modern family 30 | of fonts (see http://www.gust.org.pl/projects/e-foundry/latin-modern) in 31 | the OpenType format. 32 | 33 | The math OTF fonts should contain a special table, MATH, described in the 34 | confidential Microsoft document "The MATH table and OpenType Features 35 | for Math Processing". Moreover, they should contain a broad collection 36 | of special characters (see "Draft Unicode Technical Report #25. 37 | UNICODE SUPPORT FOR MATHEMATICS" by Barbara Beeton, Asmus Freytag, 38 | and Murray Sargent III). In particular, math OTF fonts are expected 39 | to contain the following scripts: a basic serif script (regular, bold, 40 | italic and bold italic), a calligraphic script (regular and bold), 41 | a double-struck script, a fraktur script (regular and bold), a sans-serif 42 | script (regular, bold, oblique and bold oblique), and a monospaced script. 43 | 44 | The basic script is, obviously, Latin Modern. Some scripts, however, 45 | are borrowed from other fonts (the current selection, however, may 46 | be subject to change), belonging, however, to the "TeX circle": 47 | 48 | * the calligraphic and fraktur alphabets are excerpted from the renowned 49 | Euler family (http://en.wikipedia.org/wiki/AMS_Euler); 50 | 51 | * the double struck script is excerpted from Alan Jeffrey's bbold font 52 | (http://www.tug.org/texlive/Contents/live/texmf-dist/doc/latex/bbold/bbold.pdf) 53 | 54 | * the sans serif and monospaced alphabets are excerpted from 55 | the Latin Modern Sans and Latin Modern Mono fonts 56 | (http://www.gust.org.pl/projects/e-foundry/latin-modern); 57 | sans serif bold Greek symbols (required by the already mentioned 58 | "Unicode Technical Report #25") were prepared using D.E. Knuth's 59 | font sources with some manual tuning 60 | 61 | The main math component, that is, the math extension, was programmed 62 | from scratch, with an attempt to retain the visual compatiblility 63 | with the original D.E. Knuth's fonts. In particular, all symbols 64 | (with a few exceptions) appearing in the D.E. Knuth's "canonical" fonts 65 | have the same width (rounded) as the corresponding Knuthian ones. 66 | 67 | Note that the members of all the mentioned alphabets, except 68 | the main roman alphabet, should be considerd symbols, not letters; 69 | symbols are not expected to occur in a text stream; instead, 70 | they are expected to appear lonely, perhaps with some embellishments 71 | like subscripts, superscripts, primes, dots above and below, etc. 72 | 73 | To produce the font, MetaType1 and the FontForge library were used: 74 | the Type1 PostScript font containing all relevant characters was 75 | generated with the MetaType1 engine, and the result was converted 76 | into the OTF format with all the necessary data structures by 77 | a Python script employing the FontForge library. 78 | 79 | Recent changes (ver. 1.958 --> ver. 1.959) comprised 80 | mainly interline settings in OTF tables (HHEA and 81 | OS/2) and the correction of unicode slots assigned to 82 | the contour integrals (glyphs `clockwise contour 83 | integral', u+2232, and `anticlockwise contour 84 | integral', u+2233, used to have swapped slots). 85 | 86 | * * * 87 | 88 | The TeX Gyre Math Project was launched and is supported by 89 | TeX USERS GROUPS (CS TUG, DANTE eV, GUST, NTG, TUG India, TUG, UK TUG). 90 | Hearty thanks to the representatives of these groups and also 91 | to all people who helped with their work, comments, ideas, 92 | remarks, bug reports, objections, hints, consolations, etc. 93 | -------------------------------------------------------------------------------- /fonts/latin_modern/latinmodern-math.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/latinmodern-math.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmono10-italic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmono10-italic.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmono10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmono10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmono12-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmono12-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmono8-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmono8-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmono9-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmono9-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonocaps10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonocaps10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonocaps10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonocaps10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonolt10-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonolt10-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonolt10-boldoblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonolt10-boldoblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonolt10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonolt10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonolt10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonolt10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonoltcond10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonoltcond10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonoltcond10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonoltcond10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonoprop10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonoprop10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonoprop10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonoprop10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonoproplt10-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonoproplt10-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonoproplt10-boldoblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonoproplt10-boldoblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonoproplt10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonoproplt10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonoproplt10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonoproplt10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmmonoslant10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmmonoslant10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmodern.css: -------------------------------------------------------------------------------- 1 | /*** ROMAN **/ 2 | 3 | @font-face { 4 | font-family: "Latin Modern Roman Webfont"; 5 | src: url("lmroman10-regular.otf") format("opentype"); 6 | font-weight: normal; 7 | font-style: normal; 8 | } 9 | 10 | @font-face { 11 | font-family: "Latin Modern Roman Webfont"; 12 | src: url("lmroman10-bold.otf") format("opentype"); 13 | font-weight: bold; 14 | font-style: normal; 15 | } 16 | 17 | @font-face { 18 | font-family: "Latin Modern Roman Webfont"; 19 | src: url("lmroman10-italic.otf") format("opentype"); 20 | font-weight: normal; 21 | font-style: italic; 22 | } 23 | 24 | @font-face { 25 | font-family: "Latin Modern Roman Webfont"; 26 | src: url("lmroman10-bolditalic.otf") format("opentype"); 27 | font-weight: bold; 28 | font-style: italic; 29 | } 30 | 31 | /*** MONO ***/ 32 | 33 | @font-face { 34 | font-family: "Latin Modern Mono Webfont"; 35 | src: url("lmmono10-regular.otf") format("opentype"); 36 | font-weight: normal; 37 | font-style: normal; 38 | } 39 | 40 | @font-face { 41 | font-family: "Latin Modern Mono Webfont"; 42 | src: url("lmmono10-italic.otf") format("opentype"); 43 | font-weight: normal; 44 | font-style: italic; 45 | } 46 | -------------------------------------------------------------------------------- /fonts/latin_modern/lmodern.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Latin Modern – All Fonts 6 | 302 | 303 | 304 | 305 |
    306 |
  • latinmodern-math
  • 307 |
  • lmmono10-italic
  • 308 |
  • lmmono10-regular
  • 309 |
  • lmmono12-regular
  • 310 |
  • lmmono8-regular
  • 311 |
  • lmmono9-regular
  • 312 |
  • lmmonocaps10-oblique
  • 313 |
  • lmmonocaps10-regular
  • 314 |
  • lmmonolt10-bold
  • 315 |
  • lmmonolt10-boldoblique
  • 316 |
  • lmmonolt10-oblique
  • 317 |
  • lmmonolt10-regular
  • 318 |
  • lmmonoltcond10-oblique
  • 319 |
  • lmmonoltcond10-regular
  • 320 |
  • lmmonoprop10-oblique
  • 321 |
  • lmmonoprop10-regular
  • 322 |
  • lmmonoproplt10-bold
  • 323 |
  • lmmonoproplt10-boldoblique
  • 324 |
  • lmmonoproplt10-oblique
  • 325 |
  • lmmonoproplt10-regular
  • 326 |
  • lmmonoslant10-regular
  • 327 |
  • lmroman10-bold
  • 328 |
  • lmroman10-bolditalic
  • 329 |
  • lmroman10-italic
  • 330 |
  • lmroman10-regular
  • 331 |
  • lmroman12-bold
  • 332 |
  • lmroman12-italic
  • 333 |
  • lmroman12-regular
  • 334 |
  • lmroman17-regular
  • 335 |
  • lmroman5-bold
  • 336 |
  • lmroman5-regular
  • 337 |
  • lmroman6-bold
  • 338 |
  • lmroman6-regular
  • 339 |
  • lmroman7-bold
  • 340 |
  • lmroman7-italic
  • 341 |
  • lmroman7-regular
  • 342 |
  • lmroman8-bold
  • 343 |
  • lmroman8-italic
  • 344 |
  • lmroman8-regular
  • 345 |
  • lmroman9-bold
  • 346 |
  • lmroman9-italic
  • 347 |
  • lmroman9-regular
  • 348 |
  • lmromancaps10-oblique
  • 349 |
  • lmromancaps10-regular
  • 350 |
  • lmromandemi10-oblique
  • 351 |
  • lmromandemi10-regular
  • 352 |
  • lmromandunh10-oblique
  • 353 |
  • lmromandunh10-regular
  • 354 |
  • lmromanslant10-bold
  • 355 |
  • lmromanslant10-regular
  • 356 |
  • lmromanslant12-regular
  • 357 |
  • lmromanslant17-regular
  • 358 |
  • lmromanslant8-regular
  • 359 |
  • lmromanslant9-regular
  • 360 |
  • lmromanunsl10-regular
  • 361 |
  • lmsans10-bold
  • 362 |
  • lmsans10-boldoblique
  • 363 |
  • lmsans10-oblique
  • 364 |
  • lmsans10-regular
  • 365 |
  • lmsans12-oblique
  • 366 |
  • lmsans12-regular
  • 367 |
  • lmsans17-oblique
  • 368 |
  • lmsans17-regular
  • 369 |
  • lmsans8-oblique
  • 370 |
  • lmsans8-regular
  • 371 |
  • lmsans9-oblique
  • 372 |
  • lmsans9-regular
  • 373 |
  • lmsansdemicond10-oblique
  • 374 |
  • lmsansdemicond10-regular
  • 375 |
  • lmsansquot8-bold
  • 376 |
  • lmsansquot8-boldoblique
  • 377 |
  • lmsansquot8-oblique
  • 378 |
  • lmsansquot8-regular
  • 379 |
380 | 381 | 382 | -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman10-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman10-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman10-bolditalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman10-bolditalic.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman10-italic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman10-italic.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman12-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman12-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman12-italic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman12-italic.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman12-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman12-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman17-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman17-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman5-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman5-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman5-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman5-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman6-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman6-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman6-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman6-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman7-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman7-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman7-italic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman7-italic.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman7-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman7-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman8-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman8-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman8-italic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman8-italic.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman8-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman8-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman9-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman9-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman9-italic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman9-italic.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmroman9-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmroman9-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromancaps10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromancaps10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromancaps10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromancaps10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromandemi10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromandemi10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromandemi10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromandemi10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromandunh10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromandunh10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromandunh10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromandunh10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromanslant10-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromanslant10-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromanslant10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromanslant10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromanslant12-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromanslant12-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromanslant17-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromanslant17-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromanslant8-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromanslant8-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromanslant9-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromanslant9-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmromanunsl10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmromanunsl10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans10-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans10-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans10-boldoblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans10-boldoblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans12-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans12-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans12-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans12-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans17-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans17-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans17-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans17-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans8-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans8-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans8-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans8-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans9-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans9-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsans9-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsans9-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsansdemicond10-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsansdemicond10-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsansdemicond10-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsansdemicond10-regular.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsansquot8-bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsansquot8-bold.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsansquot8-boldoblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsansquot8-boldoblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsansquot8-oblique.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsansquot8-oblique.otf -------------------------------------------------------------------------------- /fonts/latin_modern/lmsansquot8-regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philer/HTMLpaper/997321d7f060e9fdce750678648778da3a9ca84e/fonts/latin_modern/lmsansquot8-regular.otf -------------------------------------------------------------------------------- /latex.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /** 3 | * Provids a basic LaTeX style for HTML text. 4 | * @see README.md 5 | * 6 | * @author Philipp Miller 7 | * @url https://github.com/philer/HTMLpaper 8 | * 9 | */ 10 | 11 | 12 | /** 13 | * Computer Modern was the original LaTeX font created by Donald Knuth 14 | * If you want to use Computer Modern uncomment the following lines and add 15 | * "Computer Modern Serif" as a font-family to .latex. 16 | * 17 | * @see https://en.wikipedia.org/?title=Computer_Modern 18 | * @see http://checkmyworking.com/cm-web-fonts/ 19 | */ 20 | /*@import "fonts/computer_modern/cmun-serif.css";*/ 21 | /*@import "fonts/computer_modern/cmun-typewriter.css";*/ 22 | 23 | /** 24 | * Latin Modern is the natural successor to Computer Modern and is used 25 | * in most LaTeX distributions today. 26 | * 27 | * @see http://www.gust.org.pl/projects/e-foundry/latin-modern/index_html 28 | * @see https://en.wikipedia.org/?title=Computer_Modern#Latin_Modern 29 | */ 30 | @import "fonts/latin_modern/lmodern.css"; 31 | 32 | 33 | .latex { 34 | font-family: "Latin Modern Roman", "Latin Modern Roman Webfont"; 35 | font-size: 11pt; 36 | line-height: 1.3em; 37 | } 38 | 39 | .latex * { 40 | text-overflow: ellipsis; 41 | } 42 | 43 | /* LaTeX indents all paragraphs except the first one */ 44 | .latex p { 45 | margin: 1em 0; 46 | text-indent: 1.5em; 47 | } 48 | .latex p.no-indent, 49 | .latex p:first-child, 50 | .latex p:first-of-type, 51 | .latex h1 + p, 52 | .latex h2 + p, 53 | .latex h3 + p, 54 | .latex h4 + p, 55 | .latex h5 + p, 56 | .latex h6 + p 57 | { 58 | text-indent: 0; 59 | } 60 | .latex h1, 61 | .latex h2, 62 | .latex h3, 63 | .latex h4, 64 | .latex h5, 65 | .latex h6 66 | { 67 | margin: 1em 0; 68 | } 69 | 70 | .latex h1 { 71 | font-size: 2em; 72 | } 73 | .latex h2 { 74 | font-size: 1.5em; 75 | } 76 | .latex h3 { 77 | font-size: 1.2em; 78 | } 79 | 80 | .latex section :first-child { 81 | margin-top: 0; 82 | } 83 | 84 | .latex code, 85 | .latex pre, 86 | .latex .code 87 | { 88 | font-family: "Latin Modern Mono", "Latin Modern Mono Webfont"; 89 | } 90 | -------------------------------------------------------------------------------- /page.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /** 3 | * Provids a basic printable pages layout. 4 | * @see README.md 5 | * 6 | * @author Philipp Miller 7 | * @url https://github.com/philer/HTMLpaper 8 | * 9 | */ 10 | 11 | /************** 12 | *** Basics *** 13 | **************/ 14 | 15 | /* Turn of scrolling for authentic preview */ 16 | * { 17 | overflow: visible; 18 | } 19 | 20 | /* basic formatting */ 21 | html, body { 22 | margin: 0; 23 | padding: 0; 24 | text-align: center; 25 | 26 | font-size: 11pt; 27 | font-family: serif; 28 | } 29 | 30 | /* turn of print margins, see .page-inner */ 31 | @page { 32 | margin: 0; 33 | padding: 0; 34 | } 35 | 36 | /* make sure only contents of .page get's printed */ 37 | @media print { 38 | 39 | .page { 40 | overflow: hidden; 41 | } 42 | 43 | } 44 | 45 | /* in-browser preview with a nice background */ 46 | @media screen { 47 | 48 | body { 49 | padding: 20px; 50 | background-color: #222; 51 | } 52 | .page { 53 | margin: 1em; 54 | box-shadow: .75mm .75mm 3mm rgba(0,0,0,.35), 55 | .33mm .33mm 1.5mm rgba(0,0,0,.2); 56 | } 57 | .page-inner { 58 | /*box-shadow: inset 0 0 10px #eee,*/ 59 | /*inset 0 0 1px #ccc;*/ 60 | } 61 | } 62 | 63 | /* basic page formatting */ 64 | .page { 65 | width: 210mm; 66 | height: 297mm; 67 | /* width: 793.7007874015749px; /* (210/25.4)*96 */ 68 | /* height: 1122.5196850393702px; /* (297/25.4)*96 */ 69 | 70 | color: black; 71 | background-color: white; 72 | 73 | /* This fixes printing in firefox, for some reason */ 74 | display: inline-block; 75 | position: relative; 76 | } 77 | 78 | /* page content */ 79 | .page-inner { 80 | position: absolute; 81 | 82 | /********************* 83 | *** PRINT MARGINS *** 84 | ********************* 85 | Make adjustments here. 86 | You can use padding as well. 87 | */ 88 | top: 3.5cm; 89 | left: 4cm; 90 | right: 4cm; 91 | bottom: 3.5cm; 92 | 93 | text-align: left; 94 | } 95 | 96 | /** 97 | * In case you want those. 98 | * If you use LaTeX's pdfpages package, 99 | * you have that handle page numbers instead. 100 | */ 101 | .page-number { 102 | position: absolute; 103 | width: 100%; 104 | bottom: 0; 105 | text-align: center; 106 | } 107 | 108 | 109 | 110 | /********************* 111 | *** Paper Formats *** 112 | *********************/ 113 | 114 | /*** DIN/ISO formats ***/ 115 | 116 | /* default, see .page */ 117 | .A4page, .A4pages .page { width: 210mm; height: 297mm; } 118 | 119 | /* small A* formats */ 120 | .A5page, .A5pages .page { width: 148mm; height: 210mm; } 121 | .A6page, .A6pages .page { width: 105mm; height: 148mm; } 122 | .A7page, .A7pages .page { width: 74mm; height: 105mm; } 123 | 124 | /* large A* formats */ 125 | .A0page, .A0pages .page { width: 841mm; height: 1189mm; } 126 | .A1page, .A1pages .page { width: 594mm; height: 841mm; } 127 | .A2page, .A2pages .page { width: 420mm; height: 594mm; } 128 | .A3page, .A3pages .page { width: 297mm; height: 420mm; } 129 | 130 | /* B* formats */ 131 | .B0page, .B0pages .page { width: 1000mm; height: 1414mm; } 132 | .B1page, .B1pages .page { width: 707mm; height: 1000mm; } 133 | .B2page, .B2pages .page { width: 500mm; height: 707mm; } 134 | .B3page, .B3pages .page { width: 353mm; height: 500mm; } 135 | .B4page, .B4pages .page { width: 250mm; height: 353mm; } 136 | .B5page, .B5pages .page { width: 176mm; height: 250mm; } 137 | .B6page, .B6pages .page { width: 125mm; height: 176mm; } 138 | .B7page, .B7pages .page { width: 88mm; height: 125mm; } 139 | 140 | 141 | /* "The U.S., Canada and Mexico use a different system of paper sizes compared to the rest of the world." (https://en.wikipedia.org/wiki/Paper_size) */ 142 | .letter-page, .letter-pages .page { width: 8.5in; height: 11.0in; } 143 | .gov-letter-page, .gov-letter-pages .page { width: 8.0in; height: 10.5in; } 144 | .legal-page, .legal-pages .page { width: 8.5in; height: 14.0in; } 145 | .ledger-page, .ledger-pages .page { width: 17in; height: 11in; } 146 | .tabloid-page, .tabloid-pages .page { width: 11in; height: 17in; } 147 | --------------------------------------------------------------------------------