Re: Displaying chapter authors in headers

2018-12-25 Thread Richard Kimberly Heck
On 12/25/18 9:56 AM, Jose Ramom Flores das Seixas wrote:
>
> Às 12:02 de 22/12/2018, Jose Ramom Flores das Seixas escreveu:
>>
>> I am sending a minimal not working example.
>>
>> Às 21:57 de 21/12/2018, Richard Kimberly Heck escreveu:
>>> On 12/21/18 8:17 AM, Jose Ramom Flores das Seixas wrote:
 Hi:

 I'm editing a book written by different authors, each chapter one
 or several authors. I would like to include the name of the authors
 of each chapter in the ToC, and *also in the headers*.

 To include the name of the chapter authors in the Toc, I have
 follow a method explained in  StackExchange:

 https://tex.stackexchange.com/questions/156862/displaying-author-for-each-chapter-in-book?newreg=cc7bd951630649d0af0686b5a3446973

 I tried to expand the method, including the following code in the
 Latex Preamble, but it doesn't work.

 Any idea of how to include the authors of the chapters in the TOC
 and in the header?

>>> There are so many things that could be going wrong. I'd suggest
>>> creating a simple test document that includes this code and tries to
>>> do what you want to do. Then we can maybe diagnose the problem.
>>>
>>> Riki
>>>
> I have obtained an answer in tex.stackechange.com. 
>
Glad to hear it!

Riki




Re: serious bug

2018-12-25 Thread Scott Kostyshak
On Tue, Dec 25, 2018 at 09:25:28AM +0100, Patrick Dupre wrote:
> Hello Scott,
> 
> It has not been released for fedora yet.

Thanks for the reply, Patrick. Let us know once you upgrade.

Scott



signature.asc
Description: PGP signature


Re: Displaying chapter authors in headers

2018-12-25 Thread Jose Ramom Flores das Seixas

Às 12:02 de 22/12/2018, Jose Ramom Flores das Seixas escreveu:


I am sending a minimal not working example.

Às 21:57 de 21/12/2018, Richard Kimberly Heck escreveu:

On 12/21/18 8:17 AM, Jose Ramom Flores das Seixas wrote:

Hi:

I'm editing a book written by different authors, each chapter one or 
several authors. I would like to include the name of the authors of 
each chapter in the ToC, and *also in the headers*.


To include the name of the chapter authors in the Toc, I have follow 
a method explained in  StackExchange:


https://tex.stackexchange.com/questions/156862/displaying-author-for-each-chapter-in-book?newreg=cc7bd951630649d0af0686b5a3446973

I tried to expand the method, including the following code in the 
Latex Preamble, but it doesn't work.


Any idea of how to include the authors of the chapters in the TOC 
and in the header?


There are so many things that could be going wrong. I'd suggest 
creating a simple test document that includes this code and tries to 
do what you want to do. Then we can maybe diagnose the problem.


Riki

I have obtained an answer in tex.stackechange.com.  In case anyone is 
interested, the solution is as follows:


\newcommand\thechapterauthor[1]{}

\newcommand\chapterauthor[1]{\authortoc{#1}\printchapterauthor{#1}}

\makeatletter

\newcommand{\printchapterauthor}[1]{%

  {\parindent0pt\vspace*{-25pt}%

  \linespread{1.1}\large\scshape#1%

  \par\nobreak\vspace*{35pt}}

  \@afterheading%

}

\newcommand{\authortoc}[1]{%

  \addtocontents{toc}{\vskip-10pt}%

  \addtocontents{toc}{%

\protect\contentsline{chapter}%

{\hskip1.3em\mdseries\scshape\protect\scriptsize#1}{}{}}

  \addtocontents{toc}{\vskip5pt}%

}

\makeatother

\fancyhf{}

\fancyhead[LE,RO]{\thepage}

\fancyhead[LO]{\textbf{\leftmark}}

\fancyhead[RE]{\thechapterauthor}



Re: Luatex not previewing A4-landscape

2018-12-25 Thread Daniel CLEMENT
Le lundi 24 décembre 2018 à 11:41 +, Baris Erkus a écrit :
> On 24-Dec-18 1:42 PM, Daniel CLEMENT wrote:
> > Dear list members,
> >
> > While updating a PC under Debian, Lyx went from version 2.1.2 to
> 2.2.2
> > (and even 2.3.1 from Backports).
> >
> > I'm having an issue with some documents which need to be compiled
> under
> > Luatex.
> >
> > They use landscape, A4, 2-column page setup and the issue is:
> whenever I
> > try to specify custom margins, my preview reverts to portrait, US
> letter
> > format. I checked that in the previewer, under document properties.
> This
> > happens regardless of the document contents.
> >
> > TIA for any insight about that - best regards,
> 
> Which TeX system are you using? 

It's TeXlive: was 2014 on the old system (along with lyx 2.1.2), now
2016 with LyX 2.3.1 on the new install.

> Is there a ways to set the paper size 
> from the TeX system for LuaTeX?

I don't know how to do that outside LyX... At present I'm also searching
help about LuaTex
> 
> I remember the times that the TeX system dictates the paper sizes.
> Your 
> problem might be related to that? But not sure...

Well it's certainly related to LuaTex (a test document without LuaTex
previews just fine in A4, landscape). Or perhaps LyX fails to transmit
its paper size/orientation options to LuaTex?

Thx for your reply anyway - BR, DC
> 
> BE
> 
> -- 
> ↓↓
> Please bottom-post. Start your reply here:
> 

-- 
Daniel CLEMENT