and extra set of (red) braces, but those braces won't show up in the dvi file
or printed output.
-- CleanTeX adds {} around arguments if they're not there already. It breaks
-on a_b_c or a_\foo{bar}. Unfortunately, examples like that are pretty hard
-to parse, so all we can do is ask you to write clearer LaTeX (or contribute
-your coding skills to the reLyX project!). Sorry.
-
- reLyX translates {\bf foo} to \textbf{foo}. However, it also does that in
math mode. Write \mathbf{foo} explicitly in the LyX file instead.
a reference to "Dr." in the LyX file, with an extra "foo}" printed as
regular text
-- \end in a \newcommand, for example, will really confuse reLyX. Put the
-\newcommand in the preamble to avoid this problem.
+- \end or \begin in a \newcommand, for example, will really confuse reLyX,
+because they're not being used for their regular purpose of starting or
+ending an environment. Put the \newcommand in the preamble to avoid this
+problem.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Changes in translation caused by features not (yet) in LyX:
'\textgreater' => ">",
'\textless' => "<",
'\textbar' => "|",
+ '\textasciitilde' => "~",
);
# LyX translations of some plain LaTeX text (TeX parser won't recognize it
# This is to handle cases where _ is used, say, in a filename.
# When _ is used in math mode, it'll be copied by the math mode
# copying subs. Here we handle cases where it's used in non-math.
- # Examples are filenames for & citation labels.
+ # Examples are filenames for \include & citation labels.
# (It's illegal to use it in regular LaTeX text.)
if ($name eq "_") {
print OUTFILE $eaten->exact_print;
# Environments lyx translates to floats
} elsif (exists $FloatEnvTransTable{$env}) {
+ # this really only matters if it's at the very
+ # beginning of the doc.
+ &CheckForNewParagraph;
+
$tok = $fileobject->eatOptionalArgument;
if ($tok && defined ($dummy = $tok->print) && $dummy) {
print "\nIgnoring float placement '$dummy'" if $debug_on;
}
my $command = $FloatEnvTransTable{$env};
- # Open the footnote
+ # Open the table/figure
print OUTFILE "$command";
# table
+From 2.9.1.1 to 2.9.2.2
+- very minor bug fixes (win32 first line of doc, \epsfxsize command)
+- implement \textasciitilde
+
From 2.9.1.1 to 2.9.2.1
- noweb documents, with -n option (Kayvan Aghaiepour Sylvan)
# Tokens taking arguments, like '^'
# ADD '{' if there isn't one before the argument!
+ # TODO can we check whether the command is \label, \include
+ # and not add the braces in that case?
if (/^BegArgsToken$/) {
$printstr = $outstr;
# whoami is needed on Win32, because getlong/getpwuid aren't implemented
# I'd rather use internal Perl functions when possible, though
$nm = (eval {getlogin || getpwuid($<)}) || `whoami`;
+ chomp($nm); # whomai returns "foo\n"
$dt = localtime;
$LyX_Preamble .= "\#This file was created by <$nm> $dt\n";
$LyX_Preamble .= "\#LyX 1.0 (C) 1995-1999 Matthias Ettrich " .
my @dummy = &convert_length($EpsfXsize) || return 0;
} elsif ($command eq '\\epsfysize') {
$EpsfYsize = $length;
- my @dummy = &convert_length($EpsfXsize) || return 0;
+ my @dummy = &convert_length($EpsfYsize) || return 0;
}
return 1;
# Edmar Wienskoski Jr. <edmar-w-jr@technologist.com>
# Amir Karger <karger@post.harvard.edu>
#
-# $Id: noweb2lyx.in,v 1.1 1999/09/27 18:44:34 larsbj Exp $
+# $Id: noweb2lyx.in,v 1.2 2000/03/29 23:02:36 karger Exp $
#
# NOTE: This file was automatically generated from noweb2lyx.lyx using noweb.
#
.rn '' }`
-''' $RCSfile: reLyX.man,v $$Revision: 1.1 $$Date: 1999/09/27 18:44:34 $
+''' $RCSfile: reLyX.man,v $$Revision: 1.2 $$Date: 2000/03/29 23:02:36 $
'''
''' $Log: reLyX.man,v $
-''' Revision 1.1 1999/09/27 18:44:34 larsbj
-''' Initial revision
+''' Revision 1.2 2000/03/29 23:02:36 karger
+''' Very minor changes (sorry kayvan!)
'''
'''
.de Sh
.nr % 0
.rr F
.\}
-.TH RELYX 1 "Version 2.9.2.1" "2/May/99" "User Contributed Perl Documentation"
+.TH RELYX 1 "Version 2.9.2.2 2.9.2.2" "11/Aug/99" "User Contributed Perl Documentation"
.UC
.if n .hy 0
.if n .na
able to read in the file, and to create printed documents from it, because all
that untranslated red stuff will be passed directly back to LaTeX, which LyX
uses as a backend. Unfortunately, reality doesn't always reflect theory. If
-\fBreLyX\fR crashes, or LyX cannot read the generated LyX file, see the \f(CWBUGS\fR entry elsewhere in this documentor the \fI\s-1BUGS\s0\fR file.
+\fBreLyX\fR crashes, or LyX cannot read the generated LyX file, see the \f(CWBUGS\fR entry elsewhere in this document or the \fI\s-1BUGS\s0\fR file.
.Ip "\(bu" 4
Change things that are highlighted in red (TeX mode) by hand in LyX.
.Sp
#
# This code usually gets called by the reLyX wrapper executable
#
-# $Id: reLyXmain.pl,v 1.1 1999/09/27 18:44:35 larsbj Exp $
+# $Id: reLyXmain.pl,v 1.2 2000/03/29 23:02:36 karger Exp $
#
require 5.002; # Perl 5.001 doesn't work. Perl 4 REALLY doesn't work.
#
# Print welcome message including version info
-my $version_info = '$Date: 1999/09/27 18:44:35 $'; # RCS puts checkin date here
+my $version_info = '$Date: 2000/03/29 23:02:36 $'; # RCS puts checkin date here
$version_info =~ s&.*?(\d+/\d+/\d+).*&$1&; # take out just the date info
warn "reLyX, the LaTeX to LyX translator. Revision date $version_info\n\n";
\dblfigrule
\dblfloatpagefraction
\dbltopfraction
+\def{}{}
\definecolor{}{}{,,}
\discretionary{}{}{}
\encl{}
-#This file was created by <karger> Wed May 12 10:56:40 1999
+#This file was created by <karger> Sun Mar 5 12:54:24 2000
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article