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
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
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
listerrors
lyxpreview2bitmap.py * fix instant preview without dvipng (bug 6579). 2010-03-06 14:53:27 +00:00
lyxpreview_tools.py
lyxpreview-platex2bitmap.py
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