Import upstream version 1.0.7+git20210512.1.af77a8e
Debian Janitor
2 years ago
0 | 0 | sudo: required |
1 | services: | |
2 | - xvfb | |
1 | 3 | language: java |
2 | 4 | |
3 | 5 | jdk: |
4 | - oraclejdk8 | |
5 | - oraclejdk9 | |
6 | - openjdk7 | |
6 | - oraclejdk11 | |
7 | - openjdk8 | |
8 | - openjdk11 | |
7 | 9 | |
8 | 10 | before_install: |
9 | 11 | - sudo apt-get -qq update |
11 | 13 | |
12 | 14 | before_script: |
13 | 15 | - "export DISPLAY=:99.0" |
14 | - "sh -e /etc/init.d/xvfb start" | |
15 | - sleep 3 # give xvfb some time to start | |
16 | 16 | |
17 | 17 | after_success: |
18 | 18 | - mvn cobertura:cobertura coveralls:report |
0 | jlatexmath (1.0.8) | |
1 | * Fix javadoc so that project builds with Java 11 and 12 | |
2 | ||
0 | 3 | jlatexmath (1.0.7) |
1 | 4 | * Fix °C |
2 | 5 |
0 | The minimal JLaTeXMath distribution doesn't contain the fonts, they're in separate jars. This kind of distribution is useful for web applications and I wrote it for GeoGebra team, if you want register a new alphabet just use for example : | |
1 | ||
2 | WebStartAlphabetRegistration.register(AlphabetRegistration.JLM_GREEK); | |
3 | ||
4 | the package jlm_greek.jar will be load if and only if greek language is present the text. | |
5 | ||
6 | ||
7 | Calixte.⏎ |
3 | 3 | <parent> |
4 | 4 | <groupId>org.scilab.forge</groupId> |
5 | 5 | <artifactId>jlatexmath-parent</artifactId> |
6 | <version>1.0.7</version> | |
6 | <version>1.0.8-SNAPSHOT</version> | |
7 | 7 | </parent> |
8 | 8 | <artifactId>jlatexmath</artifactId> |
9 | 9 | <packaging>jar</packaging> |
88 | 88 | * @param base atom representing the big operator |
89 | 89 | * @param under atom representing the under limit |
90 | 90 | * @param over atom representing the over limit |
91 | * @param limits whether limits should be drawn over and under the base (<-> as scripts) | |
91 | * @param limits whether limits should be drawn over and under the base (<-> as scripts) | |
92 | 92 | */ |
93 | 93 | public BigOperatorAtom(Atom base, Atom under, Atom over, boolean limits) { |
94 | 94 | this(base, under, over); |
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
83 | * Changes the type of the atom | |
84 | * | |
85 | * @param t the new type | |
83 | * Returns the type of the atom | |
84 | * | |
85 | * @return the type of the atom | |
86 | 86 | */ |
87 | 87 | public int getType() { |
88 | 88 | return type; |
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
92 | * | |
93 | 92 | * @return the changed type, or the old left type if it hasn't been changed |
94 | 93 | */ |
95 | 94 | public int getLeftType() { |
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | * Depending on noDef, the given thickness and unit will be used (<-> the default | |
97 | * Depending on noDef, the given thickness and unit will be used (<-> the default | |
98 | 98 | * thickness). |
99 | 99 | * |
100 | 100 | * @param num the numerator |
373 | 373 | } |
374 | 374 | |
375 | 375 | /** |
376 | * @param a formula | |
376 | * @param formula a formula | |
377 | 377 | * @return a partial TeXFormula containing the valid part of formula |
378 | 378 | */ |
379 | 379 | public static TeXFormula getPartialTeXFormula(String formula) { |
866 | 866 | * @param formula the formula |
867 | 867 | * @param style the style |
868 | 868 | * @param size the size |
869 | * @param transparency, if true the background is transparent | |
869 | * @param fg the foreground color | |
870 | * @param bg the background color | |
870 | 871 | * @return the generated image |
871 | 872 | */ |
872 | 873 | public static Image createBufferedImage(String formula, int style, float size, Color fg, Color bg) throws ParseException { |
890 | 891 | } |
891 | 892 | |
892 | 893 | /** |
893 | * @param formula the formula | |
894 | 894 | * @param style the style |
895 | 895 | * @param size the size |
896 | * @param transparency, if true the background is transparent | |
896 | * @param fg the foreground color | |
897 | * @param bg the background color | |
897 | 898 | * @return the generated image |
898 | 899 | */ |
899 | 900 | public Image createBufferedImage(int style, float size, Color fg, Color bg) throws ParseException { |
194 | 194 | } |
195 | 195 | |
196 | 196 | /** |
197 | * Create a new TeXParser in the context of an array. When the parser meets a & a new atom is added in the current line and when a \\ is met, a new line is created. | |
197 | * Create a new TeXParser in the context of an array. When the parser meets a & a new atom is added in the current line and when a \\ is met, a new line is created. | |
198 | 198 | * |
199 | 199 | * @param isPartial if true certains exceptions are not thrown |
200 | 200 | * @param parseString the string to be parsed |
208 | 208 | } |
209 | 209 | |
210 | 210 | /** |
211 | * Create a new TeXParser in the context of an array. When the parser meets a & a new atom is added in the current line and when a \\ is met, a new line is created. | |
211 | * Create a new TeXParser in the context of an array. When the parser meets a & a new atom is added in the current line and when a \\ is met, a new line is created. | |
212 | 212 | * |
213 | 213 | * @param isPartial if true certains exceptions are not thrown |
214 | 214 | * @param parseString the string to be parsed |
222 | 222 | } |
223 | 223 | |
224 | 224 | /** |
225 | * Create a new TeXParser in the context of an array. When the parser meets a & a new atom is added in the current line and when a \\ is met, a new line is created. | |
225 | * Create a new TeXParser in the context of an array. When the parser meets a & a new atom is added in the current line and when a \\ is met, a new line is created. | |
226 | 226 | * |
227 | 227 | * @param parseString the string to be parsed |
228 | 228 | * @param aoa an ArrayOfAtoms where to put the elements |
1412 | 1412 | return Character.isLetter(c); |
1413 | 1413 | } |
1414 | 1414 | |
1415 | /** Test the validity of a character in a command. It must contains only alpha characters and eventually a @ if makeAtletter activated | |
1416 | * @param com the command's name | |
1417 | * @return the validity of the name | |
1415 | /** Test the validity of a character in a command. It must contains only alpha characters and eventually a @ if makeAtletter activated. | |
1416 | * @param ch character to test | |
1417 | * @return the validity of the character | |
1418 | 1418 | */ |
1419 | 1419 | public final boolean isValidCharacterInCommand(char ch) { |
1420 | 1420 | return Character.isLetter(ch) || (atIsLetter != 0 && ch == '@'); |
3 | 3 | <parent> |
4 | 4 | <groupId>org.scilab.forge</groupId> |
5 | 5 | <artifactId>jlatexmath-parent</artifactId> |
6 | <version>1.0.7</version> | |
6 | <version>1.0.8-SNAPSHOT</version> | |
7 | 7 | </parent> |
8 | 8 | <artifactId>jlatexmath-example-export</artifactId> |
9 | 9 | <packaging>jar</packaging> |
3 | 3 | <parent> |
4 | 4 | <groupId>org.scilab.forge</groupId> |
5 | 5 | <artifactId>jlatexmath-parent</artifactId> |
6 | <version>1.0.7</version> | |
6 | <version>1.0.8-SNAPSHOT</version> | |
7 | 7 | </parent> |
8 | 8 | <artifactId>jlatexmath-example-giws</artifactId> |
9 | 9 | <packaging>jar</packaging> |
52 | 52 | |
53 | 53 | 4) the fonts cmbsy10.ttf, cmbx10.ttf, cmbxti10.ttf, cmex10.ttf, cmmi10.ttf, cmr10.ttf, cmss10.ttf, cmssbx10.ttf, cmsy10.ttf and cmtt10.ttf are under Knuth License. |
54 | 54 | |
55 | You can find a copy of these licenses in the fonts directory. | |
55 | 5) the greek fonts fcmbipg.ttf, fcmripg.tff, fcmrpg.ttf, fcsropg.ttf, fcmbpg.ttf, fcsbpg.ttf, fctrpg.ttf, fcsrpg.ttf are under GNU GPL version 2. | |
56 | ||
57 | 6) the cyrillic fonts wnbx10.ttf, wnss10.ttf, wnti10.ttf, wnr10.ttf, wnssi10.ttf, wnbxti10.ttf, wnssbx10.ttf, wntt10.ttf are under Knuth License. | |
58 | ||
59 | You can find a copy of these licenses in org/scilab/forge/jlatexmath/fonts/licences. |
3 | 3 | <parent> |
4 | 4 | <groupId>org.scilab.forge</groupId> |
5 | 5 | <artifactId>jlatexmath-parent</artifactId> |
6 | <version>1.0.7</version> | |
6 | <version>1.0.8-SNAPSHOT</version> | |
7 | 7 | </parent> |
8 | 8 | <artifactId>jlatexmath-font-cyrillic</artifactId> |
9 | 9 | <packaging>jar</packaging> |
24 | 24 | Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
25 | 25 | MA 02110-1301, USA. |
26 | 26 | |
27 | Linking this library statically or dynamically with other modules | |
28 | is making a combined work based on this library. Thus, the terms | |
29 | and conditions of the GNU General Public License cover the whole | |
30 | combination. | |
31 | ||
32 | As a special exception, the copyright holders of this library give you | |
33 | permission to link this library with independent modules to produce | |
34 | an executable, regardless of the license terms of these independent | |
35 | modules, and to copy and distribute the resulting executable under terms | |
36 | of your choice, provided that you also meet, for each linked independent | |
37 | module, the terms and conditions of the license of that module. | |
38 | An independent module is a module which is not derived from or based | |
39 | on this library. If you modify this library, you may extend this exception | |
40 | to your version of the library, but you are not obliged to do so. | |
41 | If you do not wish to do so, delete this exception statement from your | |
42 | version. | |
43 | ||
27 | 44 | |
28 | 45 | |
29 | 46 | The archive contains several fonts : |
35 | 52 | |
36 | 53 | 4) the fonts cmbsy10.ttf, cmbx10.ttf, cmbxti10.ttf, cmex10.ttf, cmmi10.ttf, cmr10.ttf, cmss10.ttf, cmssbx10.ttf, cmsy10.ttf and cmtt10.ttf are under Knuth License. |
37 | 54 | |
38 | You can find a copy of these licenses in the fonts directory. | |
55 | 5) the greek fonts fcmbipg.ttf, fcmripg.tff, fcmrpg.ttf, fcsropg.ttf, fcmbpg.ttf, fcsbpg.ttf, fctrpg.ttf, fcsrpg.ttf are under GNU GPL version 2. | |
56 | ||
57 | 6) the cyrillic fonts wnbx10.ttf, wnss10.ttf, wnti10.ttf, wnr10.ttf, wnssi10.ttf, wnbxti10.ttf, wnssbx10.ttf, wntt10.ttf are under Knuth License. | |
58 | ||
59 | You can find a copy of these licenses in org/scilab/forge/jlatexmath/fonts/licences. |
3 | 3 | <parent> |
4 | 4 | <groupId>org.scilab.forge</groupId> |
5 | 5 | <artifactId>jlatexmath-parent</artifactId> |
6 | <version>1.0.7</version> | |
6 | <version>1.0.8-SNAPSHOT</version> | |
7 | 7 | </parent> |
8 | 8 | <artifactId>jlatexmath-font-greek</artifactId> |
9 | 9 | <packaging>jar</packaging> |
3 | 3 | <parent> |
4 | 4 | <groupId>org.scilab.forge</groupId> |
5 | 5 | <artifactId>jlatexmath-parent</artifactId> |
6 | <version>1.0.7</version> | |
6 | <version>1.0.8-SNAPSHOT</version> | |
7 | 7 | </parent> |
8 | 8 | <artifactId>jlatexmath-fop</artifactId> |
9 | 9 | <packaging>jar</packaging> |
3 | 3 | <parent> |
4 | 4 | <groupId>org.scilab.forge</groupId> |
5 | 5 | <artifactId>jlatexmath-parent</artifactId> |
6 | <version>1.0.7</version> | |
6 | <version>1.0.8-SNAPSHOT</version> | |
7 | 7 | </parent> |
8 | 8 | <artifactId>jlatexmath-ignore</artifactId> |
9 | 9 | <packaging>pom</packaging> |
7 | 7 | <!--<groupId>org.scilab.forge</groupId> --> |
8 | 8 | <groupId>org.scilab.forge</groupId> |
9 | 9 | <artifactId>jlatexmath-parent</artifactId> |
10 | <version>1.0.7</version> | |
10 | <version>1.0.8-SNAPSHOT</version> | |
11 | 11 | <name>${project.artifactId}</name> |
12 | 12 | <description>parent pom for jlatexmath artifacts</description> |
13 | 13 | <packaging>pom</packaging> |
36 | 36 | <connection>${scm.url}</connection> |
37 | 37 | <developerConnection>${scm.url}</developerConnection> |
38 | 38 | <url>${scm.url}</url> |
39 | <tag>1.0.7</tag> | |
39 | <tag>HEAD</tag> | |
40 | 40 | </scm> |
41 | 41 | |
42 | 42 | <properties> |
93 | 93 | <plugin> |
94 | 94 | <groupId>org.apache.maven.plugins</groupId> |
95 | 95 | <artifactId>maven-javadoc-plugin</artifactId> |
96 | <version>2.10.4</version> | |
96 | <version>3.1.0</version> | |
97 | 97 | <configuration> |
98 | <additionalparam>-Xdoclint:none</additionalparam> | |
98 | <doclint>none</doclint> | |
99 | <source>8</source> | |
99 | 100 | </configuration> |
100 | 101 | <executions> |
101 | 102 | <execution> |