diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-08-20 11:33:00 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-08-20 11:33:00 +0000 |
commit | 3ca1607c4a5cf21dacefcf2b091d343ecb5a9bcd (patch) | |
tree | d8b025463006c8f5d0316f47f078749f14dd937a /lib/sbin/InterLatex.pl | |
parent | b010add0a372c685f2e1e87044a343abdcf64cc7 (diff) |
Clean up the cleaning up for latex:
Introduce a new function "CleanFromC" that takes a C string in the C
source code notation and removes the backslashes. Use this when group
properties (e.g. tags tables) are transformed to latex.
Clean up the regexps so that they become more readable.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3852 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/InterLatex.pl')
-rwxr-xr-x | lib/sbin/InterLatex.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbin/InterLatex.pl b/lib/sbin/InterLatex.pl index 9017f992..b27f4f0b 100755 --- a/lib/sbin/InterLatex.pl +++ b/lib/sbin/InterLatex.pl @@ -326,7 +326,7 @@ sub LatexTableElement my $var_counter = 0; foreach my $group_detail (sort keys %{$thorn{"group details"}->{$group}}) { - my $value = ThornUtils::CleanForLatex($thorn{"group details"}->{$group}->{$group_detail}); + my $value = ThornUtils::CleanForLatex(ThornUtils::CleanFromC($thorn{"group details"}->{$group}->{$group_detail})); # print nothign as we are dealing with the same group if (! $firstpass) { |