```
% pandoc -f latex -t native
\begin{otherlanguage}{french}
Bonjour.
\end{otherlanguage}
^D
[ Div
    ( "" , [] , [ ( "lang" , "fr" ) ] )
    [ Para [ Str "Bonjour." ] ]
]
```

```
% pandoc -f latex -t native
\begin{otherlanguage*}{french}
Bonjour.
\end{otherlanguage*}
^D
[ Div
    ( "" , [ "otherlanguage*" ] , [] )
    [ Para
        [ Span ( "" , [] , [] ) [ Str "french" ]
        , SoftBreak
        , Str "Bonjour."
        ]
    ]
]
```

```
% pandoc -f latex -t native
\textfrench{Bonjour}
^D
[ Para
    [ Span ( "" , [] , [ ( "lang" , "fr" ) ] ) [ Str "Bonjour" ]
    ]
]
```

```
% pandoc -f latex -t native
\foreignlanguage{swissgerman}{Guten tag}
^D
[ Para
    [ Span
        ( "" , [] , [ ( "lang" , "de-CH-1901" ) ] )
        [ Str "Guten" , Space , Str "tag" ]
    ]
]
```

```
% pandoc -f latex -t native
\begin{french}
Bonjour.
\end{french}
^D
[ Div
    ( "" , [] , [ ( "lang" , "fr" ) ] )
    [ Para [ Str "Bonjour." ] ]
]
```
