Hi again folks.

I am defining some things the preamble and then using them later in the
document.  

Using ERT inside of URL environments is apparently not allowed.

The below (lyx file snippets) works where ever I use ERT (comes out as
10.10.10.5), but is giving me grief when I want to use it in a URL(comes out
as {10.10.10}.5).

I have attempted to search the web for combinations

lyx or latex

and

  ERT.in.URL

  Or

  def.in.URL

 

But is not helping.

Anyone have suggestions on how I might better achieve my desired result or
at least some better search.the.web keyword combos?

Thanks  for the clues.

------------

%in preamble

\def\NETAddrFT{10.10.10}

\def\NETAddrDNS{{\ NETAddrFT}.5}

------------

 

------------

%When in ERT it works i.e. it comes out as 10.10.10.5

\begin_inset ERT

status open

\begin_layout Plain Layout

\backslash

NETAddrDNS

\end_layout

\end_inset

------------

 

 

------------

% but when used in a URL it comes out as {10.10.10}.5

\begin_inset Flex URL

status open

\begin_layout Plain Layout

https://

\backslash

NETAddrDNS/login.html

\end_layout

\end_inset

------------

 

 

On RHEL8 using EPEL

Lyx 2.3.6-2.el8

Texlive-20180414-29.el8

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users
  • ERT or def ... Denniston, Todd A CIV USN NSWC CD CRANE IN (USA) via lyx-users
    • Re: ER... Alexander Dunlap
      • RE... Denniston, Todd A CIV USN NSWC CD CRANE IN (USA) via lyx-users
    • Re: ER... Jürgen Spitzmüller
      • RE... Denniston, Todd A CIV USN NSWC CD CRANE IN (USA) via lyx-users

Reply via email to