Re: Placing \page in custom command.

Albert <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <CABOOx7b4tHq=OkTpEcF0RyE1iLEjni+FEXZy-FJEZqHrrBi46Q@mail.gmail.com>
Jeffrey,

As far as I know the ALIAS commands cannot be nested. For the \n problem I
would advise to use the <br>.

Albert

On Tue, Jun 28, 2016 at 4:10 PM, Robertson, Jeffrey E (US) <
[email protected]> wrote:

> I am trying to add a list of items to a page.  I am using the fact that
> /page in different files get added to the same page.  I have the following
> ALIASES define
>
>
>
> ALIASES               += "index_page=\page index_page this is an index
> page"
>
> ALIASES               += "simple_ref{1}=- \subpage si_csci_\1 \"\1\" "
>
> ALIASES               += "add_to_index_page{1}=\index_page \n
> simple_ref{\1}
>
>
>
>
>
> If in my code I have the following everything works fine
>
>
>
> /// \index_page
>
> /// \simple_ref{os_utilities}
>
>
>
> But if I try an use the add_to_index_page nested complex command it does
> not work.
>
>
>
> /// \add_to_index_page{os_utilities}
>
>
>
> I think it has something to do with the \page.  If I change
> add_to_index_page to:
>
>
>
> ALIASES               += "add_to_index_page{1}=\index_page \n
> simple_ref_x{\1}
>
>
>
> I would expect and error (simple_ref_x does not exist) but I do not get
> one.  It seems \page is consuming everything.
>
>
>
>
>
> I also tried
>
>
>
> ALIASES               += "index_page=\page index_page this is an index
> page \n"
>
>
>
> This results in the following warnings
>
>
>
> OS_Interface.h:36: warning: Found unknown command `\_linebr'
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Doxygen-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/doxygen-users
>
>

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape

_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.