mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
handle includegraphics*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9579 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cf5c5ac9b0
commit
76b8d1b25f
@ -1,3 +1,7 @@
|
||||
2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* text.C (parse_text): handle \includegraphics*
|
||||
|
||||
2005-02-02 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Makefile.am: remove -lz library from the linker call.
|
||||
|
@ -1168,7 +1168,12 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
||||
}
|
||||
|
||||
else if (t.cs() == "includegraphics") {
|
||||
bool const clip = p.next_token().asInput() == "*";
|
||||
if (clip)
|
||||
p.get_token();
|
||||
map<string, string> opts = split_map(p.getArg('[', ']'));
|
||||
if (clip)
|
||||
opts["clip"] = string();
|
||||
string name = subst(p.verbatim_item(), "\\lyxdot ", ".");
|
||||
|
||||
string const path = getMasterFilePath();
|
||||
|
Loading…
Reference in New Issue
Block a user