Commit Graph

19 Commits

Author SHA1 Message Date
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
Georg Baum
0560e5df04 Update gen_lfuns.py to current format
And run it to update LFUNs.lyx. This overtakes the  syntax fix from b356df7fc
as well.
2016-06-04 19:46:40 +02:00
Georg Baum
d9703617bd Make gen_lfuns.py python3 compatible
Also read files with universal line endings and write files using native line
endings, so the script can also be used on windows without changing the line
endings.
2016-06-04 19:40:53 +02:00
Georg Baum
5dcc89d257 Remove date from LFUNs.lyx as discussed.
Also update format to 506.
2016-02-11 21:22:07 +01:00
Georg Baum
4c3b8bf7c7 Update LFUNs.lyx to current format 2016-01-15 21:31:57 +01:00
Georg Baum
1d18d94998 Update to current format 2016-01-03 10:31:30 +01:00
Georg Baum
1da21bec71 Reduce whitespace differences to LyX
LyX writes an empty line between \end_layout and \begin_layout, so we should
do so as well.
2015-11-15 17:23:42 +01:00
Georg Baum
392f63fa0f Update LFUNs.lyx to current format
gen_lfuns.py does now produce the current file format, and and LFUNs.lyx was
re-created with the updated script.
There is one difference if you compare this version of LFUNs.lyx with the old
version updated by lyx2lyx: All occurences of LyX, TeX etc. in the lfun
descriptions are no longer output as logos. I do consider this as a feature,
since the old version did also output the TeX part of BibTeX as a logo, as well
as places where the names were part of some syntax, e.g. lyx::LyXRC::LyXRCTags.
2015-11-11 21:48:20 +01:00
Jean-Marc Lasgouttes
2b1791641f Fix various typos in LFUNs.lyx 2014-02-13 14:20:43 +01:00
Jean-Marc Lasgouttes
4ec02b46b5 Improve autotools support for generating LFUNs.lyx
The tqrget now works properly when out of source directory qnd uses the $(PYTHON) variable. Also, the use of the error() function has been fixed in the gen_lfun.py script.
2014-02-13 13:28:41 +01:00
Juergen Spitzmueller
ea25b62b1b again update FUNs.lyx 2014-02-13 10:44:12 +01:00
Juergen Spitzmueller
f1531b2f90 LFUNs.lyx improvements 2014-02-13 09:55:40 +01:00
Juergen Spitzmueller
2a0247ee30 Some improvements to the LFUNS generation script 2014-02-10 08:35:49 +01:00
Uwe Stöhr
d98251c379 - gen_lfuns.py: reduce the space between items in LFUNs.lyx to save whitespace
- LFUNs.lyx: rebuilt with changed gen_lfuns.py

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31681 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-19 23:44:11 +00:00
Uwe Stöhr
8355b32381 - LFUNs.lyx: there is no need to use AMS for this file.
- gen_lfuns.py: change the script accordingly and add the missing \spacing tag

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31669 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-19 00:01:01 +00:00
Pavel Sanda
de66d50203 Allow output to pipe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29703 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:34:29 +00:00
Pavel Sanda
38cb5cb02a next cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29701 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:04:10 +00:00
Pavel Sanda
d0c3f0e8fb not needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29700 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:04:08 +00:00
Pavel Sanda
db4ef7df34 Towards bug http://www.lyx.org/trac/ticket/5676
Python script for building LFUNs.lyx
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151172.html

Patch by Ewan Davies


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29698 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 23:53:32 +00:00