RE: d3d12.dll error on Windows 8.1

2024-11-03 Thread Kees Zeelenberg
DirectX12 is not available on Windows 7 and 8; DirectX11 is the latest. See 
https://support.microsoft.com/en-us/topic/how-to-install-the-latest-version-of-directx-d1f5ffa5-dae2-246c-91b1-ee1e973ed8c2

The dependence on DirectX12 comes from Qt 6; see 
https://doc.qt.io/qt-6/qtquick-visualcanvas-scenegraph-renderer.html#rendering-via-the-qt-rendering-hardware-interface.
 This page also says that you may set the environment variable QSG_RHI_BACKEND 
to one of the values vulkan, metal, opengl, d3d11, d3d12. Since d3d11.dll is 
also a dependency of QtGui.dll, you might try whether setting  QSG_RHI_BACKEND 
to d3d11 works, although, since d3d12.dll is a direct dependency of QtGui.dll, 
I suspect it won’t; if not, you could try renaming a copy of d3d11.dll to 
d3d12.dll and add it to the LyX/bin directory.

 

Quite another possibility is upgrading to Windows 10; this used to be free when 
you have Windows 8.1, but I’m not sure whether this is still possible.

 

Kees

 

 

Van: lyx-users  Namens taras mogilyuk via 
lyx-users
Verzonden: vrijdag 1 november 2024 10:52
Aan: lyx-users@lists.lyx.org
Onderwerp: d3d12.dll error on Windows 8.1

 

Good time of day.

I’ve just installed your program on Windows 8.1 on old desktop. We have few 
money in office to buy a newer one.

Then I saw an typical error about missing d3d12.dll in the system. Same problem 
with texstudio.

On Lyx site is written that the last version 2.4.2 is compatible with Windows 
7, Windows 8, 8.1 but seemingly it’s not.

Do you know what to do?

With best wishes, Taras

 

--
taras mogilyuk
Отправлено из Почты Mail  

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: combinations of preview environment and ert environment doesn't work in 2.4.2?

2024-11-03 Thread Jürgen Spitzmüller
Am Sonntag, dem 03.11.2024 um 22:48 +0200 schrieb matan:
> I downloaded "David CLM" font like you suggested and installed it in
> windows font folder, and then restarted lyx and checked the testing
> file I send you, but it didn't solve the issue, am I supposed to
> change it in the preferences as well and not just in the document
> settings?

No, only in document settings, as in the attached example.

> i even tried in a new LyX file just have the preview-ERT combination
> with the same code and fonts like you suggested but the same old
> problem persists, it compiles but doesn't render in the LyX file.

If the problem does only occur in the preview, the problem is somewhere
else. Again, check the temporary directory for all *.log files and post
them here.

> BTW is there some way to apply the fonts once for all the files i
> will create and have created already, without the need to go file by
> file and open the document settings for each?

Only with some kind of batch find/replace in the LyX file directly.

Best,
Jürgen

> 
> Thanks again, I appreciate your support,
> 
> Matan
> 

-- 
Jürgen


testing.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: combinations of preview environment and ert environment doesn't work in 2.4.2?

2024-11-03 Thread matan
On Sun, Nov 3, 2024 at 10:16 AM Jürgen Spitzmüller 
wrote:

> I don't have the font "David" installed, after changing it to "David
> CLM" preview works and the file compiles.
>
> With David, you might have to specify a font for English via
>
> \newfontfamily\englishfont{Some working font}
>
> as it seems to miss characters needed for the PGF graphic.
>
> HTH,
> --
> Jürgen
>


thanks for all the help so far, when I tried to change the fonts to Roman
or Arial both failed, they make many errors pop up the file doesn't compile
and the preview still isn't working as intended only David seems to work
for me, and I don't have "David CLM" in the dropdown options.

about the command you suggested ("\newfontfamily\englishfont{Some working
font}") do I just enter in the preamble of each file from now on? and what
font can I know for certain will work without trial and error? (there are
too many fonts to try) all these "debugging" techniques are completely new
to me so I'm really ignorant right now.

Thanks again for all the help,

Matan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: combinations of preview environment and ert environment doesn't work in 2.4.2?

2024-11-03 Thread matan
>
> Am Sonntag, dem 03.11.2024 um 14:32 +0200 schrieb matan:
> > thanks for all the help so far, when I tried to change the fonts to
> > Roman or Arial both failed, they make many errors pop up the file
> > doesn't compile and the preview still isn't working as intended only
> I mean as an English font, not default font.
> > David seems to work for me, and I don't have "David CLM" in the
> > dropdown options.
> You probably would need to install it first. It is available for free
> on the Internet. Search for "David CLM otf".
> > about the command you suggested ("\newfontfamily\englishfont{Some
> > working font}") do I just enter in the preamble of each file from now
> > on?
> Only in the files where you use PGF probably.
> > and what font can I know for certain will work without trial and
> > error? (there are too many fonts to try) all these "debugging"
> > techniques are completely new to me so I'm really ignorant right now.
> Try \newfontfamily\englishfont{Palatino} for instance. Any standard
> serif font should do. As said, not needed if the Hebrew font is
> comprehensive enough (such as David CLM).
> HTH,
> --
> Jürgen


(for some reason i didn't receive this reply so I copied it from the mail
archive)
I downloaded "David CLM" font like you suggested and installed it in
windows font folder, and then restarted lyx and checked the testing file I
send you, but it didn't solve the issue, am I supposed to change it in the
preferences as well and not just in the document settings? (following image)
[image: image.png]
I also tried this command you suggested but it didn't change anything as
well.
I might miss things and important info that would help me help you, when I
go over what's written in the "testing" file I sent the English is in
"Font: Default, Language: English" Hebrew text is in "Font: Default", and
the inside of the ERT is in "Font: Typewriter, LaTeX text, Language: LaTeX".

i even tried in a new LyX file just have the preview-ERT combination with
the same code and fonts like you suggested but the same old problem
persists, it compiles but doesn't render in the LyX file.

BTW is there some way to apply the fonts once for all the files i will
create and have created already, without the need to go file by file and
open the document settings for each?

Thanks again, I appreciate your support,

Matan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: combinations of preview environment and ert environment doesn't work in 2.4.2?

2024-11-03 Thread Jürgen Spitzmüller
Am Sonntag, dem 03.11.2024 um 14:32 +0200 schrieb matan:
> thanks for all the help so far, when I tried to change the fonts to
> Roman or Arial both failed, they make many errors pop up the file
> doesn't compile and the preview still isn't working as intended only

I mean as an English font, not default font.

> David seems to work for me, and I don't have "David CLM" in the
> dropdown options.

You probably would need to install it first. It is available for free
on the Internet. Search for "David CLM otf".

> about the command you suggested ("\newfontfamily\englishfont{Some
> working font}") do I just enter in the preamble of each file from now
> on? 

Only in the files where you use PGF probably.

> and what font can I know for certain will work without trial and
> error? (there are too many fonts to try) all these "debugging"
> techniques are completely new to me so I'm really ignorant right now.

Try \newfontfamily\englishfont{Palatino} for instance. Any standard
serif font should do. As said, not needed if the Hebrew font is
comprehensive enough (such as David CLM).

HTH,
-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: d3d12.dll error on Windows 8.1

2024-11-03 Thread Richard Kimberly Heck

On 11/3/24 10:51 AM, Kees Zeelenberg wrote:


DirectX12 is not available on Windows 7 and 8; DirectX11 is the 
latest. See 
https://support.microsoft.com/en-us/topic/how-to-install-the-latest-version-of-directx-d1f5ffa5-dae2-246c-91b1-ee1e973ed8c2


The dependence on DirectX12 comes from Qt 6; see 
https://doc.qt.io/qt-6/qtquick-visualcanvas-scenegraph-renderer.html#rendering-via-the-qt-rendering-hardware-interface. 
This page also says that you may set the environment variable 
QSG_RHI_BACKEND to one of the values vulkan, metal, opengl, d3d11, 
d3d12. Since d3d11.dll is also a dependency of QtGui.dll, you might 
try whether setting  QSG_RHI_BACKEND to d3d11 works, although, since 
d3d12.dll is a direct dependency of QtGui.dll, I suspect it won’t; if 
not, you could try renaming a copy of d3d11.dll to d3d12.dll and add 
it to the LyX/bin directory.


It sounds, therefore, as if one could compile LyX 2.4.2 with Qt 5, and 
that would avoid this problem. Yes?


Riki

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: combinations of preview environment and ert environment doesn't work in 2.4.2?

2024-11-03 Thread Jürgen Spitzmüller
Am Sonntag, dem 03.11.2024 um 09:40 +0200 schrieb matan guedj:
> I've attached the LyX file here, I didn't use ^ in ERT but maybe
> something else is wrong (btw wouldn't using ^ just cause the file to
> either not render in the compiled output or not compile at all?)
> thanks for your help,

I don't have the font "David" installed, after changing it to "David
CLM" preview works and the file compiles.

With David, you might have to specify a font for English via

\newfontfamily\englishfont{Some working font}

as it seems to miss characters needed for the PGF graphic.

HTH,
-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: combinations of preview environment and ert environment doesn't work in 2.4.2?

2024-11-03 Thread jspitzm
Am Sonntag, dem 03.11.2024 um 08:59 +0200 schrieb matan guedj:
> I've checked all of these folders, I found only a few log files, not
> nearly as enough as the number of lyx files I have (there seem to be
> only 2 folders with content in them, and in those folders, there are
> in total 3 log files) I checked all those logfiles with the
> keywords of "preview", "instant", "error" and got nothing out of
> those.
> is there some other way to check this out? (also btw am I replying
> correctly to the mailing list?) 

No, but I redirect this reply now back to lyx-users.

> I've attached one of those log files if you want to have a look as
> well

This shows errors:

! Missing $ inserted.
 
$
l.79}
 ^\text{complex number}

and

! Missing $ inserted.
 
$
l.80 \]

We'd need to see the document to make a definite judgment, but it looks
like you are using invalid stuff (maybe ^ in ERT?)

HTH,
Jürgen

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users


Re: combinations of preview environment and ert environment doesn't work in 2.4.2?

2024-11-03 Thread matan guedj
On Sun, Nov 3, 2024 at 9:19 AM  wrote:

> No, but I redirect this reply now back to lyx-users.
>

thanks for redirecting it!


>
> This shows errors:
>
> ! Missing $ inserted.
> 
> $
> l.79}
>  ^\text{complex number}
>
> and
>
> ! Missing $ inserted.
> 
> $
> l.80 \]
>
> We'd need to see the document to make a definite judgment, but it looks
> like you are using invalid stuff (maybe ^ in ERT?)
>
> HTH,
> Jürgen
>
>
I've attached the LyX file here, I didn't use ^ in ERT but maybe something
else is wrong (btw wouldn't using ^ just cause the file to either not
render in the compiled output or not compile at all?)
thanks for your help,

Matan


testing.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users