Re: Compiling child document with bibliography

2022-02-14 Thread Jürgen Spitzmüller via lyx-users
Am Montag, dem 14.02.2022 um 09:42 -0700 schrieb Hal Kierstead:
> It seems to be working now. Many thanks. Should I have been able to
> figure this out, or is it just magic?

Neither nor. Something seems to have gone wrong on your side with the
preferences, maybe during update, but this is difficult to trace back.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling child document with bibliography

2022-02-14 Thread Hal Kierstead via lyx-users


> On Feb 14, 2022, at 8:58 AM, Jürgen Spitzmüller  wrote:
> 
> Am Montag, dem 14.02.2022 um 08:55 -0700 schrieb Hal Kierstead:
>> \default_view_format \converter
> 
> Remove this line.
> 
> Jürgen
> 

It seems to be working now. Many thanks. Should I have been able to figure this 
out, or is it just magic?

Hal
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fwd: Compiling child document with bibliography

2022-02-14 Thread Jürgen Spitzmüller via lyx-users
Am Montag, dem 14.02.2022 um 08:07 -0700 schrieb Hal Kierstead via lyx-
users:
> "error while exporting format: \converter”

What is the contents of your preferences file?

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Fwd: Compiling child document with bibliography

2022-02-14 Thread Hal Kierstead via lyx-users


> 
> 
>> I am sorry, but I do not understand this. First, I do:
>> 
>>>  Document > Settings > Child Document from the master, include
>>> only
>>> the desired child and click "Maintain counters and references”. 
>> 
>> And save it. But if I (immediately) check again the setting is back
>> to “Include all children”. 
> 
> The latter shouldn't be the case. How exactly did you try to change
> this setting?
> 
>> When I view the master document, I get the whole document correctly.
> 
> And you should get only the included children (and the master).
> 
>> Suppose I want to edit the included Chapter 2. I can right click on
>> it in the master, to open the LyX version of the included file, and
>> make changes. Now I would like to view those changes, with proper
>> references, citations, and numbering. “View master document” gives an
>> error.  “Buffer-view pdf” does not show the references, citations,
>> and numbering. 
> 
> What error does "View master document" give?
> 
> Jürgen

"error while exporting format: \converter”

Hal

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling child document with bibliography

2022-02-14 Thread Jürgen Spitzmüller via lyx-users
Am Montag, dem 14.02.2022 um 07:01 -0700 schrieb Hal Kierstead:
> I am sorry, but I do not understand this. First, I do:
> 
> >   Document > Settings > Child Document from the master, include
> > only
> > the desired child and click "Maintain counters and references”. 
> 
> And save it. But if I (immediately) check again the setting is back
> to “Include all children”. 

The latter shouldn't be the case. How exactly did you try to change
this setting?

> When I view the master document, I get the whole document correctly.

And you should get only the included children (and the master).

> Suppose I want to edit the included Chapter 2. I can right click on
> it in the master, to open the LyX version of the included file, and
> make changes. Now I would like to view those changes, with proper
> references, citations, and numbering. “View master document” gives an
> error.  “Buffer-view pdf” does not show the references, citations,
> and numbering. 

What error does "View master document" give?

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling child document with bibliography

2022-02-14 Thread Hal Kierstead via lyx-users

>> I have similar questions, but almost no experience with child
>> documents. Ideally I would like to be able to first compile the
>> entire document, and then edit and compile a child document,
>> separately from the rest of the master document, but still see
>> citations and reference numbers as they will appear when the entire
>> document is compiled. Can LyX manage this? If not would this be a
>> reasonable enhancement request?
> 
> Yes. Document > Settings > Child Document from the master, include only
> the desired child and click "Maintain counters and references". The
> master is printed as well, so it is advised to have a master that
> basically consists of inclusions of children only.
> 
> Jürgen

I am sorry, but I do not understand this. First, I do:

>  Document > Settings > Child Document from the master, include only
> the desired child and click "Maintain counters and references”. 

And save it. But if I (immediately) check again the setting is back to “Include 
all children”. When I view the master document, I get the whole document 
correctly.

Suppose I want to edit the included Chapter 2. I can right click on it in the 
master, to open the LyX version of the included file, and make changes. Now I 
would like to view those changes, with proper references, citations, and 
numbering. “View master document” gives an error.  “Buffer-view pdf” does not 
show the references, citations, and numbering. 

Am I hoping for too much or am I doing something wrong?

Hal
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling child document with bibliography

2022-02-13 Thread Jürgen Spitzmüller via lyx-users
Am Sonntag, dem 13.02.2022 um 15:18 -0700 schrieb Hal Kierstead via
lyx-users:
> 
> I have similar questions, but almost no experience with child
> documents. Ideally I would like to be able to first compile the
> entire document, and then edit and compile a child document,
> separately from the rest of the master document, but still see
> citations and reference numbers as they will appear when the entire
> document is compiled. Can LyX manage this? If not would this be a
> reasonable enhancement request?

Yes. Document > Settings > Child Document from the master, include only
the desired child and click "Maintain counters and references". The
master is printed as well, so it is advised to have a master that
basically consists of inclusions of children only.

Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling child document with bibliography

2022-02-13 Thread Jürgen Spitzmüller via lyx-users
Am Sonntag, dem 13.02.2022 um 15:24 + schrieb tush via lyx-users:
> I am writing a book where each chapter is typed in a child document.
> The book contains citation from a bib file.
> 
> I am following the instructions here
> (https://wiki.lyx.org/FAQ/Multidoc#multipart-bib) and am pretty sure
> I created my branch correctly.
> 
> I created a master file, inserted the bib database into it, created a
> branch, created a child document, activated the branch in this child
> doc, and also deativated the branch in the master doc.
> 
> However, I now compile the first chapter and it seems that no
> information regarding the bib database is included in it. When I
> export this child document to a tex file, nothing related to biblatex
> is in the preamble.
> 
> How can I print the cited work when compiling only this chapter?

I think you misunderstood the advice. You should put the bibliography
inset into the branch, not the citation reference. Also, if the child
is supposed to be compiled standalone, it needs to have the proper
bibliography settings as well (biblatex in your case). See attached
example.

Note that an alternative approach is to use Document > Settings > Child
Documents (from the master) and to include only the desired child for
the output (this also prints the master's content, though).

HTH,
Jürgen



chapter01.lyx
Description: application/lyx


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compiling child document with bibliography

2022-02-13 Thread Hal Kierstead via lyx-users


On Feb 13, 2022, at 12:49 PM, Hal Kierstead  wrote:



> On Feb 13, 2022, at 8:24 AM, tush via lyx-users  > wrote:
> 
> I am writing a book where each chapter is typed in a child document. The book 
> contains citation from a bib file.
> 
> I am following the instructions here 
> (https://wiki.lyx.org/FAQ/Multidoc#multipart-bib 
> ) and am pretty sure I 
> created my branch correctly.
> 
> I created a master file, inserted the bib database into it, created a branch, 
> created a child document, activated the branch in this child doc, and also 
> deativated the branch in the master doc.
> 
> However, I now compile the first chapter and it seems that no information 
> regarding the bib database is included in it. When I export this child 
> document to a tex file, nothing related to biblatex is in the preamble.
> 
> How can I print the cited work when compiling only this chapter?
> 
> A MWE is attached as a zip file.
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org 
> http://lists.lyx.org/mailman/listinfo/lyx-users


I have similar questions, but almost no experience with child documents. 
Ideally I would like to be able to first compile the entire document, and then 
edit and compile a child document, separately from the rest of the master 
document, but still see citations and reference numbers as they will appear 
when the entire document is compiled. Can LyX manage this? If not would this be 
a reasonable enhancement request?

Thanks, 

Hal

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Compiling child document with bibliography

2022-02-13 Thread tush via lyx-users
I am writing a book where each chapter is typed in a child document. The book 
contains citation from a bib file.

I am following the instructions here 
(https://wiki.lyx.org/FAQ/Multidoc#multipart-bib) and am pretty sure I created 
my branch correctly.

I created a master file, inserted the bib database into it, created a branch, 
created a child document, activated the branch in this child doc, and also 
deativated the branch in the master doc.

However, I now compile the first chapter and it seems that no information 
regarding the bib database is included in it. When I export this child document 
to a tex file, nothing related to biblatex is in the preamble.

How can I print the cited work when compiling only this chapter?

A MWE is attached as a zip file.<>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users