Re: Re: Re: Can't open files in 2.0.3 (Buffer_convertLyxFormat.hXXXX is not a readable Lyx Document)

2012-04-24 Thread Indrek Tuula
Hi,


I had similar (i can't remember exact error message but it was it was
closely related) error around of two weeks ago but instead of upgrading
it occurred after unexpected power loss.

Following steps help me to use corrupted files again:

   1. Locate working directory
   2. Instead of your main project file e.g. filename.lyx locate and open
   filename.lyx~ with Lyx (you have to point location of Lyx binary,
   alternatively you can open this file via Lyx file menu > open but on this
   case first you should insert *.* as file name to make all file types
   visible for Lyx)
   3. Save result as new project e.g new.lyx (it is just good practice to
   keep recovery and original files separated)
   4. After manual check of content of file you can rename new.lyx back to
   filename.lyx

I am using Win 7 x 64 Lyx 2.0.3

Br,
Indrek

On 24 April 2012 14:02, Kornel Benko  wrote:

> Am Dienstag, 24. April 2012 um 10:43:23, schrieb Pavel Sanda <
> sa...@lyx.org>
> > Kornel Benko wrote:
> > > I experienced something similar when converting some files created on
> windows.
> > > It turned out, that the last line ended with "\end_document" but was
> not terminated by eol.
> > > Inserting a new line in such lyx-file with a text editor helped.
> >
> > Can you send example? These sounds like critical bugs.
> > Pavel
>
> No, I cannot create such files anymore. But it is easy to fake it. Just
> remove the trailing line feed
> of a file created by 2.0.x and try to read with 2.1.x.
> (Opening this file with 2.0.x will work, since no conversion needed)
>
>Kornel


Re: Silent install

2012-03-27 Thread Indrek Tuula
Hi,

Standard way to achieve such requirements are following:

   1. Convert .exe to .msi. You can download some tool for internet what
   make it done
   2. Modify content of .msi with some editor. Microsoft have free tool, it
   is called orsa.
   3. Install modified msi. For final customization there are command
   prompt tool called msiexec available. E.g. option /i install the packet and
   option /quiet  provide installation with no UI. Also it provide other
   options such as logging and rebooting a client machine.

I also converted lyx.2.0.3. installation exe to msi with free tool. I would
say result is not feature reach. You can compare it for example Google
earth or MS Office corresponding msi packets. Per my experience that mean
 your task is time consuming. Also make clear logic of orsa need extra time
because it have kind of database :)

I suggest on the first point convert exe to msi and install it with msiexec
tool on quiet mode with out no editing content of msi at all. If you have
luck, it solve your problems

Br,
Indrek

On 26 March 2012 17:36, Patrik Simunovic  wrote:

>  Hi i'm trying to install LyX 2.0.3-1 silently with the /S command, but
> at the end of the installation the package installation window pops up and
> asks me if i want to download latex and alot more packages.
> Is there a way to skip these steps so the install can finsih silent? i
> have installed Miktex 2.9.4407 before LyX 2.0.3.
>
> Patrik
>


Re: Lyx formating

2012-03-08 Thread Indrek Tuula
Hello

Finally I found some solution:

\usepackage{titletoc}

\titlecontents{subsection} % or\titlecontents{subsubsection}

[5.5em]

{\bfseries}

{\contentslabel{2em}}

{\hspace*{-2em}}

{\bfseries\titlerule*[0.6pc]{.}\bfseries\contentspage}


Today university officials release new requirements for paper work. Now
table of content should not contain any bold facing at all. Epic fail :)


But at least here is example for other users available! It is not prefect
and need some tweaking but hopefully it simplify others life.


Br,

Indrek

On 8 March 2012 10:18, Olivier Ripoll  wrote:

> On 07.03.2012 16:35, Stephan Witt wrote:
>
>> Am 07.03.2012 um 15:50 schrieb Indrek Tuula:
>>
>>  Hi Again,
>>>
>>> I totally agreed aspell is better than hunspell. Especially if you
>>> working with some small language.
>>>
>>
>> Why is aspell better than hunspell?
>>
>
> At least I can answer from my point of view. It just boils down to 1
> difference: aspell had no issue for me. hunspell does not allow me to use
> English and allow coumpound words as aspell did(*). When I opened my
> documents, I had to either add plenty of words to the dictionary or change
> them to 2 words. That was a lot of work.
>
> But I can understand that some people have seen improvements with hunspell
> versus aspell.
>
> Best regards,
>
> Olivier
>
>
> [...]
>
>>
>> Stephan
>>
>
> (*) I did spend a lot of time googling for a solution, just to find I was
> not the only one hit.
>
>


Re: Lyx formating

2012-03-07 Thread Indrek Tuula
Hi Again,

Please see attached picture. It represent standard  outlook of table of
content with highlighted subsection and sub-subsections areas.

I would like to format highlighted (subsections and sub-subsections) areas
also in bold font.

As end result I would achieve table of content format as bold font.

Br,
Indrek


On 7 March 2012 22:19, Richard Heck  wrote:

> On 03/07/2012 09:50 AM, Indrek Tuula wrote:
>
>> Hi Again,
>>
>> So far i resolve almost my open issues excepted how to make TOC look like
>> totally bold because by default subsections and subsubsections are not a
>> bold.
>>
>>  You want to explain this one again?
>
> Richard
>
>
<>

Re: Lyx formating

2012-03-07 Thread Indrek Tuula
Hi Again,

I totally agreed aspell is better than hunspell. Especially if you working
with some small language.

I found following note from wiki:

*Note:* Beginning with 2.0 support for the aspell command line program has
been dropped. Although the aspell library (aspell 0.60.x) is still
supported, Windows binaries are compiled without this feature.

So if the library is still  supported. Is it mean user are able to switch
 on aspel usage experience for windows environment somehow.?  Hopefully
some wise developer could provide some hints and steps. (Y)

So far i resolve almost my open issues excepted how to make TOC look like
totally bold because by default subsections and subsubsections are not a
bold.

Any help please?

Br,
Indrek

On 6 March 2012 13:07, Olivier Ripoll  wrote:

> On 04.03.2012 23:48, Indrek Tuula wrote:
>
>> Hi Again,
>>
>> I just press Send button instead of Save Now. I updating my post.
>>
>> List of open issues what i have:
>>
>> 2. How to define margin for page number from bottom (dimension from
>> bottom between paper size and page number). I have to define it as 1,5 cm
>>
>
> You can change the margins in
> In Documents->Settings>Page Margins
>
>  3. Vertical spacing of Section defined in preamble not working on some
>> reason. I is defined as 6cm but on the paper it is 3cm.
>>
>>
>> \usepackage[compact]{titlesec}
>>
>> %\titleformat{\section}{\**normalfont\bfseries}{\**thesection}{1em}{}
>>
>> \titlespacing*{\section}{0pt}{**6cm}{30pt}
>>
>> \titlespacing*{\subsection}{**0pt}{30pt}{30pt}
>>
>> \titlespacing*{\subsubsection}**{0pt}{30pt}{30pt}
>>
>> *
>> *
>>
>>
>>
>> 4. How to got aspell working under Windows 7.
>>
>
> Unfortunately, aspell is no more supported on recent LyX on Windows, IIRC.
> You'll have to use Hunspell instead (not as good in my experience).
>
> Best regards,
>
> Olivier.
>
>


Re: Lyx formating

2012-03-05 Thread Indrek Tuula
Thank you for support, i got hunspell work.

Now i looking solutions for other open issues.

Br,
Indrek

On 5 March 2012 09:36, Stephan Witt  wrote:

> Am 04.03.2012 um 23:48 schrieb Indrek Tuula:
>
> > Hi Again,
>

>
> > 4. How to got aspell working under Windows 7.
> How did you install LyX on your system?
> I don't know for sure if aspell support is available for LyX on Windows.
> You can verify that in the preferences pane "Language" -> spellchecking.
> At least hunspell should be available and work out of the box.
>
> Stephan
>


Re: Lyx formating

2012-03-04 Thread Indrek Tuula
Hi Again,

I just press Send button instead of Save Now. I updating my post.

List of open issues what i have:


1. How to make TOC totally bold (including, subsections,  subsections  ,
dots and page numbers) e.g:

*1.Section 1*

*1.1 Subsection ...2*

*1.1.1 Subsection 3*

*
*

2. How to define margin for page number from bottom (dimension from bottom
between paper size and page number). I have to define it as 1,5 cm


3. Vertical spacing of Section defined in preamble not working on some
reason. I is defined as 6cm but on the paper it is 3cm.


\usepackage[compact]{titlesec}

%\titleformat{\section}{\normalfont\bfseries}{\thesection}{1em}{}

\titlespacing*{\section}{0pt}{6cm}{30pt}

\titlespacing*{\subsection}{0pt}{30pt}{30pt}

\titlespacing*{\subsubsection}{0pt}{30pt}{30pt}

*
*


4. How to got aspell working under Windows 7.

Br,
Indrek

On 5 March 2012 00:28, Indrek Tuula  wrote:

> Hi All,
>
> I am new in Lyx. I spend some days to change look like of my project but i
> have still some changes missing. Your help is valuable. Currently i am
> using Lyx 2.0.3 under Win 7.
>
> Details about document configuration are following:
>
> % Preview source code
>
> %% LyX 2.0.3 created this file. For more info, see http://www.lyx.org/.
>
> %% Do not edit unless you really know what you are doing.
>
> \documentclass[12pt,estonian]{extarticle}
>
> \usepackage{fontspec}
>
> \setmainfont[Ligatures=TeX]{Times New Roman}
>
> \usepackage[a4paper]{geometry}
>
> \geometry{verbose,tmargin=3cm,bmargin=2cm,lmargin=3cm,rmargin=1.5cm}
>
> \setlength{\parindent}{0pt}
>
> \usepackage{babel}
>
> \usepackage{setspace}
>
> \onehalfspacing
>
> \usepackage[unicode=true,pdfusetitle,
>
>
> bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=3,
>
> breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]
>
> {hyperref}
>
> \makeatletter
>
> %% Textclass specific LaTeX commands.
>
> \usepackage{enumitem} % customizable list environments
>
> \newlength{\lyxlabelwidth} % auxiliary length
>
> %% User specified LaTeX commands.
>
> \usepackage{tocloft}
>
> \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
>
> %\renewcommand{\cfttoctitlefont}{\hfill\Large\itshape}
>
> \renewcommand\thesection{\arabic{section}.}
>
> \renewcommand\thesubsection{\thesection\arabic{subsection}.}
>
> \renewcommand\thesubsubsection{\thesubsection\arabic{subsubsection}.}
>
> \usepackage[compact]{titlesec}
>
> %\titleformat{\section}{\normalfont\bfseries}{\thesection}{1em}{}
>
> \titlespacing*{\section}{0pt}{6cm}{30pt}
>
> \titlespacing*{\subsection}{0pt}{30pt}{30pt}
>
> \titlespacing*{\subsubsection}{0pt}{30pt}{30pt}
>
> \makeatother
>
>
>


Lyx formating

2012-03-04 Thread Indrek Tuula
Hi All,

I am new in Lyx. I spend some days to change look like of my project but i
have still some changes missing. Your help is valuable. Currently i am
using Lyx 2.0.3 under Win 7.

Details about document configuration are following:

% Preview source code

%% LyX 2.0.3 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[12pt,estonian]{extarticle}

\usepackage{fontspec}

\setmainfont[Ligatures=TeX]{Times New Roman}

\usepackage[a4paper]{geometry}

\geometry{verbose,tmargin=3cm,bmargin=2cm,lmargin=3cm,rmargin=1.5cm}

\setlength{\parindent}{0pt}

\usepackage{babel}

\usepackage{setspace}

\onehalfspacing

\usepackage[unicode=true,pdfusetitle,

bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=3,

breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]

{hyperref}

\makeatletter

%% Textclass specific LaTeX commands.

\usepackage{enumitem} % customizable list environments

\newlength{\lyxlabelwidth} % auxiliary length

%% User specified LaTeX commands.

\usepackage{tocloft}

\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}

%\renewcommand{\cfttoctitlefont}{\hfill\Large\itshape}

\renewcommand\thesection{\arabic{section}.}

\renewcommand\thesubsection{\thesection\arabic{subsection}.}

\renewcommand\thesubsubsection{\thesubsection\arabic{subsubsection}.}

\usepackage[compact]{titlesec}

%\titleformat{\section}{\normalfont\bfseries}{\thesection}{1em}{}

\titlespacing*{\section}{0pt}{6cm}{30pt}

\titlespacing*{\subsection}{0pt}{30pt}{30pt}

\titlespacing*{\subsubsection}{0pt}{30pt}{30pt}

\makeatother


List of open issues what i have:


1. How to make TOC totally bold (including, subsections,  subsections  ,
dots and page numbers) e.g:

1.Section 1

1.1 Subsection ...2

1.1.1 Subsection 3