mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
reLyX patch from Yves Bastide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1184 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c2077c66a8
commit
9db895d394
@ -1,5 +1,8 @@
|
||||
2000-11-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* lib/reLyX/MakePreamble.pm (translate_preamble): fix reading of
|
||||
class names with non-letter characters (from Yves Bastide).
|
||||
|
||||
* lib/ui/default.ui: change Item to OptItem in import menu.
|
||||
Comment out fax stuff.
|
||||
|
||||
|
@ -179,7 +179,7 @@ sub translate_preamble {
|
||||
|
||||
# Read the document class, in braces, then convert it to a textclass
|
||||
# However, if the user input a different class with the -c option, use that
|
||||
s/\s*\{(\w+)\}//;
|
||||
s/\s*\{(\S+)\s*\}//;
|
||||
my $class = $1;
|
||||
$class = $true_class if $true_class; # override from -c option
|
||||
die "no document class in file, no -c option given\n" unless $class;
|
||||
|
Loading…
Reference in New Issue
Block a user