Re: separate child-documents?

2020-09-29 Thread Richard Kimberly Heck
On 9/29/20 4:39 AM, Guenter Milde wrote:
> On 2020-09-28, M.B. Schiekel wrote:
>> Am 28.09.20 um 14:35 schrieb Guenter Milde:
>>> On 2020-09-25, M.B. Schiekel wrote:
>> What do you mean by 'print to a file'?
>> In the moment I use LyX -> pdflatex for to produce the big PDF.
>> So what is your suggestion to produce a PDF of the last 50 p.?
> I am working on Linux and use the "evince" document viewer to view the
> PDF on-screen. The viewer supports printing and the print dialogue offers
> the choice of several printers which includes the virtual printer "print
> to file". It also provides for the selection of the pages to print, so it is
> all just point and click for me.

There are lots of pdf editors you can use to extract pages from a
PDF---even web-based programs. On Linux you can just do:

qpdf --pages INFILE firstpage-lastpage -- OUTFILE

in the terminal.

Riki


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


Re: separate child-documents? [solved]

2020-09-29 Thread M.B. Schiekel
Am 29.09.20 um 10:39 schrieb Guenter Milde:
> ...
> I am working on Linux and use the "evince" document viewer to view the
> PDF on-screen. The viewer supports printing and the print dialogue offers
> the choice of several printers which includes the virtual printer "print
> to file". It also provides for the selection of the pages to print, so it is
> all just point and click for me.
> ...


Hallo Günter and Riki,

thank you for your helpful explanations.
I summarize the different solutions:

Problem:
Some time ago I've uploaded a 800 p. LyX-generated PDF-file as an
OpenAccess document to our uni-server. And now I'm writing
an new separate appendix to this document and in this appendix I want
references to many formula of my published 800 p. PDF-document.
So I tried the Master-Child feature but in the separate compiled child
the references are not available.

Solutions:
1. writing the new appendix in the original LyX-file with all the
correct references, compiling with pdflatex and copying the appendix in
a new PDF by the 'print on file feature' (means cropping the PDF) - on
Linux with "evince" or "okular". (Günter)
2. LyX-variant:
"It should work with "includeonly" if you have a Master document that
includes the existing documents source(s) + the new appendix.
After a first run which includes all sources (to get the references
right), you may exclude the main document and re-compile." (Günter)
3. LaTeX-variant:
"The LaTeX solution would be to use the xr package. See e.g. here
https://tex.stackexchange.com/questions/14364/cross-referencing-between-different-files
for some info on how to do that. LyX does not have any mechanism for
this, though, so you'd be using ERT." (Riki)

Such a wonderful community :-)
bernhard

-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
posteo.de: SSL-Verschluesselung + Oekostrom



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-29 Thread Guenter Milde
On 2020-09-28, M.B. Schiekel wrote:
> Am 28.09.20 um 14:35 schrieb Guenter Milde:
>> On 2020-09-25, M.B. Schiekel wrote:

> What do you mean by 'print to a file'?
> In the moment I use LyX -> pdflatex for to produce the big PDF.
> So what is your suggestion to produce a PDF of the last 50 p.?

I am working on Linux and use the "evince" document viewer to view the
PDF on-screen. The viewer supports printing and the print dialogue offers
the choice of several printers which includes the virtual printer "print
to file". It also provides for the selection of the pages to print, so it is
all just point and click for me.

Alternatively, LyX supports Insert>File>External Material>PDF pages.

Günter

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


Re: separate child-documents?

2020-09-28 Thread M.B. Schiekel
Am 28.09.20 um 14:35 schrieb Guenter Milde:
> On 2020-09-25, M.B. Schiekel wrote:
> ...
>> Some time ago I've uploaded a 800 p. LyX-generated PDF-file as an
>> OpenAccess document to our uni-server. And now I'm writing
>> an new separate appendix to this document and in this appendix I want
>> references to many formula of my published 800 p. PDF-document.
>> So I tried the Master-Child feature but in the separate compiled child
>> the references are not available.
> ...
> It should work with "includeonly" if you have a Master document that includes
> the existing documents source(s) + the new appendix.
> After a first run which includes all sources (to get the references right),
> you may exclude the main document and re-compile.
> ...


Hallo Günter,

thank you for your kind and helpful advices.
1. your "includeonly" variant I've understood. I think it will work.
2. your second variant I don't understand:
> However, I would rather print the last 50 pages of the combined document to
> a file and upload this.
What do you mean by 'print to a file'?
In the moment I use LyX -> pdflatex for to produce the big PDF.
So what is your suggestion to produce a PDF of the last 50 p.?

3.
> In any case, you may have to add some advanced LaTeX code to restart
> the page numbers etc. or live with the appendix document starting at
> 801.
This should be no problem for me, because I love Latex code :-)
Thank you very much -
bernhard


-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
posteo.de: SSL-Verschluesselung + Oekostrom



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-28 Thread Guenter Milde
On 2020-09-25, M.B. Schiekel wrote:

...

> thank you for your comments. What is my actual issue?
> Some time ago I've uploaded a 800 p. LyX-generated PDF-file as an
> OpenAccess document to our uni-server. And now I'm writing
> an new separate appendix to this document and in this appendix I want
> references to many formula of my published 800 p. PDF-document.
> So I tried the Master-Child feature but in the separate compiled child
> the references are not available.

Yes, this is not the use case for Master/Child.

> If LyX doesn't support such an application I see only the possibility of
> creating the 50 p. appendix in the 800 p. master document and then
> cropping the 800 p. with a PDF-editor, because I cannot upload for each
> new appendix a new edition of the big PDF.
> But maybe there is a better way to handle this :-)

It should work with "includeonly" if you have a Master document that includes
the existing documents source(s) + the new appendix.
After a first run which includes all sources (to get the references right),
you may exclude the main document and re-compile.

However, I would rather print the last 50 pages of the combined document to
a file and upload this.

In any case, you may have to add some advanced LaTeX code to restart the
page numbers etc. or live with the appendix document starting at 801.

Günter

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


Re: separate child-documents?

2020-09-25 Thread M.B. Schiekel
Am 25.09.20 um 16:41 schrieb Kornel Benko:
>> But when LyX can see the right refrences to master-formula in the child,
>> why can't these references survive the pdflatex run???
>> regards - bernhard
> 
> Is
> Document->Settings...->Select default master document
> checked?


Hi Kornel,
yes, ...->Select default master document is checked.


-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-25 Thread Kornel Benko
Am Fri, 25 Sep 2020 16:23:23 +0200
schrieb "M.B. Schiekel" :

> Am 25.09.20 um 13:32 schrieb Dr Eberhard Lisse:
> > Bernhard,
> > you are welcome. 
> > 
> > So you basically want to write a new PDF document, which is called
> > "Appendix" and gets the labels/references from another documents.
> > ...  
> 
> Hi Eberhard,
> 
> thank you for your kind answer.
> 
> First of all: I think our LyX-users-server again didn't deliver my last
> 2 emails and also your answer to me. But I got your answer as pm.
> Communication with a noreliable email-server is a bit difficult :-)
> So I made a new list-subscription with another email-adress.
> 
> But back to my child-problem.
> When in the settings
> (Child documents -> include only selected children + maintain conuters
> and references + doubleclick on the chosen child)
> I properly set up my child-document I can see with LyX in the child the
> correct master-refrences.
> Then I do a pdflatex run of the child and in the PDF-file the references
> are gone :-(
> But when LyX can see the right refrences to master-formula in the child,
> why can't these references survive the pdflatex run???
> regards - bernhard
> 

Is
Document->Settings...->Select default master document
checked?

Kornel


pgpJwiehxXdOX.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-25 Thread M.B. Schiekel
Am 25.09.20 um 13:32 schrieb Dr Eberhard Lisse:
> Bernhard,
> you are welcome. 
> 
> So you basically want to write a new PDF document, which is called
> "Appendix" and gets the labels/references from another documents.
> ...

Hi Eberhard,

thank you for your kind answer.

First of all: I think our LyX-users-server again didn't deliver my last
2 emails and also your answer to me. But I got your answer as pm.
Communication with a noreliable email-server is a bit difficult :-)
So I made a new list-subscription with another email-adress.

But back to my child-problem.
When in the settings
(Child documents -> include only selected children + maintain conuters
and references + doubleclick on the chosen child)
I properly set up my child-document I can see with LyX in the child the
correct master-refrences.
Then I do a pdflatex run of the child and in the PDF-file the references
are gone :-(
But when LyX can see the right refrences to master-formula in the child,
why can't these references survive the pdflatex run???
regards - bernhard

-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
posteo.de: SSL-Verschluesselung + Oekostrom
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-25 Thread Dr Eberhard Lisse
Bernhard,

you are welcome. 

So you basically want to write a new PDF document, which is called
"Appendix" and gets the labels/references from another documents.

I think this can actually be done with some heavy LaTeXing


However, I do not believe that a German University Server would ever
want for a few (10-20 for 800 pages with images) MB of PDF space.  

EVER :-)-O.

I would just add the appendix to the LyX, compile it to PDF and upload
the PDF. And, while doing this sort out the main file into Child
documents by Chapter, so (future) updates become easier.

Messing with the PDF would be the silliest thing I have ever heard of in
a LyX/LaTeX context.

greetings, el


On 25/09/2020 09:50, M.B. Schiekel wrote:
> Am 25.09.20 um 08:08 schrieb Dr Eberhard Lisse:
>> ...
>> I am not really sure what your actual issue is.
>>
>> Do you want to generate a separate PDF for the appendix?  I have never
>> tried this but this could be what "Include only selected children" does.
>>
>> I use the Child Document featrue on the "include" side exclusively, and
>> after editing a Child Document, to compile (only) it (with the
>> "inheritance" of the Parent Document).
>>
>> This is obviously faster and while the references are wrong, it's good
>> enough for catching typos and the references come right on the main 
>> make run anyway.
>> ... 
> 
> 
> Hi Eberhard,
> 
> thank you for your comments. What is my actual issue?
> Some time ago I've uploaded a 800 p. LyX-generated PDF-file as an
> OpenAccess document to our uni-server. And now I'm writing
> an new separate appendix to this document and in this appendix I want
> references to many formula of my published big PDF-document.
> So I tried the Master-Child feature but in the separate compiled child
> the references are not available.
> If LyX doesn't support such an application I see only the possibility of
> creating the 50 p. appendix in the 800 p. master document and then
> cropping the 800 p. with a PDF-editor, because I cannot upload for each
> new appendix a new edition of the big PDF.
> But maybe there is a better way to handle this :-)
> bernhard
> 
> 


-- 
If you want to email me, replace nospam with el




signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


separate child-documents?

2020-09-25 Thread M.B. Schiekel
Am 25.09.20 um 08:08 schrieb Dr Eberhard Lisse:
> ...
> I am not really sure what your actual issue is.
> Do you want to generate a separate PDF for the appendix?  I have never
> tried this but this could be what "Include only selected children"
> does.
> I use the Child Document featrue on the "include" side exclusively,
> and after editing a Child Document, to compile (only) it (with the
> "inheritance" of the Parent Document).
> This is obviously faster and while the references are wrong, it's good
> enough for catching typos and the references come right on the main
> make run anyway.
> ...


Hi Eberhard,

thank you for your comments. What is my actual issue?
Some time ago I've uploaded a 800 p. LyX-generated PDF-file as an
OpenAccess document to our uni-server. And now I'm writing
an new separate appendix to this document and in this appendix I want
references to many formula of my published 800 p. PDF-document.
So I tried the Master-Child feature but in the separate compiled child
the references are not available.
If LyX doesn't support such an application I see only the possibility of
creating the 50 p. appendix in the 800 p. master document and then
cropping the 800 p. with a PDF-editor, because I cannot upload for each
new appendix a new edition of the big PDF.
But maybe there is a better way to handle this :-)
bernhard

-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-25 Thread M.B. Schiekel
Am 25.09.20 um 08:08 schrieb Dr Eberhard Lisse:
> ...
> I am not really sure what your actual issue is.
> 
> Do you want to generate a separate PDF for the appendix?  I have never
> tried this but this could be what "Include only selected children" does.
> 
> I use the Child Document featrue on the "include" side exclusively, and
> after editing a Child Document, to compile (only) it (with the
> "inheritance" of the Parent Document).
> 
> This is obviously faster and while the references are wrong, it's good
> enough for catching typos and the references come right on the main 
> make run anyway.
> ... 


Hi Eberhard,

thank you for your comments. What is my actual issue?
Some time ago I've uploaded a 800 p. LyX-generated PDF-file as an
OpenAccess document to our uni-server. And now I'm writing
an new separate appendix to this document and in this appendix I want
references to many formula of my published big PDF-document.
So I tried the Master-Child feature but in the separate compiled child
the references are not available.
If LyX doesn't support such an application I see only the possibility of
creating the 50 p. appendix in the 800 p. master document and then
cropping the 800 p. with a PDF-editor, because I cannot upload for each
new appendix a new edition of the big PDF.
But maybe there is a better way to handle this :-)
bernhard

-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-25 Thread Dr Eberhard Lisse
Bernhard,

I am not really sure what your actual issue is.

Do you want to generate a separate PDF for the appendix?  I have never
tried this but this could be what "Include only selected children" does.

I use the Child Document featrue on the "include" side exclusively, and
after editing a Child Document, to compile (only) it (with the
"inheritance" of the Parent Document).

This is obviously faster and while the references are wrong, it's good
enough for catching typos and the references come right on the main 
make run anyway.

And of course as I wrote previously, I am muddling the water by having a
joint "include.tex" with lots of conditionals.

There is always the "Help" feature.

As I said, I would take the opportunity to split a large document now 
while you are at it, will make things easier in the future...

greetings, el

On 2020-09-24 19:21 , M.B. Schiekel wrote:
[...]

> Hi Jürgen, Eberhard and Riki,
> 
> 1. first of all thank you for your kind help.
> 2. sometimes two troubles coincide:
> I didn't have seen my email in lyx-users@lists.lyx.org and also didn't
> received the answer of Jürgen.  Riki's answer I got as an pm, because
> he sended it also as CC to me.  So in the moment I'm in a pm
> discussion with Riki.
> 3.  from Jürgen I've learned that I have to do a "doubleclick" in
> Select "Include only selected children", Ok.
> 4.  but unfortunately it doesn't work for me :-( might be Riki will
> figure out, he has asked me for example files :-)
> 5.  "RTFM helps :-)-O": well, well, is there anywhere an exhaustive
> documentation?
> 
> thanks -
> bernhard
> 
> 


-- 
If you want to email me, replace nospam with el




signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-24 Thread M.B. Schiekel
Am 24.09.20 um 17:46 schrieb Dr Eberhard Lisse:
> Bernhard,
> 
> as always, RTFM helps :-)-O
> 
> Jürgen has highlighted the required toggles. 
> 
> I use this for a "handbook" of some 20 files and 800 pages.  Each
> includes a (common) "include.tex" with many toggles.
> 
> I like that I can compile the Child documents separately, quickly and 
> in Portrait with 11pt and when it is done do the whole project via 
> Makefile, as Landscape 16 pt.
> 
> In your situation I would take the opportunity of separating each 
> chapter into a Child Document while you are at it. Just in case you 
> need to work on this in the future again.
> 
> el
> 
> 
> On 23/09/2020 08:25, Jürgen Spitzmüller wrote:
>> Am Dienstag, den 22.09.2020, 21:39 +0200 schrieb M.B. Schiekel:
>>> So I tried the Master-Child feature and compliled the Master and
>>> Child separate.  But my hope, that in this separate compiled Child
>>> the references to formula of the Master were available was
>>> disappointed.
>>> Any suggestion?
>>
>> Go to the master's document setting, section "Child Documents".
>>
>> Select "Include only selected children"
>>
>> Select you child document in the widget below by double-click
>>
>> Also select "Maintain counters and references"
>>
>> This supposes that your master does not have other content than
>> includes of children.
>>
>> HTH
>> Jürgen
>>
>>
> 
> 
> 

Hi Jürgen, Eberhard and Riki,

1. first of all thank you for your kind help.
2. sometimes two troubles coincide:
I didn't have seen my email in lyx-users@lists.lyx.org and also didn't
received the answer of Jürgen. Riki's answer I got as an pm, because he
sended it also as CC to me. So in the moment I'm in a pm discussion with
Riki.
3. from Jürgen I've learned that I have to do a "doubleclick" in Select
"Include only selected children", Ok.
4. but unfortunately it doesn't work for me :-(
might be Riki will figure out, he has asked me for example files :-)
5. "RTFM helps :-)-O":
well, well, is there anywhere an exhaustive documentation?

thanks -
bernhard

-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-24 Thread Dr Eberhard Lisse
Bernhard,

as always, RTFM helps :-)-O

Jürgen has highlighted the required toggles. 

I use this for a "handbook" of some 20 files and 800 pages.  Each
includes a (common) "include.tex" with many toggles.

I like that I can compile the Child documents separately, quickly and 
in Portrait with 11pt and when it is done do the whole project via 
Makefile, as Landscape 16 pt.

In your situation I would take the opportunity of separating each 
chapter into a Child Document while you are at it. Just in case you 
need to work on this in the future again.

el


On 23/09/2020 08:25, Jürgen Spitzmüller wrote:
> Am Dienstag, den 22.09.2020, 21:39 +0200 schrieb M.B. Schiekel:
>> So I tried the Master-Child feature and compliled the Master and
>> Child separate.  But my hope, that in this separate compiled Child
>> the references to formula of the Master were available was
>> disappointed.
>> Any suggestion?
> 
> Go to the master's document setting, section "Child Documents".
> 
> Select "Include only selected children"
> 
> Select you child document in the widget below by double-click
> 
> Also select "Maintain counters and references"
> 
> This supposes that your master does not have other content than
> includes of children.
> 
> HTH
> Jürgen
> 
> 


-- 
If you want to email me, replace nospam with el




signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: separate child-documents?

2020-09-23 Thread Jürgen Spitzmüller
Am Dienstag, den 22.09.2020, 21:39 +0200 schrieb M.B. Schiekel:
> So I tried the Master-Child feature and compliled the Master and
> Child
> separate. But my hope, that in this separate compiled Child the
> references to formula of the Master were available was disappointed.
> Any suggestion?

Go to the master's document setting, section "Child Documents".

Select "Include only selected children"

Select you child document in the widget below by double-click

Also select "Maintain counters and references"

This supposes that your master does not have other content than
includes of children.

HTH
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


separate child-documents?

2020-09-22 Thread M.B. Schiekel
Hallo,

I'working now for a long time with LyX, and most time happy and thankful
(now with 2.3.5.2).
Some time ago I've uploaded a big LyX-generated PDF-file as an
OpenAccess document to a server of our university. And now I'm writing
an new appendix to this document and I want in this appendix references
to the original document.
So I tried the Master-Child feature and compliled the Master and Child
separate. But my hope, that in this separate compiled Child the
references to formula of the Master were available was disappointed.
Any suggestion?
Thank you very much -
bernhard

-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
posteo.de: SSL-Verschluesselung + Oekostrom



-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/



signature.asc
Description: OpenPGP digital signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users