lyx_mirror/lib/scripts
Richard Heck 851d01721f A go at creating a prefs2prefs framework. There's a main file, prefs2prefs.py, and two subsidiary files,
prefs2prefs_lfuns.py and prefs2prefs_prefs.py. I've organized it this way because, in many ways, these are
 the same task. It's very line-by-line, unlike lyx2lyx and layout2layout, where things can be more "global". 
So we read the file, line by line, and give a bunch of converter functions a chance to see if they want to 
modify that line.

The converter functions are all in the subsidiary files. (Only the lfun one has anything in it now.) They 
take a line as argument and return a list: (Bool, NewLine), where the Bool says if we've modified anything 
and the NewLine is the new line, if so.

The format of the existing files is format 0, and we'll introduce new format numbers as we proceed, 
just as with layout2layout. So the conversion from format 0 to format 1 will be huge; others will 
generally be simple.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35426 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-17 14:44:38 +00:00
..
bash_completion New version of bash_completion from Cengiz Günay. 2010-04-06 12:01:24 +00:00
clean_dvi.py Replace the deprecated os.popen3 with the subprocess module. 2010-08-19 07:00:41 +00:00
convertDefault.py Fix bug #6056. Recognize Graphicsmagick too. 2009-08-09 14:38:49 +00:00
csv2lyx.py Replace condition with an exception (code more robust) and add comment the reason 2008-09-18 18:21:41 +00:00
date.py
ext_copy.py Fix a typo and clarify the logic around the return value. Note that this 2009-10-24 12:31:59 +00:00
fen2ascii.py
fig2pdftex.py fig2pdftex: Fix for windows 2008-06-15 07:31:42 +00:00
fig2pstex.py
fig_copy.py
layout2layout.py Introduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used) 2010-08-09 21:20:29 +00:00
legacy_lyxpreview2ppm.py ** proper implementation of pLaTeX by Tetsuya Makimura and me, fixes many remaining problems and bugs with language "japanese" (bugs 4863, 4290, 4700 and partially 4697) ** 2008-08-18 17:26:09 +00:00
listerrors
lyxpreview2bitmap.py * fix instant preview without dvipng (bug 6579). 2010-03-06 14:53:27 +00:00
lyxpreview_tools.py *** Extend preview scripts to also handle PDF output (bug 2165) *** 2008-07-02 14:42:04 +00:00
lyxpreview-platex2bitmap.py ** proper implementation of pLaTeX by Tetsuya Makimura and me, fixes many remaining problems and bugs with language "japanese" (bugs 4863, 4290, 4700 and partially 4697) ** 2008-08-18 17:26:09 +00:00
prefs2prefs_lfuns.py A go at creating a prefs2prefs framework. There's a main file, prefs2prefs.py, and two subsidiary files, 2010-09-17 14:44:38 +00:00
prefs2prefs_prefs.py A go at creating a prefs2prefs framework. There's a main file, prefs2prefs.py, and two subsidiary files, 2010-09-17 14:44:38 +00:00
prefs2prefs.py A go at creating a prefs2prefs framework. There's a main file, prefs2prefs.py, and two subsidiary files, 2010-09-17 14:44:38 +00:00
tex_copy.py
TeXFiles.py * lib/scripts/TeXFiles.py: 2008-04-15 14:04:40 +00:00