Uwe Stöhr | 1 Apr 19:09 2015
Picon

cannot compile current 2.1.x branch

I get 2 CMake errors preventing LyX to be compiled:

 >  -- Install configuration: "Release"
   CMake Error at cmake_install.cmake:31 (file):
     file cannot create directory: C:/Program Files 
(x86)/LyX/Resources/bind/..
     Maybe need administrative privileges.

I don't compile LyX in this directory but in
D:\LyXGit\Master\compile-result
The path
D:\LyXGit\2.1.x\compile-result
does simple not exist in my system and I don't know why CMake tries to 
access a non-existing directory.

Second error:

 > C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): 
error MSB3073: The command "setlocal\r 
[D:\LyXGit\2.1.x\compile-result\INSTALL.vcxproj]
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): 
error MSB3073: "C:\Program Files (x86)\CMake\bin\cmake.exe" -DBUILD_TYPE
=Release -P cmake_install.cmake\r 
[D:\LyXGit\2.1.x\compile-result\INSTALL.vcxproj]
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): 
error MSB3073: if %errorlevel% neq 0 goto :cmEnd\r 
[D:\LyXGit\2.1.x\compile-result\INSTALL.vcxproj]
(Continue reading)

Uwe Stöhr | 1 Apr 19:01 2015
Picon

cannot compile tex2lyx in current master

Dear colleagues,

just back from vacation I tried to build LyX and get this error:

"D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj.metaproj" 
(Standardziel) (23) ->
"D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj" 
(Standardziel) (24) ->
(Link target) ->
   Length.obj : error LNK2019: Link to unresolved external symbol 
""class lyx::frontend::FontMetrics const & __cdecl 
lyx::theFontMetrics(class lyx::FontInfo const &)" 
(?theFontMetrics <at> lyx <at>  <at> YAABVFontMetrics <at> frontend <at> 1 <at> ABVFontInf
o <at> 1 <at>  <at> Z)" in Funktion ""public: int __thiscall 
lyx::Length::inPixels(class lyx::MetricsBase const &)const " 
(?inPixels <at> Length <at> lyx <at>  <at> QBEHABVMetricsBase <at> 2 <at>  <at> Z)". [
D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj]
   D:\LyXGit\Master\compile-result\bin\Debug\tex2lyx.exe : fatal error 
LNK1120:
1 unresolved external link. 
[D:\LyXGit\Master\compile-result\src\tex2lyx\tex2lyx.vcxproj]

could somebody please have a look?

thanks and regards
Uwe

Oscar Travis | 1 Apr 12:31 2015

Would like to Sponsor your Website

Hello,

 

Trust all is well,

 

I happen to stumble upon lyx.org website and found about your project.

 

We have sponsorship with many different open source organizations and also wish to be involved with you.

 

Please let us know if this is something of your interest.

 

Thanks

 

Oscar Travis

Chameleon John

 

Scott Kostyshak | 31 Mar 21:12 2015

what does "..." mean in our GUI menus/buttons?

In the LaTeX Errors dialog, what doe the "..." mean in "View Complete
Log..." ? Does it have anything to do with signalling to the user that
another menu will follow? In some of the menu entries with following
dialogs I see "..." but in others I do not. For example, why is "Help
> About LyX" not "Help > About LyX..." ?

Scott

Scott Kostyshak | 31 Mar 19:35 2015

Compiling the new europasscv.lyx with ps2pdf or dvipdfmx or dviluatex?

Is it possible to compile europasscv.lyx using ps2pdf or dvipdfmx or
dviluatex? When I try it, I get an error "cannot determine size of
graphic..."

Stefan (the author of europasscv.lyx) was kind enough to take a look,
reproduce the errors I got, and give a detailed explanation, which I
paste below. Is there anything we should be doing differently? If not,
we will just ignore these particular export tests for the ctests.

<below are Stefan's comments, sent in a private email but with
permission to forward to the list>

The compilation errors may be traced back to the 'europasscv.cls' file,
in which several vector graphic logos are included as pdf files, e.g.:
 <at> line 352:
  \includegraphics[width=0.6\ecv <at> logowidth]{europasslogo2013.pdf}

To my knowledge the dvips latex/graphics engine is, among others,
not able to determine the graphics size of various picture formats,
including the PDF format, that lack a specific bounding box
specification like the following as metadata:
        %%BoundingBox: 0 0 595 842

Apparently, there are at least two workarounds for these issues, all
of which will probably require tampering with the europasscv Latex
class definition:

  1. Define a bounding box for each included PDF graphic, e.g.:
        \includegraphics[width=0.6\ecv <at> logowidth,bb=0 0 595 842]
        {europasslogo2013.pdf}
  2. Convert the SVG/PDFs to the eps format and include them instead:
        $ convert europasslogo2013.svg europasslogo2013.eps
        $ grep -i bounding europasslogo2013.eps
          %%BoundingBox: -0 -0 595 842
          %%HiResBoundingBox: 0 0 595.266 842
          %%PageBoundingBox: 0 0 595 842
     And within the europasscv.cls file change the corresponding
     inclusions:
     \includegraphics[width=0.6\ecv <at> logowidth]{europasslogo2013.eps}

Since my Latex specific knowledge is rather limited, I am not aware
of a method to modify an installed class depending on the output engine
used through LyX or a way to re-declare \includegraphics
occurrences in the Preamble in order to include specific bounding box
arguments.

<End of Stefan's comments>

Best,

Scott

Kornel Benko | 29 Mar 23:07 2015

Math.lyx export to latex

This is a recipe to observe creation of files in lyx-source

1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say ~/lyx/test/.
	This is not needed, but shows that the behaviour does not depend on
	the path of Math.lyx
2.) use your lyx from the build directory to open the file
3.) File->Export->LaTeX(LuaLaTeX)

Now go to the lyx-source
# git status

You see many untracked .pdf files like e.g. lib/images/math-macro-remove-greedy-param.pdf

Second scenario with installed lyx. Make sure, the lyx system dirs are not writeable by you

2.) open the file
3.) try the export.
	Now you are facing a dialog saying some file could not be copied.
	Click OK.
	Next dialog pops up.
	This goes on for 43 files.

	Kornel
Kornel Benko | 27 Mar 21:48 2015

Some exports are no longer working

Hi,
exporting some files (without GUI) are no longer working.

Try e.g

	# lyx -E pdf xx.pdf <path_to_lyx_sources>/lib/doc/de/Additional.lyx

This is independent of QT version.

Exporting from lyx itself is working.

	Kornel
Jean-Marc Lasgouttes | 27 Mar 16:27 2015

Text::autoBreakRow_ , is it dead code???

Hi all,

Does anyone has an idea on the usefulness of Text::autoBreakRow_? It 
seems to be read in only one place (insertStringAsLines) and I am not 
even sure of why it could make sense there.

Is it a remnant of something that used to make sense?

JMarc

PS: I have another of these remants in the mathed code: inset locking. I 
think it used to work, but it looks pretty dead now.

Stephan Witt | 26 Mar 10:27 2015
Picon
Picon

Re: #9477: spelling-ignore and spelling-add with only the <word> option crash once continuous spelling is enabled.

Am 26.03.2015 um 10:24 schrieb LyX Ticket Tracker <trac <at> lyx.org>:

> #9477: spelling-ignore and spelling-add with only the <word> option crash once
> continuous spelling is enabled.
> ---------------------+-----------------------
> Reporter:  wilsoc5  |       Owner:  stwitt
>     Type:  defect   |      Status:  accepted
> Priority:  normal   |   Milestone:  2.1.4
> Component:  spell    |     Version:  2.1.3
> Severity:  normal   |  Resolution:
> Keywords:  crash    |
> ---------------------+-----------------------
> 
> Comment (by stwitt):
> 
> I've added a sanity check and a sensible default implementation for the
> language to use if not explicitly given as argument. The language is
> retrieved from the current cursor position. Another option would be to use
> the document language. I'm not sure what's the best solution is. If the
> patch is ok I'll change the documentation in LyXAction.cpp accordingly.
> 
> -- 
> Ticket URL: <http://www.lyx.org/trac/ticket/9477#comment:6>
> The LyX Project <http://www.lyx.org/>
> LyX -- The Document Processor

I'd like to hear the opinion of others in case someone wants to comment on this. Thanks.

Stephan
Liviu Andronic | 25 Mar 21:08 2015
Picon

including the GSoC LyX-->ODT converter in 2.2?

Hi Stefano,
I meant to reply earlier, but here I go now.

On Tue, Feb 10, 2015 at 12:26 AM, stefano franchi
<stefano.franchi <at> gmail.com> wrote:
>> What about the other GSoC projects? What are their status, and is
>> their any chance that they could make it into 2.2?
>>
>> Below's the list of pending GSoC code, and principal mentors (from
>> memory).
>> 2014:
>> - Round trip conversion between LyX and .docx formats (Stefano)
>> - Interactive LyX (Tommaso)
>>
>> 2013:
>> - Horizontal scrollbar (JMarc, and I suspect that this is the
>> 'str-metrics' branch)
>> - XHTML and ePub support (Richard)
>> - UI Improvement and support for Non-Linear Writing (Rob)
>>
>
>

> Sorry for dropping off the radar---I have been going through some medical
> issues  since the beginning of the year.
>
I hope you get well soon.

> I hope  to integrate the lyx/odt  Gsoc work  into a future version, not sure
> it will be  2.2.  I haven't really worked on the code since last  Fall.
> Status: LyX-->ODT is almost complete, with the exception of the
> font/multiscript issue that would require an external lua module for luatex.
> ODT--> LyX is basically at the "proof of concept" stage
>
As a multiscript user myself, I very much hope that this feature could
be added at some point. But I feel that even basic, working support
for LyX-->ODT would be very useful to users. This would also allow the
code to be tested by a much wider user base, and hopefully help spur
finalizing this feature.

Since I feel we're already starting to prepare the landing for 2.2, I
suspect that this is pretty much the final call before we hear
"feature freeze". So what do you think: is LyX-->ODT in a good enough
shape for inclusion in master? And what do others think, should we
consider including this before the 2.2 feature freeze?

Regards,
Liviu

>
> Cheers,
>
> Stefano
>
> --
> __________________________________________________
> Stefano Franchi
>
> stefano.franchi <at> gmail.com
> http://stefano.cleinias.org

--

-- 
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

Kornel Benko | 24 Mar 13:27 2015

Insert->Preview not working for documents with non-tex fonts

1.) Open new document
2.) in document settings select non-tex fonts
3.) Insert->Preview
3.) enter ERT \today{}
4.) save file
5.) move cursor out of Preview

No preview displayed

6.) close document
7.) reopen
8.) set tex fonts
9.) save document

10.) reopen document
	now preview works

This is not intended, is it?

	Kornel


Gmane