On 06/08/2014, at 8:00 PM, john skaller wrote:

> I'm changing the fdoc notations:
> 
>       [entry] --> @glossary(entry)
>       {code} -> @{code}
> 
> The primary reason is to better support MathJax. Latex uses constructions like
> 
>       \begin{array}[c] x & y \\ a & b \end{array}
> 
> and these won't format correctly with the fdoc process doing the previous
> replacements. I used {code} heavily so I will have to write a batch search
> and replace program to fix the bulk of these uses.


Done. It's called flx_batch_replace. When I ran it I couldn't believe it
worked it was so fast.

~/felix>time build/release/host/bin/flx_batch_replace src/web/tut '.*\.fdoc' 
'newtut/${0}' '{[A-Za-z]*}' '@\0'

real    0m0.164s
user    0m0.075s
sys     0m0.051s

~/felix>ls newtut | wc
     143     143    2245

Converted 143 files in 0.16 seconds!


--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to