Re: LaTex question: KOMA-script headers and chapter bibliography

2015-04-29 Thread Sam Lewis





> On Thursday, 30 April 2015, 2:03, Johannes Böttcher wrote:
> You are defining `defbibheading` in a way that updates the running
> header with *Further Reading* via `markboth`. Deleting this line should
> fix your problem.
> 
> If you really want to have the chapter titles on the starting pages of
> chapters, you can use 
> `\renewcommand*{\chapterpagestyle}{scrheadings}`
> or use the starred variant of the commands -> `\ihead*{Chapter
> \headmark}`. An up to date version of KOMA-script is needed for that.
> 
> Once you start the appendix, you have some trouble, as you are
> hard-coding the word *chapter*. You can use `\chapapp` instead.



Many thanks for pointing me in the right direction. I fixed it like this.


\documentclass[chapterprefix=on]{scrbook}



\usepackage[automark]{scrlayer-scrpage}
\pagestyle{scrheadings}
\ihead{\headmark}
\ohead[\pagemark]{\pagemark}
\chead{}
\cfoot[]{}


\defbibheading{subbibliography}{%
\addsec{#1}}


\chapter{...}
\begin{refsection}
...
\printbibliography[heading=subbibliography,title={Further 
Reading},notcategory=cited]
\printbibliography[heading=subbibliography,title={Bibliography},category=cited]

\end{refsection}

Now works like a charm!

Again many thanks. 


Cheers, Sam


Re: No export menus LyX 2.1.3 on Ubuntu 15.04 Beta 2

2015-04-29 Thread Guillaume M-M

On 04/25/15 07:46, Scott Kostyshak wrote:

On Sat, Apr 18, 2015 at 3:45 PM, Blaine Elswood
 wrote:

Yep. You're right. That's the bug. I try to keep LyX so I don't have to deal
with it often. But others won't. Hope they fix it! LyX and Ubuntu are both
awesome when they are compatible.


Here is the best workaround I have so far:

sudo apt-get remove appmenu-qt

also, if you happen to be compiling on your own against qt5,

sudo apt-get remove appmenu-qt5

Read the description of the package to be aware of the consequences.

If you're interested in why this bug is occurring, follow the thread
I've started on lyx-de...@lists.lyx.org

Best,

Scott



Dear Blaine and other Ubuntu users,


Like the rest of you I ran into this bug when I upgraded today.

The best workaround for now is to run lyx with the command line:
  QT_X11_NO_NATIVE_MENUBAR=1 lyx
or equivalently to adapt /usr/share/applications/lyx.desktop as follows:
  Exec=env QT_X11_NO_NATIVE_MENUBAR=1 lyx %F

The bug most probably comes from the package indicator-appmenu. You can 
also follow the discussion there 




Guillaume



Re: Uploading to wiki via FTP fails

2015-04-29 Thread Christian Ridderström
I've e-mailed Liviu the password.

On 29 April 2015 at 22:01, Liviu Andronic  wrote:

> On Wed, Apr 29, 2015 at 8:27 PM, Pavel Sanda  wrote:
> > Liviu Andronic wrote:
> >> Dear all,
> >> I am trying to connect to the FTP server, ftp://lyx...@lyx.org/, as
> >> per the instructions below, but it fails.
> >> http://wiki.lyx.org/Site/AboutUploading
> >
> > Should work now. P
> >
>
> Thanks, Pavel. Could you send me the password off-list?
>
> Liviu
>
>
> --
> Do you think you know what math is?
> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
> Or what it means to be intelligent?
> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
> Think again:
> http://www.ideasroadshow.com/library
>



-- 
Christian Ridderström, +46-70 687 39 44


Re: Uploading to wiki via FTP fails

2015-04-29 Thread Liviu Andronic
On Wed, Apr 29, 2015 at 8:27 PM, Pavel Sanda  wrote:
> Liviu Andronic wrote:
>> Dear all,
>> I am trying to connect to the FTP server, ftp://lyx...@lyx.org/, as
>> per the instructions below, but it fails.
>> http://wiki.lyx.org/Site/AboutUploading
>
> Should work now. P
>

Thanks, Pavel. Could you send me the password off-list?

Liviu


-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: LaTex question: KOMA-script headers and chapter bibliography

2015-04-29 Thread Johannes Böttcher


On 04/29/2015 06:40 AM, Sam Lewis wrote:
> I create running headers in a Koma-script book with the following. 
This gives me a page number and the chapter heading on each page, except 
on the first page of each chapter as desired.

>
> \usepackage[automark]{scrlayer-scrpage}
> \pagestyle{scrheadings}
> \ihead{Chapter \headmark}
> \ohead[\pagemark]{\pagemark}
> \chead{}
> \cfoot[]{}
>
>
> In this book, I have a bibliography and a further reading section at 
the end of each chapter via this code in the preamble

>
>
> \defbibheading{subbibliography}[\bibname]{%
> \section*{#1}%
> \markboth{#1}{#1}}
>
> and this ERT at the end of each chapter.
>
>
> \printbibliography[heading=subbibintoc,title={Further 
Reading},notcategory=cited]

> \printbibliography[heading=subbibintoc,category=cited]
> \end{refsection}
> \begin{refsection}
>
>
> Everything works fine, except that the header on the last page of 
each chapter is called "Further Reading" instead of the name of the chapter.

>
>
> How to fix this?
>
>
> Many thanks!
>


You are defining `defbibheading` in a way that updates the running
header with *Further Reading* via `markboth`. Deleting this line should
fix your problem.

If you really want to have the chapter titles on the starting pages of
chapters, you can use `\renewcommand*{\chapterpagestyle}{scrheadings}`
or use the starred variant of the commands -> `\ihead*{Chapter
\headmark}`. An up to date version of KOMA-script is needed for that.

Once you start the appendix, you have some trouble, as you are
hard-coding the word *chapter*. You can use `\chapapp` instead.

Best regards
Johannes Böttcher




Re: Uploading to wiki via FTP fails

2015-04-29 Thread Pavel Sanda
Liviu Andronic wrote:
> Dear all,
> I am trying to connect to the FTP server, ftp://lyx...@lyx.org/, as
> per the instructions below, but it fails.
> http://wiki.lyx.org/Site/AboutUploading

Should work now. P


Re: line number in latex source panel

2015-04-29 Thread Scott Kostyshak
On Wed, Apr 29, 2015 at 9:03 AM, Wolfgang Engelmann
 wrote:
> Is it possible to get the line number in the latex source panel to show up?

Not as far as I know.

Scott


line number in latex source panel

2015-04-29 Thread Wolfgang Engelmann

Is it possible to get the line number in the latex source panel to show up?
It would ease the finding of an error in the latex protocol
Wolfgang.