refactoring: --YavscLib-- => Yavsc
This commit is contained in:
parent
724e0e17ef
commit
776b7dae21
102 changed files with 216 additions and 209 deletions
|
|
@ -19,10 +19,10 @@ namespace Yavsc.Helpers
|
|||
|
||||
public TeXString(string str) : base(str)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
public class Replacement
|
||||
|
|
@ -41,7 +41,7 @@ namespace Yavsc.Helpers
|
|||
}
|
||||
public static class TeXHelpers
|
||||
{
|
||||
public static readonly Replacement[] SpecialCharsRendering =
|
||||
public static readonly Replacement[] SpecialCharsDefaultRendering =
|
||||
{
|
||||
new Replacement("<","\\textless"),
|
||||
new Replacement(">","\\textgreater"),
|
||||
|
|
@ -70,7 +70,7 @@ namespace Yavsc.Helpers
|
|||
public static TeXString ToTeX(this string source)
|
||||
{
|
||||
string result=source;
|
||||
foreach (var r in SpecialCharsRendering)
|
||||
foreach (var r in SpecialCharsDefaultRendering)
|
||||
{
|
||||
result = r.Execute(result);
|
||||
}
|
||||
|
|
@ -172,4 +172,4 @@ namespace Yavsc.Helpers
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue