Re: Error File '/var/folders/lw/lwhvvr995qd496m04pr11sp80000gn/T/lyx_tmpdir.zuVLBxb13258/lyx_tmpbuf0/Diss121.tex' was not closed properly.

2017-08-27 Thread Steve Litt
On Sun, 27 Aug 2017 13:15:41 +0200
Mark Hempelmann  wrote:

> Dear Lyx-Wizards,
> 
> I researched on above error and the closest I got was the discussion
> between Wolfgang and Jürgen in 2010. However, my text compiled fine
> with Lyx 2.1.5, now with the 2.2.3 update I get above error. I’m
> using German characters, don’t know where to find the encoding,
> though, I thought it was Latin1 or UTF8.
> 
> I’m completely lost as where to start looking at, I cannot remove all
> my „Umlaute“ or the like. I’m using bibdesk for literature. Here is
> my preamble:
> 
> 
> \usepackage[backend=biber,style=philosophy-modern,natbib=true]{biblatex}
> \usepackage{amsmath}
> \usepackage{amssymb}  % für mathbb
> \usepackage{marginnote}   % Randnotizen
> \usepackage{ragged2e}
> \usepackage{blindtext} % Lorem ipsum
> \usepackage{lipsum}
> 
> \addbibresource{/Users/mhem23/Documents/Uni/Dissertation/Bibliothek/bibdesk/DissBib3.bib}
> 
> \setlength{\marginparwidth}{2,5cm}% setze Randnotizbreite
> \renewcommand*{\marginfont}{\footnotesize \bfseries}
> \let\marginpar\marginnote % \marginpar ist jetzt identisch mit
> \marginnote
> 
> \usepackage{xcolor}
> \usepackage[framemethod=tikz]{mdframed}   % für Absatzboxen
> aller Art \usepackage{longtable, array}
> 
> Please help me along, it worked with my old Lyx!
> 
> Thank you very much
> mark

I predict you'll fix this problem in 90 minutes.

The first thing you do when reporting a problem with a LyX document is
to submit a "minimal working example" of the malfunction. In other
words, the smallest possible LyX file that displays the symptom.

The way you do that is first, archive your current file, because that's
where you'll begin after solving the problem.

Next, copy your doc to a junk file, cut that junk file in half, and see
if it displays the symptom. If not, try it with just the half you cut
out. Anyway, keep on removing approximately half the text (and also
half the stuff in the document's properties and layout file, if it has
one. You can probably get things down to a 1 paragraph document that's
less than 1K of LyX file, in which you can toggle the symptom by
deleting some of it. By that point the cause will be pretty obvious.

Once you can toggle it on and off, either you can fix it quickly, or
you can send your 1K LyX file to the mailing list and soon get an
answer. I always try to fix it myself first.

Best of luck.

SteveT


Possible Bibliography Error [was Re: Error File '...lyx_tmpbuf0/Diss121.tex' was not closed properly.]

2017-08-27 Thread Richard Heck
On 08/27/2017 07:15 AM, Mark Hempelmann wrote:
> Dear Lyx-Wizards,
>
> I researched on above error and the closest I got was the discussion between 
> Wolfgang and Jürgen in 2010. However, my text compiled fine with Lyx 2.1.5, 
> now with the 2.2.3 update I get above error. I’m using German characters, 
> don’t know where to find the encoding, though, I thought it was Latin1 or 
> UTF8.
>
> I’m completely lost as where to start looking at, I cannot remove all my 
> „Umlaute“ or the like. I’m using bibdesk for literature. Here is my preamble:
>
>
> \usepackage[backend=biber,style=philosophy-modern,natbib=true]{biblatex}
> \usepackage{amsmath}
> \usepackage{amssymb}  % für mathbb
> \usepackage{marginnote}   % Randnotizen
> \usepackage{ragged2e}
> \usepackage{blindtext} % Lorem ipsum
> \usepackage{lipsum}
>
> \addbibresource{/Users/mhem23/Documents/Uni/Dissertation/Bibliothek/bibdesk/DissBib3.bib}
>
> \setlength{\marginparwidth}{2,5cm}% setze Randnotizbreite
> \renewcommand*{\marginfont}{\footnotesize \bfseries}
> \let\marginpar\marginnote % \marginpar ist jetzt identisch mit \marginnote
>
> \usepackage{xcolor}
> \usepackage[framemethod=tikz]{mdframed}   % für Absatzboxen aller Art
> \usepackage{longtable, array}
>
> Please help me along, it worked with my old Lyx!

Is this an error you are getting with all files, or just with one? Have
you looked at Tools> LaTeX Log to see what errors you might have gotten?
Another thing you can do is export the file to LaTeX and then run
pdflatex, etc, manually on it.

The error message you are seeing is likely misleading. There was a
change between 2.1.x and 2.2.x in how certain bibliography errors are
handled in LyX. They were previously (and wrongly) ignored. It may well
be that you are getting such errors now, and they are the actual
problem. But I can't remember the details. I'm changing the subject
header in the hopes of attracting such attention.

Richard



Error File '/var/folders/lw/lwhvvr995qd496m04pr11sp80000gn/T/lyx_tmpdir.zuVLBxb13258/lyx_tmpbuf0/Diss121.tex' was not closed properly.

2017-08-27 Thread Mark Hempelmann
Dear Lyx-Wizards,

I researched on above error and the closest I got was the discussion between 
Wolfgang and Jürgen in 2010. However, my text compiled fine with Lyx 2.1.5, now 
with the 2.2.3 update I get above error. I’m using German characters, don’t 
know where to find the encoding, though, I thought it was Latin1 or UTF8.

I’m completely lost as where to start looking at, I cannot remove all my 
„Umlaute“ or the like. I’m using bibdesk for literature. Here is my preamble:


\usepackage[backend=biber,style=philosophy-modern,natbib=true]{biblatex}
\usepackage{amsmath}
\usepackage{amssymb}% für mathbb
\usepackage{marginnote} % Randnotizen
\usepackage{ragged2e}
\usepackage{blindtext} % Lorem ipsum
\usepackage{lipsum}

\addbibresource{/Users/mhem23/Documents/Uni/Dissertation/Bibliothek/bibdesk/DissBib3.bib}

\setlength{\marginparwidth}{2,5cm}  % setze Randnotizbreite
\renewcommand*{\marginfont}{\footnotesize \bfseries}
\let\marginpar\marginnote   % \marginpar ist jetzt identisch mit \marginnote

\usepackage{xcolor}
\usepackage[framemethod=tikz]{mdframed} % für Absatzboxen aller Art
\usepackage{longtable, array}

Please help me along, it worked with my old Lyx!

Thank you very much
mark