[system] / trunk / pg / lib / Value / Point.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/Value/Point.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2603 Revision 2606
176# Generate the various output formats 176# Generate the various output formats
177# 177#
178 178
179sub stringify { 179sub stringify {
180 my $self = shift; 180 my $self = shift;
181 my $open = $self->{open} || $$Value::context->lists->get('Point')->{open}; 181 return $self->TeX(undef,$self->{open},$self->{close}) if $$Value::context->flag('StringifyAsTeX');
182 my $close = $self->{close} || $$Value::context->lists->get('Point')->{close}; 182 return $self->string(undef,$self->{open},$self->{close});
183 $open . join(',',@{$self->data}) . $close;
184} 183}
185 184
186sub string { 185sub string {
187 my $self = shift; my $equation = shift; 186 my $self = shift; my $equation = shift;
188 my $open = shift || $$Value::context->lists->get('Point')->{open}; 187 my $open = shift || $$Value::context->lists->get('Point')->{open};

Legend:
Removed from v.2603  
changed lines
  Added in v.2606

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9