[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-devel
Subject: Re: Show changes in output with child documents
From: Richard Heck <rgheck () comcast ! net>
Date: 2012-06-05 15:44:07
Message-ID: 4FCE2947.8020805 () comcast ! net
[Download RAW message or body]
On 06/05/2012 05:12 AM, Rick Blok - LR wrote:
>
> Hi,
>
> I've got a report with several child documents. I'm tracking changes
> and show them in the output to let my supervisor know what has changed
> since the last update. Sometimes I have to make interim reports in
> which I don't want to show the changes. If I disable âshow changes in
> output' in the master document, changes are still visible in the pdf.
> Instead, I have to disable show changes in output for every child
> document.
>
> This is unexpected behaviour for me since usually, all settings are
> copied from the master document to child documents. Why is track
> changes an exception?
>
This definitely seems wrong. Unfortunately, it's not as easy to fix as
one might hope. The problem---if anyone's reading this---is that
Paragraph::latex() takes a BufferParams argument, whereas we would need
to access the master Buffer to fix this. Should Paragraph::latex()
instead take a Buffer? Is there actually any good reason it needs such
an argument? Why not just find the BufferParams via inset_owner_?
Richard
[Attachment #3 (text/html)]
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 06/05/2012 05:12 AM, Rick Blok - LR wrote:
<blockquote
cite="mid:72DE77F99591154CA085BDC6D822CC652457CA@SRV366.tudelft.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I’ve got a report with
several child documents. I’m tracking changes and show them
in the output to let my supervisor know what has changed
since the last update. Sometimes I have to make interim
reports in which I don’t want to show the changes. If I
disable ‘show changes in output’ in the master document,
changes are still visible in the pdf. Instead, I have to
disable show changes in output for every child document.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">This is unexpected
behaviour for me since usually, all settings are copied from
the master document to child documents. Why is track changes
an exception?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:NL"
lang="EN-GB"><o:p> </o:p></span></p>
</div>
</blockquote>
This definitely seems wrong. Unfortunately, it's not as easy to fix
as one might hope. The problem---if anyone's reading this---is that
Paragraph::latex() takes a BufferParams argument, whereas we would
need to access the master Buffer to fix this. Should
Paragraph::latex() instead take a Buffer? Is there actually any good
reason it needs such an argument? Why not just find the BufferParams
via inset_owner_?<br>
<br>
Richard<br>
<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic