Commit Graph

176 Commits

Author SHA1 Message Date
Kornel Benko
be4f5c8084 Amend 3dccce14: Tools(listFontWithLang.pl): Ignore white space while checking font name
Do not manipulate search strings which already contain regex elements.
2020-08-23 08:21:53 +02:00
Kornel Benko
3dccce1411 Tools(listFontWithLang.pl): Ignore white space while checking font name
This allows for instance to find 'Deja Vu' also if searching for 'dejavu'
2020-08-22 16:20:22 +02:00
Kornel Benko
a1713d9d35 Tools(listFontWithLang.pl): Correct types of lohit fonts 2020-07-31 16:27:48 +02:00
Kornel Benko
b030dc5b8b Tools(listFontWithLang.pl): Allow the include of the separator glyph in the list of chars
For instance:
	listFontWithLang.pl -c 'a-z\,A-Z'
is not the same now as
	listFontWithLang.pl -c 'a-z,A-Z'
2020-07-11 12:46:26 +02:00
Kornel Benko
3a606cae22 Tools(listFontWithLang.pl): Add option to write to a file
The content is meant to be input to other commands to display
the fonts.
2020-06-29 12:30:56 +02:00
Kornel Benko
7cb50d7008 Tools(listFontWithLang.pl): Added type for small capitals. 2020-06-25 11:19:38 +02:00
Kornel Benko
95eccf0c53 Tools(listFontWithLang.pl): more changes
Normalized some style names (e.g. cond -> condensed)
Handle some forgotten fonts (for sure there are more)
Routine getval() tries to get the same language entry for fullname, family and style if possible.
Added some more exceptions (for instance not all fonts with 'symbol' in name contain symbols)
Split family- and style words at case-change (lower to upper case) to identify shortcuts for styles.
2020-06-21 11:43:35 +02:00
Kornel Benko
e2309c6ea5 Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'b' 2020-06-17 18:06:54 +02:00
Kornel Benko
8d84a4d7ab Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'a' 2020-06-17 14:44:27 +02:00
Kornel Benko
0d84f0b9fd Tools(listFontWithLang.pl): Change the building of fontname.
A try to combine the style info and family into the font-name in such a way,
that the features are not doubled.
2020-06-17 00:24:21 +02:00
Kornel Benko
9cec35697a Tools(listFontWithLang.pl): Enable list of font features
Font-type can contain more than one feature (e.g. Initials + Serif)
therefore it is now a combination of featrures.
2020-06-15 10:27:17 +02:00
Kornel Benko
824be29341 Tools(listFontWithLang.pl): Add new category for double stroke fonts 2020-06-11 19:10:56 +02:00
Richard Kimberly Heck
b3a90037b1 Clean up build script 2020-06-08 11:04:15 -04:00
Richard Kimberly Heck
f9ee1e16af Changes to lyx-build script 2020-06-07 12:39:42 -04:00
Kornel Benko
e86e1da154 Tools(listFontWithLang.pl): New option, typo, categorisation
1.) With option --nc we can select fonts not including these glyphs
2.) Typo NSpripts -> NScripts
3.) corrected categorisation of some fonts not including latin chars
2020-06-03 20:22:19 +02:00
Kornel Benko
eec1bf80e0 Tools(listFontWithLang.pl): A try to categorize culmus an lyx fonts 2020-06-03 12:39:10 +02:00
Kornel Benko
26788fdd9f Tools(listFontWithLang.pl): Remove padmaa from sans-list, it is serif font
Also display intervalls of character sets (unicode points)
2020-05-30 14:29:39 +02:00
Kornel Benko
e3ffbc53cb Tools(listFontWithLang.pl): Prohibit inserting multiple entries of same command line option 2020-05-21 16:09:21 +02:00
Kornel Benko
580057bef7 Tools(listFontWithLang.pl): Polishing 2020-05-21 11:50:42 +02:00
Kornel Benko
f7ad823cb8 Tools(listFontWithLang.pl): Amend 58dfb1d8, Select fonts containig specified glyphs
Allow to specify also intervalls of charaters
	e.g. -c a-z,u+70-u+200
2020-05-20 12:38:30 +02:00
Kornel Benko
58dfb1d825 Tools(listFontWithLang.pl): Amend ac039733, Select fonts containig specified glyphs
Allow also values like
	-c Azß
or
	-c u+65zu+xdf
(Comma as a separator not needed, if the input is unambiguous)
2020-05-19 09:02:56 +02:00
Kornel Benko
ac03973309 Tools(listFontWithLang.pl): Select fonts containig specified glyphs
Comma separated glyphs can be specifies as characters or as unicode-values
example:
	-c A,z,ß
or
	-c u+65,z,u+xdf
2020-05-18 18:21:25 +02:00
Kornel Benko
5f3541454c Tools(listFontWithLang.pl): update fonts-categorization 2020-05-17 15:12:05 +02:00
Kornel Benko
36deaaac26 Tools(listFontWithLang.pl): Group related parameters in the command syntax
Display sequence of command parameters according to their appearance in the definition table
2020-05-16 21:40:26 +02:00
Kornel Benko
d4b64d81fe Tools: try to categorize fonts in listFontWithLang.pl
New 'categories' besides Serif and Sans:
Script, Fraktur, Fancy, Initials, Symbol
2020-05-14 17:35:51 +02:00
Kornel Benko
1bda6da7f9 Tools: recognize most sans serif fonts in listFontWithLang.pl
Starts to be crazy. Many fonts have to be (visually!) inspected, because there is
no hint about this feature.
Also, for many fonts it is a senseless information.
We need a third value (besides serif and sans-serif)
2020-05-12 19:53:28 +02:00
Kornel Benko
3eb56006b5 Tools: recognize math font in listFontWithLang.pl 2020-05-09 13:19:12 +02:00
Kornel Benko
8918d5287b Tools: optimize recognition of some font features in listFontWithLang.pl
Added (de)selecting fonts through its capability (latn, math, arab, etc)
Recognize also trebuchet in font name as sans-serif font
Recognize also fixed in font name as monospaced font
2020-05-08 14:17:19 +02:00
Kornel Benko
63ce605b83 Try to set executable bit on listFontWithLang.pl 2020-05-03 12:54:14 +02:00
Kornel Benko
b55f735afe Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools 2020-05-02 13:40:26 +02:00
Juergen Spitzmueller
a6f9c6ae43 move lyx-fedora script to attic/ 2020-01-27 18:43:40 +01:00
Jean-Marc Lasgouttes
726ac31895 Reset directory after os.chdir
Related to bug #10454
2019-09-04 16:51:52 +02:00
Jean-Marc Lasgouttes
c293be56bd Rename frontend qt4 to qt
In particular, the directory frontends/qt4 is renamed to frontends/qt.

Many configurations file have to be updated. All mentions of qt4 in
the source have been audited, and changed to qt if necessary.

The only part that has not been updated is the CMake build system.
2019-07-20 23:39:40 +02:00
José Matos
3f03f0a447 Move all python shebangs from /usr/bin/env to python3.
The change is only relevant to development as all the call to python scripts is done
calling C++ os::python that invoques the appropriate python version.

The change is two fold, on one hand remove all the uses of /usr/bin/env for python.

On the other hand rename all the calls to python from python to python3 making it explicit
and being compliant with PEP 394 -- The "python" Command on Unix-Like Systems:
https://www.python.org/dev/peps/pep-0394/

Remove the sheebang from src/graphics/GraphicsConverter.cpp because it is not necessary.

Some small whitespace changes.
2018-12-29 19:14:41 +00:00
Richard Kimberly Heck
29b80c802c Fixes for the build script.
(cherry picked from commit 01c23b3864)
2018-08-28 15:19:48 -04:00
Pavel Sanda
bbe09eada1 lyx-build: check sig in case one really uses download instead of local tarball. 2018-06-19 23:53:36 +02:00
Pavel Sanda
1b9ec2b7c4 Script for creating torrents for files stored on our ftp site. 2018-02-20 00:45:50 +01:00
Richard Heck
12f9727546 Dummy script for testing background export cancellation. 2017-12-21 18:55:40 -05:00
Juergen Spitzmueller
69b03d2545 updatelayouts.py: consider citeengines. 2017-10-13 16:08:23 +02:00
Richard Heck
e6cb0c56ff Fix some issues found by the shellcheck script, and move an old
file to the attic.
2017-08-21 17:16:30 -04:00
Tommaso Cucinotta
a0e95a2c1b generate_manuals_for_web: switch to xhtml, and use a random userdir while exporting, so no cached pic can be found. 2017-08-18 02:53:32 +02:00
Pavel Sanda
e8b324a984 oops, git is playing games with me. 2017-08-17 01:24:44 +02:00
Pavel Sanda
ca0813915c Push Tommaso's script for publishing mans. 2017-08-17 01:14:56 +02:00
Pavel Sanda
7f4e46440d Push Tommaso script for manuals generation. 2017-08-17 00:10:15 +02:00
Richard Heck
d29bb7fac7 Dirty Perl script for alphabetizing LyXAction.cpp, in case it
should be needed again.
2017-01-07 16:04:12 -05:00
Günter Milde
efa844702c unicodesymbols fixes.
force=utf8 is required for most characters provided by add-on packgages
and (almost) all mathematical characters, because these are not
set up for inputencs utf8

unicodesymbols.py failed here (python 2.7 under Linux) before the simple fix
included in this commit.
2016-10-08 16:57:52 +02:00
Günter Milde
d1a41a9bdc ctests: Test dedicated LaTeX test samples with LaTeX export only.
Move them to a subdir, ignore this subdir for other tests.

Dedicated test samples for LaTeX-specific problems don't give additional value if tested for loading, conversion, or other exports.
2016-09-15 17:18:47 +02:00
Georg Baum
7328cc0cc0 Make commented code python3 compatible 2016-06-08 18:41:57 +02:00
Georg Baum
0009732fe8 Fix encoding for computer modern fonts
The essential hints came from Guillaume amd Jean-Marc at bug #8883.
Tested by comparing the output of

python generate_symbols_list.py `kpsewhich fontmath.ltx`

with lib/symbols.
2016-06-05 16:53:55 +02:00
Georg Baum
961d629301 Make generate_symbols_list.py python3 compatible 2016-06-05 16:39:19 +02:00